cancel
Showing results for 
Search instead for 
Did you mean: 

Exception caught by adapter framework

Former Member
0 Kudos

Hi

My scenario is based file -->RFC with BPM (parforEach) and multimapping.

File adapter is picking data according to input file, but RFC couldn't able to process each split data. I am gettign following error.

<b>2006-09-11 10:39:07 Error Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>

2006-09-11 10:39:07 Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null>.</b>

Any idea how to resolve this issue..!

Regards

Sankar!

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

have a look at question:

Q 16:

While sending a message to the RfcAdapter the error "... functiontemplate from repository was <null>" is shown. Which reasons are possible?

from

Note 730870 - FAQ XI 3.0 RFC Adapter

Regards,

michal

henrique_pinto
Active Contributor
0 Kudos

Usually I get this error in Production systems when the target RFCs are not transported, so I guess it means that the Adapter Framework can't find a RFC with the same name of the root tag of your message.

Regards,

Henrique.

Former Member
0 Kudos

Hi..

Does this way i mapped file to BAPI, is this correct way ?

does we change the BAPi structure like this in target side?

Source Structure: TargetStructure

-


Messages (1:1) Message(1:1)

Message1(1:1) Message1(1:1)

MT_Request(1:1)

Recordset(0:U) --> BAPI_INCOMINGINVOICE(0:U)

HDR (0:1) HeaderData(1:1)

LINEITEM(0:U)

field1(0:1) ---> filed1(0:1)

field2(0:2)

HDR--->GLACCOUNTDATA(0:1)

LINEITEM(0:U)---> item(0:U)

field3(0:1) ---> field(0:1)

field4(0:1) ---> field2(0:1)

and my BPM is :

-


Receive>Transfromation->Block with asyncSEND--->

Receiver : File_MI

Trasformation: IM, sorec: File_AI and tar: BApi_AI

Block -->parForeach, multi: BAPI_AI, curr: BAPI_AI

asyncSend-->BAPi_AI

<b>Note: My input file should have various headers with associated line items...!</b>

Thanks,

Sankar!

henrique_pinto
Active Contributor
0 Kudos

check if your BAPI is correct in your target system.

Also, how did you define the message for it? Did you imported the RFC interface?

Regards,

Henrique.

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

Have a look :

its a CC configuration error i assume.