Skip to Content
0
Former Member
Jan 09, 2017 at 12:08 PM

Why does BAPI_SALESORDER_CHANGE deletes past receipts items in schedule lines?

154 Views Last edit Mar 05, 2017 at 11:17 AM 2 rev

Hi

I am using Bapi

BAPI_SALESORDER_CHANGE to remove delivery block from schedule lines of a sales order.

If I pass ony editable schedule line data to BAPI then it removes other schedule line (past receipts created automatically after running availability check ).

If I pass all schedule lines of an item to remove delivery block I get error V1 335 ie.schedule line does not exist.

I want to retain past receipts schedule line.

Please help.