Receiver RFC synchronouse scenario question:

Dear All,
I have a doubt in Receiver RFC sync scenario. for example file to XI to RFC.
Question: when ever Response RFC is triggered in R/3 Side. How the data reaches XI.
By just creating Synch Communication channel for the RFC in XI, will  the data to come to XI for RFC respose.
How when a Respose RFC is Triggered in R/3 Server, how the data points or reaches XI port?
How the Auto Triggered RFC Respose data points to XI and Comes to XI in a Synchronous RFC Receiver scenario.
PS: I am not from ABAP background. if any code has to be written in R/3 side for making the response RFC point to XI, please provide a generalized code also if possible.
Please Advice,
Prakash.

RFC destination,port at XI would help to get response data
No need to write any code,because RFC provide sync communication.
use links RFC Scenario using BPM --Starter Kit
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
Exposing BAPI as Web Services through SAP XI
RFC Scenario using BPM --Starter Kit
The specified item was not found.
The specified item was not found.
HTTP to RFC - A Starter Kit

Similar Messages

  • Sender JDBC to Receiver RFC scenario

    Hi All,
    I have to configure an scenario of sender JDBC to receiver RFC wherein SAP PI will be pulling data from third party database (Oracle).
    Since I am configuring such scenario of sender JDBC, I want help on every important key aspects/prerequisites of configuring sender JDBC adapter/channel. I want to understand about Database Connection, Processing Parameters, etc. details while configuring sender JDBC channel and their significance/relevance.
    Also I need guidelines about the source data structure (message type or external definition) to be used/created in ESR.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    Please guide me on this.
    Thanks & Regards,
    Amit Patil

    Hi Amit,
    First of all you should read the sap.help documentation:
    Configuring the Sender JDBC Adapter - Advanced Adapter Engine - SAP Library
    Configuring the Receiver JDBC Adapter - Advanced Adapter Engine - SAP Library
    Later, you can read Rajs's blog to advance concepts and perfomance JDBC Receiver scenarios best practices part-1
    Finally, search the other blogs and documents in the SCN.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    JDBC sender always does a poll to a DB table (with join some tables) in wich table you will need a field checkbox to mark the registers read, and the the receiver JDBC you can do a typical SQL construction like SELECT, INSERT, DELETE, etc. Both cases need the JDBC DB driver installed (check the SAP notes for this, also you can find some examples in the SCN:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?quicklink=index&…  PI/XI: deploy a JMS/JDBC driver without JSPM? ).
    Regards.

  • (SOAP sender) --- XI ---- R/3 (RFC receiver) this sync scenario

    Hi Experts,
    Webservice(SOAP sender) < - > XI <--> R/3 (RFC receiver) this sync scenario tested with Infopath successfully.
    I have given partner number,student object id are the two input fields(request) and i am getting student number as response. This scenario is working when i use MS infopath.
    I have generated WSDL file embedded with below URL
    http://xxxx.yyytec.passh.ed:7271/XISOAPAdapter/MessageServlet?channel=:Webservice_Sender_BS:GET_NUMBERS_Sender_CC&version=3.0;amp;Sender.Service=Webservice_Sender_BS;amp;Interface=urn%Apache
    Sender business system: Webservice_Sender_BS
    Sender CC: GET_NUMBERS_Sender_CC
    Msg Interface: STU_GET_NUMBERS_Synch_MI
    now we want to test from third party website, what are the things to be provided to the website developer to test the scenario.
    the way i generated URL, is it correct?
    if i provide above URL and generated WSDL in XI , is it enough for web developer to enter the input fields to RFC(r/3) via XI as webservice request and getting back response from RFC(r/3) to webservice via XI.
    can you please advice if any body worked on this kind of scenario.
    Thanks
    Dhanush.

    For the developer you have to provide WSDL file so that they know the input/output fields and write the code.
    URL is correct.
    Other informatino they required is Username and password of you PI system.
    Gaurav Jain
    Points if answer is helpful

  • Guarantee EOIO Processing in File-RFC-RFC-IDoc Scenario

    Looking for some opinions on the following set up we've got.  We're trying to build QoS EOIO on a scenario that goes File Sender->RFC and then RFC->IDoc.  My question is basically have we effectively ensured that our scenario will be EOIO from file to IDoc.  We want the first record in the file to always be the first created IDoc, the 10th record in the file to always be the 10th IDoc created etc.....  We also want to make sure that if we encounter an error at any point that all subsequent processing stops and waits until the problem is resolved.  We've successfully completed some steps but my biggest concern is in the area between where XI sends the data to SAP1 via RFC and the resulting return RFC from SAP1.  I'm thinking we may not be quite there yet and would be interested to hear what others thought.
    We're on SP15.  The scenario goes like this (no BPM):
    1) We have a legacy system LEG1 that we pick files up from using the Sender File adapter.  This step will take the file from LEG1 into XI and map it to an SAP remote function on SAP system SAP1.  We set QoS on the file adapter to EOIO.  Our interface determination for the File to RFC component is set to QoS of "Maintain Order at Runtime".
    2) XI makes the RFC call to SAP1 (6.20) using an RFC receiver adapter.  The called function then processes the data and returns the data back to XI using another remote function call.  This function call is of type tRFC where we call the function "in background task" and issue a commit after the RFC call.
    3) We receive the data into XI from SAP1 using the RFC sender adapter.  XI maps it to our IDoc layout and sends it onto another SAP system called SAP2.  Again here our interface determination QoS is set to "Maintain Order at Runtime".
    4) XI passes the IDoc onto SAP2 (7.00) using a receiver IDoc adapter. The paramter Queue Processing is turned on.

    About EOIO in qRFCs, actually this is quite a polemic topic.
    There is something you could do, allright, but it is controversial whether you could properly call it "EOIO" or not.
    Refer to this thread for further discussion: use EOIO on Sender RFC and outbound ABAP proxy calls
    Supposing you call the other RFC before you commit work in the receiver RFC, and supposing you could have EOIO at 2nd RFC (sender RFC), all these assumptions could mean that you would guarantee EOIO end-to-end. But they are just assumptions.
    You have to try it and stress test the scenario to guarantee the validity of this design.
    One other approach would be a BPM with all steps in one single transaction (check BPM transaction handling). The steps would be:
    File -> sync RFC -> Idoc
    where the response of RFC should be the necessary information for triggering the IDoc, and all send steps would be in EOIO mode (set queue name in Send steps). Also, file sender adapter QoS should be set to EOIO.
    But I'm also not sure that this will guarantee EOIO end-to-end (possibly not...)
    Good luck.
    Regards,
    Henrique.

  • Configuring receiver RFC adapter to use RFC destination

    Hello,
       I have been doing some digging, but I can't find a solid answer on how to configuring a receiver RFC adapter to use an existing RFC destination to call a 4/6C R/3 backend system...  Our scenario is to WS --> SOAP --> RFC which is up and running in production just fine on NW 7.0, SP12.
       I ask this question because we, as a company, do not like to maintain passwords in multiple systems.  That is necessary when we use the receiver RFC adapter now since SNC is a distant pipe dream for us and we would like to use an existing RFC destination that is set up to call the backend system using a logon ticket.
       I checked the relevant links I could find below, but I can not resolve the answer from them.  Has anyone set this up successfully?  This link (RFC Destination type RFC Receiver Adapter?) mentions it briefly, but it does not go into any length on how to set it up.
    Thanks!
    John
    http://help.sap.com/saphelp_srm40/helpdata/fr/33/c6e63b60c25767e10000000a11402f/content.htm  
    http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm
    Re: Asynchronous RFC call

    Hi John !!
    I suggest you to create a new user, without dialog access in your ECC system to be used exclusively by the XI system to access ECC. And then, always use this user in all RFC receiver adapter communication channels.
    Regards,
    Matias.

  • Receiver RFC - Interface Objects

    Hi every one,
    I have a scenario, SOAP (SYNC)- XI - RFC (SYNC), MY question is do we need to create and interface objects for the receiver. Or can I use the RFC as the interface object.
    Technical explanation would really help me.
    Please clear.
    Thanks,
    -Naveen.

    Hi Naveen,
             <i>>>>>>do we need to create and interface objects for the receiver. Or can I use the RFC as the interface object.</i>
      As RFC itself is a interface you need not create  a seperate interface for an RFC.
    In message mapping you will need to create two message mapping.
    One SOAP_Req to RFC_Req
    two RFC_Res to SOAP_Res.
    When you will try to implement Interface Mapping, the source interface would be the imported 'External defination' of WSDL and the receiver would be the RFC. In the lower section of the same screen click 'Response' tab and add RFC_Res to SOAP_Res as mapping prog and under 'Request' tab add SOAP_Req to RFC_Req.
    Let me know if you further assistance.
    regards,
    Ashish

  • SOAP to RFC - Sync Scenario. How to find where the response is going to?

    Hello All
    I have a SOAP to RFC sync scenario.
    In SXMB_MONI,  i see that both the initial message and the response message are successfully processed.
    But, the SOAP sender is not receiving the response message.
    How can i trouble shoot this scenario? How can i findout what is going wrong?
    Most importantly, How can i find out the web address of the SOAP sender? I do not see it anywhere.
    Thanks

    Hi Chandra,
    Please check this blog.
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    You can by pass your message through a TCPIP gateway , this will help you to see the message contnet and the SOAP header information.
    TCPIPGW application is availabel in one of the SAP notes for Monitoring SOAP adapter. and 2 SAP SDN PI  blogs are also there on how to use this application...
    Regards
    Sunil.

  • File RFC sync scenario error: MsgId alredy exists in the system

    Hi,
    I am working on File RFC sysnc scenario.
    The first message that I tried to processed gave a error
    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 convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date ' ' has a wrong format at field REQ_DATE_H: Unparseable date: " "
    When I retried correcting the data, it started giving strange error
    Message ID 62D07CA0D3EE11DCCD36DA01C52F0606 for pipeline CENTRAL, version already exists in system.
    How to rectify this?
    XI version is PI 7.0 SP10

    Nisar,
    Which program to re-run? Are you talking about activating the channel again? If so, then I have done it many times changing the file name.
    I got below error in Communication Channel Monitoring:
    2008-02-06 02:27:39 Error Received XI System Error. ErrorCode: MSGGUID_EXISTING ErrorText:   ErrorStack: Message ID 83F8B0B0D48311DCA544DA01C52F0606 for pipeline CENTRAL, version  already exists in system
    2008-02-06 02:27:39 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
    2008-02-06 02:27:39 Error Transmitting the message using connection http://xibox:8000/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:.
    2008-02-06 02:27:39 Error The message status set to FAIL.
    2008-02-06 02:27:39 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
    2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:
    2008-02-06 02:27:39 Error Attempt to process file failed with com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

  • Schedule Receiver RFC communication channel to call R3 RFC-FM.

    Hi,
    I have requirement that I need to schedule/trigger from PI to RFC call R3 function module. Wonder if anyone here has done similar thing before? I tried to use ATP (Availability time planning) in RWB. But this seem does not success for me as there is no response and error message for this.
    Below is my configuration detail:
    Configured:
    1. Receiver communication channel - RFC
    2. Receiver agreement with the RFC message type assigned.
    3. Scheduled receiver RFC communication channel via ATP daily
    *(It is possible to make scheduling job in R/3 but we are not considering this way)
    Please let me know if anyone has done this before or any other suggestion to do the scheduling from PI.
    Thanks!
    Regards,
    SP

    Hi SP,
    As you mentioned, ATP would allow adapter to be open and in start state. Adapter's RFC, SOAP, JMS would need some other application to trigger the message processing because these are not like pooling adapter's File, JDBC and Mail. RFC adapter channel always listening to the RFC port and FM execution. Once FM from R/3 executed then the RFC adapter would trigger it's message processing.
    For Sender RFC channel: In order to trigger the RFC adapter execution at particular time then you should write a simple ABAP code which would act a batch application and which does the triggering the FM and Sender RFC channel.
    For Receiver Channel: For Receiver RFC channel it's bit trichy because here you have force Receiver RFC adapter to connect backend the execute or initialize the variables without having any XI message triggered from Sender PI channel.
    I have 2 ideas:
    1. A little difficult approach, similar to the ABAPbatch code, you need to write a java adapter module which can trigger RFC receiver channel to connect and do an initialisation at FM at regular interval.
    2. Simple approch configure a File-> 2-> RFC receiver scenario, configure File sender adapter to pick a dummy file at regular interval and RFC receiver channel does the rest.
    Please let me know still you have any doubts,
    Thanks,
    RK

  • Response structure empty for HTTP to RFC synchronous scenario

    Hi experts,
    I have a HTTP to RFC synchronous scenario.
    The request is given to Price List ZBAPI.
    The input to the BAPI is date, material no, customer no and condition type.
    The output I am fetcching from access sequence table into the table FINAL  type structure ZFINAL which is
    then sent back to source as a response.
    But the problem is that I get this table as empty although BAPI returns data
    Regards,
    Mozila

    Dear Mozila,
    How did you check that BAPI returns data? Did you use an exact message sent from PI to the receiver business system? If not, I would suggest to take the message which was sent by PI to the receiver business system and use it when performing BAPI test.
    Are table contents received by RFC adapter on PI side (can you see BAPI execution results in message contents for response message received by RFC adapter)?
    Can you see any errors in RFC communication channel?
    Did you check message monitor in Integration Server for the particular message? Are there any errors?
    Please also check your message mapping - this may also cause the error in case RFC adapter receives correct results, but HTT client receives empty table.
    My regards,
    Vadim

  • Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.

    Java Proxy -> XI -> RFC Synchronous Scenario. Problem
    Hi,
         I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
         A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
         The first time that execute the scenario it works perfectly but no the next one and so on.
         The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
    <Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
      <Trace level="1" type="T">no outbound binding found.</Trace>
      <Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
    </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
    A Hint, my services in the first try are:
         <b>Sender Service:</b>          JPX_DEV (Java Proxy Client)
         <b>Receiver Service:</b>     DES210_DEV (R/3 4.6C)
    But the second try and so on the services that I saw in the monitor are:
         <b>Sender Service:</b>          DES210_DEV (R/3 4.6C)
         <b>Receiver Service:</b>     JPX_DEV (Java Proxy Client)
    I can't understand why they swich each other.
    Any idea?

    Hi,
    Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
    Try to recreate or refresh and activate it. Then check it.
    also do the cache refresh in SXI_CACHE.
    Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
    Hope this helps
    Regards,
    Moorthy

  • Jdbc-rfc synchronous scenario

    Hi...All,
    we r plaing to do JDBC-RFC Synchronous Scenario with out BPM,please tell me any settings are required for this scenario.any body is having any links regarding this type of scenario pls share with me...that is helpfull for me...
    thanks in advance,
    Pasi.

    Hello Pasi,
    JDBC-RFC Synchronous Scenario with out BPM,
    Go through this links...
    JDBC Sync - RFC Sync Scenario without BPM
    File - RFC - File without a BPM - Possible from SP 19.
    JDBC-RFC-File
    Re: jdbc-rfc synchronous
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    JDBC-RFC Scnario mapping problem
    Thanks,
    Satya Kumar
    JDBC---RFC will Support Sync?????????

  • Not producing a receiver file though scenario is succesful

    Hi,
    I have file adapter on the receiver side
    The scenario is working good and generating a file on the target side when I select the Message protocol as "File"
    But when I select "FCC" and execute, it is NOT generating a file on the receiver directory
    though I can see the message process succesfully in SXMB_MONI
    Thanks and regards
    Nikhil.

    I am getting the following error message in communication channel monitoring
    "Channel has not been correctly initialized and cannot process messages"
    I have specified all required CC parameters correctly
    what could be the problem?
    regards,
    Nikhil

  • PI 7.3 receiver AAE idoc scenario-No receiver comm channel found in ICO

    Hi,
    I am working in PI 7.3 receiver AAE idoc scenario.When I try to configure Integrated Configuration(ICO),I am not able to see the receiver comm channel in receiver agreement.
    What is the reason for this??I have configured the communication channel,but still its not shown in reciver agreement dropdown.
    Please help.
    Regards,
    Sriparna

    Hi Sriparna,
    In PI 7.3 there is are two separate IDoc adapters: "standard" IDoc adapter and one that is dedicated for AAE (ICO). Make sure that you have used the right one - most probably not, which is why you cannot see the channel in the dropdown list.
    Hope this helps,
    Grzegorz

  • Xml validation in File to RFC Sync Scenario with Validation fails message

    Hi All,
    We are using PI 7.4 (Dual Stack) the Requirement is File to RFC Sync Scenario(File <---> RFC).and need to do XML validation against XSD Schema. if any Validations fails Response message should send back to sender.RequestResponseBean standard module is using for File to RFC Sync scenario but how to send the response message to sender if any validation fails. adapter level XML validation is not helpful for this requirement. please help out me how to achieve the requirement with graphical mapping.
    Thanks in advance.

    to validate schema you cannot solve it with graphical mapping but validating the schema in the AAE or the integration engine.
    y recomend you to use the AAE validation at sender side, coz the sender system will be notified in case of schema errors.
    The response will be validated at Integration Server level.
    you can search in the forum, you will get many document about how to configure it.
    take a look to my blog: PI 7.3  - XML Validation

Maybe you are looking for