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

commit in user exit

Former Member
0 Likes
370

hi experts

during an idoc process i am trying to do commit after inserting data to a database table in include MV45AFZZ in a user exit. the commit statement causes the idoc process to fail.

how can i do commit in a way that won't fail the idoc process

tahnks

amit

Edited by: amit walden on Jun 18, 2008 8:38 AM

1 REPLY 1
Read only

Former Member
0 Likes
321

Hi,

commit statement in userexit,You should not do that.

After the user exits code is triggered, the transaction's own commits statements will commit the database anyway.

Regards

Kiran Sure