Changed RFC Structure Not Propagating to XI/PI Runtime

In support of an synchronous XI interface (SOAP->XI->RFC), I changed the underlying structure of one of the RFC parameters.  I appended some fields to the end of a return structure in ECC.  I re-imported the RFC meta data to the Integration Repository as always and mapped the fields accordingly.  When I executed the interface, the fields that I added did NOT appear in the XML.  This is because the XI runtime cache did not have the updated metadata for the RFC.

To update the runtime cache (called CPA Cache), enter the following URL in your web browser http://<host>:5<sys#>00/CPACache/refresh?mode=full. XI will do the rest of the work for you. After the CPA cache is refreshed, the new RFC meta data reflects the newly added fields.

These other CPA Cache URLs may also be helpful:

CPA Cache Monitoring: http://<host>:5<sys#>00/CPACache

Delta CPA Cache Refresh: http://<host>:5<sys#>00/CPACache/refresh?mode=delta

Full CPA Cache Refresh: http://<host>:5<sys#>00/CPACache/refresh?mode=full

About Craig Stasila

Craig Stasila is a senior partner consultant with DataXstream, LLC. He has over twelve years of experience with SAP integration and is an innovative leader who is familiar with current advances in technology, especially in cross application interfacing.

Comments

  1. I don’t think this is a good suggestion, CPA cache may trigger some other communication channels to start processing, for example, the sender JDBC communication channel.

    The right way should be to restart the J2EE Service: RFC adapter. and this can be done in the NWA.

Add Comment Register



Speak Your Mind

*