Symptom
When trying to delete a sales order whose order type is SD2 (replacement delivery order), a system runtime error occurs and the sales order cannot be deleted.
Environment
- SAP S/4HANA Cloud
Cause
This is a known issue and the fix is now in progress.
Resolution
Development is now working on the fix. Please follow the workaround below to sidestep this wrong system behavior.
- Delete sales order items first.
- Then delete the header of the sales order concerned.
Note
Please DO NOT save the sales order in between of item deletion and header deletion, otherwise the deletion will not work.
Keywords
Replcmnt Deliv. Ord., SD2, abap runtime error, delete sales order , KBA , LO-ARM-SD , Sales , LO-ARM-SD-2CL , Sales (Public Cloud) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions