cancel
Showing results for 
Search instead for 
Did you mean: 

RFC call - RfcClientException: functiontemplate from repository was <null>

Former Member
0 Kudos

Hi all,

We are attempting to retrieve data from the ABAP stack of XI via the RFC adapter. However the call to the RFC is returning the following error:

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was <null></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I have already come across SAP note 730870 but it didn't help.

Any suggestion?

Many thanks,

Aldo

Accepted Solutions (1)

Accepted Solutions (1)

nisarkhan_n
Active Contributor
0 Kudos

Increase the Number of connections parameter value in the RFC Adapter and check.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

I have found the problem.

The mapping to the RFC request was not creating the correct namespace prefix in the root xml element.

I have downloaded the file rfcnormalizer.jar from SAP note 730870 and used it in my interface mapping. It solved the problem.

Regards,

Aldo

Former Member
0 Kudos

Hi Nisar,

I have increased the Maximum Connections number from 1 to 5 but I am getting the same result.

Aldo

Former Member
0 Kudos

Hi,

In Runtime workbench just open the adapter engine --> communication channel --> Open the RFC communication channel.

Press Stop and then start it.

This will avoid the error.

Thanks

Swarup