cancel
Showing results for 
Search instead for 
Did you mean: 

Test Mapping with RFC Lookup UDF in PI 7.0

RafaelVieira
Active Participant
0 Kudos

Hi all,

I tried to search for something related to this subject in the forum, but didn't find any specific.

I'm doing a proxy->soap assync interfaces where I have to trigger a RFC lookupr during mapping time.

As we're running PI 7.01, I needed to develop the UDF with business system, communication channel and the field to be looked up as the (3) input parameters of this UDF, so the RFC would return an email address.

I'm getting the following exception when testing the mapping through the Test tab within Message Mapping:

RFC Lookup Failed: com.sap.aii.mapping.lookup.LookupException: Plain exception:Problem when calling an adapter by using communication channel ERP_RFC_Receiver (Party: , Service: Sys_ERP_BS, Object ID: 5ca2116d2e96328aa3047dab342218c0) Check whether the communication channel exists in the Integration Directory; also check the cache notifications for the instance Integration Server (central Adapter-Engine) Channel object with Id Channel:5ca2116d2e96328aa3047dab342218c0 not available in CPA Cache. 

The business system and communication channel indeed exist.

Is the lookup feature something I can test in mapping test tool? If so, what is going wrong here?

Thank you all.

Rafael.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

can you check the CPA cache for this ID ? 5ca2116d2e96328aa3047dab342218c0

do you see it there ?

Regards,

Michal Krawczyk

RafaelVieira
Active Participant
0 Kudos

Sorry Michal, not sure how I could check this.

is it through SXI_CACHE ?

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

check it in:

http://<host>:5<sys#>00/CPACache

display CPA content

Regards,

Michal Krawczyk

RafaelVieira
Active Participant
0 Kudos

Tks.

It's not there.

Answers (2)

Answers (2)

RafaelVieira
Active Participant
0 Kudos

any other shot ?

tks!

Rafael.

anupam_ghosh2
Active Contributor
0 Kudos

Hi Rafael,

               Although I responded to this thread in context of upgrade to PI 7.3 , I feel you might find it useful   http://scn.sap.com/message/13531941

regards

Anupam

RafaelVieira
Active Participant
0 Kudos

It was needed a Java service restart.

After that, some other errors appeared but everything related to the Java code and, it's working after the corrections made.

Tks to all.

Rafael Vieira.

iaki_vila
Active Contributor
0 Kudos

Hi Rafael,

A few cents,

Have you assigned in parameter tab inside the test tab the RFC channel to the import parameter?

Regards.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Have you assigned in parameter tab inside the test tab the RFC channel to the import parameter?

with 7.0 there are no parameters

Regards,

Michal Krawczyk

RafaelVieira
Active Participant
0 Kudos

Hi Iñaki, I didn't include the RFC name within the parameters tab.

Could you be more specific on where exactly I should provide the RFC name there?

I have the following in Parameter tab (in bold, the fields filled with some content):

ConversationId
Interface
InterfaceNamespace
MessageId
ProcessingMode
ReceiverName
ReceiverNamespace
ReceiverPartyTest_ReceiverParty
ReceiverPartyAgency
ReceiverPartyScheme
ReceiverServiceTest_ReceiverService
ReceiverSystemTest_ReceiverSystem
RefToMessageId
SenderName
SenderNamespace
SenderPartyTest_SenderParty
SenderPartyAgency
SenderPartyScheme
SenderServiceTest_SenderService
SenderSystemTest_SenderSystem
TimeSent
VersionMajor
VersionMinor

tks

iaki_vila
Active Contributor
0 Kudos

Hi Michal,

I forgot that version of PI doesn't have parameters 

Im sorry Rafael for the confussion

Regards.