Cache issues when PI is connected to older SLD
If an SAP PI 7.1 or newer release system is connected to SLD 7.0, the cache update may fail with the following error;
com.sap.aii.ib.core.abapcache.CacheRefreshException: Unable to find the SLD element (SAP_BusinessSystem, [CreationClassName, SAP_BusinessSystem, string, Name, SID_NNN, string])
The error occurs as the wizard to create a new business system in the SLD 7.0 does not create enough information for proper functionality of the PI Integration Directory. An association to HTTP Service Port required by cache refresh for notifying AS ABAP about changes in the configuration is not created.
To fix this problem, create missing information in SLD by following these steps:
com.sap.aii.ib.core.abapcache.CacheRefreshException: Unable to find the SLD element (SAP_BusinessSystem, [CreationClassName, SAP_BusinessSystem, string, Name, SID_NNN, string])
The error occurs as the wizard to create a new business system in the SLD 7.0 does not create enough information for proper functionality of the PI Integration Directory. An association to HTTP Service Port required by cache refresh for notifying AS ABAP about changes in the configuration is not created.
To fix this problem, create missing information in SLD by following these steps:
- Call the SLD URL in a browser: http://host:port/sld > Administration > Content Maintenance
- Select Subset: All With Instances; Class: HTTP Service Port
- Click on 'New HTTP Service Port'
- Fill following fields:
- CreationClassName: SAP_HTTPServicePort
- Name: <SID>_<CLIENT>
- SystemCreationClassName: SAP_BCApplicationServer
- SystemName: <SID>
- Caption: Http Service Port for <SID>_<CLIENT>
- URL: http://<host>:<port>
- Click 'Save'
- Select another Class to browse: Business System
- Click on the required Business System, i.e. on SID_NNN
- Click on "X Associated Instances"
- Click on 'New Association'
- Select Association Type: Business System HTTP Service Port
- Select just created http port (i.e. SID_NNN)
- Click 'Associate'
- Now go to Integration Directory and clear SLD Cache : Menu-> Environment-> Clear SLD Data Cache.
- Goto Menu->Environment->Cache Status Overview and repeat all failed cache refresh events for the required ABAP backend.
Comments
Post a Comment