Skip to Content

mass delete output condition records many output types applications and tables BXXX

Mar 05 at 05:57 AM


avatar image

Hi experts,

There is a requirement that an ABAP program can delete output condition records from the below tables for Sales and Invoice outputs, like VV12 and VV32 transaction. As selection screen can combine different condition tables, condition application,output types, e.g. B001/V1/FB00, V005/V3/MB00, B651/V3/FS00... and there are tens of table to delete. So it's hard to record all kinds of scenarios in VV12/VV32 with BDC or LSMW. And I haven't found any suitable function module to delete those output condition records.

So would you please give me some clue or tips for solving this? Thank you so much.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jelena Perfiljeva
Mar 05 at 05:10 PM

1. Google -> "mass delete output condition records" -> this has already been asked on SCN

2. Search SAP Notes for "delete output condition records", there could be some maintenance report provided.

3. If no other option found, write a custom ABAP report to just delete the table entries directly. LSMW is not for deletion and I don't see much value in going the BDC route because there are only 2 tables involved (B... one and the one that stores communication options), I believe. There are no change documents created for the deletion AFAIK. Specific tables updated can be found using ST05. Accessing tables dynamically in ABAP has been covered on SCN as well (here is just one recent blog).

This is, of course, assuming you want the records to be deleted permanently.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thanks Jelena. BDC is workable for this scenario.