Skip to Content
Former Member
Jan 18, 2012 at 05:49 PM

Change a sales order while delivery


Hi Gurus,

I need to change the status of a sales order line item from being complete to incomplete in case it fails some validation during delivery creation.

I was earlier planning to code this in the copy-control routine ( order to delivery) and use the standard FM BAPI_SALESORDER_CHANGE in the copy control code to attain this, but however, the sales order cannot be edited when being delivered.

Is there any other means of attaining this. Backend update of tables can lead to a couple of challenges and undesired behavior that I want to avoid.