Symptom
In workflow exist class, an E error message is raised. The behavior in backend workflow inbox SBWP is working as expected, but in Fiori My Inbox exception is raised and MESSAGE_TYPE_X_TEXT dump with error "Message cannot be processed in Plugin mode HTTPS" is raised.
The behavior in SBWP (as expected):
The behavior in My Inbox (unexpected):
Dump details (example):
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 current application has intentionally triggered a termination with
a short dump.
Error analysis
Short text of the error message:
"Exception CX_SY_MESSAGE_IN_PLUGIN_MODE raised by
ZCL_WF_EXIT===================CP in line 8 with text: Message E ZWF 000
cannot be processed in plugin mode HTTPS"
"MESSAGE_TYPE_X_TEXT"
"CL_SWF_RUN_WIM_LOCAL==========CP" bzw. CL_SWF_RUN_WIM_LOCAL==========CM0EI
"_CALL_WORKITEM_EXIT"
241 CATCH cx_root INTO l_root_excp.
242 * * the contract for the method event_raised of workflow exit classes
243 * * states that it must NOT raise any exceptions other than defined in
244 * * the inteface. If it does so anyhow, we dump to prevent inconsistencies
245 * * further down
246 l_text = lcl_utils=>prepare_message_x_text( l_root_excp ).
>>>>> MESSAGE l_text TYPE 'X'.
248 ENDTRY.
45 METHOD CL_SWF_RUN_WIM_LOCAL==========CP CL_SWF_RUN_WIM_LOCAL==========CM0EI 247
CL_SWF_RUN_WIM_LOCAL=>_CALL_WORKITEM_EXIT
44 METHOD CL_SWF_RUN_WIM_LOCAL==========CP CL_SWF_RUN_WIM_LOCAL==========CM08V 2
CL_SWF_RUN_WIM_LOCAL=>IF_SWF_RUN_WIM_INTERNAL~CALL_WORKITEM_EXIT
43 METHOD CL_SWF_RUN_WIM_EXECUTION_MGR==CP CL_SWF_RUN_WIM_EXECUTION_MGR==CM00R 74
CL_SWF_RUN_WIM_EXECUTION_MGR=>HANDLE_EXECUTION_RESULT
42 METHOD CL_SWF_RUN_WI_COMPLETE_REQUESTCP CL_SWF_RUN_WI_COMPLETE_REQUESTCM002 122
"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/4 HANA
- ABAP PLATFORM - Application Server ABAP
Product
Keywords
WF_GDPR, SWF_WORKFLOW, WFMSTD, CX_SY_MESSAGE_IN_PLUGIN_MODE, dynpdext.c, CALL_WORKITEM_EXIT, Message cannot be processed in Plugin mode HTTPS , KBA , BC-BMT-WFM , Business Workflow , CA-INB-FIO , Fiori UI for My Inbox Application , OPU-BSC-TGW-BWF , SAP Business Workflow Provider , OPU-BSC-TGW , Task Gateway , 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.
SAP Knowledge Base Article - Preview