SAP Knowledge Base Article - Preview

3245428 - COMMIT_IN_OS_EVENT dump when executing the transaction /OPT/VIM_WP

Symptom

Category               ABAP Programming Error
Runtime Errors         COMMIT_IN_OS_EVENT
ABAP Program           SAPLSWWL
Application Component  BC-BMT-WFM
Date and Time          07.09.2022 17:03:20

 Short Text
     COMMIT WORK in an event handler belonging to the OO transaction service.

 What happened?
     Error in the ABAP Application Program

     The current ABAP program "SAPLSWWL" had to be terminated because it has
     come across a statement that unfortunately cannot be executed.
     A COMMIT WORK was triggered during processing of an event handler
     belonging to the OO transaction service. This is not allowed here, as
     the COMMIT WORK handling is already running.

Error analysis
    A COMMIT WORK was processed in an event handler belonging to the OO
    transaction service.

User and Transaction
    Transaction......... /OPT/VIM_WP
    Program.............. SAPLSWWL
    Screen.............. /OPT/SAPLVIM_PMC_UI_COMP                

Information on where terminated
    The termination occurred in ABAP program "SAPLSWWL", in
     "SWW_WI_LOG_WRITE_EXCEPTION". The main program
    was "/OPT/CL_C_PMC_APPLICATION=====CP".
    In the source code, the termination point is in line 148 of (Include)
    program "LSWWLU08".

Source Code Extract

       IF do_commit NE space.
          CALL FUNCTION 'SWW_WI_LOG_FLUSH'.
>>     COMMIT WORK.
       ENDIF.

Active Calls/Events

No.   Ty.          Program                             Include                             Line
      Name

   23 FUNCTION     SAPLSWWL                            LSWWLU08                              148
      SWW_WI_LOG_WRITE_EXCEPTION
   22 METHOD       CL_SWF_RUN_WIM_LOCAL==========CP    CL_SWF_RUN_WIM_LOCAL==========CM04V    50
      CL_SWF_RUN_WIM_LOCAL=>IF_SWF_RUN_WIM_INTERNAL~WRITE_LOG_EXCEPTION
   21 METHOD       CL_SWF_UTL_TRANSACTION========CP    CL_SWF_UTL_TRANSACTION========CM005    15
      CL_SWF_UTL_TRANSACTION=>COMMIT_EXECUTED
   20 METHOD       CL_SYSTEM_TRANSACTION_STATE===CP    CL_SYSTEM_TRANSACTION_STATE===CM001     2
      CL_SYSTEM_TRANSACTION_STATE=>RAISE_TRANSACTION_FINISHED
   19 FORM         SAPMSSY0                            SAPMSSY0                              479
      %_AFTER_COMMIT
   18 METHOD       CL_SWF_UTL_TRANSACTION========CP    CL_SWF_UTL_TRANSACTION========CM009    11
      CL_SWF_UTL_TRANSACTION=>FORCE_COMMIT
   17 METHOD       CL_SWF_UTL_TRANSACTION========CP    CL_SWF_UTL_TRANSACTION========CM007    31
      CL_SWF_UTL_TRANSACTION=>IF_SWF_UTL_TRANSACTION~COMMIT
   16 METHOD       CL_SWF_RUN_TRANSACTION_MANAGERCP    CL_SWF_RUN_TRANSACTION_MANAGERCM00B     6
      CL_SWF_RUN_TRANSACTION_MANAGER=>COMMIT
   15 METHOD       CL_SWF_RUN_WI_COMPLETE_REQUESTCP    CL_SWF_RUN_WI_COMPLETE_REQUESTCM002   219
      CL_SWF_RUN_WI_COMPLETE_REQUEST=>EXECUTE_INTERNAL
   14 METHOD       CL_SWF_RUN_WIM_REQUEST========CP    CL_SWF_RUN_WIM_REQUEST========CM00C     7
      CL_SWF_RUN_WIM_REQUEST=>EXECUTE
   13 METHOD       CL_SWF_RUN_WAPI_REQUEST=======CP    CL_SWF_RUN_WAPI_REQUEST=======CM002     3
      CL_SWF_RUN_WAPI_REQUEST=>EXECUTE
   12 FUNCTION     SAPLSWRR                            LSWRRU06                              307
      SAP_WAPI_WORKITEM_COMPLETE
   11 FUNCTION     /OPT/SAPLVIM_PMC_ACT_UTILITIES      /OPT/LVIM_PMC_ACT_UTILITIESU01        267
      /OPT/C_PMC_ACT_REROUTE_DP
   10 FUNCTION     /OPT/SAPLVIM_PMC_EXIT_FM_IMPL       /OPT/LVIM_PMC_EXIT_FM_IMPLU31          97
      /OPT/C_PMC_EXIT_ACT_EXE_REROUT
    9 METHOD       /OPT/CL_C_PMC_ACT_HANDLER=====CP    /OPT/CL_C_PMC_ACT_HANDLER=====CM007    30
      /OPT/CL_C_PMC_ACT_HANDLER=>ACT_CUSTOM_EXECUTE
    8 METHOD       /OPT/CL_C_PMC_ACT_HANDLER=====CP    /OPT/CL_C_PMC_ACT_HANDLER=====CM003    12
      /OPT/CL_C_PMC_ACT_HANDLER=>EXECUTE_ACTION
    7 FUNCTION     /OPT/SAPLVIM_PMC_ACT_HANDLER        /OPT/LVIM_PMC_ACT_HANDLERU01          130
      /OPT/C_PMC_ACTION_EXECUTE_RFC
    6 METHOD       /OPT/CL_C_PMC_ACT_CONTROLLER==CP    /OPT/CL_C_PMC_ACT_CONTROLLER==CM003   146
      /OPT/CL_C_PMC_ACT_CONTROLLER=>DISPATCH_ACTION_EXECUTE
    5 METHOD       /OPT/CL_C_PMC_UI_CONTROLLER===CP    /OPT/CL_C_PMC_UI_CONTROLLER===CM00Y   661
      /OPT/CL_C_PMC_UI_CONTROLLER=>PROCESSING_PAI_MAIN
    4 MODULE (PAI) /OPT/SAPLVIM_PMC_UI_COMP            /OPT/LVIM_PMC_UI_COMPI01               37
      PAI_1000
    3 FUNCTION     /OPT/SAPLVIM_PMC_UI_COMP            /OPT/LVIM_PMC_UI_COMPU01               28
      /OPT/C_PMC_SCREEN_OUTPUT
    2 METHOD       /OPT/CL_C_PMC_APPLICATION=====CP    /OPT/CL_C_PMC_APPLICATION=====CM004     4
      /OPT/CL_C_PMC_APPLICATION=>RUN_APPLICATION
    1 EVENT        /OPT/CL_C_PMC_APPLICATION=====CP    ???                                     0
      SYSTEM-EXIT


Read more...

Environment

  • SAP Business Workflow
  • SAP NetWeaver 7.4
        SAP Release..... 740
        SAP Basis level 0008

Product

SAP ERP 6.0 ; SAP NetWeaver 7.4

Keywords

WF_GDPR, SWF_WORKFLOW, LSWWLU08, SAP_WAPI_WORKITEM_COMPLETE, VIM Workplace transaction, SBWP, Task ID TS00275278, Workflow Template ID WS00275269, Node Number, Step Number 51 , KBA , BC-BMT-WFM , Business Workflow , XX-PART-OPT-INV , SAP Invoice Management by OpenText , 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.