!--a11y-->
Purging 
This function allows you to purge inbound deliveries. Purging aims to close the old inbound deliveries for which no more goods receipts are expected. The receiving location, the expected arrival date, and the number of purge offset days are used to decide whether an open delivery can be purged. In other words, if:
delivery date + purge offset < today's date
then the goods receipt process is completed and closed for this delivery. This involves adjusting the delivery quantity to the goods receipt quantity for all the items in this delivery.

Before running the report, maintain the purge offset days for each warehouse and logistics execution scenario for which the purge should be carried out in Customizing for Service Parts Management (SPM) by choosing Extended Inbound Delivery Processing (SPM) ® Purge Offset in Days for Receiving Location.
If required, the purge report can be run in simulation mode by setting the No Updateindicator.
You should schedule this report to run at regular intervals, for example, once a week.
Inbound deliveries that are on hold and awaiting an acknowledgement from SAP EWM are excluded from the selection.
· For inbound deliveries found, the system adds the purge offset in days to the delivery date in the inbound delivery header and compares it with the actual date. If the result is greater than the actual date of the system, a new temporary inbound delivery is created and the system sends a message in the form of a purge request to SAP EWM. The inbound deliveries for which a purge request is sent to SAP EWM are displayed in an ALV list.
· If SAP EWM sends a positive acknowledgement in reply to the purge request, then the goods receipt process is completed and closed for this delivery. This means that the system adjusts the delivery quantity to the goods receipt quantity for all the items in the delivery and sets the status of the inbound delivery at header level and for each item to Completely Processed.
