RECIVER RFC ADAPTER ERROR

Hi,
I'm sending data from databse table to sap.I've create one ztable in sap and assign in tables staement in functionmodule.i wrote sourcode is
        insert ZPERNR_POS from table intra.
sender side jdbc shows green colourand also rfc shows green color,but message shows wait status and it shows following 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: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling ZINTRA_SAP_REPORTING in remote system (RfcClient[reciever_sap]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The ABAP/4 Open SQL array insert results in duplicate database records. records in the data base.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling ZINTRA_SAP_REPORTING
Pls help me.

Hi Ravi
First check the data in R/3 itself and test whether you can send data inside.
Check with your RFC FM it is remote enabled or not and your schema for imported RFC is fine or not. Else it will not invoke the RFC FM at R/3
Thanks
Gaurav

Similar Messages

  • Sender RFC adapter Error- request was null while trying to extract it.

    Hi All,
    I  have a scenario running in Production(PI 7.0 system) where SAP ECC sends RFC request through sender RFC adapter. The scenario was working fine but now I am getting the below error in default trace and I couldn't see any error in communication channel monitoring.
    java.lang.Exception: RfcServer[BAS_ECC_RFC_Snd]1[AFSenderD] request was <null> while trying to extract it.
    I have gone through the below thread and performed a full cache refresh but it didn't help :  
    [NULL]
    I have gone through SAP note:730870 and I couldn't get any help on this error. Can you please suggest your ideas to solve this issue.
    Thanks & Regards,
    Laawanya

    Hi Lawanya,
    Check you RFC and input data , whether the RFC call is able to get the data from ECC or not.
    you can test the same RFC in ECC with input data and you can check whether the RFC in ECC is return the value or not.
    I gues in your case the RFC in ECC is not return any data  to PI.

  • Receiver RFC Adapter Error

    Hi All,
    I have a file to RFC scenario. I keep getting the below error: Any Ideas?
    Danny,
    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: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found..

    is this BAPI an SYNC one
    check this link
    RFC adapter Call BAPI error
    Re: Invoice Not getting posted

  • RFC Adapter error - http port configuration

    Hi everyone,
    on XI 3.0 I have some problems to invoke RFC functions located on a SAP SRM system.
    No logs are displayed on the XI Monitor: the message is stopped at the "adapter" level.
    It seems that RFC adapter tries to connect to a wrong URL (the Production system URL)and obviously it retrieves these messages:
    "Received XI System Error. ErrorCode: NO_RECEIVER_CASE_BE ErrorText: ErrorStack: No receiver could be determined "
    "Returning synchronous error notification to calling application: XIServer:NO_RECEIVER_CASE_BE:."
    "Transmitting the message using connection http://YYY.sap.xxxx:8066/sap/xi/engine?type=entry failed, due to: XIServer:NO_RECEIVER_CASE_BE:."
    In the SLD, the right port for Development system is 8064, the adapter is also  configured on business landscape YYY and port 8064. I checked both J2EE visual administrator and Business Landscape customizing without success.
    But at runtime the adapter framework point to another system on 8066 http port (and the interface call fails).
    My question is: where is this wrong URL configured and from where exactly does it take these wrong informations?
    Please, help me.
    Alessandro Pozzozengaro.

    Alessandro,
    There is a very good document on SAP that explains, step-by-step what you are trying to do.
    The name of the document is: 'Validating a Connection Between SAP R/3 and SAP XI with RFC'.
    Give a look on that. I used it to build the scenario here and it works fine.
    Regards,
    Tadeu

  • Reciver Axis adapter error

    Hi,
    My interface is RFC to Webservier synchronous here i am iusnig SOAP Axis adapter for NTLM authentication.
    I am getting the below error in my receiver SOAP Axis adapter
    Information MP: processing local module localejbs/AF_Adapters/axis/HandlerBean
    12.01.2012 08:12:39.287
    Error MP: exception caught with cause org.xml.sax.SAXException: Bad envelope tag:  html
    Thank you
    Srinivas

    Hi Srinivas,
    Try having a look at this [OSS Note 1039369 - FAQ XI Axis Adapter|https://websmp130.sap-ag.de/sap(bD1wbCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1039369]. You will find an FAQ for Axis Adapter there. Also, see a similar thread here: Error in SOAP Sender Communication Channel.
    Hope this helps,
    Grzegorz

  • RFC adapter error

    Hi Experts ,
    I have  ascenario from ECC to file . I have rfc destination created and given the programid correctly.Checked the RFC connection
    The error is as follows:
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '*', fromService 'UCD_ECC_60', toParty '', toService '', interface 'Z_XX', NS 'urn:sap-' for channel 'CC_RFC_Mon_Appvl_Sender' (channelId c0a969bab7dc3250b65a426e026cebd1)
    Please
    Kiran

    Hi Kiran,
    Please check if you have created the sender agreement?
    The below error says sender agreement not found
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found:
    Regards,
    Ravi

  • RFC adapter Error - any ideas what might be wrong ?

    An RFC receiver adapter, ends in the following error. See below
    No SNC was entered or used on Comm Channel, User exists, and is OK.
    No idea why tickets SSO ticket is involved, this RFC with no SNC.
    What setting to change or how to fix jco pool issue.
    Any ideas?
    regards
    Phil
    <b><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: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: The system is unable to interpret the SSO ticket received</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error></b>

    HI Phil,
    For more information about JCo pool, follow parge 10 of this link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/526bd490-0201-0010-038e-d3ff7eb1d16e
    Also
    refer to the SAP Library under SAP NetWeaver
    >Application Platform (SAP Web Application Server) > Connectivity >Components
    of SAP Communication Technology > Communication Between ABAP and Non-ABAP
    Technologies > SAP Java Connector > SAP JCo Client Programming > Establishing
    Connection to an SAP Server ® Connection Pools, or refer to the help of the SAP
    NetWeawer Developer Studio for the description of the class JCO.Pool under SAP
    NetWeaver Developer Studio Documentation ® SAP Web AS for Java Applications >
    API WAS > Java Connector > com.sap.mw.jco > JCO.Pool.
    Regards,
    Sumit Gupta

  • Receiver RFC Adapter -Advance Mode  option

    Hi Experts
                    I want Execute the commite transaction after Trigeering the Standred BAPI through XI.
                We haveAdvance Mode  option in Reciver RFC Adapter . Any one explain me how to implment this.
    Regards
    Upendra.V
    Edited by: upendra v on Jan 26, 2009 1:47 PM

    Hmmmm.. I guess you are just practising & exploring all the featers of RFC.. isn't it?
    Anyway upto what I know is here..
    >If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
    First of all you need to write an ABAP program in R3, there you will call your RFC/BAPI to update the database entries.
    In XI, under your receiver RFC adapter check the box "Commit Handiling for Single BAPI Calls". Once you click you will get another check box called "BAPI Advanced Mode".
    >If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
    Once you send the data from XI to R3, then in R3 function module BAPI_TRANSACTION_COMMIT will be called explicitly (you need to define/call this BAPI after the ABAP code for database update). This will commit the work and return the result success or failur in a parameter called RETURN.
    And after this BAPI you should call BAPI_TRANSACTION_ROLLBACK, so that in case of errors the transaction will be rolled back.
    >The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values u201Cu201D, u201CSu201D, u201CIu201D, and u201CWu201D are displayed. All other values are regarded as errors.
    As described above.
    >To change this setting, set the indicator BAPI Advanced Mode.
    In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.
    Once you check the box "BAPI Advanced Mode" a table will appear, there you can write your own values e.g.u201Cu201D, u201CSu201D, u201CIu201D, and u201CWu201D.
    I can not provide a better solution then this... you have to do a work around, but above are the basic steps which can be considered before implementing the solution.
    Regards,
    Sarvesh

  • RFC Adapter to connect to Non SAP System

    Hi,
    I have a scenario to connect to a non SAP system using RFC adapter. I am not used to the same. I need to know whether this is possible and what are the steps to be done.
    Thanks and regards
    Siji

    Hi,
    These links should help.
    Non-SAP application connecting to PI via Sender RFC Adapter
    Error by setup RFC Interface with non SAP system
    SAP PI to Third Party system through RFC Connectivity ??
    Regards,
    Jannus Botha

  • Question about RFC adapter

    Hi,
    There is this little concept about RFC adapter
    I would like a liitle clarifiaction about..
    Here it goes..
    Let's just say I have made an RFC in R/3.
    The same I have imported In xi.
    now when we say RFC ...By definition
    it is a remote enabled function module.
    We import the "interface" of the Same in Xi
    So if I make changes in the BODY of the RFC in
    R/3... do i need to reimport it in XI.
    Besides when XI's reciver RFC adapter is using the
    Rfc's interface to make changes in R/3
    is it using a Copy of this RFC created in R/3
    I would like to intercep at the point it's doing so...
    tried putting a break point in the body of rfc.
    Another question is regarding RFC sender adapter
    Program ID..tcp Ip protocol.
    Conceptually How does this connectivity takes place
    I tried and it worked ...
    I dunno How to explain this connectivity taking place
    just on the basis of PROGRAM ID...
    Kindly Help

    Hi Deepak,
    +
    >>We import the "interface" of the Same in Xi.So if I make changes in the BODY of the RFC in R/3... do i need to reimport it in XI.+
    Yes you have to.
    >>Another question is regarding RFC sender adapter.Program ID..tcp Ip protocol.Conceptually How does this connectivity takes place I tried and it worked ...I dunno How to explain this connectivity taking place just on the basis of PROGRAM ID...
    ·An RFC server program registers itself under a program ID to an SAP gateway (not for a specific SAP system).
    ·If an RFC call is passed on from any SAP system to this SAP gateway with the option “Connection with a registered program” (with the same program ID), the connection takes place with the corresponding JCo server program.
    http://help.sap.com/saphelp_nw04/helpdata/en/09/c88442a07b0e53e10000000a155106/content.htm
    Hope this will clarify your doubts.
    Regards
    Suraj

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • Error while doing commint from RFC Adapter

    Hi,
    We have a SOAP-PI-RFC synchronous scenario. Through this Soap request comes to PI and passed on to BAPI via RFC adapter. This BAPI saves the transaction & return the document number. We are using " PI PI parameter u201CCommit Handling for single BAPI' in RFC receiver Channel.
    While this setup works for 1 posting, when we do the mass load ( Say 20 Documents) half of the documents are not able to Save. Although BAPI, returns the document number but on checking the document does not exists in SAP. To do further test, we created a program in ECC and try calling BAPI in loop and calling BAPI Commit.
    This way program works fine and there is no error
    So in nutshell, when we PI do the commit, half of the documents are not saving where as when the ABAP program commits no error. Is there any  special way that PI calls this commit work.
    PS: We created a wrapper BAPI which calls the orgirnal BAPI and Commit BAPI & called this from PI but still the same problem is coming.
    Appreciate help on this.
    Regards,
    Harish

    Are there any error messages in the RFC Reciever channel in Runtime Workbench?
    RWB -> Component monitoing -> Adapter Engine -> Comm Channel -> filter for type RFC
    Please try to give some more details on why the system says the messages are failing.

  • Error in RFC adapter

    Hello All,
    I am working on File to RFC Asynchronous Scenario. I am getting Error in M receiver RFC adapter. It is displaying in Adapter Monitoring as
    <b>- Error: 2007-10-03 05:28:38 EDT: Message processed for interface BAPI_CUSTOMER_CREATEFROMDATA1: 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</b>
    Can any help how to resolve this.
    Regards

    Hi,
    The RfcAdapter trys to find a Sender Agreement for this RFC call but the lookup failes. The values used for this lookup are:
    •     Sender Party/Sender Service: The values from Party and Service belonging to the sender channel.
    •     Sender Interface: The name of the RFC function module.
    •     Sender Namespace: The fix RFC namespace urn:sap-com:document:sap:rfc:functions
    •     Receiver Party/Receiver Service: These fields are empty. This will match the wildcard '*'.
    Chilla

  • Error in Reciever RFC Adapter

    Hi All,
    While working with JDBCXIRFC, the only error with Reciever RFC Adapter is as
    follows.
    ZBAPICUSTOMER_DETAILS: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get functionname from XML requst: com.sap.aii.af.rfc.RfcAdapterException: failed to read funtionname from XML document: missing namespace declaration(2)
    In SXMB_MONI, the messages are queued up.
    How to debug this error?
    Regards
    Pavan

    1. Map all the mandatory fields..
    I have mapped all the mandatory fields. If i enter same kind of values in the same fields of BAPI manually (in se37), the table gets updated.
    <b>how you can say that data is getting into the right tables...when you are sending the same data..</b>...may be the data is old only..
    <b>Perform the Message Mapping  and Interface Mapping test in IR only...</b>
    3. Kindly check the Sender_MM Mapping once more...If it is fine...reactivate and Update the cache..
    Its fine and reactivated and even updated cache.
    Now one doubt....
    In Message mapping, the sender mesage type is as follows.
    sender_mt 1:1
    ->Row element 1:unbounded
    > zkunnr element xsd:string 1: unbounded
    > zname1 element xsd:string 1: unbounded
    > zstras element xsd:string 1: unbounded
    > zadrnr element xsd:string 1: unbounded
    > ztelf1 element xsd:string 1: unbounded
    I have mapped ROW with ZBAPI_DETAILS.
    the root of sender message type SENDER_MT is left as it is....
    Is there anything need to be done (mapped) with this root of sender message type?
    <b>No i don't think so, what i can get from your approach is that you want to receive n similar type of records in a Message and want 2 create n different messages for each record from source structure..  </b>
    With this status, i have tested the Test Configuration in Integration Directory. Still getting same error message as follows...
    Kindly let me know the name of BAPI.
    <b>Perform the Message Mapping  and Interface Mapping test in IR only...</b>
    java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_sender_mm_:
    Regards,

  • RFC Receiver Adapter error.

    Hi Experts,
                      Mine is a File To RFC Scenerio. data from File is foing into an RFC called /POSDW/CREATE_TRANSACTIONS_EXT, in R/3 system. . RFC adapter is red .Giving the follwoing error!.
       2009-02-18 14:49:41 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling /POSDW/CREATE_TRANSACTIONS_EXT in remote system (RfcClient[GeneratedReceiverChannel_RFC]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The ASSERT condition was violated.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling /POSDW/CREATE_TRANSACTIONS_EXT in remote system (RfcClient[
    Comments Pls!
    Regards,
    Arnab.
    Do I need to make a seperate TCP/IP connection from XI to R/3. If so, what will b the settings, Pls comment, !
    Arnab .
    Edited by: Arnab Mondal on Feb 18, 2009 11:04 AM

    Rajesh,
         you  mean to say apart from ABAP type 3 connection in XI as well as BI , I need to create TCP/IP connection in XI as well as BI ? Well In that case can you tell me when I am making the TCP/IP setting in XI, what will be the selection in
    Technical setings: Activation type?
    and in the gateway options, when I am doin the settings in XI server , whose gate way host and service , and  am i goin to put, XI or BI .
    Pls comment.
    Regards

Maybe you are looking for