SAP Knowledge Base Article - Preview

3733872 - Post GI - Delviery Split for HU --> Dump

Symptom

A user tries to post GI partially from HU level for a EWM ODO via the tcode /scwm/prdo, the following dump happens:
Category               ABAP programming error
Runtime Errors         ASSERTION_FAILED
ABAP: Program          /SCWM/CL_GOODS_MOVEMENT=======CP
Application Component  SCM-EWM-DLP 

Prevent HU split when the item is in a delivery group hierarchy. The process must be terminated here to avoid posting a group partially.
        IF lv_split = abap_true.
          READ TABLE ls_dlv_item-hierarchy
            WITH KEY
              hierarchy_type = /scdl/if_dl_hierarchy_c=>sc_type_dlvgrp
              TRANSPORTING NO FIELDS.
           ASSERT sy-subrc <> 0.
          IF ls_dlv_item-delterm-part_del_num = 1.
            ASSERT 1 = 2.
          ENDIF.
        ENDIF. 


Read more...

Environment

SAP Extended Warehouse Management

Product

SAP S/4HANA Cloud Private Edition 2025

Keywords

EWM Partial GI from HU, /SCWM/CL_GOODS_MOVEMENT=======CP, ASSERTION_FAILED, lv_split, Partial Deliv. , KBA , SCM-EWM-DLP-BF-GM , Goods Movements (GR/GI/Reversal/Posting Change) , 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.