SAPTechno

Note 1346861 - GenIL model error after transports into production system

Header
Version / Date 5 / 2011-03-23
Priority Recommendations/additional info
Category Consulting
Primary Component CA-WUI-GOL-GIL Generic Interaction Layer
Secondary Components

Summary
Symptom

After you import transports into a production system, the following exceptions occur, even though they did not previously occur in the development system or test system: CX_CRM_GENIL_MODEL_ERROR, CX_CRM_GENIL_MODEL_ERROR2, CX_CRM_UNSUPPORTED_OBJECT, CX_CRM_UNSUPPORTED_RELATION, or CX_CRM_UNSUPPORTED_OBJ_METHOD.

Other terms

-

Reason and Prerequisites

As described in Note 1161923, the system automatically buffers the generic interaction layer (genIL) model data in the production clients in the shared object memory. The system updates this buffer every 1440 minutes (24 hours) only. Therefore, the errors mentioned above may occur after you make changes to the model data because the data in the buffer is then obsolete.

Solution

Call transaction SHMM. In the list of areas, you should see the area CL_CRM_GENIL_MODEL_SHM_AREA. Select the area and choose one of the following:

  • "Invalidate" to mark all of the area instances as obsolete and trigger a rebuild of the areas. In this case, existing applications continue to run, while newly started applications use the updated area version.
  • "Delete All Instances" to delete all of the area instances directly. For current applications, this results in the direct program termination SYSTEM_SHM_AREA_OBSOLETE. Newly started applications result in an automatic rebuild of an updated area version.

Alternatively, you can also trigger the rebuild of areas for the genIL model data if this is available in your release with the report GENIL_SHM_MONITOR. This report is also suitable for the analysis with the ABAP Debugger.

Affected Releases
Software Component Release From Release To Release And subsequent
CRMUIF600600600
WEBCUIF700700700
WEBCUIF701701701X
WEBCUIF730730730

Related Notes
1570319Exception in CL_CRM_GENIL_OBJ_MODEL IS_DQUERY_HINT_SUPPORTED
1448562Enhancement fields are readonly in productive system
1161923Automatically loading the GenIL model in the shared memory
1088692Activity : Search by object ID
1042618Shared memory for design layer after system restart