RFC Sender Adapter error " Call to messaging failed"

Hi,
I have been trying the RFC-> XI->File scenario.When I execute RFC using se37 transaction
on R/3 box,it gives the error " Call to messaging failed:
com.sap.aii.af.ra.ms.api.DeliveryException".
I have looked at msg in XI server using SXMB_Moni transaction.I found that,program is unable
to find the interface mapping function (Mapping between RFC and Inbound interface).
I have done the following settings:
For Sender :
1.RFC is being used as outbound Interface.
2.Imported RFC from R/3.
3. The R/3 functionality is to retrieve records.
For Receiver:
1.Defined Inbound ,Async. Interface.
2.Defined Data Type and Msg type
3.Defined Fault Message type
Mappings:
1. Message Mapping is defined for Inbound Message(From RFC) and Outbound Message
2. Source Interface(ZRFC) and target Interface(Inbound Interface) mapping is defined.In this mapping I am unbale to defined Mapping for Response and Fault.I have just deifned for Request as tabs are not gettting enabled after click of 'Read Interface'.
All necessary configurations have been done in Intergration Directory.
I am getting XML message at receiver at without data where rfc retireves two records.Why this is not being done?
As there is no mapping for Fault message of Inbound interface with RFC interface,I think mapping no found error is coming.
PS. I have not done the message mapping between ZRFC.Response and Inbound Message.
Please comment,where I have gone wrong.
Thanks & Regards,
HImanshu

Hi,
I don't know if the info below will solve your problem.  Your scenario is an asynch scenario, therefore, the RFC must be executed as a qRFC.  SE37 executes the RFC as synch.
To execute the RFC as asynch, you must tested with a report (se38):
The RFC must be executed as a qRFC.
data: DEST LIKE RFCDES-RFCDEST VALUE 'MY_RFC_DEST'.
CALL ‘RFC’
     IN BACKGROUND TASK
     DESTINATION DEST
     EXPORTING
COMMIT WORK.
The ‘COMMIT WORK’ is required to send the RFC.
Regards,
Bill

