cancel
Showing results for 
Search instead for 
Did you mean: 

Problem calling communication channel

Former Member
0 Kudos

Hi All

I created a scenario where idoc is send from ecc with idoc adpter then to value mapping with user defined function to get a value stored in the db. When I test the mapping it gives me error:

Errorcom.sap.aii.mapping.lookup.LookupException: Plain exception:Problem when calling an adapter by using communication channel CC_UDF_RECEIVER (Party: , Service: metsapxd, Object ID: 920cddf81b013e8db6056cc14cafc5a3) 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:920cddf81b013e8db6056cc14cafc5a3 not available in CPA Cache. com.sap.aii.mapping.lookup.LookupException: Problem when calling an adapter by using communication channel CC_UDF_RECEIVER (Party: , Service: metsapxd, Object ID: 920cddf81b013e8db6056cc14cafc5a3) 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:920cddf81b013e8db6056cc14cafc5a3 not available in CPA Cache.

When I go to runtime workbench and check communication channel monitoring the light is green but with error underneath:

Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>

Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>

Deletet the scenario and created it again but stil gives same errors?

Can the lookup table be in xi or should it be in ecc system?

Any help will be appreciated.

Regards

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

had a same problem, but have created new RFC channel and activated. its started working now.

thanks,

Alexander.

Former Member
0 Kudos

Hi

Thx for the Reply. Can the rfc lookup be in the xi abap site or should it go to the ecc system?

prateek
Active Contributor
0 Kudos

Theroetically the RFC could be created on XI abap stack. But a usual practice is to use one on the ECC system. U may consider value mapping too if it suits ur scenario.

Regards,

Prateek

Former Member
0 Kudos

HI Stephan,

Have you activated the communication channel?

Go throgh the following link.

Regards

Sridhar Goli

prateek
Active Contributor
0 Kudos

Make sure that the communication channel CC_UDF_RECEIVER is created at ID and is activate. The important point to notice here is that this CC should be under the WebAs ABAP Business System for the R3 system at which you are trying to make the lookup.

Regards,

Prateek

former_member238007
Contributor
0 Kudos

Hi..

Check this step by step so that sender side RFC configuration every thing was included.. fololow this it may solve ur problem

Steps

SAP XI

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (IDX1)

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Load Meta Data for IDOC (IDX2)

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

SAP R/3

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (We21)

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Create Partner Profile (WE20)

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system.

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang.

e) Click on the + button to select the message type.

f) Select Partner no. and LS which ever create above.

g) Select Message type

h) Select Process code related to the Message type.

I) save.

In SLD u2013 System Landscape Directory

TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.

Ts for Third Party (Logical system):-

BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.

BS for Third Party (Logical system):-Enter the XI logical system name.

In Transaction SALE

Define and Assign the logical system name.

regards,

Kishore