cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI/PI excel to custom RFC

AJeB
Participant
0 Kudos
170

Hi Everyone,

in my old custom RFC there are 3 import parameters ( IV_NAME, IV_AGE, IV_ADDRESS )

Existing

FieldIV_NAMEIV_AgeIV_Address
ValueNAME118Canada

need to add

FieldIV_CITY
ValueCITY1

in the XI/PO mapping the parameter is ( IV_NAME, IV_AGE, IV_ADDRESS )

In the new requirement we need to add and get the City from file created from XI/PO, I already adjusted the custom RFC and added the IV_CITY and the XI/PO team also added the new parameter IV_CITY to the mapping. while doing debugging, I checked the import parameter in the RFC and saw that the RFC did not receive the City value, what could be the cause of the issue?

View Entire Topic
helmut_skolaut3
Active Participant
0 Kudos

Hi,

it's a problem that i know very well. The signature of the XML-RFC is somewhere cached and i haven't yet found a way to invalid the cache. You have to rename the communication channel that is used - than it's works again. Just a new activation of the CC isn't enough to reload the signature. 

I guess you are consuming an RFC lookup from a mapping, correct? I my case it was a SOAP lookup and giving the channel a new name solved the issue.

BR HElmut

 

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

That's also my idea: XI/PO caches the function module signature (importing/exporting parameters). If the FM has been changed, but XI/PO not yet updated, then the new parameters are not yet known on XI/PO side, and the RFC protocol in such a case is designed to just ignore unknown data.

I know that for example in the SAP Business Connector (which is similar to XI/PO) there is a button "Clear DDIC Cache", which can be used precisely in those cases. The FM signature is deleted from the cache and then looked up again from the backend DDIC, when it's needed the next time.

I would assume that XI/PO has a similar "Clear Cache" feature. If not, you will have to restart the XI/PO system...

AJeB
Participant
0 Kudos
We already tried to refresh the channel but still not working
Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

I didn't say anything about a "channel". (In fact, I don't even know what a "channel" is...)

The JCo cache is JavaVM-wide, so if XI/PO does not have a button that says "Clear Cache", then you will need a restart of the Java VM (which means restart of the XI/PO system).

AJeB
Participant
0 Kudos

the basis team refreshed the JCo Monitoring Metadata Cache of RFC and its working as expected. thanks for the ideas

AJeB
Participant
0 Kudos
the basis team refreshed the JCo Monitoring Metadata Cache of RFC and its now working as expected. thanks for the ideas