SAP Knowledge Base Article - Preview

2695235 - Change of units for warehouse number - ASSERTION_FAILED in program /SCWM/SAPLHU_TO_UPD

Symptom

  • User have changed the weight unit, volume unit, time unit, or length unit at warehouse-number level.
  • Run time errors while executing the EWM transactions
  • Once an action is performed, the following update termination is received:

Function Module        /SCWM/TO_CONFIRM_UPD

Status                 Update was canceled

Report                 /SCWM/LHU_TO_UPDF12

Row                    878

Error details   Class:     00         Number:    671
Internal session terminated with a runtime error ASSERTION_FAILED (see ST22)

  • This action also generated a dump in ST22:

Category               ABAP programming error
Runtime Errors         ASSERTION_FAILED
ABAP: Program          /SCWM/SAPLHU_TO_UPD
Application Component  SCM-EWM-WOP

  873           IF ls_capa-weight IS NOT INITIAL.
  874             ASSERT <dlagp>-unit_w = ls_capa-unit_w.
  875             <dlagp>-weight = <dlagp>-weight + ls_capa-weight.
  876           ENDIF.
  877           IF lv_novol IS INITIAL AND ls_capa-volum IS NOT INITIAL.
>>>>>             ASSERT <dlagp>-unit_v = ls_capa-unit_v.
  879             <dlagp>-volum  = <dlagp>-volum + ls_capa-volum.
  880           ENDIF.


Read more...

Environment

  • SAP Extended Warehouse Management (SCM-EWM);
  • SAP Extended Warehouse Management Warehouse Order Processing (SCM-EWM-WOP);
  • SAP Extended Warehouse Management Master Data (SCM-EWM-MD);
  • SAP S/4HANA;
  • SAP NetWeaver.

Product

SAP Extended Warehouse Management all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

/SCWM/T340D,  GEWEI, VOLEH, ZEIEI, DIST_UOM, /scwm/t340d, gewei , KBA , SCM-EWM-WOP-BF-WTC , Warehouse Task Creation , SCM-EWM-MD , Master Data , 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.