cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver rfc error ( soap2rfc) error catagory :Parsing ErrorId: general

deviprasad_pothireddy
Active Participant
0 Kudos

Hi all,

My scenario is SOAP2RFC syn.

using soap adapter, it is able send the message to xi server. ( there is no communication channel error. green clour).

IN sxi_monitor -> it is showing the

rfc(2nd interface)->

- <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="PARSING">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>

Please help me from this

Regards,

Deviprasad.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Pasting the answer from SAP note for your convenience

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

A: After receiving a message from the Adapter Engine, the RfcAdapter extracts the payload from the message. Normally this should be an XML document in the RFC-XML format. In this format the root element of the XML document represents the name of the function module and is enclosed in the fixed RFC namespace 'urn:sap-com:document:sap:rfc:functions'. But this only will be checked at a later point, when the conversion from XML to native RFC is done. As prerequisite of this conversion the structures and types of the function module parameters has to be known. This is also called metadata or function template. To get this function template the name of the function module is extracted from the root element of the XML document and is queried against the metadata repository of the communication channel. If the metadata repository doesn't have a function module with this name, the exception named above is thrown. Possible reasons are

The XML document, which was send to the RfcAdapter, is not a RFC-XML document. So the root element name of this document is not the name of a function module and thus can't be found in the metadata repository.

The metadata repository doesn't contain an entry for this function module name. Normally the metadata repository will be an R/3 system and it's function module repository can be searched with transaction code SE37.

Former Member
0 Kudos

Please check SAP note: 730870 Question: 16

This might be the reason for your error.

Satish

Former Member
0 Kudos

Hi,

For this scenario check this link

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

http://help.sap.com/saphelp_nw2004s/helpdata/en/29/5bd93f130f9215e10000000a155106/content.htm

and check your r/3 system configuration.

regards

manoj kumar

deviprasad_pothireddy
Active Participant
0 Kudos

Hi,

xml spy reponse is saying that :

fault code: soap error

fault String: faild to call the adapter engine

code: Delivary Exception

Please help me from this situvation

Regards,

Deviprasad.

Former Member
0 Kudos

HI,

See the below link

Troubleshooting - RFC and SOAP scenarios-/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

Troubleshooting SOAP Message - XI - /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi

Regards

Chilla

Former Member
0 Kudos

deviparsad,

check whether the RFC is imported into XI or not .

deviprasad_pothireddy
Active Participant
0 Kudos

Hi Sreeram,

With out importing Rfc in XI, how can I do mapping?

In message mapping, I have tested with sample data. it is reaching target safely.

Former Member
0 Kudos

are u getting this error while request or response message back from RFC.

Sreeram Reddy