Symptom
- When job SAP_WORKFLOW_EVENT (report RSWEQSRV) is exectuing, short dump CALL_FUNCTION_DEST_TYPE raised.
- The program terminates with the error text "Invalid destination type 'G'".
- All events in the table SWEQUEUE are in status 3 (in process).
| Category ABAP Programming Error Runtime Errors CALL_FUNCTION_DEST_TYPE Application Component BC-BMT-WFM |
| Short text |
| Illegal destination type 'G'. |
| Error analysis |
| A function call was made with destination 'XXXXXXXXXX'. This destination has type 'G', which is not permitted for this call. |
| How to correct the error |
| Destinations of type 'G' can only be used in connection with asynchronous RFC. Choose a different destination or change the type in transaction SM59. If the error occurs in one of your own ABAP programs or an SAP program that you have modified, try to remedy the error. |
| Information on where terminated |
| The termination occurred in ABAP program or include "CL_SWF_EVT_STRATEGY_INTERN_RFCCP", in "PROCESS". The main program was "RSWEQSRV". In the source code, the termination point is in line 116 of include "CL_SWF_EVT_STRATEGY_INTERN_RFCCM001". include "CL_SWF_EVT_STRATEGY_INTERN_RFCCM001". Program "CL_SWF_EVT_STRATEGY_INTERN_RFCCP" was started as a background job. |
| Source Code Extract |
| | 113|*----------------------------------------------------------------------- | 114|*---- start via tRFC | 115|*----------------------------------------------------------------------- |>>>>>| CALL FUNCTION 'SWF_EVT_HANDLER_START_INTERNAL' | 117| IN BACKGROUND TASK | 118| AS SEPARATE UNIT | 119| DESTINATION im_handler->m_linkage-rfcdest | 120| EXPORTING | 121| im_linkage = im_handler->m_linkage | 122| im_standards = im_handler->m_standard_elements | 123| im_event_id = im_handler->m_event_id | 124| im_next_mode = swfev_process_mode_debugging | 125| im_container_is_complete = 'X' | 126| im_xml_container = lt_xml_container | 127| im_xml_size = l_xml_size | 128| im_bor_container = lt_bor_container | 129|* im_evt_guid = | 130|* exceptions | 131|* others = 1 |
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, rsweqsrv, sap_workflow_event, call_function_dest_type, invalid destination type g, swequeue status 3, short dump, cl_swf_evt_strategy_intern_rfccp, sap s/4hana, business workflow, event linkage, type g rfc destination, cp_enterprise_msg, CP_ENTERPRISE_MSG , 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.
SAP Knowledge Base Article - Preview