Delete Orders (Deletion)

Not all customers complete their orders. Customers can cancel their order payment on the payment service provider page either accidentally or the payment failed due to some reasons, for example, because of some error or customers do not have enough funds on their account to cover the cost of the transaction. This leads to accumulation of the unnecessary data in SAP S/4HANA - canceled orders.

When customers cancel the order payment on the payment provider page for some reason, the sales order can be automatically removed in SAP S/4HANA. You can activate deletion of the canceled sales orders in SAP S/4HANA.

Open the Webstore Configuration Sana app in the SAP Fiori launchpad. Select the necessary webstore and click Edit. Open Order Settings. On the Rejection Deletion tab there is the Active Order Deletion option. If the Active Order Deletion option is enabled, cancelled orders will be deleted from the SAP S/4HANA system and they will not be shown in the order history in the Sana webstore.

There are two deletion methods for cancelled orders: Permanent and Temporary.

Deletion Method 

Description 

Permanent 

The cancelled orders are removed from SAP S/4HANA without any chance for restoring. 

Temporary

The orders deleted temporary are still present in the SAP S/4HANA database and you can see them in the SAP S/4HANA system. They are marked as deleted by specifying the Reason for Deletion. Therefore, if you use the Temporary deletion method, you must also enter the Reason for Deletion that will be used for the temporary deleted orders.