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: 

Update termination while using BAPI_TRANSACTION_COMMIT

Former Member
0 Kudos

Hi,

I am facing problem when i am calling BAPI_TRANSACTION_COMMIT after BAPI_ALM_NOTIF_DATA_MODIFY (to modify damage codes) and

BAPI_SERVNOT_SAVE(to save notifications). My update is getting terminated and i can see the same from SM13 .This problem happens only few times suppose if i try modifying some 10 similar type of notifications i get this error only for some 3-4 of them for others it works fine.

Regards,

Mehul

2 REPLIES 2

Former Member
0 Kudos

Hi Mehul,

You make use of Wait statement within the BAPI. let the system wait for 2 milliseconds.

use wait = 2. then try doing the same. I think your error would be resolved.

Reward points if this helps,

Kiran

Former Member
0 Kudos

Hi,

you may try commenting the BAPI_TRANSACTION_COMMIT call.

There may be an implicit commit work called.

Regards,

Renjith Michael.