Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Bapi for SO change

Hello every body,

For Sales Order Update , I am using BAPI

" BAPI_SALESORDER_CHANGE ".

I could delete So line item and insert line item, successfully.

But for Updating SO line item,

Im also Updating Schedule lines,

My problem is : while updating my line item with new quantity , it is adding the new quantity with existing quantity.

Reason behind this is , this BAPI is creating a new schedule line rather than updating a existing schedule line.

Udate Flag for schedule line is "U", i am passing schd_line number also for update.

Example :

If existing SO item Qty is 20.

i want to update it to 30, by passing quantity 30 to BAPI.

After executing BAPI.

Present Qty is 50. But i am expecting 30.

Thanks In advance.

Regards

Sunil

Not what you were looking for? View more on this topic or Ask a question