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

Effect of commit

Former Member
0 Likes
396

Hi All,

I am writing some code in a BADI. In my code I am calling some SAP function modules and in one of the function module there is a statement 'Commit work' . Will this has any effect on the overall transaction for which the BADI is implemented.

Regards,

Jeetu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
374

hi.

COMMIT WORK is used to make the following FM execute immediately. This will put no adverse effect on the BADI implementation.

Reward if useful.

Regards

Sumit Agarwal

2 REPLIES 2
Read only

Former Member
0 Likes
374

Hi,

There wont be any effect on overall transaction.

Only thing u have to remeber is that U shud not use Explictily COMMIT WORK statemnet in the BADI/user Exit.

Revert back if any issues.

Regards,

Naveen

Read only

Former Member
0 Likes
375

hi.

COMMIT WORK is used to make the following FM execute immediately. This will put no adverse effect on the BADI implementation.

Reward if useful.

Regards

Sumit Agarwal