How to delete Sales Orders having billing transactions (invoice)?
Posted on 2003-03-10
The Sales Orders (tables: VBAK, VBAP) having discount which base on rebate agreement were WRONGLY created. The status of the Sales Orders are 'Open'
and invoice(tables: VBRK, VBRP), billing transactions were also WRONGLY generated for them.
It is easy to delete a sales order not having billing transactions.
But, How to delete a Sales Order which already had billing transactions?
I have tried to use the transaction code, VF11 to delete the Billing transactions from the tables, VBRP and VBRK. But, the transactions didn't be deleted and other billing transactions which used to cancel the billing amount were created. The invoice couldn't be deleted so the sales orders also couldn't be deleted.
If any Sales Order having invoice, is it no way to delete them?
Please suggest if any other method can solve this problem.