Symptom
You receive an express document while trying to confirm or cancel a Warehouse Task (WT):
Express document "Update was canceled" received from author "USER"
If you click on 'Inbox' button, you will see something like this:
System ID.... *
Client....... *
User..... *
Transaction.. *
Update key... *
Created...... *
Completed.... *
Error Info... Internal session terminated with a runtime error DBSQL_DUPLICATE_KEY_ERROR (see
The full error message can be found in transaction /ST22:
Category ABAP programming error
Runtime Errors DBSQL_DUPLICATE_KEY_ERROR
Except. CX_SY_OPEN_SQL_DB
ABAP Program /SCWM/SAPLHU_TO_UPD
Application Component SCM-EWM-WOP
Date and Time *
IF NOT lt_itmins IS INITIAL.
READ TABLE lt_itmins TRANSPORTING NO FIELDS
WITH KEY meins = ' '.
IF sy-subrc = 0.
MESSAGE ID '/SCWM/L3' TYPE 'A' NUMBER 100.
ENDIF.
>>>>> INSERT /scwm/quan FROM TABLE lt_itmins.
Code breaks on highlighted segment.
Read more...
Environment
- SAP Extended Warehouse Management (SCM-EWM);
- SAP Extended Warehouse Management Warehouse Order Processing (SCM-EWM-WOP);
- SAP Extended Warehouse Management Delivery Processing (SCM-EWM-DLP);
- SAP Extended Warehouse Management Radio Frequency (SCM-EWM-RF);
- SAP Extended Warehouse Management Monitor (SCM-EWM-MON);
- SAP S/4HANA;
- SAP NetWeaver;
Product
Keywords
WO, resource, device, user, duplicate, key, error, mon, /scwm/correct_quants, correct, quants, /SE38, status , KBA , SCM-EWM-WOP , Warehouse Order Processing , SCM-EWM-DLP , Delivery Processing , SCM-EWM-MON , Monitoring , SCM-EWM-RF , Radio Frequency Processing , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.