SAP Knowledge Base Article - Public

3416629 - The error /SCWM/DELIVERY572 happens when deleting an EWM inbound delivery - S/4HANA Cloud

Symptom

While deleting a inbound delivery document in EWM, the following error happens: Successor documents exist. Deletion not allowed for document type &1, Message no. /SCWM/DELIVERY572.

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Go to Change Inbound Deliveries APP;
  2. Open the delivery document in your warehouse;
  3. Click in the grey trash button ("delete" button);
  4. See the error message described in the symptom of this KBA.

Cause

It is a designed behavior because the delivery's document type and document category has "Del. with Follow-up" as "Disallowed" in the below customizing:

  • Customizing for inbound deliveries: SSCUI 105786 - Define Document Types for Inbound Delivery Process 

With "Del. with Follow-Up" as "Disallow", deleting a delivery document is not allowed if something was already executed (even if completely reversed, e.g. GR is posted then it is reversed). 

Resolution

Solution 1: Change "Del. with Follow-Up" to be "Allowed" for the process profile.

Find your delivery's header process profile via the below customizing:

For inbound deliveries: SSCUI 105786 - Define Document Types for Inbound Delivery Process 

Please note that if you set "Del. with Follow-Up" as "Allowed", you lose the connection between your follow-up documents, like the goods receipt and the goods receipt cancellation, and the warehouse request. If you want to have the full option to trace from an SAP EWM goods movement document to the ERP documents, do not allow the deletion of the SAP EWM warehouse request. You can use Solution 2.

Solution 2:Change the delivery's items' quantities to 0.

Keywords

PDO, PDI, Deletion of WHR with Follow-Up Documents, warehouse request, Successor documents exist. Deletion not allowed for document type &1, /SCWM/DELIVERY572. , KBA , SCM-EWM-DLP-2CL , Delivery Processing (Public Cloud) , Known Error

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions