The RFC Receiver adapter giving the proper response message

Hi Experts,
I done the one interface, that is Soap to RFC synchronous communication. I am passing the data from soap client and at the same time getting the response from sap system. but that is the wrong response. if i am testing the function module it giving proper response. at the calling interface level i am getting the wrong response. can you please help the this query.
Thanks & regards,
Veera.

Hi Sathish,
As per ur post...
If the RFC working  fine when testing and it's giving wrong response from Pi means...
1.there may be a chance of error in mapping.
I hope u may made the RFC as remote Enabled.
Also make sure that if u change the interface input and output parameters... u import the new RFC again and activate it.
before actually using it mapping.. u can test it once by using same RFC for both sender and receiver.
If it works fine.. then ur mapping should work.
If still problem occurs please do post.
Babu

Similar Messages

  • RFC Receiver Adapter and RFC Destination -- Help

    Hi,
    I would like to configure the RFC Receiver Adapter for the invokation of a RFC on SAP System (Name: ALPHA) using a RFC destination provided by another system named BETA.
    I have set External Server as server type.
    My first question is: I have to quote an application server gateway and a gateway service. Is this information related to a service on ALPHA or BETA?
    My second question is:
    It is also necessary to provide a Programm-ID. The destination on BETA is a R/3 connection and doesn't have a programm id. Where do I get this from?
    And my last question is:
    Is at all possible to use the RFC destination on BETA?
    Any help is really appreciated...
    Kind regards,
    Heiko

    Hi Heiko,
    I don't fully understand your need but:)
    since both of your systems are SAP systems
    why are you trying to use external server?
    can't you just call RFC on BETA
    and inside this RFC on beta call RFC on ALPHA?
    in a sync or async way?
    can you tell a little more about your requirement ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

  • Error in RFC Receiver Adapter: functiontemplate from repository was null

    Hi Friends,
    i am working on JDBC -> RFC Scenario, JDBC Sender Adapter is working fine, but RFC Receiver Adapter is throwing this error message... can some one help me to solve this issue...
    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>
    Thanks
    Srikanth

    Hi,
    I think the logon details what you are giving in Receiver CC may be wrong. Check all those details like Application Server,System Number,User,Password and client.
    Thanks.

  • RFC Receiver Adapter Problem- Sending Blank XML Node

    Hi,
    I'm using the RFC receiver adapter to call a RFC in R/3 from XI 3.0
    In the payload XML one node is blank as I want to pass a blank parameter to the RFC. But in R/3 the blank node is getting converted to #
    Can anyone suggest how can I pass a blank node while calling the RFC using RFC receiver adapter in XI 3.0?
    Thanks in advance,
    Dipankar

    Hey
    Please check the outbound payload in sxmb_moni and RWB,if the field is blank there,then it means that PI is passing correct value to ECC.its possible that RFC has been coded in such a way that it converts blank spaces to #.Please look at RFC documentation in that case and see if it helps more.
    If the outbound payload itself in PI is showing as # instead of blank,then check the message mapping in PI.
    Thanx
    Aamir

  • RFC Receiver Adapter Issue

    Hi all,
          I'm sending a sales order from my ftp server to my R/3 system through RFC. I want this sales order to be created in the R/3 system, For this i'm using BAPI_SALESORDER_CREATEFROMDAT2. Now when i'm configuring my RFC Receiver adapter using the help given on the help.sap.com under "adapters"->"rfc adapter"-> "configuring the rfc adapter", i'm not able to find the parameters mentioned under " Advanced Mode" Heading. In this page, it says that after checking the Advanced mode checkbox, one should get the additional parameters and then we need to set the indicater for the parameter "Commit Control for Individual BAPI Calls". Since i'm not able to find these parameters even after checking the chekbox, i'm stuck. I understand that if i don't get this parameter, my BAPI will not commint and hence the sales order will not be created in R/3.
    Kindly suggest.
    Regards.
    Naveen

    Hi Naveen -
    >>><i>In this page, it says that after checking the Advanced mode checkbox, one should get the additional parameters and then we need to set the indicater for the parameter "Commit Control for Individual BAPI Calls". Since i'm not able to find these parameters even after checking the chekbox, i'm stuck.</i>
    For this I agree with Sameer.  It's probably an adapter metadata issue.  As mentioned your XI system needs to be at least on SP14.  Also, in the Int. Repository, check SAP BASIS 6.40 SWC SP Level by right clicking on the SAP BASIS 6.40 SWCV, then Display Support Package - this is where the adapter metatdata is delivered.  By default, the highest one displayed is wha'ts current on the system.  You should see at least SP14 here.  Incidentally, this does not confirm the SP level that the rest of the XI components are on, just this SWC.
    >>><i>When i checked in the integration engine, transaction sxmb_moni, i found that the message was processed successfully ! But when i checked in my R/3 system, i didn't find any sales order ! Kindly give me some inputs for this issue.</i>
    It probably failed in the adapter engine.  Check the adapter engine monitor via the RWB - so once in RWB, goto Message Monitoring, select Adapter Engine (important), then look for your message.
    Regards,
    Jin
    Message was edited by: Jin Shin

  • Error in RFC Receiver Adapter: functiontemplate from repository

    Hi Experts,
    i am working on JDBC -> RFC Scenario, JDBC Sender Adapter is working fine, but RFC Receiver Adapter is throwing this error message... can some one help me to solve this issue...
    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>
    Thanks
    Srikanth

    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.
    Here my suggestion is, if you are using Java/xslt mapping, write your code in line with result structure of your mapping instead source pay load structure. May be helpful.
    Cheers
    Madhu

  • Adapter-specific message attributes for the JMS Receiver adapter

    Dear SAP Community,
    We are trying to activate some parameters at message level when SAP XI sent an interface (XML data) to IBM Websphere MQ. Programmaticaly, this is done the following way:
           TextMessage outMessage = session.createTextMessage();
           MQQueue replyToQ = new MQQueue("TESTQM01","SYSTEM.ADMIN.ACTIVITY.QUEUE");
           Destination replyTo = (Destination) replyToQ;
           outMessage.setJMSReplyTo(replyTo);
           outMessage.setIntProperty("JMS_IBM_Report_Exception", MQC.MQRO_EXCEPTION);
           outMessage.setIntProperty("JMS_IBM_Report_Expiration", MQC.MQRO_EXPIRATION);;
           outMessage.setIntProperty("JMS_IBM_Report_COA", MQC.MQRO_COA);
           outMessage.setIntProperty("JMS_IBM_Report_COD", MQC.MQRO_COD);
           outMessage.setIntProperty("JMS_IBM_Report_Discard_Msg", MQC.MQRO_DISCARD_MSG);
    This code is working fine.
    Since the documentation about this feature (Adapter-specific message attributes) is very light, We am not sure about the interpretation we made.
    First, we defined the following attributes: MS_IBM_Report_Exception, JMS_IBM_Report_Expiration, JMS_IBM_Report_COA, JMS_IBM_Report_COD, JMS_IBM_Report_Discard_Msg. All of them are with type int.
    Then we changed the mapping (XSL) to pass the value to the dynamic configuration, using the technical names (DCJMSMessageProperty0, ..., DCJMSMessageProperty4) and the value of the constants. We also specified a value in the Reply To Queue parameter of the adapter. As a test, We also change another parameter via the mapping (the correlation ID, to use the idoc number) and according to the log of the processed message, every thing is finde. According to the trace of the JMS adapter, everything is fine to. However, this has no impact on the message, only the correlation ID is changed.
    The JMS server is IBM Websphere MQ (v6.0.2.1). It is already in production and working fine. This is a change we have been asked to implement.
    Has anyone experience with the JMS receiver adapter-specific message attrbitutes ? What have we done wrong ?
    Any help is greatly appreciated.
    Regards,
    Gregory PFISTER
    SAP XI Analyst - Holcim

    Hi Neha,
    pls do chk the below links for SOAP adapter message attributes
    http://help.sap.com/saphelp_nwpi71/helpdata/en/fc/5ad93f130f9215e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/content.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/sap_xi/sapximst38.htm
    http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/webservices/webservices16.htm
    Regards
    Sampath

  • Java.lang.NullPointerException in RFC Receiver Adapter

    Hi Experts,
    i have configured SQL Sender Adapter and this works fine, i can see the payload. and at the receiver adapter i have configured RFC Receiver Adapter this is throwing NullPointerException as mentioned below.. can someone help me out to fix this issue..
    Error Description:
    Error     Exception caught by adapter framework: null
    Success     MP: Processing local module localejbs/AF_Modules/RequestResponseBean
    Error     MP: Exception caught with cause java.lang.NullPointerException
    Error     Delivery of the message to the application using connection   
                    RFC_http://sap.com/xi/XI/System failed, due to:
                    com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.NullPointerException.
    Success     The message status set to WAIT.
    Thanks,
    Srikanth

    Hi Srikanth,
    This error Occurs because of incomplete configuration in the reciever communication channel.Please check all the required configurations in the reciever communication channel and then activate the channel.
    Regards,
    Naveen

  • RFC Receiver Adapter (Problem)

    Hi All,
    I have configured RFC Receiver Adapter : Here i have imported a Z FM for example
    "" Z_API_DOCUMENT_CREATE_TEST ""  having below import paramaters:
    LF_DOCNUMBER     TYPE     BAPI_DOC_DRAW-DOCUMENTNUMBER
    IV_PF_HTTP_DEST     TYPE     RFCDES-RFCDEST
    IV_PF_FTP_DEST     TYPE     RFCDES-RFCDEST
    LF_FILENAME     TYPE     BAPI_DOC_DRAW-DOCUMENTNUMBER
    1) Now i use MM to fill in two parameters : LF_DOCNUMBER , LF_FILENAME
    If my FIle is of kind : test55.pdf     --> LF_DOCNUMBER  = test55
                                                           LF_FILENAME       = test55.pdf
    For this i have checked in Sender File Adapter "Adapter Specific Message Attributes"
    So i write UDF to capture Filename and Filename with extension to fill above shown parameters.
    Now i saw target xml after mapping in CC monitor of RWB is as below
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Z_API_DOCUMENT_CREATE_TEST xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
      <IV_PF_FTP_DEST>SAPFTPA</IV_PF_FTP_DEST>
      <IV_PF_HTTP_DEST>SAPHTTPA</IV_PF_HTTP_DEST>
      <LF_DOCNUMBER>xierror</LF_DOCNUMBER>
      <LF_FILENAME>xierror.doc</LF_FILENAME>
      </ns0:Z_API_DOCUMENT_CREATE_TEST>
    But LF_FILENAME is getting populated to my Z FM at runtime but LF_DOCNUMBER works fine filling up with value.
    But when i run the FM using F8 it works , what could be the problem.
    Any advice
    regards
    Srinivas

    Hi,
    The problem is with the Data types used for LF_DOCNUMBER.
    Make this as Char or Numeric in FM and then try. If its of any packed values then conversion will create the problem
    Thanks
    Swarup

  • Dynamic Logon Data in RFC receiver adapter?

    Does someone know if and how the logon data (userid) defined in the communication channel for a RFC receiver adapter can be dynamic overwritten? For example using  information from the payload?
    Scenario: A request for getting HR data is send from a legacy system to XI, mapped to a RFC and routed to R3.
    The audit people want to see a real user login into the R3 system to execute the function module and not the technical user defined in the communication channel.

    That's exactly what principal propagation is.
    You just have to make some (quite a lot, actually) configurations to enable it.
    Check these links:
    Online documentation: http://help.sap.com/saphelp_nw70/helpdata/en/45/0f16bef65c7249e10000000a155369/frameset.htm
    Weblog: /people/alexander.bundschuh/blog/2007/01/16/principal-propagation-in-sap-xi
    Regards,
    Henrique.

  • How to configure RFC receiver adapter

    HI,
    I have a Proxy-to-RFC scenario. But I have no knowledge in RFC receiver adapter. Could you please provide me the step-by-step guideline or sample about how to configure RFC receiver adapter.
    Thanks in advance.
    Best regards, Johnney.

    Hi,
    Refer these links which will help you understand the concept and configure the Scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/e80440a832e369e10000000a155106/content.htm
    The specified item was not found.
    Refer this blog for synchronous scenario
    RFC Scenario using BPM --Starter Kit
    Sender RFC Adapter:
    The specified item was not found.
    Troubleshooting - RFC and SOAP scenarios *** Updated on 20/04/2009 ***
    RFC -> file scenario: application stopped
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=rfctofile&cat=sdn_all
    RFC to file
    RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
    Send RFC to SAP XI – Asynchronous
    The specified item was not found.
    ABAP Proxies in XI(Client Proxy)
    Regards,
    Nithiyanandam

  • RFC Receiver adapter issue. Pls advice

    Hi All,
    When XI is sending data back to R/3 system though RFC Receiver Adapter  I am getting the below error. Any suggestions
    Error Category   XI_J2EE_ADAPTER_RFC
    Error Code  RECEIVER_GENERAL_ERROR
    Pls advice.

    Rick, your question is very unspecific, so anyone trying to help can only guess very roughly.
    So I only have a very rough hint for you, which is the FAQ for RFC adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_xi/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d373330383730%7d

  • RFC Destination type RFC Receiver Adapter?

    Hi,
    What is the RFC destination type for Sender RFC Adapter?
    and what is the need a Program ID for sender Adpter.
    What is the RFC destination type for Receiver RFC Adapter?
    Regards
    Gopi

    When we use the RFC Adapter?
    SAP systems up to and including SAP Release 4.6 are not able to exchange data by using XML messages and http. The only way you can connect such systems to the Integration Server directly is by using the RFC adapter (or the IDoc adapter).
    You require the sender adapter if you want to use the Integration Engine to process RFCs. The RFC adapter converts the incoming RFC data to XML message format (RFC XML) so that it can be processed by the Integration Engine.
    You require the receiver adapter if the determined receiver system expects the data from the Integration Engine to arrive in RFC format. In this case, the Integration Engine must transfer the received XML message (RFC XML) to the RFC adapter. The RFC adapter converts the RFC XML message to a valid RFC call and executes the call.
    The following three scenarios are possible when using the RFC adapter and the Integration Engine:
        1) SAP R/3 to SAP NetWeaver Application Server       
        2) SAP NetWeaver Application Server to SAP R/3
        3) SAP R/3 to SAP R/3
    When we use ABAP Proxy ?
    SAP systems based on Web AS 6.40 and higher are able to exchange data by using messages and HTTP. These systems can use ABAP proxies to connect to the Integration Server.
    To connect the platform-independent message interfaces, which are stored in the Integration Repository, to the Integration Server, use the ABAP proxy interface.
    Please Reward the points if it's helpful...
    Regards,
    Ramana.

  • Can I use the Ipad3 power adapter for the Iphone5

    Can I use the Ipad3 power adapter for the Iphone5 or vice versa?

    No more than usual...
    A quick search will yield the number of times this comes up.
    I have been charging my 4s with mu iPad 2 charger since new

  • How can I get the infoset name by giving the name of a program of a query?

    How can I get the infoset name by giving the name of a program of a SAP Query?
    Regards,
    Subho

    Use FM RSAQ_DECODE_REPORT_NAME.
    You can also use AQLQCAT table.

Maybe you are looking for