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 CHANGE SALESORDER QTY

Former Member
0 Kudos

Hi,

I have a sales order created. Now i want to change the Order qty depending on certain conditions through an ABAP Program. Can any one tell me how to change it? I tried bapi SD_SALESDOCUMENT_CHANGE ..but couldn't succeed. I tried passing field to req_qty in table ITEMS_EX and update flag in table ITEM_INX along with item number.please correct me where i went wrong?

Thanks,

Bhaskar.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Challa Bhaskar

,

For the sales order quantity to get changed using BAPI calls we need to pass the Schedule line items quantity as well in addition to the line item quantity. This logic will apply for all sales order change BAPI calls.

Thanks,

Greetson

1 REPLY 1

Former Member
0 Kudos

Hi Challa Bhaskar

,

For the sales order quantity to get changed using BAPI calls we need to pass the Schedule line items quantity as well in addition to the line item quantity. This logic will apply for all sales order change BAPI calls.

Thanks,

Greetson