cancel
Showing results for 
Search instead for 
Did you mean: 

Reference ASN already exists in another EWM delivery

SAPSupport
Employee
Employee
0 Kudos
1,262

Inbound Delivery Savereplica queue message is stuck in SMQ2 because ASN number used already in the system.

Error: "ASN/BOL reference already exists in document..." Message No. /SCWM/ERPINTEGRATION404


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

If a delivery cannot be created in EWM (i.e. DLVS* queue is stuck in SMQ2), queue can be rejected in /SCWM/MON > Tools > Message Log.

Display the queue with error and use the "Reject" button. This can be used to send a message back to ERP, which is adjusting the quantity to zero and closing the original delivery. Then, a new delivery can be created with a different ASN number.

Alternative problem, if business requirement is to accept deliveries with duplicate ASN numbers:

Symptom
Check for unique ASN (advanced Shipping Notification) number is executed in S/4HANA embedded EWM in savereplica process and triggers error, even if Document type level setting is "do not check" or it allows duplicate ASN numbers.

Cause and Solution
Savereplica process is using a different check for Unique ASNs, it's in the customizing table /SCWM/TCTRLPROCS (-NO_DUPL_CHECK). Here system standard is "Check if ASN Number is unique". There is no customizing menu for this table in Embedded S/4HANA EWM, so this check can be turned off by implementing the BAdI /SCWM/EX_ERP_CTRLPROCS. Documented solution in KBA 2753619 - Control Parameters for ERP Version Control in S4CORE. Fiori process (creating documents with "Create Inbound Deliveries - Deliveries" app) checks the setting from delivery Process Profile.

In EWM 7.X, 9.X systems, table /SCWM/TCTRLPROCS is still linked to the customizing menu:

SCM Extended Warehouse Management > Extended Warehouse Management > Interfaces > ERP Integration > General Settings > Set Control Parameters for ERP Version Control.

Answers (0)