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

BAPI_PO_CHANGE

Former Member
0 Likes
738

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

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
Read only

christian_wohlfahrt
Active Contributor
0 Likes
701

Hi Sascha!

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

Regards,

Christian

Read only

Former Member
0 Likes
701

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

Read only

Former Member
0 Likes
701

hi

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

i think this will solve u r problem.

all the best.

Naren