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

Regarding user exit BAPI_TRANSACTION_COMMIT

Former Member
0 Likes
789

I'm trying to use BAPI_TRANSACTION_COMMIT in customer exit but its dumping. please let me know how to commit a transaction in user exit through CMOd

1 ACCEPTED SOLUTION
Read only

former_member404244
Active Contributor
0 Likes
681

Hi Anitha,

i don't think we can use the COMMIT statement in the userexit.

Regards,

Nagaraj

5 REPLIES 5
Read only

former_member404244
Active Contributor
0 Likes
682

Hi Anitha,

i don't think we can use the COMMIT statement in the userexit.

Regards,

Nagaraj

Read only

Former Member
0 Likes
681

hi anitha,

Check these links

Reward with points if it is helpful

Cheers

Alfred

Read only

Former Member
0 Likes
681

in user exit i can create a notification using BAPI but i want to post or commit the created notification how this can be accomplished

Read only

0 Likes
681

Hi Anita

As you are using BAPI in an user-exit, need not give explicit COMMIT WORK as the transaction itself will have implicit COMMIT WORK and that should do the work for both.

Just try and execute totally without using BAPI_TRANSACTION_COMMIT.

Kind Regards

Eswar

Read only

Former Member
0 Likes
681

Hi Eswar,

Without BAPI_TRANSACTION_COMMIT its creating notification thr user exit but i can't display or change notification which is created thr tcode iw22/iw23. its giving some error.

so i tried using a zprogram with BAPI_TRANSACTION_COMMIT its creating notification and that can be displayed and can be changed.

Any idea or suggestion on this.