Skip to Content
author's profile photo Former Member
Former Member

Why does BAPI_SALESORDER_CHANGE deletes past receipts items in schedule lines?


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.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Mar 08, 2017 at 03:31 PM

    Not sure if you discussed with your functional consultant before posting here, if you are not a functional consultant. It is a standard behaviour of SAP such that if the line item is open, then it will be in editable mode; on the other hand, if any partial delivery has happened, then that line item would have been greyed out. So you need to check accordingly.

    Add comment
    10|10000 characters needed characters exceeded