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

Using BAPI_PR_CHANGE

Former Member
0 Likes
390

Hi,

I am trying to use FM BAPI_PR_CHANGE.

I am able to change existing line items of the PR using the BAPI.

But I am facing problems while adding new line items to the PR.

Please Help.

Regards,

Mahesh.

2 REPLIES 2
Read only

vinod_gunaware2
Active Contributor
0 Likes
357

Try to use

Commit work and wait.

regards

vinod

Read only

Former Member
0 Likes
357

Hi Mahesh.

You may need to set some flag for a particular field of the structure PRITEM when you are creating new item.

GOTO - BAPI Transaction - Select - BAPI_PR_CHAANGE - And read the documentation for PRITEM structure(method). Generally SAP provide some comments here if there is any special handling required.

Hope above procedure would help you to solve your issue.

Regards,

Siva