SAP Knowledge Base Article - Preview

3380069 - MESSAGE_TYPE_X dump during Flexible workflow processing and workflow gets stuck

Symptom

  • SWI1 'Step History' tab shows the message "Application Error: The current application has intentionally triggered" and the step has COMPLETED status. The Top Level work item is still IN PROCESS status.
  • Message No. WL074
  • MESSAGE_TYPE_X dump in ST22

Category               ABAP programming error
Runtime Errors         MESSAGE_TYPE_X
ABAP Program           CL_SWF_RUN_WIM_LOCAL==========CP
Application Component  BC-BMT-WFM-RUN
Date and Time          19.09.2023 15:54:03 (EET)

 Short Text
     The current application has intentionally triggered a termination with
     a short dump.

Error analysis
    Short text of the error message:
    Unknown error
    Long text of the error message:
    Technical information about the message:
    Message class....... SO
    Number.............. 648
    Variable 1..........
    Variable 2..........
    Variable 3..........
    Variable 4.......... " "

How to correct the error
    If the error occurs in one of your own ABAP programs or an SAP program
    that you have modified, try to correct the error yourself.
    If the error occurs in a non-modfied SAP program, you might be able to
    find a solution in the SAP Notes system. If you have access to the SAP
    Notes system, check there first using the following keywords:

    "MESSAGE_TYPE_X"
    "CL_SWF_RUN_WIM_LOCAL==========CP" bzw. CL_SWF_RUN_WIM_LOCAL==========CM051
    "IF_SWF_RUN_WIM_PERS_INTERNAL~SAVE"
    If you cannot solve the problem yourself, please send the following
    information to SAP:

Information on where terminated
    The termination occurred in ABAP program or include
     "CL_SWF_RUN_WIM_LOCAL==========CP", in "IF_SWF_RUN_WIM_PERS_INTERNAL~SAVE".
     The
    main program was "SAPMSSY1".

    In the source code, the termination point is in line 13 of include
     "CL_SWF_RUN_WIM_LOCAL==========CM051".
    include "CL_SWF_RUN_WIM_LOCAL==========CM051".

