Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Customer Exits.

Former Member
0 Likes
619

Hi,

How to I attain the functionality of COMMIT-WORK without using the commit statement in a customer exit?

Hi,

How to I attain the functionality of COMMIT-WORK without using the commit statement in a customer exit?

4 REPLIES 4
Read only

Former Member
0 Likes
603

the system itself commits work at the end of the transaction, one need not to commit in an exit.

Read only

0 Likes
603

What if I want to do a commit before the transaction does a commit?

Read only

Former Member
0 Likes
603

i think you cant use commit statement inside the user exits because it will end the luw. so it is not permitted to commit or ending the luw inside the user-exits correct me if i am wrong...

regards

shiba dutta

Read only

Former Member
0 Likes
603

As suggested in your earlier thread, the LUW commit should be able to take care of comitting the function module inside your exit. There is no explicit command required.

The fall-side of putting in an explicit commit would be that data integrity would be lost in case the original transaction fails for some reason.

Hope this helps.

Sudha