SAP Knowledge Base Article - Preview

2357612 - Short dump SYNTAX_ERROR during Gateway service activation in CL_GBAPP_APV_PR_API or CL_GBAPP_APV_PO_API

Symptom

During the activation of an SAP Gateway service the following error message:

  • System error message: Syntax error in program CL_GBAPP_APV_PO_API=======
    Message no. /IWFND/MED151

AND/OR

  • Short dump raised similar like:

Category               ABAP Programming Error
Runtime Errors         SYNTAX_ERROR
ABAP Program           CL_GBAPP_APV_PO_API===========CP
Application Component  MM-PUR

Line 104 Method GET_WORKITEM_COUNT
"LT_TASK_IDS" is not type-compatible with formal parameter "IT_TASK_IDS".

The affected classes can be CL_GBAPP_APV_PO_API, CL_GBAPP_APV_PR_API, or similar using the Task Gateway.

Runtime Error CALL_FUNCTION_REMOTE_ERROR starting from class /IWFND/CL_MED_REM_EXPLORATION indicating similar syntax error like above also has to be considered.


Read more...

Environment

  • SAP Gateway
  • Process Gateway / Task Gateway / Gateway Business Workflow enablement

Product

SAP Gateway all versions

Keywords

CL_GBAPP_APV_PR_API, /IWFND/CL_MED_REM_EXPLORATION=>GET_BEP_OBJECT_MODELS, CALL FUNCTION lv_function_name DESTINATION 'NONE', /IWBEP/FM_MGW_GET_OBJ_MODELS, CL_GBAPP_APV_PR_MDP=>/IWBEP/IF_MGW_MED_LOAD~INITIALIZE, lo_api = cl_gbapp_apv_pr_api=>get_instance( )., /IWFND/R_MGW_REGISTRATION, "LT_TASK_IDS" ist nicht typkompatibel zum formalen Parameter "IT_TASK_IDS", CL_GBAPP_APV_PO_MDP, CL_GBAPP_APV_PR_MDP , KBA , gbapp_poapproval , gbapp_prapproval , cl_sra001_pc_api , cl_sra001_pc_mdp , sra001_pcapproval , zsra001_pcapproval , zgbapp_poapproval , zgbapp_prapproval , /iwwrk/if_tgw_scenario , get_task_count , syntax error in program , rfc error: syntax error , OPU-BSC-TGW , Task Gateway , MM-PUR , Purchasing , OPU-GW-COR , Gateway Framework , MM-FIO-PUR , Fiori UI for Purchasing , OPU-BSE-WFM , Gateway Business Workflow enablement , OPU-BSE-SB , Gateway Service Builder , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.