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
What is asynchronous and synchronous update?
What are extracts?
What is the function of a data element? : abap data dictionary
What will happen when we use single buffered selected?
What is the use of enqueue function module? : sap abap data dictionary
How to define selection screen?
In which time constraint does the infotype records depend on the subtype ? : abap hr
Explain what are the different functions used in sap script?
What is tcode se16? For what is it used.
How to eliminate duplicate entries in internal tables? : abap data dictionary
Is a logical database a requirement/must to write an abap/4 query?
Exception handling and how does it transfer from called method to calling method?
I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.
What are standard layouts sets in the sap script?
What are the three hierarchical levels of data types and objects?