Show TOC

 Update of Inbound Delivery

Use

In cases where a replacement for an inbound delivery is sent to SPM, for example, to reflect changes dictated by the vendor, or in cases where validation errors occur, you can update the inbound delivery. You can change header and item data and make structural changes to the inbound delivery, for example, you can delete individual items from the inbound delivery or add new items from the purchase order to it.

The vendor, SAP ICH or SAP EWM usually makes corrections to an inbound delivery. Changes made to an inbound delivery are always made as a “full replacement”. This means that previous inbound delivery data is overwritten with the new inbound delivery as a whole. All changes need to be checked for execution status and acknowledged by SAP EWM before finally being saved by SPM. All changes made to inbound deliveries are transferred to subsequent systems, for example, to SAP ICH, where you can display the history of changes.

A new ASN arrives in the inbound interface. A validation framework checks its consistency. If the validation fails, an inbound delivery (ID) on hold and a validation log are created in SPM. The ID on hold and the error log are then dispatched to SAP EWM and SAP ICH.

SAP ICH, SAP EWM, or the vendor corrects the ASN and it reaches SPM in the form of a replacement ASN. The validation framework checks its consistency again. SPM recognizes the replacement indicator in the incoming ASN; a temporary delivery (temp ID) together with a validation log is created. The temp ID is then sent to SAP EWM for acknowledgement. A link to the original ID is contained in the temp ID.

If SAP EWM sends a positive acknowledgement back to SPM, the temp ID is converted to a “real” ID or an ID on hold, depending on the validation status of the replacement ASN.The updated ID is dispatched to SAP ICH and SAP APO. This type of replacement can occur as required before goods receipt takes place.

Prerequisites

The inbound delivery must exist.

Inbound deliveries for which the full or partial goods receipt has been posted cannot be changed using the full replacement interface (SAP ERP, EWM, ICH, or vendor). You can make limited changes at delivery item and header level in EWM on the confirmation interface.

After an inbound delivery has been split, you cannot change/delete the header and items of the preceding and subsequent inbound deliveries. You can still correct the remaining hold items of the preceding and subsequent inbound deliveries in transactionVL60in ERP.

The inbound delivery cannot be changed in ERP, ICH, or by the vendor until the response for changes or deletion comes from EWM (or instead the inbound delivery is changed or deleted in EWM).

Activities

The replacement ASN arrives in SPM by means of the IDoc interface from the vendor or SAP ICH, by qRFC (BAPI), or by means of the transactions for Extended Inbound Delivery Processing on the user interface.

SPM uses its validation framework to check the consistency of the data it contains. SPM sends an appropriate message to the application log, where the message is filtered and then dispatched to the connected systems.

Depending on whether you are replacing an inbound delivery with the status On Hold or one with the status Real , the system reacts as follows:

Status Hold :

If the system detects errors, the inbound delivery is not accepted.

If the inbound delivery contains no errors, the system accepts it and changes it accordingly.

Status Real :

If the system detects errors, the inbound delivery is not accepted.

If the inbound delivery contains no errors, the system creates a temporary inbound delivery (temp ID) and sends an update request to SAP EWM. SAP EWM returns an acknowledgement. This acknowledgement can be positive or negative:

If the acknowledgement from SAP EWM is positive:the system accepts the temp ID, makes the changes to the existing ID and creates a new version of it, and then deletes the tempID.

If the acknowledgement from SAP EWM is negative:the system deletes the temp ID and no further action is taken. In other words, the existing ID is retained.

When the acknowledgement from SAP EWM arrives, SPM sets a deletion indicator for the temp ID, irrespective of whether it contains errors or not. Final physical deletion from the database is performed in a batch job that you can schedule by using the deletion report Inbound Delivery Delete Report (/SPE/INB_ID_DELETE).

Result

The inbound delivery has been updated and the subsequent goods receipt process can take place.