08-04-2008 9:47 AM
Hi all,
Can anyone tell me about, is COMMIT WORK is allowed in BADI or USER EXIT?
If not, what is the aalternative for that?
Thanks in advance.
Best Regards,
Prasad
08-04-2008 9:54 AM
hi,
When you create any documents in SAP using a BAPI (ex: Sales orders, Delivery documents), you need to execute COMMIT WORK to write the data to the database. For this purpose BAPI_TRANSACTION_COMMIT is used.
08-04-2008 9:54 AM
08-04-2008 10:00 AM
08-04-2008 10:01 AM
Commit work is not allowed in BADI's.
BADIs are for enhancements and has to be used for same and only commit work of that transaction is done, no explicit Commit work is allowed inside BADI.