Line  Code

    1   METHOD if_swf_run_wim_pers_internal~save .
    2     TRY.
    3         me->_save( ).
    4       CATCH cx_swf_run_wim INTO DATA(lx_excp).
    5         DATA(lo_stack_trace) = cl_swf_utl_stack_trace=>get_instance_for_wim( io_wim = me
    6                                                                              iv_method_name
    7                                                                              io_exception =
    8         lo_stack_trace->write( ).
    9         DATA(ls_t100msg) = lx_excp->t100_msg.
   10         IF lx_excp IS INSTANCE OF cx_swf_run_wim_cnt_persist.
   11           ls_t100msg-msgv2 = me->m_sww_wihead-wfd_id.
   12         ENDIF.
>>>>>         MESSAGE ID ls_t100msg-msgid TYPE 'X' NUMBER ls_t100msg-msgno
   14                 WITH ls_t100msg-msgv1 ls_t100msg-msgv2 ls_t100msg-msgv3 ls_t100msg-msgv4.
   15     ENDTRY.
   16   ENDMETHOD.

Contents of system fields

Name     Val.

SY-SUBRC 0
SY-INDEX 1
SY-TABIX 0
SY-DBCNT 1
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE CPIC and RFC Control
SY-MSGTY X
SY-MSGID SO
SY-MSGNO 648
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
SY-MODNO 0
SY-DATUM 20230919
SY-UZEIT 155402
SY-XPROG SAPLSWW_EXE
SY-XFORM SWW_WI_EXECUTE_CALLBACK

Active Calls/Events

No.   Ty.          Program                             Include                             Line
      Name

   22 METHOD       CL_SWF_RUN_WIM_LOCAL==========CP    CL_SWF_RUN_WIM_LOCAL==========CM051    13
      CL_SWF_RUN_WIM_LOCAL=>IF_SWF_RUN_WIM_PERS_INTERNAL~SAVE
   21 METHOD       CL_SWF_RUN_TRANSACTION_MANAGERCP    CL_SWF_RUN_TRANSACTION_MANAGERCM006    31
      CL_SWF_RUN_TRANSACTION_MANAGER=>SAVE
   20 METHOD       CL_SWF_WFM_PERSISTENCE========CP    CL_SWF_WFM_PERSISTENCE========CM00G   184
      CL_SWF_WFM_PERSISTENCE=>IF_SWF_TSI_PERSISTABLE~SAVE
   19 METHOD       CL_SWF_TSI_TRANSACTION========CP    CL_SWF_TSI_TRANSACTION========CCIMP   260
      LCL_TRANSACTION=>IF_SWF_TSI_TRANSACTION_MGR~SEND_SAVE
   18 METHOD       CL_SWF_RUN_WFM================CP    CL_SWF_RUN_WFM================CM04N    15
      CL_SWF_RUN_WFM=>SAVE
   17 METHOD       CL_SWF_RUN_WFM================CP    CL_SWF_RUN_WFM================CM03E   124
      CL_SWF_RUN_WFM=>RUN_SYNCHRONOUS_PHASE
   16 METHOD       CL_SWF_RUN_WFM================CP    CL_SWF_RUN_WFM================CM032    11
      CL_SWF_RUN_WFM=>EXECUTE_QUEUES
   15 METHOD       CL_SWF_RUN_WFM================CP    CL_SWF_RUN_WFM================CM00T    33
      CL_SWF_RUN_WFM=>IF_SWF_RUN_WFM~RUN
   14 METHOD       CL_SWF_RUN_WIM_EXECUTION_MGR==CP    CL_SWF_RUN_WIM_EXECUTION_MGR==CM01C    69
      CL_SWF_RUN_WIM_EXECUTION_MGR=>_EXECUTE_CALLBACK
   13 METHOD       CL_SWF_RUN_WIM_EXECUTION_MGR==CP    CL_SWF_RUN_WIM_EXECUTION_MGR==CM00I    20
      CL_SWF_RUN_WIM_EXECUTION_MGR=>EXECUTE_CALLBACK
   12 METHOD       CL_SWF_RUN_ADMIN_SERVICES=====CP    CL_SWF_RUN_ADMIN_SERVICES=====CM006    14
      CL_SWF_RUN_ADMIN_SERVICES=>EXECUTE_CALLBACK
   11 METHOD       CL_SWF_RUN_ADMIN_SERVICES=====CP    CL_SWF_RUN_ADMIN_SERVICES=====CM00E     5
      CL_SWF_RUN_ADMIN_SERVICES=>IF_SWF_RUN_SERVICE~EXECUTE
   10 METHOD       CL_SWF_RUN_CALLBACK===========CP    CL_SWF_RUN_CALLBACK===========CM004    12
      CL_SWF_RUN_CALLBACK=>EXECUTE
    9 FUNCTION     SAPLSWW_EXE                         LSWW_EXEU04                            29
      SWW_WI_EXECUTE_CALLBACK
    8 FORM         SAPLSWW_EXE                         LSWW_EXEU04                             1
      SWW_WI_EXECUTE_CALLBACK
    7 FORM         SAPMSSY1                            SAPMSSY1                              445
      XAB_RUN_DRIVER
    6 FUNCTION     SAPLSXAB                            LSXABU01                                9
      RFC_RUN_XAB_DRIVER
    5 FUNCTION     SAPLERFC                            LERFCU01                              135
      ARFC_EXECUTE
    4 FUNCTION     SAPLERFC                            LERFCU02                              512
      ARFC_DEST_SHIP
    3 FORM         SAPLERFC                            LERFCU02                                1
      ARFC_DEST_SHIP
    2 FORM         SAPMSSY1                            SAPMSSY1                              189
      REMOTE_FUNCTION_CALL
    1 MODULE (PBO) SAPMSSY1                            SAPMSSY1                               35
      %_RFC_START


Read more...

Environment

  • SAP Business Workflow
  • SAP NetWeaver
  • SAP Web Application Server for SAP S/4 HANA
  • 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

WF_GDPR, SWF_WORKFLOW, SWPC, reprocess, Release of Purchase Order, Workflow for Purchase Order, TS00800531,WS00800238, 80000001, ReleasePO , KBA , BC-BMT-WFM , Business Workflow , BC-SRV-COM , Communication Services: Mail, Fax, SMS, Telephony , 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.