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: 

BAPI_PO_CHANGE

Former Member
0 Kudos

Dear all.

I am using BAPI_PO_CHANGE to change the quantity of a specific po_position.

For example:

pos mat quantity

10 XXX 100

This is what the user sees in the webfrontend. After the user changes the amount to 110 and presses save, the BAPI tables get filled and the function module is called. When i check the purchase order afterwards I have a new quantity of 210 instead of 110.

I checked the tables and 110 is the value I transfer.

Thanks for any help.

Cheers

Sascha

3 REPLIES 3

christian_wohlfahrt
Active Contributor
0 Kudos

Hi Sascha!

Function module help contains an example: quantity should be changed via table POSCHEDULE(X). Which table are you using?

Regards,

Christian

Former Member
0 Kudos

Sounds to me the BAPI is adding up instead of replacing the quantity. Perhaps you can adjust the logic for the input?

Former Member
0 Kudos

hi

insted of creating it agin with 110 create with extra quantity,

i think this will solve u r problem.

all the best.

Naren