Can we use COMMITWORK statements in BADI

Answer Posted / asin

We should not use Commit in Badi as it will lead to data inconsistencies.
The data gets updated if commit statement is used in a BADI implemented in a particular standard program. After the execution of transaction if in case it fails/terminates the data/records are supposed to be rolled back or not save but then due to use of Commit it leads to inconsistency.

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What’s value table?

587


What are the advantages of different types of bdc's?

533


What are the page windows?

554


What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr

557


Can you delete a domain, which is being used by data elements? : abap data dictionary

819






Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary

772


What is the use of the raising exception? : abap modularization

519


In a loop of an internal table, what is the use of at first & at last statements?

1477


What is maintenance view?

599


How to set an Enhancement point for a custom report?

1145


What are the data types of the abap/4 layer?

722


​​What is amdp (abap managed data procedures)?​​

644


Is it possible to pass data to and from include programs explicitly?

586


State the system field for the current date?

634


What is the difference between the exits created in M.M and S&D?

1614