RFC to RFC sscenario

hi,
  all can any one send me link for RFC to RFC scenario
where response of one RFC is mapped with request of another RFC.
thanks and regard  
Diwakar Chaube

Hi Diwakar,
SAP does not recommend diverting an existing, functioning RFC connection between two SAP business
systems so that the data passes through the Integration Server.
If you still want to do it, as Raj said you can simply
1. Import the RFCs of sender of receiver.
2. Do the necessary mapping.
3. Configure sender and receiver RFC adapters.
Before that check if you have RFC destination for the RFC adapter. If not You should establish it. To establish an RFC destination for the RFC adapter.
1. Call the transaction Display and Maintain RFC Destinations (SM59).
2. Select an existing RFC destination of type ABAP Connections (for example, ABAP_Old) by double-clicking it.
3. Choose Destination ® Copy and copy the RFC destination using a new name (for example, ABAP_New).
4. Save the new RFC destination (ABAP_New) and delete the old RFC destination (ABAP_Old).
5. Create a new RFC destination (for example, RFC_Adapter) of type T (TCP/IP connection) as the RFC destination for the RFC adapter.
6. Select the registration type Registered Server Program and in the Program ID field enter the corresponding program ID from the configuration of the sender RFC adapter.
7. In the Gateway host and Gateway service fields, enter the gateway host and gateway service from the configuration of the sender RFC adapter.
8. If the sender system is a Unicode system, define the RFC destination as Unicode.
9. Using the name of the old ABAP connection (ABAP_Old), create a new RFC destination of type L (logical destination with reference entry).
10. In the Reference Entry field enter the RFC destination (RFC_Adapter) for the RFC adapter.
For more details take a look at this link. http://help.sap.com/saphelp_nw70/helpdata/en/25/76cd3bae738826e10000000a11402f/content.htm
Kindly reward points, if you find this tip useful!
Thanks
Vikranth
Edited by: Khimavath Vikranth on Jun 4, 2008 8:18 AM

Similar Messages

  • 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 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

  • Rfc to rfc without bpm scenario

    Hi,
    I am trying to do RFC to RFC scenario without BPM.but in sender communication channel following error is coming.
    Sender channel 'CC_RFC2RFC_SENDER' for party '', service 'BS_RFC2RFC11' (internal name 'RfcServer[CC_RFC2RFC_SENDER]')
    Server data: {jco.server.gwhost=192.168.2.12, jco.server.progid=program_rfc2rf, jco.server.gwserv=sapgw00, jco.server.unicode=0}
    Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=000, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=bcuser, jco.client.sysnr=00, jco.client.ashost=192.168.2.12}
    Current pool size: 1, maximum pool size : 1
    Can anyone please tell me the cause of this error.??
    Thanks
    Rabi

    Hi Priyanka,
    I did as you had told but it is again showing same problem.
    Will you please help me to resolve it?
    Thanks
    Rabi

  • 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

  • RFC to RFC scenario fails with error

    Hello Guys,
    In our XI support we found errors for RFC to RFC scenario.
    Some messages failed with the below error :
    SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>503</SAP:P1>
      <SAP:P2>Service Unavailable</SAP:P2>
      <SAP:P3 />
    Latter the new RFC messages were having this error :
      <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: Object not found in lookup of RfcAFBean.</SAP:AdditionalText>
    Now all the messages are getting processed.
    Can you please tell me the cause this happens every now and then.
    What is the solution.

    Hi Rajeev,
    See these threads:
    Re: HTTP_RESP_STATUS_CODE_NOT_OK - Error in ABAP proxy
    Re: 503 Error -  HTTP_RESP_STATUS_CODE_NOT_OK
    XIServer error raised: 503 Service Unavailable with SOAP Adapter
    http://www.saptechies.com/http-errors-in-xi/
    HTTP_RESP_STATUS_CODE_NOT_OK 503
    I hope these will solve your problem. Rewards with points if helpful.
    BR,
    Alok

  • 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-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 to RFC testing!!

    Hi,
    How to test the RFC to RFC scenario?
    Also the necessary configurations settings on the sender adapter side?
    Is RFC going to support async mode.
    Please guide me in this issue.
    Thanks in Advance,
    Kiran

    For the sender RFC Configuration
    1. create a TCP/IP Connection in sm59 of the R/3 system.
    TCP/IP Destination Name
    Registered program id
    Port and IP address
    2. provide the same information in the sender CC of RFC.
    Receiver RFC Configuration
    1. Create a R/3 destination in sm59 of the R/3 system
    2 . Provide the same information in the Receiver CC.
    To test the RFC in Sync Mode
    1. go to SE37 and press F8
    2. Provide the TCp/IP connection in the destination and provide the parameters for the RFC.
    To test the RFC in ASync Mode
    call the RFC in background task mode .
    Syntax
    CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    To analyse about the errors in the RFC
    http://www.saptechies.com/faq-xi-30-pi-70-pi-71-rfc-adapter/
    Thnz
    Mohamed

  • 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.

  • 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

Maybe you are looking for

  • Using Recovery Media for Windows 7 Disc

    I have attempted three times to do a system recovery to restore my HP Pavilion back to factory settings; however my hard is newly installed. Every time I've attempted the recovery has failed. What can I do to fix the problem.

  • Time Machine disk and Airport Extreme issues

    I have a portable USB drive I use as my Time Machine disk. It works great, but only when I manually mount the disk. I recently got an Airport Extreme, which allows me to mount a disk off of it. So, I figure I'll mount my USB Time Machine disk there s

  • Maximum file Size PI 7.1 Can handel

    HI ALL, 1)any idea like the maximum file size PI 7.1 can handel if there is no File Content conversion .Say if PI is working like a FTP server .. if there is anymothed to calculate it  in MB.. ? 2)Bacause i have a Flat file of size 400 MB .once i act

  • Sorting by last name

    How do I get the artist list to sort by "last name, first name" but display as "first name last name"? Thanks for the help

  • Opening a tab

    Firefox has started working weirdly. I am in Google where I looked for a question. And I try to open Tabs for each answer. But Firefox goes to another Window, already open.