Making ABAP programs forget

In ABAP, everything that executes ABAP code is a program: Reports are programs Module pools are programs Function groups are programs Even classes are programs Sometimes we wish that these programs forgot about things. Example: When we use a BAPI function to create many documents in a row (say Incoming Invoices) and that BAPI was …