Answer Posted / krishna davuluri
Hi,
Coomit and Roll back in the User exit should not be used.
Because while executing userexit its not allways sure that
all needed values for database updations are present or
not.hence we should not use COMMIT or ROLLBACK, of work.
Also userexit is expected to add new functionality to
existing functionality, its not supposed to make any
changes in the existing functionality.
Suppose if you take Userexit SAVE_DOCUMENT_PREPARE.Systems
goes through the user exit more than once and COMMIT or
ROLLBACK may cause inconsistencies.
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
What is the definition of modification in an sap system and how do they impact an upgrade?
What are the pooled and cluster tables?
Explain what are the problems in processing batch input sessions? How is batch input process different from processing on line?
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.
Difference between sy-tabix and sy-index? Where it is used?
Define alv programming in abap?
What is the difference between retroactive accounting period, earliest retroactive accounting period? : sap abap hr
Why do we use logical blocks in abap program?
What is the function module for INDIAN PAYROLL to read table cluster for given cluster table and sequence number?
what is field string ? & where we are using field strings?
A field containing quantity amounts (data type quan) must be assigned to a reference table and a reference field. Explain? : abap data dictionary
What is the difference between commit-work and rollback-work tasks?
What are the different control break statements available inside a loop?
There is 1 person but it’s displaying that this person cannot be booked. He is not available for the business event. Can you tell me where is it going wrong? What can be the reasons? : sap abap hr
Explain the advantages of different types of bdc's?