SAP Knowledge Base Article - Preview

2095740 - CL_CRM_GENIL_SHARED_MODEL has syntax error on calling method GET_INSTANCE_INFOS after upgrade


  • After upgrade, following syntax error occurs when making syntax check in line 76 in method CLEANUP_MODEL for class CL_CRM_GENIL_INTERNAL_MODEL:
    You can only omit the parameter name if the method only has a
    non-optional IMPORTING parameter or an optional IMPORTING parameter
    that is identified by "PREFERRED PARAMETER" by "PREFERRED PARAMETER".

     The statement for line 76 is:  LT_INST_INFO = ME->SHM_AREA->GET_INSTANCE_INFOS( SY-MANDT ).

  • Once logon CRM webui page, 500 SAP Internal Server Error happens:
    webui error.png

  • ST22 dumps are generated:
    Category ABAP Programming Error
    Runtime Errors SYNTAX_ERROR
    Application Component CL_CRM_GENIL_SHARED_MODEL=====CP
    Application Component CA-WUI-GOL-GIL
    Date and Time 10.11.2014 16:35:35
        1 method GET_INSTANCE .
        3 * Method returns instance of the GenIL internal model
        5 * Create internal model if not yet there
        6   if SELF is not bound.
        7     if INIT_ACTIVE = ABAP_FALSE.
        8       INIT_ACTIVE = ABAP_TRUE.
        9       try.
    >>>>>           create object SELF type (IV_MODEL_TYPE) "type CL_CRM_GENIL_SHARED_MODEL
       11             exporting
       12               IV_NAMESPACE   = IV_NAMESPACE
       13               IV_APPLICATION = IV_APPLICATION.
       14           INIT_ACTIVE = ABAP_FALSE.


  • Execute T-code se24 and check parameter for method CL_CRM_GENIL_MODEL_SHM_AREA->GET_INSTANCE_INFOS, there are 3 parameters including two importing parameters:

    INST_NAME Importing
    CLIENT  Importing
    INFOS  Returning




  • SAP enhancement package for SAP CRM
  • SAP enhancement package for SAP CRM, version for SAP HANA


SAP Customer Relationship Management 7.0 ; SAP Customer Relationship Management 7.0 on SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package for SAP CRM all versions ; SAP enhancement package for SAP CRM, version for SAP HANA all versions


Shared Objects, SHMA, SHMM , KBA , CA-WUI-UI , User Interface , 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.