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

Help on BAPI_TRANSACTION_COMMIT

Former Member
0 Likes
370

Hi Abapers,

i am calling BAPI_TRANSACTION_COMMIT after each BAPI_GOODSMVT_CREATE i am facing two problems.

1) the first document is created successfully created and second document is giving the error Purchase order already processing.

and i tryied by passing WAIT parameter still getting the same error.

2)even the document is fails to create BAPI_TRANSACTION_COMMIT is return 0(suceessfull).

please any one help me.

regards,

ramesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
342

Hi Ramesh,

before calling BAPI_TRANSACTION_COMMIT try calling

SET UPDATE TASK LOCAL.

Generally the update is done in update task and it takes few seconds before the actual updates happen. If u set update task as local then it will update immidiately.

Hope this helps.

Cheers

VJ

2 REPLIES 2
Read only

Former Member
0 Likes
342

Hi

Can you paste your code, so that we can know where you are going wrong.

Regards,

Raj

Read only

Former Member
0 Likes
343

Hi Ramesh,

before calling BAPI_TRANSACTION_COMMIT try calling

SET UPDATE TASK LOCAL.

Generally the update is done in update task and it takes few seconds before the actual updates happen. If u set update task as local then it will update immidiately.

Hope this helps.

Cheers

VJ