SAP Knowledge Base Article - Preview

3422130 - Dump ASSERTION_FAILED occurs in FM CPCC_S_TASK_LIST_MAINTAIN

Symptom

When trying to assign a task list to sales documents and WBS elements at the same time using FM CPCC_S_TASK_LIST_MAINTAIN, dump ASSERTION_FAILED occurs. 

Category               ABAP programming error
Runtime Errors         ASSERTION_FAILED
ABAP Program           SAPLCPCC_DM
Application Component  PP-BD-RTG

Short Text     The ASSERT condition was violated.

Check ABAP runtime error in t-code ST22, source code extract shows dump is occurring in below ASSERT statement. 

  137 * check what type of BOMs should be loaded (MBM is always loaded)
  138   IF material_task_allocations[] IS NOT INITIAL OR                      " n_2526758
  139      component_allocations[]     IS NOT INITIAL.
  140     LOOP AT material_task_allocations ASSIGNING FIELD-SYMBOL(<ls_mtk>).
>>>>>       ASSERT <ls_mtk>-doc_number IS INITIAL OR
  142              <ls_mtk>-work_breakdown_struct_ele IS INITIAL.
  143       IF <ls_mtk>-doc_number IS NOT INITIAL.
  144         gv_load_kbm = abap_true.
  145       ELSEIF <ls_mtk>-work_breakdown_struct_ele IS NOT INITIAL.
  146         gv_load_pbm = abap_true.
  147       ENDIF.
  148     ENDLOOP.


Read more...

Environment

  • SAP ERP Logistics (LO)  
  • SAP R/3
  • SAP R/3 Enterprise
  • SAP ERP Central Component
  • SAP ERP
  • SAP Enhancement package for SAP ERP
  • SAP Enhancement package for SAP ERP, version for SAP HANA
  • SAP S/4 HANA, on premise

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

CPS_TASK_LIST_MAINT_MTK, routing, task list, inspection plan, WBS routing, sales order routing, MAPL, assignment , KBA , LO-EWB , Engineering Workbench , PP-BD-RTG , Routing , How To

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.