Skip to Content
0

Why does BAPI_SALESORDER_CHANGE deletes past receipts items in schedule lines?

Jan 09, 2017 at 12:08 PM

66

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

G Lakshmipathi
Mar 08, 2017 at 03:31 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded