Application Development 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: 

commit in user exit

Former Member
0 Kudos

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

Former Member
0 Kudos

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