RFC Clarification

Hi All,
The following is what i know about RFC.
RFC - A remote function call is a call to a function module running in a system different from the caller's. The remote function can also be called from within the same system (as a remote call).
I understood that RFCs can be used in applications like WebDynpro programs where the caller's system is different.
and
Also Between two interconnected SAP systems.
For example: A RFC enabled FM in developement system can be called from production system. Am i right?Anyways we wont be calling any FM between developement and production system. Ok in real life, what will be the need to use an RFC between two SAP system?
CAN ANYONE EXPLAIN ME WITH A CLEARE PICTURE AND EXAMPLE? NO LINKS Pls.
Your replies will be appreciated.

Hi
Suppose if you have two systems say s1 and s2  and let say  you developed one Fm in s1  and if you want to use it in s2 you have to transport it to s2.If you create same FM with remote enabled without transporting you can give the destination of s1 and you can use in s2.Aand one more thing is generally we use rfc's in real time to call from some other systems like java webdynpro like that
regards
venkat

Similar Messages

  • Clarification regarding RFC destination

    Hi Ramesh,
    Thanks for your information, can you please tell me do we need to create port and logical system name for creating RFC destination.
    Thank
    siva

    Siva,
    You do not need to create port / logical system while creating RFC destination.
    Port and Logical system comes into picture while setting up Partner profile for idoc communication.
    Nilesh

  • Clarification on RFC connections for MM-SUS set up in SRM

    Hi All,
    I am stuck with replication of vendor from R/3 to SUS. I have made the RFC connections as mentioned below
    R/3 Side: R/3 to XI - Type 3
    SUS Side: SUS to R/3 - Type 3
                    SUS to XI (LCRSAPRFC) - Type T
                    SUS to XI (SAPSLDAPI) - Type T
                    SUS to XI - Type H
    XI Side: XI to R/3 - Type 3
                XI to SUS (LCRSAPRFC) - Type T
                XI to SUS (SAPSLDAPI)  -  Type T
    Can you please confirm whether these connections are sufficient for MM-SUS set up.
    Thanks in advance!
    Regards,
    Ram
    Edited by: Ram K on Sep 21, 2008 10:16 AM

    Hi Ram,
    Vendor Master data R/3 to SRM
    1.Find the vendor group in  SRM
    TC= PPOMV_BBP
    Ex:- VG Id= 50000041
    2.TC= BBPGETVD     in  SRM
    Give the following parameters
    System(R/3), Vendor no in R/3, Pur. Org, Object ID:50000041
    Then  click on start transfer.
    3.TC= SLG1   Check the Q if have strucked
    4.Check the vendor no in SRM System use TC= PPOMV_BBP
    Note:-
    R/3 & SRM number range shoul be same
    R/3 internal/External No. range equal to SRM External number, Then only replicated
    If u need more details pls contact to my Id bvnvrao yahoo.com.
    I will forward screen shot document.
    I think it will help.
    WR
    Rao

  • Need Clarification on JDBC--RFC Sync

    Hi All,
    in JDBC----RFC Sync scenario, do we use BPM to get the response from the RFC??
    Why because JDBC is not having the Sync nature.
    Regards
    Vamsi

    Hi,
    its not necessary to use BPM to get response with out BPM also we can get the response. Better try to avoid BPM because of the performance issue.
    Please refer this link
    http://help.sap.com/saphelp_nw70/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    Thanks
    Vikranth
    Edited by: Khimavath Vikranth on Jun 4, 2008 11:31 AM
    Edited by: Khimavath Vikranth on Jun 4, 2008 11:39 AM

  • RFC destinations for CUA - clarification required.

    Greetings, Gurus!
    I'm in the planning-going-testing phase of CUA implementation for our landscape, and it appears I've run into something of a snag.
    According to everything I've read, including various SAPnotes and documentation available in SAP Library, I understand that it is not possible to configure the CUA to use specific RFC destinations. Instead, CUA will attempt to use an RFC destination that has the same name as the logical system it is calling. I.e. central system ADMCLNT070 is making an RFC call in context of CUA to PRDCLNT510, for this purpose, RFC destination named PRDCLNT510 will be used.
    Q1: Have I understood this correctly?
    Q2: Is there any way to specify an RFC destination I want to use?
    Thanks for your time!

    would like yiu to go through the below link too,
    As the complication of using diffrent name and etc has been mentioned, and fixing has been hit and trial method for me when i did it..
    logical system name vs. destination name - CUA -
    Thanks,
    Prasant K paichha
    Edited by: Prasant K Paichha on Mar 5, 2010 12:52 PM

  • Clarification regarding loadbalancing in RFC recever adapter

    Hi,
    what is the loadbalancing in RFC
    when do we go with or without Load Balancing option in RFC?
    SOAP action in SOAP adapter.
    Thanks
    dhanush

    Dhanush,
    If you have more than one instance of server for your Application system you should use Load balancing in that case.
    Sometime because of the heavy load on the sever they include more than one server to handle the load...where each request would be randomly assign to the available server. But they comes under one application system.
    So when you have multiple instace and if they have creates group to identify them use Load Balancing option.
    hope this will help you,
    Nilesh

  • Exposing RFC as OData Model - Architectual Clarification Required

    We are doing a POC were the user credentials were Input for the function module which returns the user role. Based on the role the mobile app greets the user as worker or administrator. This is achieved by an RFC whose input parameters are USER ID and Password and response is the user role. Please advice us how this model can be converted into Odata for the SAPUI5 consumption. As I understand that the sensitive user password details can’t be processed in the get method It has to go through post method. Please advice me how to proceed with. Thanks, Ganesh.

    Hi Ganesh,
    Password will not be required to determine the User Role. What does the RFC do technically with the password?
    Thanks
    Krishna

  • RFC connection from SAP R/3 to OS400 server

    Hi,
    I am trying to establish an rfc connection between an R/3 system and OS400 server.
    I dont have much experience on communication interfaces i have seen different options in SAPRFC.ini file but still i wanted to get some expert comments from the experts.
    Please help me on this.
    Thanks
    Junaid.

    Hi,
    We had the same scenario here also. You can call .NET code from ABAP program using SAP .Net connector.
    The data can be downloaded to SQL server based on periodic job wise (every Half an hour or 1 Hour) .
    1. Write an ABAP report to get new personnal numbers from HR master tables based on created date.
    2. Create a RFC to pass employees details.
    3. You can create a proxy in .NET server stub code based on the above RFC.
    4. Write code to get data .NET object and establise a connection to SQL server.
    5. Write code to push data into SQL server tables.
    6. After you complete the .NET code, when you generate this code will create an exe file.
    7. You have to execute that exe with few command line arguments.
    8. The command line arguments need to setup in RFC destination (SM59).
    9. In that ABAP report call this RFC with RFC destination as you defined.
    .NET code can be done by .NET person.
    Let me know if you have any clarifications.
    Thanks & Regards,
    Govind.

  • Unbound fields in a table built with rfc model

    Hi,
    I would like to have unbound fields in a table in addition to the fields that are coming from the model.
    I have a model from an RFC function. I use this to build a table. There are 5 columns. This works fine. I would like to add two additional columns to the table that have their data coming from elsewhere (not from the rfc function).
    I've tried using the wdDoModifyView as below:
    IWDTextView text = (IWDTextView)view.getElement("TextView2");
    text.setText("This is the text");
    The problem here is that the value is shown on all the rows, not just one.
    And if I try to use the object that contains the getters and setters for the table data, these additional unbound fields do not have the getters and setters.
    How can I get to these unbound fields so I can fill them in a loop ? Can I create additional fields in the model so I can bind them to the context ?
    I do not wish to change the rfc code to have these additional fields in there. I am also not able to add fields to the model by hand (should I be able to ?).
    Any help greatly appreciated
    Kind Regards,
    Jari Pakarinen

    Thanks.
    I will need a clarification though
    Here is the code snippet from wdDoInit():
    for (Iterator iter = list.iterator(); iter.hasNext();) {
         Object skeduLine = iter.next();
         StringTokenizer toker = new StringTokenizer(((Ztab4000)skeduLine).getWa(), "t");
         Zmaterials zMats = new Zmaterials();
         String blaa = (toker.nextToken().split("\,"))[0];
         if (blaa.indexOf('.') != -1);
              blaa = blaa.replaceAll("\.", "");
         zMats.setWmeng(Integer.parseInt(blaa));
         zMats.setEtdat(getDate(toker.nextToken()));
         zMats.setMatnr(toker.nextToken());
         zMats.setKdmat(toker.nextToken());
         wdContext.nodeZ_Rfc_Schedagrt_Save_Input().currentZ_Rfc_Schedagrt_Save_InputElement().modelObject().addMaterials(zMats);
    I'm going thogh a list that contains String objects.
    Each String object contains fields separated by a tab. There are 6 fields, and 4 of them are going to the Zmaterilas object, and the rest 2 should be put to the additional fields of the table.
    I create the Zmaterials (table contents minus the additional fields) object and populate these fields with the 4 fields of data.
    How should I put the additional data to the table here ?
    Kind regards,
    Jari

  • Rfc error while importing TR

    Hi All,
             i have setup CHARM created a TR and task and assigned a correction to thes task, released the task and TR and while trying to import the the trequest to quality system (from solutionmanager) throwing an error"TMS Communication Error with [email protected]". opened the performance assisant of this error which displays "User SAPSYS has no RFC authorization for function
    group TMSC "
    rgds,
    Anand

    Dear Anand,
    Please go to Tcode:SM59,select the [email protected] rfc under ABAP Connections and check for the connection test.
    In the Log on tab(when you double click [email protected])check for the user which is mentioned there.
    If you get same RFC error when you do the connection test,the proper RFC authorization should be given to the user mentione in the log on tab in the satellite system.
    Revert for any clarifications,
    Thanks and Regards,
    Avinash.

  • BAPI/RFC for Service Complaints Creation in CRM 5.0

    Hi,
    We are working on the Complaints and Returns module in CRM 5.0. We have found the Transaction Code for the same. (CRMD_BUS2000120).
    Not able to find the BAPI/RFC for the same.Let us know if any. Appreciate your comments on the same.
    Thanks,
    Moorthy

    Hi,
    Thanks for the response
    I am not talking about Service Order. I have requirement to create a Service Complaint. For that the transaction is CRMD_BUS2000120. Now I need to find the function modules/RFC available for this requirement.
    Hope it clarifies .
    Even I have found function module called -CRM_COMPLAINT_API_CREATE but not sure right one
    Thanks,
    Moorthy

  • Creation of RFC function module

    Hi experts,
            My requirement is, an XML file is coming from non sap to middleware in XML format. Middleware converts it into sap format and  it will access the RFC, i.e., BAPI, which will be created by me and updates the same in CRM.
           There is one mapping sheet given, ie., from source format to destination format.Now the point is,  for creation of BAPI, what should be taken as parameters, ie import, export   etc., Can I take the destination fields as importing and table parameters? Please suggest  
    Rgds,
    Gsaasg.

    Hi,
    If I understand your requirement correctly, you want how the mapping file will be used to decide the import and export parameters of your BAPI.
    Though we should have a look at the mapping sheet, but it is more useful to the middleware person. The middleware person will use them to create a mapping on their side. Once teh data from legacy will be received by them, those data will be mapped to respective SAP format. This format will be shared to them by you.
    Let them know of your import parameter details, and what data you expect in each field. This will help them map the data correctly.
    We should create the standard ABAP structure as per the data coming in XML, and should be used as the import parameter.
    For ex:
    if the XML file is:
    <ContactInfo>
           <address>
               <city>XYZ</city>
               <postcode>ABCDEF</postcode>
            </address>
             <Number>
                   <type>Mobile</type>
                   <No>0123456789</No>
              </Number>
    </ContactInfo>
    then we have to create a structure as ZCONTACTINFO, with two components ADDRESS and NUMBER.
    ADDRESS will be of structure ZADDRESS with two components CITY and POSTALCODE.
    NUMBER should be of a table type with line type containing TYPE and NO. (as Number node can contain multiple entries..one for mobile, one for home, one for office)
    And this CONTACTINFO will be the IMPORT parameter in your RFC FM.
    In your case, no export parameter is to be maintained. Only thing is that we should understand the XML well.
    Hope this clarifies your case.
    Regards,
    Susanta

  • RFC Sender ---- R/3(RFC) - XI- File.

    Hi All,
       I need some clarification on this weblog for configuring TCP/IP connection
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    Please open this web log and in that
    in 4th and 5th points ..I am having doubts.
    1. how and where can I create the Program ID.
    2. what is that gatway host and service.. Where can I find the gatway host and service for SAP R3
    Thanks In advance.
    Raghavendra

    hi,
    >>>>1. how and where can I create the Program ID.
    just just insert it there (in the RFC dest on the R/3)
    that will create it
    >>>2. what is that gatway host and service.. Where can I find the gatway host and service for SAP R3
    host : check -> SAP logon
    gataway - sapgw + instance number
    (instance number -> SAP logon)
    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>
    Message was edited by: Michal Krawczyk

  • RFC Destination Seetings Problem between R/3 and XI System

    Hi...
    In my RFC to File Scenario I cant see the messages in MONI......
    When we create RFC destination through SM59.....we will fill gateway host and service
    of R/3......Then we Configure the RFC Sender CC and fill same Program ID, Gateway host & service of R/3.
    My doubt is,after this should I have to configure SM59 at XI side ???.....
    I am getting confused in this RFC Settings between R/3 & XI....Can u explain the flow correctly.....
    Please help me out.....
    Thanks,
    Sudheer.

    Hello Sudheer,
    1.Configure the Sender communication channel by giving the programId there,                    
    2.You need to create RFC Destination at Sender R/3 system pointing to PI, there you need to mention the programId, specified in Sender CC,
    3. In RFC destination you need to specify your XI system details for  Host/ServiceName nameand gateway service .
    Note: programId is case sensitive.
    No need to create any RFC Destination in XI system.
    check the following thread for further clarifications.
    Re: TCP/IP connection for RFC sender adapter
    Regards,
    Prasanna

  • Java WD cooncect to RFC in ABAP

    Hi,
    i'm having doubt about the way Java Web Dynpro should have or has to do, to connect to a RFC in Abap.
    do i have to use some special process?
    i appreciate the help, thanks in advance

    hi,
    follow the process..
    1.Right click the model and create a new model .
    2.select Rfc model.
    3. next screen will ask for R3 System detils.give the details.
    4. it will ask for two JCO connectyion give the name of JCO connection.
    5. now select your Rfc and click ok.
    6. now go to data modular and mapped the model to component.only mapped input node.it will contain both input and output.
    7. write the code now...
    1.bind the node to context.
    2.set the input values for rfc.
    3.execute the bapi.
    if u need any code and clarification please reply...

Maybe you are looking for