cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Lookup API - Changed Function Module needs to Update Cache

Former Member
0 Kudos

Hi Everyone,

What is the official way to update the cache for an RFC Receiver communication channel that is being used in an RFC Lookup API scenario.

Whenever I change the underlying structure of a function module I have inconsistencies, and the only way I can solve them is the de-activate and re-activate the channel.

Thanks

Peter

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Peter,

ASFAIK, when using the RFC Look UP API , the RFC Communication channel just acts as a medium to connect to the R3 system.

The change of structure of the RFC is not related with the RFC communication channel.

When you change the strcuture of the RFC in the R3 system, then in the look up code, while constructing the request and response message, you will need to have the new rfc xml structure.

Regards,

Bhavesh

Former Member
0 Kudos

The structure of a table in the RFC is definately being cached somewhere, and de/reactivating the channel corrects this.

Former Member
0 Kudos

Hi peter,

There is a "how to handle caches in SAP XI 3.0" guide in service marketplace.

https://websmp102.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&;

Check this for RFC metadata refresh..

"17. Data is entered in the cache for

metadata of function modules of

the RFC Adapter at runtime, as

soon as a message needs this

metadata for the first time.

When an RFC channel is changed in

the Integration Directory, the

function module cache for this

channel is cleared.

The cache is also cleared on restart,

for example; J2EE restart, RFC

adapter service restart or restart of

dependent J2EE services

(MessagingSystem, CPACache, and

so on).

The manual refresh is triggered by

restarting the RFC adapter service in

the Visual Administrator."

Hope this helps..

Regards

Anand