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: 

how to use BAPI_PO_CHANGE to update price for multiple PO

QuyVu
Participant
0 Kudos
491

Hi experts,

In the case update price for multiple PO, when I used BAPI_PO_CHANGE only the first PO has been updated.

I don't know how to resolve it. Could u help me to resolve it?

Best regards,

Leo Vu

Purchase Info:

Source code

Results:

Only the first PO(4500000084) has been updated price

2 REPLIES 2

DominikTylczyn
Active Contributor
438

I guess you are calling the BAPI with exactly the same data in REC_POITEM and REC_POITEMX tables. You are not changing those tables inside the loop.

QuyVu
Participant
0 Kudos
438

3a9e4ce873a94034b33dc62b0ce600ee

Thank for your help.

Sorry for my mistake. It's working now.

Best regards
Leo Vu