Similar Messages

  • RFC Sender adapter error

    Hi Folks,
    Am trying an RFC to SOAP sync interface.
    Hav configured the Adapter, registered the program at PI, created RFC using registered server program.
    When I trigger the FM as Call Function '..' DESTINATION <rfc dest> i get a system failure.
    IN RWB Channel monitoring I see the error as "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 'SAPECC_SHD', toParty '', toService '', interface 'ZBAPI_WEBSERVICE1', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_SAP_ZUMMATION_RFC_S' (channelId af2f451f1b473ac28063768416ba8a72)"
    Have checked for errors such as * in sender agreement, header data in Receiver agreement note 730870..
    Kindly guide if there is anything to be checked.

    Hi,
    Clear the cache (SXI_CACHE) and stop and restart the RFC sender channel in RWB.
    Cheers,
    André
    Edited by: André Schillack on Mar 30, 2010 5:09 PM

  • Errors in RFC sender Adapter

    Hi Guys,
    I am configuring a RFC sender Adapter in a newly installed system.
    I configured the adapter as per the parematers given in SAP help in the exact way and started getting the error
    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 'RD1CLNT020', toParty '', toService '', interface 'Z_TEST', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'RD1CLNT020_IN' (channelId 897afca12ee93b86a5bfcd738c037099)
    If I go into SXI_CACHE of the PI system I can see the entry.
    My gut feeling is that the adapter is not fetching the metadata properely.
    Because I switched the metadata loging from the ECC system to PI system and I got the error
    JCO.Server could not find server function 'Z_TEST'
    I think in the basis setup we have missed something The version on which we are working is the Latest PI 7.1
    If somebody has a document at the the config for JCO or a solution for this problem will be much appreciated.
    Thanks & Regards
    Gagan Kasana

    Hi,
    there is no magic with this error - it's a common one
    1. my blog - RFC sedenr adapter config -
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    then is still does not work:
    2.check out OSS note  730870 - FAQ RFC Adapter
    "Question 19:
    While sending a RFC call to the RFC Adapter I get a error message like "com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup of binding via CPA-cache failed..." or "com.sap.aii.af.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed...". What is missing?"
    and you have it working
    please let me know if this helped
    Regards,
    Michal Krawczyk

  • Problem in receiving messages via RFC Sender Adapter

    Hi,
    I have problems in receiving messages from SAP backens systems. Sometimes we are getting all messages sometimes not. Strange.
    We are transfering report-results via asynchronous RFC calls. To avoid big message sizes we split them up in max. 1000 rows blocks.
    Each RFC call on backend side is completed with COMMIT WORK!
    We increased the number of connections in the RFC sender adapter. Then it was better, but the problem still exists! Not so often, but sometimes !?!?!
    I hope everybody can help me. Thanks a lot!
    best regards,
    Hannes

    hi,
    when you don't receive messages what do you see in SM58
    on the r3?
    any errors over there?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • What function name to use when calling an XI RFC Sender adapter?

    Hello experts, I need some help please...
    We are trying to setup an RFC Sender adapter in XI 3.0 for the first time.  We followed Michal's <a href="/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step on how to setup the RFC destination in the sender system (ECC 5.0 in our case) and the corresponding communication channel in XI.  We can make a connection from ECC to XI via the destination, but we are getting an error in the communication channel monitor stating that the JCO.Server could not find the server function '<i>message interface name</i>'.   We have tried to use the message interface name, the message type name and the data type name, but all return the same error.  What function name should we be using and how does this name get registered with the JCO server?
    Message was edited by:
            Matt Austin

    hi
    Have you registered the pragram id properly in sender system ?
    Steps to that
    1. first create RFC sender adapter in XI and give any name as program id Give Gateway host n gateway service of appilcation system
    2. activate it properly
    3. program get regiostered on app system
    4. go to application system and create RFC destinationn there give the same program id name
    now it should work
    regards
    Sheetal

  • Call rfc sender adapter from non-sap systems

    Hi,
    is ist possible to connect to an rfc sender adapter from non-sap systems? I want to use the the RFC-Connector from http://rfcconnector.com, but in the client connect options there is no way to specify the program id.
    Best regards,
    Daniel

    hi,
    you don't need to use RFC type T (with program ID) - you can use whole connection string - just like in the example:
    http://www.rfcconnector.com/documentation/examples/client/#functioncall
    so just specify: host system number etc.
    it should work like that - but let me know as I don't know this RFC connector
    Regards,
    Michal Krawczyk

  • RFC sender adapter not running

    Hi there,
    I have following scenario: R3 -(rfc)-> XI -(ftp)-> LEGACY.
    In R3, i created a RFC DESTINATION (type T) : with Program_ID & GW options (hostname= R3 hostname & service= sapgwXX where XX means sys number). This RFC currently works!!
    In the RFC sender adapter, i used the same program ID and the same hostname and service mentioned above.
    If i execute SMGW + GoTo->Logged clients, i can see my program ID there but if i click on it, the register status is WAITING!!!!!
    Besides, if i execute the program, no information is transmitted to XI via RFC so i cannot see any error message.
    Do i have to do anything else??? Maybe i am missing something...
    Could you please help?
    best regards,
    david

    Hi,
    In sender RFC :
    Configuration takes place using a RFC adapter communication channel and TCode SM59 (Create rfc connections).
    - All systems that send an RFC via RFC Adapter require an RFC connection to the respective RFC Adapter(inbound). Metadata is gathered in the same way. Register the program id of the RFC adapter in SM59. The rfc destination must be of type "T" tcp/ip.
    - You cannot send IDocs using this rfc connection. you must send IDocs to the RFC destination of the IDOC Adapter.
    Also check out that Program id is case sensitive.
    in the functiion check out for the COMMIT WORK at the end of LUW.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • 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

  • RFC Sender Adapter - Java Mapping

    Hello
    i want to make a call from R3 -> XI via the RFC Sender Adapter, process the R3 Call inside a Java Mapping and return to results to R3 (synchronous RFC call)
    how do i setup Interface and Message mappings and the corresponding sender and receiver agreements?
    regards franz

    i've got some java services from a sap business connector application
    these java services where called from R3 -> SAP/BC, BC did some proecessing and filled return parameters (synchronous RFC call from R3 -> SAP BC)
    I now have to convert these SAP BC Services to XI Services because SAP BC won't be supported any more
    any ideas how to do do this?

  • Rfc Destination problem in RFC Sender Adapter

    Hi experts
    I created a Rfc destination type TCP/IP for Rfc Sender adapter.
    while creating i passed following parameter:
    1) I selected Activation Type option-> Registered Server  
    2)Given a Program id , same as i given in Rfc sender Adapter config.   
    3)Gateway option:
       i) Gateway Host:Server IP address where i created  Rfc.
      ii) Gateway Service:sapgw00
    After making these entry, i m unable to receive message at XI end (I am executing Rfc at R/3 site due to Rfc sender)

    Hi
    please check for the following things.
    1. check the RFC destination using the connection test tab in the R/3 system.
    2. check whether the program id that u have given is registered or not.
    to check the program id go to the transaction SMGW, in the menu select Goto-->LoggedonClients
    check for ur program id name in the table.
    3. when you configure the RFC sender adapter in XI then you have to give the same program id name that you will give while creating the RFC destination in the R/3 system.
    if u still face the problem please reply me back.
    Thanks
    Rinku

  • RFC Sender Adapter in XI..Possible??

    Hi All,
    I am trying to send data from XI using RFC Sender Adapter.
    Have done all the configuration, ie created a tcp/ip destination in SM59 and then in the RFC adapter mentioned the program name.
    In Adapter monitoring i can see the adapter working fine.
    When i execute the Function Mouldule i get the following error in SM58.
    parameter JCO.Request was <null> (server: RfcServer[CC_RFC_TX1_OUT]1)
    Can anyone please lemme know if we can send data from XI box using RFC sender adapter.
    Regards,
    Sumit

    Sumit,
    Technically specking this should be possible.. I Havent tried it though..
    So, you are using a Sender RFC to send data from XI to XI itself uh?
    I have tried configuring a Receievr RFC adapter pointing to XI and it has worked fine.
    Also, take a look at these blogs if your config is correct,
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    Regards,
    Bhavesh

  • How to send data to RFC Destination(RFC SENDER Adapter)

    Hi ,
    Scenario:  R/3 Backendà RFC Sender Adapterà XIàsome other system.
    I have configured the RFC destination (of the type TCP/IP) at R/3 System and have registered the Program ID (specified in the RFC destination) in the XI server and using it in the configuration parameters of the RFC Sender Adapter.
    Problem: I do not know how I can send data to the RFC destination. (Should I use a report program/ ABAP Function Module?) Can anybody provide me with a sample code of Report Program/Function module (whichever is required), how to send data to the RFC Destination, so that it may be picked up by my RFC Sender Adapter.
    Thanks and Regards,
    Siva Maranani

    I have one query for you that
    I am trying to develop a scenario in SAP XI
    SAP R/3 ( RFC function module) sends a synchronous request to the XI and SAP XI will send this request to a third party web application using HTTP receiver adapter.
    I am able to send the data/message and it is successfully received at the third party web application.
    But I am facing one issue that I am unable to receive any message/data in my RFC module back.i have seen in sxmb_moni that the two messages are displayed in successfuly processed but in SAP R/3 side nothing get happedned
    Can you tell me how to use some waiting mechanism in function module to wait for the response from SAP XI.
    Regards
    Gopesh

  • Polling with RFC Sender Adapter

    Hi,
    i am facing a general problem with the rfc sender adapter.
    I have to design a scenario where periodically pi has to call a rfc fuba/bapi in R3 and insert the response into a database or create a file.
    I looked for some possibilities to impelement this scenario and desided to use ABAP Proxies to transfer the data from R3 to pi.
    The problem is that the wish of the department for R3 is not to plan a job to send the files. They want that pi itself call periodically the fuba in R3. I found out that the rfc sender adapter is not able to poll like jdbc oder file adapter.
    I thought i could write a litte abap program in pi to be planned in a job or to create a dummy file and poll with the file adapter. But i mean that these solutions are not good. They feel like workarounds and not like a real good solution.
    Beside this there is also the problem that we could use the inubit integration system. inubit is able to poll periodically the rfc adapter and is it hard to argument against this.
    Are there any good solutions known for the problem?
    Does anyone know what the official SAP meaning is for a process like the described above?
    many thanks
    Michael Eckstein
    Edited by: Michael Eckstein on Dec 16, 2011 12:55 PM

    hi,
    1st: your R3 department is stupid (!).
    As your flow is ECC -> PI -> Database. you could easily create a litle extraction program with a selection screen (and a variant which could be easily updated !!) (1) to send data to PI (by using a proxy or an idoc), with a log (at end of your program) and to create easily (!!) a sap job (ecc) based  on a country calendar (2).
    2nd: If you really need to have "PI -> ECC (proxy)-> PI -> JDBC", you have to use the standard PI scheduler tool, called "Availibility time planning" (ATP). see this option in CC monitoring (RWB). you could trigger your sender CC (proxy)
    And if you want, another possibility could be to trigger your sender CC by an external tools (to buy), or by creating an abap program....
    (1) how you will pass the value to extract data with your solution (my 2nd point).
    (2) in ATP of PI, the scheduling will be NOT based on a country calendar (holiday, religious/bank holiday), but just daily, weekly, inside a range, etc...
    Mickael
    Edited by: Mickael Huchet on Dec 16, 2011 12:53 PM

  • RFC Sender Adapter - tRFC

    Hi -
    Does the XI RFC Sender Adapter (R/3 -> XI) support tRFC?
    For example, in R/3 I'll be calling the RFC Async using 'IN BACKGROUND TASK'.
    I believe it does based on the information in the following thread:
    Problem with Scenario tRFC -> XI -> File
    Can someone please confirm that they have this working.
    Thanks,
    Jesse

    Hi Jesse,
    Also check this Blog
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    In R/3, when u create connections of type Logical & TCP
    The gateway host/ service have to be your R/3's,
    and the same to be given in the RFC sender adapter
    Regards
    Vishnu

  • [INVALID] [pacman] error: call to waitpid failed (No child process)

    Hi.
    First of all I apologize for very unclear topic name but this problem clutter me.
    Description:
    I use Archlinux x86_64 on my several machines: two laptops and desktop. On desktop and one laptop I update system regularly and also use my custom builds of git, bzr, emacs, rxvt, tmux and others.
    Preliminary:
    After Sat update (2010-04-24) on my desktop I noticed that compiled Emacs (source taken from bzr repo) crashed just after start. I found the cause of error: new gcc (4.5.0) has broken '-O2' option (actually broken '-foptimize-sibling-calls' but accidentally '-O3' option works). Besides this annoyance my desktop system works fine.
    Main problem:
    But on my laptop (on which I traced down the problem with compiled Emacs) I faced with strange problems (I report about them only now because I didn't have time before).
    When I run 'sudo pacman -Su' to update my laptop system I sometimes see
    error: call to waitpid failed (No child process)
    I figured out that this message comes only if 'chrooting' is performed (pacman --debug).
    Also when I try to update local git repositories using 'git pull' I get the same error:
    error: waitpid for git-pull failed: No child process
    and the same for 'gc', 'rev-list', 'git-remote-http'. (I checked with newly compiled binary and distro's binary).
    Even simple python script 'sample.py' fails to run:
    #!/usr/bin/env python
    import os,string
    target = "sample.py"
    f = os.popen('file "%s" 2> /dev/null' % target)
    output = string.strip(f.read())
    rc = f.close()
    if not output or rc:
    print("Some error occurs")
    else:
    print("Result %s" % output)
    If I run it I get
    IOError: [Errno 10] No child process
    Except these error messages my laptop system works without noticeable errors.
    Could someone help me trace down the problem?
    P.S. I use zen kernel on this laptop (AUR: kernel26zen-git, stable) but I also checked this behavior on default kernel.
    EDIT:
    Sorry. My fault. Seems that this error is triggered by tmux . I tried git in sakura and didn't see any error messages.
    Sorry for the noise.
    EDIT2:
    For those who are interested in solution for this problem with tmux I found a thread about this behavior on sourceforge.net:
    http://sourceforge.net/mailarchive/foru … tmux-users
    Last edited by lomov_vl (2010-04-30 06:56:22)

    Hi, I found SAP note   1828028 - DBCON connection to remote HANA database cannot be established
    whic has below resolution:
    1
    Error code
    Reason
    ***LOG BY0=> invalid username or password:  [dbds         879]
    Invalid username/password maintained in connection parameters (to be edited via transaction DBCO)
    2)Hint: As the database connection between the SLT and the HANA system is based on DBCONNECT, you can also use report ADBC_TEST_CONNECTION in transaction SE38 for testing. SAP Note 1750722 describes this in detail.
    But our problem is SAP system is not up to run these solutions in GUI.
    Can someone help / provide SAP doc link for how to update DBCON at OS or HANA db level.
    Thank You

Maybe you are looking for

  • IOS5 Reminders Yahoo! Sync Creating Alpha/Numeric Dummy Lists

    Hi, I'm using an iPhone4 (also an iPad2) that sync's with my Yahoo! account for mail, calendar and reminders.  The defalult "Reminders" list was created just fine and i'm able to sync with it reliably.  The problem is that either the Reminders app ke

  • ChoiceBox and ComboBox

    Hi all, I am using Scene Builder and I have two questions about Choice Box. 1) What is the difference between ChoiceBox and ComboBox? It seems both have same features and functionalities 2) How to change default item1, item2, etc, font style and size

  • Help on creating size of image

    Hi everyone, im farley new to illustrator and the whole process of editing images. I voluntered for school to maker a banner that is 240inches by 12 inches, I thought it wouldn't be too bad considering ive made one in the past that was 40inches by 12

  • Mpd dependancy breakage

    Upon installing mpd to my headless server, starting mpd caused mpd to fail based on required dependencies: mpd: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: no such file or directory According to shaman,

  • Saving a freeze frame as a jpeg?

    I've done this in the past when I was on FCP3, now I've upgrade to 6 and it's a little different. All of my options are OfflineRT HD, NTSC and PAL. It says Photo JPEG but just saves it as a .mov. How do do this?