Skip to Content
author's profile photo Former Member
Former Member

RfcClientException: functiontemplate from repository was <null>

HI All,

I am doing the File to RFC, the file was picked from FTP but data is not loaded into target sytem. When i have checked the Communication chennal for receiver (RFC) its showing this msg

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

Please help me how to reslove this problem.

Thanks in advance,

Venkat.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    Posted on Dec 19, 2008 at 10:22 AM

    Hi,

    Check in the R3 system in SE37 whether the particular RFC BAPI is available or not. I guess it is not there.

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 10:28 AM

    HI Venkat.

    Please Refer SAP Note: 730870. Q16.

    Fyr from SAP Note:

    >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.

    Regards

    Goli Sridhar

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 19, 2008 at 10:51 AM

    This problem usually occurs when the RFC metadata is not understood by XI. This could happen if the Business system used is not WebAs abap type. Or if there is some improper usage of RFC while configuring the IR or ID objects. Another area could be checking whether you have imported the latest version of RFC or not.

    Regards,

    Prateek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 10:57 AM

    Hi Thanks for your help,

    Now problem was resloved. in R3 side the function modules are not defined.

    Thanks,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 10:58 AM

    Thanks for the info provided.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.