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

Problem in changing PR using BAPI

Former Member
0 Likes
438

Hello Experts,

i am using Bapis for unrelease, change and release of purchase requisition. I am doing this in a loop endloop since i have to change multiple PRs. I am facing a problem here. Once PR is changed and relasing the PR using BAPI, the process of releasing is not being done. I am getting a message still the user(myself) is processing the PR, If i am changing the same PR for another item also i am getting the same. I am using transaction commit also after Bapi.How can i over come this. Once the changes have done in PR it should come out of it and i should able to release the PR(its done by BAPI only)

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
386

Hi Kiran,

Use BAPI_TRANSACTION_COMMIT.

and provide some value for WAIT (3 or 4).

Hope that helps.

1 REPLY 1
Read only

Former Member
0 Likes
387

Hi Kiran,

Use BAPI_TRANSACTION_COMMIT.

and provide some value for WAIT (3 or 4).

Hope that helps.