Regarding RFC to RFC to FILE

Hi,
  I am Doing RFC to RFC to FILE. I want to execute RFC to RFC and I want to get RFC response to FILE.
1)Do I need to Define BPM for theScenario.
2) Should I configure Sync- Async Bridge for the above scenario.
2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
Regards,
Varun

Hi Varun,
Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
1)Do I need to Define BPM for theScenario.
Yes
2) Should I configure Sync- Async Bridge for the above scenario.
Yes
2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
Just import ur RFC and use it.
3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
Yes.Interface mapping what ever u had done select that.
Procedure:
SyncReceive – To Receive the payload synchronously from HTTPRequestInt interface
syncSend – To Send the request payload Asynchronously from BPM to the File system
syncReceive – To receive the response payload Asynchronously from Legacy File system to BPM
SyncSend – To Send the response Synchronously from BPM to LegacySystem
Refer this blog
Bridging the Sync-Async bridge with Fork (XI)
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
Also go through these links:
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
Regards,
Vinod.

Similar Messages

  • File- rfc- soap- rfc

    Hi
    I have a scenario  File to rfc it has to update the rfc table & the same file request has to call soap after updating the rfc table & the response from soap has to update rfc again....
    I have designed bpm
    1)Receive step asyc to receive the file
    2)Send step aschyronus to update the rfc
    3)Send step sychronous to call the soap
    4)Transformation step to convert soap response to rfc input.
    5)Send step aschyronous to update the rfc..
    Do i need to use S/A bridge in my scenario...
    Can any one you please breif  me what steps are going to involve in bpm & Coresponding Message mappings & the interfcae mapping.
    Any responses would be greatly appreciated...
    I have seen all the related weblogs...
    Thanks
    ram

    Hi,
    The step are good if you don't need to see whether the uopdate has happened in RFC and based on that you want to go ahead.
    <i>1)Receive step asyc to receive the file</i>
    MI- Oubound async
    MI- Abstract async1
    2)Send step aschyronus to update the rfc
    MI-Abstract async1 (send step will be async)
    The above is if the data structure requred to be sent to RFC is same as in Abstract async1 else do a transformation from MI-Abstract asyn1 to abstract async2
    3)Send step sychronous to call the soap
    Here also if the metadata is not same as that of MI abstract1 then transformation step to move data to abstract sync3 (you need to have two message Interface here request response
    4)Transformation step to convert soap response to rfc input.
    response of the soap will be the input and output would be another MI for file metadata
    5)Send step aschyronous to update the rfc..
    MI for file metadata in previous step.
    6. MI -Inbound async to pass from IP to the service you are using.
    Hope this helps.
    Regards
    Vijaya

  • Regarding RFC to RFC Process

    Hi I want to configure the below scenario's
    First Process
    1) RFC->XI->RFC (In the beginning I need to receive the RFC from the sender and then do an RFC to the receiver)
    Second Process
    2) RFC->XI,  XI ->RFC,  XI->File.
    Do I need to Create Any Data Types?. What are all the mappings I need to Define, How many Interface Mappings required.
    Regards,
    Varun

    Hi,
    >>Moreover, I dont see any messages in Message Monitoring (SXMB_MONI) or in Runtime Workbench for the Sender and Receiver RFC Communication Channels.
    That means Your Process is itself Wrong.
    So please try to make sure that your RFc is carrying the data and sending to XI.
    For this u shld be able to see the message in XI's MONI.
    Make sure abt your RFC Triggering Process, then afterwards you can check in tables whether those are updated or not
    Regards
    Seshagiri

  • RFC Adapter  RFC to File

    Hi,
    Can somebody help me to view this thread. I am learning XI using RFC to File and I have got some difficulties in undestanding the Adapter Configuration.
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step from Michal.
    When I select this thread, I get blank page.
    Thanks

    Hello MK and Shabarish,
    I need a little more help from you.
    Here is XI Scenario.
    Want to send Material info using RFM from system A to System B via XI.
    Process: In System A, I create an RFM and send the data via dest paramter.
    It looks like this.
      Call Function
         dest 'SYSTEMA_SENDER'
    1. I created T - RFC Destination in systemA.
        RFC Name     SYSTEMA_SENDER
        gateway host  gbdsc1  ( using smgw)
        serveric          sapgw11
        Program id     SystemA_Sender
                             Registered server program, unicode.
    2. In XI box, in Integration configuration, Created RFC sender channel with the following paramter
        Adapter Type   RFC  - Sender
        RFC Server Parameter  -  
                 Applcation server(Gateway)  gbdsc1    ( As in RFC dest System A )
                 App service(gateway)           sapgw11
                 Program ID                          SystemA_Sender
        RFC Metadata repository     
                Application Servr         ( What do I enter here  is it System A)
                System Number
                Logon on User
                Logon pw
                Client
                 Language
      Finally,
    In system A when I do connection test I get the following errors
    Error: Program SystemA_Sender not registered
    Location SAP-Gateway  on gbdsc1/sapgw11
    Detail:TP SystemA_Sender not registered
    and other errors
    Can you identify any correction required for the above RFC destination and RFC configuration?
    Do I need to register the program and if so how?
    Your help is deeply appreciated.
    Regards

  • Question regarding JDBC - XI -RFC

    Hi all,
    I have a scenario which XI will get data from database (using jdbc adpater) then send data to execute in RFC. This is an asynchronous call. My question is that.
    1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
    2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
    Any suggestion from expert?
    Thanks,
    Pavin

    Hi
    1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
    Yes you can do multi mapping 1:N without BPM
    Message Splitting Using the Graphical Mapping Tool
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
    You can queue to process one by one. Response can be obtained with or without BPM
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC
    JDBC to RFC Mapping Problem.
    Thanks
    Gaurav

  • Scenario SAP R/3 --(RFC)-- XI--(RFC)-- JCo.Server

    Hello,
    I am wondering if anyone can send me some feeback for such scenario. SAP R/3 version is 4.6c, SAP XI is 3.0 and JCo are 2.0.12.
    I am having some trouble which I think are link to the fact that the SAP XI is Unicode and not the JCo.Server ... However I was thinking SAP XI will adapt, since it works well for scenario SAP R/3 (RFC)> XI (RFC)> SAP R/3.
    Thanks for your feeback.

    Hi Grégory,
    I guess I faced a similar problem,  the problem was that in the receiver RFC adapter you have to specify both an RFC target system and a system to lookup the metadata.
    The target RFC system hat to have the same unicodeness of the metadata lookup system that means in your case that if jco server is non unicode also you R3 has to be non unicode otherwhise it will not (never) work, because this is a mandatory requirement of the RFC adapter.
    In my case this was not possible so I was redirecting the RFC call to the ABAP stack of XI (where I had exposed the same function module which was simply recalling the same function module to the target system) and it worked/works.
    Regards,
    Sergio

  • Third party system (JCO) ---RFC--- PI ---RFC--- ECC

    Hello all,
    We are trying to implement the following scenario:
    Third party system (JCO) -RFC-> PI -RFC-> SAP ECC
    The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.
    1. This step is working correctly. Connection is OK.
                JCO.Client mConnectionPI = JCO.createClient("100", // SAP client
                                                                                    "user_id", // userid
                                                                                    "********", // password
                                                                                    "pt", // language
                                                                                    "10.x.x.x", // application server host name
                                                                                    "01"); // system number
                mConnectionPI.connect();
    2. This step is not working correctly:
                JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);
                IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception
    We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.

    Hi Primini,
    couple of stupid-but-necessary questions:
    1) have you imported the RFC model in PI Repository?
    You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
    Check the "Activities" session of this link for more details:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    2) if you have done 1), have you configured the RFC Sender scenario properly?
    I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
    This should make your scenario work.
    If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
    Let us know the results.
    Best regards,
    Henrique.

  • JDBC(Sender)-XI-RFC (Request) RFC (Response)-XI-JDBC(Receiver)

    Hi All,
    JDBC(Sender)-XI-RFC (Request)
    RFC (Response)-XI-JDBC(Receiver).
    Need some solution for sending email for successfully completion of scenario after updating SQL DB Table.
    Let me explain the scenario:
    We are pooling the SQL DB table to pull the records and map the records to RFC request parameters, after successful Posting the entries in R3 HR, RFC response contain the same with E (Error) S (Success) records status, we are updating the same in SQL DB table, I implemented the complete scenario without BPM with the help of module processor in Sending JDBC Adapter, scenario is working fine but now we have to send the successful mail to our support team with status contain Number of success, Error and total records as email.
    I need the solution how to implement the same requirement in current scenario.
    Is their way to do something with the RFC receiver adapter module addition to send the successful mail or generating Alert with all the description?
    I am at PI 7.0 SP12 with HP unix box.
    Thanks in Advance for creative idea
    With Regards
    Sunil

    Hi Bhavesh,
    Thanks for your help and your blog is really helpful. I implemented the UDF for generating Email Alert but this alert is generating before Updating the SQL Database, is their any way to generate alert after updating the SQL.
    Actually in my scenario we are sending the data from SQL to R3 by RFC and again updating the SQL status whatever the RFC return, after successfully updating SQL we need to send success email to support people but if we are sending the email before updating the DB then their will be problem.
    JDBC receiver after updating the SQL DB returns the response with No. of row updated but how to capture this response, if we can capture this response then we can send email through email adapter even their is one more problem, In my scenario I am counting the number of rows with status “S” and “E” and sending the same in alert email but if are sending email after updating the SQL DB where can hold the row count value and use it while sending the email.
    Implemented the scenario without using BPM..i am using sender JDBC module processor for Syn-Asyn bridge.
    Even I do not find the link to reward point. Please let me know how to do it.
    With Regards
    Sunil

  • RFC TO RFC SCENARIO

    Hi,
    I want to try RFC to RFC scenario .For this have One client with Solution manager and another client has R/3 on it .I want update  a z table in R/3 from the data i have in solution manager (RS001).
    I want to know following things :
    what is the program ID in RFC sender adapter ?
    where should i make the rfc destination .....which my abap program will call ...via xi ....picking data from solution manager.

    Hi,
    what is the program ID in RFC sender adapter ?
    The same ID as u configure in RFC destination at sending SAP system.
    where should i make the rfc destination?
    1. Transaction SM59 on sending sap system: To XI
    2. On XI: To receiving sap system
    which my abap program will call ...via xi?
    Your abap program at sending sap system calls a function modul at XI:
    CALL FUNCTION 'myFunction' DESTINATION 'myDestSM59' ...
    ....picking data from solution manager.
    receiving SAP system
    You need a synchronous scenario. R/3 system function modul works as Outbound, sol man function modul as Inbound.
    Regards,
    Udo

  • ** JCO$Exception Problem in RFC to RFC scenario

    Hi Friends,
    I am doing RFC to RFC scenario. We have two IDES system. One XI system. The scenario is to send the Vendor data from First IDES system (Z_APPLE_VENDOR_SEND) to call the RFC (Z_APPLE_VENDOR_INSERT) in the second RFC system. Sync to Sync Scenario. In this case data is passed from source system and mapped to target RFC soruce Structure. But, not able to login into target system. The following error is occured in SXMB_MONI.
    com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=aprins05 SYSNR=01 GWHOST=aprins05 GWSERV=sapgw01 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '172.25.12.23:sapgw01' not reached TIME Fri Oct 17 23:28:55 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2764 DETAIL NiPConnect2 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER
    Friends, I have tested the following : SLDCHECK, Connection between IDES and XI system. Checked the Gateway of receiver side IDES system thru tcode SMGW. All are working fine. But, still the problem comes.
    Kindly help me to solve this issue.
    Kind Regards,
    Jegathees P.

    Hi
    Restart the Receiver System once and try again.
    Go throgh the following thread
    (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
    Regards
    Sridhar Goli

  • Failed transformation xml-rfc to rfc

    Hi,
    I have to scenario rfc to jdbc sync, SAP MI <-> XI, but when I executed the rfc, i don´t have problem in SXMB-MONI,  but returned the dump in MI " Failed transformation xml-rfc to rfc". What happen?
    Tks.

    The error isnt logged in SMXB_MONI because it happens in Adapter Engine, which is in java stack (and SXMB_MONI is in abap stack). Therefore you won't be able to see the error there.
    Go to Runtime WorkBench, Message Monitoring and check the errored message there. Open the details screen and check the Audit Log for futher information about the error you got.
    Regards,
    Henrique.

  • RFC - XI - RFC

    Hi all
    We have two SAP system connect by XI by rfc (sender , receiver). The Sender Adapter is correctly configured in XI with a program ID, and from the R3 sender system we can see it.
    In the R3 receiver system we have Z_BAPI_RECEIVER and we want to call it from R3 SENDER this BAPI.
    This Z_BAPI_RECEIVER must be defined in R3 sender system??
    In XI we imported Z_BAPI_RECEIVER and we did not map because is the same namespace. It seems everything is OK.
    thanks
    Ger

    Make sure you have done the following steps
    first check the BAPI are remote enabled? if yes then proceed in the IR to import the sender and receiver bapis.....and rest follow the normal steps in the IR and ID.....
    Follow these blogs
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    Just go through below weblog for more detail:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    just do the opposite for the RFC sender seeing the file to RFC
    in the RFC sender only the RFC sender adapter needs to be created...

  • RFC-To-RFC as Async

    Hi all,
    Here my scenario is RFC-To-RFC.
    simply Asynchronous and function is fetching multiple data from the database and push that to XI and the receiver RFC recievs and place that data in other R3.
    Problem is when i import the two RFC's in the Mesage Mapping the occurence shows as 1..1.for both the RFC's.
    Can it works for multiple records if i map like that only...
    then wat r the neccessary steps i need to do...I have to go BPM r can i solve simply this.even i have changed the occurence in message Tab of Message Mapping.but in the interface Mapping its trowing error.
    Can anyone suggets regarding this.
    Thanks,
    Kalyan.

    Hi Kalyan,
                     At first export ur xsd of RFc and save it on desktop .Open it and change the occurence of it to unbounded .Now again import it under "External definitions" in your IR & then use.It will help u in accepting multiple entries.
    and check these links
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Vinod.

  • RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does n

    Hi all , i did a small application in webdynpro abap  by calling BAPI . MY application  is when i enter the studentid and click the submit button i shoutl get student details .
    but when i'm clicking the submit button i'm gettting the error
    "RFC Exception COMMUNICATION_FAILURE with Message RFC destination RFC does not exist. Occurred " can any one help me out.

    hi rajeev.....
        i am sure that you would have used service call.
       in service call, in the destination part, you would have given a name. the service call automatically creates a destination in this name. but your user id would not have had that rights. so only you get this error. either use a already existing destination or get the access for that.
    ---regards,
       alex b justin

  • Failed to transform XML-RFC to RFC:com.sap.mw.jco.JCO$Exception: (130)

    Hi All,
    I am working on Rfc-SOAP scenario.
    I am getting error in SAP, there is no error in SXMB_MONI, responce is successfull and correct from SOAP.
    In SAP Dump is saying following
    Runtime Error          CALL_FUNCTION_REMOTE_ERROR
    Date and Time          08/07/2007 09:14:14
    "failed to transform XML-RFC to RFC:com.sap.mw.jco.JCO$Exception: (130)
    Please guide
    Regards

    Hi Rohan !!
    Check this threads:
    - /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    - CALL_FUNCTION_REMOTE_ERROR
    to see if you have correctly configured the RFC Sender, and the possible cause of error.
    Regards,
    Matias.

Maybe you are looking for

  • Memory leak in Jain-SIP ?

    Hi there. We implemented a SIP gateway to MS OCS 2007 using Jain-SIP version 1.2.1906. One problem we have is memory consumption. Using jconsole we found out that memory is not completely released when SIP clients log out. E.g. the following classes

  • Issue with mouse_up and mouse_down actions

    Hello, I placed this code in the actionscript so i could drag and drop the mucles and place them into their targets. My issue is that once the mouse is down on the muscle "temporalis", the temporalis muscle lifts up but does not drop it when the mous

  • Setting column width in a command-line program

    Is there a way to send data to the screen in a command-line Java program that will be formatted as a number of columns with a set column width? I am looking for something similar to the C++ setw() I/O manipulator used in cout. Thanks, Steve

  • Font Book not showing in ms word

    Some of the fonts in my Font book do not show up in MS Word. I have tried restarting my machine

  • UCCX 8.0 Standard: fail to replace a script with the same name

    Hi, in my UCCX 8.0 (standard) i often want to perform a change on         the sctipt of an application. But when i try to upload it where the old script is, i choose to         replace the old one but then i get a fail message. What is the best way t