Can I write COMMIT and ROLLBACK in user-exit?

Answer Posted / bikas

Hi,

ofcourse we can write but it is not recommended.

In an user exit control is in the mid of a transaction data
will be updated or not is decided at the end of the
execution of the transaction.

If we write Commit it will commit the database update
whereas case may be like transaction went into error and
database update is not required in that case there will be
data inconsistancy.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a filed occur in several field groups?

769


Explain the difference between get and get late?

775


What is open sql vs native sql ?

2120


What is an update type with reference to a match code id?

744


How do you find if a logical database exists for your program requrements?

841


Differentiate between report and dialog program

796


What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr

915


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

906


Explain the client concept of sap.

762


What is locking ?

774


Hi All , Would be providing online trainings for SAP ABAP , guidance with real time experience examples , guidance in profile prepartion . Any one intrested please contact on 8978890047.

2157


Different types of luws. What are they?

823


What is the differences between structure and table in the data dictionary in abap?

834


What is page window?

736


What are the 2 other types of views, which are not allowed in release 3.0?

801