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 are the types of indexes in abap?
What is a predefined type in abap?
What is repository info. Systems?
Which objects are independent transport objects? : abap data dictionary
What are the different types of operators in the sap abap?
What are the two methods for modifying sap standard tables?
What is a modification assistant?
What is a view in sap? : abap data dictionary
What will be your approach towards optimizing legacy code? Will you suggest change in technology? Does OO ABAP bring any performance benefits? How will you deal with queries in a loop? How will you optimize nested loops?
What is macro? : abap hr
Give an example of interface from your project explaining why you used it?
What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc
What is img? : sap abap hr
What is your approach for writing a bdc program? : abap bdc
How do you save data in bdc tables? : abap bdc