SAP Knowledge Base Article - Preview

2166116 - Dump MESSAGE_TYPE_X_TEXT during workflow processing

Symptom

  • When processing workflow, dump MESSAGE_TYPE_X_TEXT occurs.
  • When starting workflow using SWPC / SWPR / SWIA, dump MESSAGE_TYPE_X_TEXT occurs.
  • When deleting work items using transaction SWWL or report RSWWWIDE, dump MESSAGE_TYPE_X_TEXT occurs.
  • Job SWWERRE getting canceled due to dump MESSAGE_TYPE_X_TEXT.
  • The dump occurs on method _CALL_WORKITEM_EXIT of class CL_SWF_RUN_WIM_LOCAL and looks like the following:
Category ABAP Programming Error
Runtime Errors  MESSAGE_TYPE_X_TEXT
ABAP Program CL_SWF_RUN_WIM_LOCAL==========CP
Application Component BC-BMT-WFM
Short text   
The running application consciously caused an abort with short dump.
How to correct the error  
    "MESSAGE_TYPE_X_TEXT" " "       
    "CL_SWF_RUN_WIM_LOCAL==========CP" or "CL_SWF_RUN_WIM_LOCAL==========CM0E7"
    "_CALL_WORKITEM_EXIT"                            
Source Code Extract
  170|          CATCH cx_root INTO l_root_excp.    
  171|*           * the contract for the method event_raised of workflow exit classes     
  172|*           * states that it must NOT raise any exceptions other than defined in   
  173|*           * the inteface. If it does so anyhow, we dump to prevent inconsistencies 
  174|*           * further down                  

  175|            l_text = lcl_utils=>prepare_message_x_text( l_root_excp ).

>>>|            MESSAGE l_text TYPE 'X'.

  177|        ENDTRY.                  

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."


Read more...

Environment

  • SAP Business Workflow
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4HANA
  • ABAP PLATFORM - Application Server ABAP

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

SWF_WORKFLOW, WFMSTD, Short dump, CL_SWF_RUN_WIM_LOCAL==========CP, CL_SWF_RUN_WIM_LOCAL==========CM0EI, inteface, IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED, RSWWERRE, IF_SWF_IFS_WF_CONSTRUCTOR, IF_SWF_IFS_WF_DESTRUCTOR, OpenText , KBA , BC-BMT-WFM , Business Workflow , 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.