RFC Programming

Hello All,
I need you help regarding the RFC programming. My client wants me to transfer a table frm one sandbox to another. Also once this table is transferred then every night the change in sandbox 1 shud be transferred to sandbox 2 for new entries; And they have specifically asked me to use RFC programming. can you tell me how do i go about it?
thanks and regards,
Gaurva

Hi,
Write a report program in sandbox 2 using function module RFC_READ_TABLE and import parameter give the sandbox 1 table name and in destination give the RFC destination from sandbox 2 to sandbox 1. This function module will give you all entries in table from sandbox1,
Write a logic in your report program in sandbox 2,
first you select entries in sandbox 2 table comparing with table values you got thru fun moudle and update the same in sandbox 2
aRs

Similar Messages

  • JCO.Server Error while trying to execute a RFC program from SAP

    Hi,
    We are connecting to an external registered server program from SAP via Web Methods.
    The external server program is registered with the SAP Gateway. We have created a TCP/IP RFC destination and are able to connect to the destination successfully via SM59.
    An RFC function is created in SAP and is called using the syntax CALL FUNCTION "/NGN/BAPI_STRE_SEARCH_PROCESS" DESTINATION 'PRDB2B'. We have also handled the COMM_FALIURE and SYSTEM_FALIURE exceptions in the function call.
    We are monitoring the gateway via SMGW and see a connection log to the RFC destination as below
    Number - 10
    LUname - dev01
    TPName - sapgw00
    User - KRAORANE
    Status - CONNECTED
    Symbolic - PRDB2B
    Conversation - 86520353
    Prot - REG
    SAP return code - 0
    CPIC rtn code - 0
    The external program returns results as expected.
    However sometimes the RFC fails and returns the message “JCO.Server could not create server function /NGN/BAPI_STRE_SEARCH_PROCESS”.
    We are not able to figure what exactly is causing this error. Any help will be highly appreciated.
    -Kiran

    Hi,
    Please see the below links..
    JCO.Server Error while trying to execute a RFC program from SAP
    Re: JCO.Servcer could not find server function
    Re: JCO.Server could not find server function 'SET_SLD_DATA'
    /people/kathirvel.balakrishnan2/blog/2005/07/26/remote-enable-your-rfchosttoip-to-return-host-ip-to-jco
    Re: interfacing SAP with an existing java applications
    http://help.sap.com/saphelp_nw04/helpdata/en/47/80f671ee6e4b41b63c0fe46bd6e4f8/content.htm
    http://www.sapgenie.com/faq/jco.htm
    Regards
    Chilla..

  • Getting error in XI"RFC Program Not Found"

    Hi All,
    I am getting error in SXMB_MONI "RFC Program not found via SAP XI".
    So please suggest me what is the problem behind this..For these SAP XI and R/3 i made 3 to 4 RFC program but only 1 RFC program name not getting Via SAP XI.
    Thanks
    Amit

    Hi,
    I am calling RFC FM via SAP XI.
    Main Records are coming from siebel and recevied by SAP XI and XI will do some changes in records and calling REC FM from SAP R/3.
    Problem is siebel to xi records coming fine but xi to sap R/3 error message coming "Program not Found".
    Thanks
    Amit

  • Where can I get documentation or sample code for writing C++ RFC program?

    Hi all. I am trying to write a UNICODE C++ program that uses standard C++ classes. In addition, the header files that were generated by genh contain C++ class declarations from templates. The class that the template is based on is CAbapType.  I have several questions:
    1.  Where are the sapstring.hpp sapiostrm.hpp, etc... classes that are documented in the document sapucdoc.htm?  These are supposedly the header files that can be used to get access to C++ standard library functionality.
    2. Where is CAbapType defined? I am trying to use classes instead of the structures that were defined in the header file, but without the definition of CAbapType, my code won't compile.  The header file I'm referring to was generated by genh.
    3. I was able to write a C program that uses the structures define in header files generated by genh.  But when I attempt to compile the same code with the C++ compiler, I get all sorts of errors about how the use of cU is deprecated.  cU is the macor used to make Unicode coding easier. Anybody have any clues on how to solve that?  Thanks.
    Also, if there is any good documentation on how to write a C++ RFC program, can you please point me to it. So far, I have 1 RFC SDK document that is all about writing C code, but nothing abuot writing C++ code.  Thanks.

    I have the same problem. All of the xmp examples and comments in the SDK are great and all, but as far as I can tell, they only show you how to read from or write XMP to a buffer. The real magic here is how do I get data into and out of images??? I've been trying to find out how to identify an "APP1" marker in a jpeg file for a week now. It seems to me that Adobe just expects you to roll your own. If I could do that to begin with, then I'd just put my own xml based data in from the start...

  • BOEDGE - SM59 Connection RFC = Program Not Registered

    Hello,
    I installed on a server Windows Server 2003 SP1 32bit:
                   - BO Edge 3.1 (BuildVersion = 12.1.0.914)
                   - Java Connector 2.1.9
                   - Integration Kit for SAP 3.1 SP3 (BuildVersion = 12.3.0.601)
    I see on the CCM (Central Configuration Manager) my services correctly started:
              Apache Tomcat                     --      Running
              BW Publisher Service           --      Running
              Server Intelligence Agent      --      Running
    I installed on the BW server the transport order of BOBJ INTG for "BOBJ INTG for SAP XI 3.1 FixPack 3.1" (BuildVersion=12.3.1.684).
    I created a RFC connection type TCP/IP and test my new connexion and I have a error message:
    Connexion     Erreur connexion
    Détails err.     Error when opening an RFC connection
    Détails err.     ERROR: program BW_PUBLISHING not registered
    Détails err.     LOCATION: SAP-Gateway on host myserver.com / sapgw10
    Détails err.     DETAIL: TP BW_PUBLISHING not registered
    Détails err.     COMPONENT: SAP-Gateway
    Détails err.     COUNTER: 51016
    Détails err.     MODULE: gwr3cpic.c
    Détails err.     LINE: 1812
    Détails err.     CODE RETOUR: 679
    Détails err.     SUBRC: 0
    Détails err.     RELEASE: 700
    Détails err.     TIME: Fri Sep -
    Détails err.     VERSION: 2
    An idea?

    Hi,
    In Central Management Console ie, Admin application of BOE, you need to configure the BW system. Use the below URL,
    http://<serverhostname>:<port>/CmcApp
    After logging in Select the Authentication and SAP as authentication type.  Regarding how to configure, follow the configuration steps mentioned in the below article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a00ee3b2-5283-2b10-f1bf-8c6413e0898f
    Once you import the roles with the above configuration, the user with which you are validating the RFC connection will be imported in the BOE.
    Now, verify the RFC in the BW system.
    Regards,
    Noor.

  • Idoc - XI - File scenario:  R3 RFC Program Not Registered

    I have been going through all of the outbound idoc guides and other forum messages, but still cannot figure out how to get my rfc registered.  This is my SM58 error on R/3.
    Connection error        program SAPXI_IDOC not registered / CPI-C error CM_ALLOCATE_FAILURE_RETRY.
    I have SM59, IDX1, and IDX2 set up on XI, but cannot get them registered.  Is there some sort of activation or cache refresh I need to do?
    More details-
    (my R/3 system is RD0-120 and my XI system is XD0-110)
    R/3 TCP RFC: SAPXI_IDOC
    R/3 tRFC Port: SAPXI_IDOC
    R/3 BD54: RD0120 and XD0110 are set up (wasn't sure which system)
    XI SM59:RD0120 (tests ok)
    XI IDX1:SAPRD0 (client of 120, RFC destination of RD0120)
    XI IDX2:(SAPRD0 metadata, my 2 idoc types, and client 120)
    Thanks

    Hi Keith,
    >>>R/3 TCP RFC: SAPXI_IDOC
    why did you call tcpip connection IDOC?
    you have to use R3 type connection
    in order to send idocs to the XI
    you don't need tcpip - so delete it and try again
    Regards,
    michal

  • RFC - Program Id

    Hi,
    My scenario is R/3 to Webservice (synchronous scenario).  I have created a custom function module which is remote enabled.  In RFC Sender Adapter, I used the same program id which I entered in the RFC destination.  In my source R3 system, I am able to login remotely using the test connection.  So the RFC destination between the R/3 and XI system is fine.
    I checked the SMGW to check the logged in clients.  I could see the host and program id in the list.
    But when I execute the RFC in the R/3, it's giving a short dump.  It says The 'destination' "wbser" for a Remote Function Call is unknown.  I also checked ST22 to analyse the short dump.  It didn't return anything.
    I also paste the code here:-
    REPORT  Z_WEBSERVICE_GETDATA.
    data: lv_data type char10.
    CALL FUNCTION 'Z_WEBSERVICE_TEST' destination 'wbser'
    EXPORTING
      FROMCODE        = '0001'
      TOCODE          = '0999'
    IMPORTING
      DATA       = lv_data.
    write : 'Data is : ' , lv_data.
    Can anyone suggest how to fix this.
    Krishnan

    Hi Jai,
    >>1. wbser is the name of the RFC destination of type T.
    yes
    >>2. wbser points to the same R/3 and not XI.
    yes
    >>3. wbser contains the same program Id(case sensitive) as mentioned in cc.
    yes
    >>4. CC and corresponding sender agreement is active in ID.
    yes
    Regards.
    Krishnan

  • Validations in RFC Programming

    i have to add a field by name (vendor reference) in RFC Table and that should be an optional field and the validations that i have to do is that
    The entered value should exist in the table LFA1 and in the field LIFNR (LFA1-LIFNR) or the entered value should me a text with"NO-ALLOC"
    Otherwise it should show an error,
    Please provide me the code and i have to write the code in RFC's

    Hi,
    say the field name in RFC is V_LIFNR
    If not V_LIFNR is initial and ne 'NO-ALLOC'.
    select single LIFNR from LFA1
    into l_lifnr where lifnr eq v_lifnr.
    if sy-subrc ne 0.
    RAISE NO_DATA.
    endif.
    endif.
    In EXCEPTIONS tab, mention NO_DATA.
    Best regards,
    Prashant

  • RFC -programing to send table from one SAP box to other

    can some one share info on how to communicate data between two SAP boxes through RFC

    Hi,
    Goto SE 37. Create a RFC by selecting RFC in the Attributes. Enter the IMPORT/EXPORT/TABLES parameters.
    Build the logic and activate it.
    Now in the another system.
    Logon to the same system/client. Call the RFC with the data. Import the return data.
    If you want more details, please let us know your requirement in detail.
    Best regards,
    Prashant

  • Gateway registration of RFC program note 63930

    Hello,
    I'm trying to register a program as explained in note 63930. After running
    rfcexec -atest -gHOST -xsapgw00, on the SAP server nothing happens. I still
    can't see the registered program in SMGW->Logged on clients.
    Are there any actions that I need to execute for the program to be registered ?
    Please advice,
    Dimitry Haritonov

    I am caught with the same problem. I am trying to register a program which is running on another server. Unfortunately, I get the error message, 'Program not registered'. I performed the same steps as explained by Dimitry but, I am not seeing the entry for this program under the logged on clients under SMGW transaction.
    I also read from the other thread answered to Dimitry's question. It was explained that when the rfcexec command is executed, the command will keep running until we manually terminate. But, in my case (similar to Dimitry), I don't see the command running. The command immediately terminates without any error message and prompts with the command prompt again. Yes, I had the problem with the "SERVER_EXEC" and once the problem was corrected as suggested in the other thread, "SERVER_EXEC" is working fine. But still, I don't see the entries under logged on clients under SMGW for this program.
    Any suggestion in the right direction is highly appreciated.
    Thank you.

  • Error 'Program not registered' while testing RFC - SRM to MDM / TCP/IP conn

    Hello All,
    While testing RFC connection in SRM, we are getting this error. This connection between SRM to MDM. Any inputs will be highly appreciated.
    Error Details LOCATION: SAP-Gateway on host <hostname> / sapgw<instance no>
    our server OS : windows 2008 server
    We are getting error while doing connection test in SRM.
    This is sm59 connection (TCP/IP ) connection.
    Connection Type: T / RFC destination Name: MDM_API_CATALOG
    Registered server program: hostname.MDS
    I checked smgw transaction ..Logged on clients...Program id is not showing. Any hint will be helpful.
    I Checked this MDM setup also.
    MDS setup
    In mdm server go to folder F:\usr\sap\DM1\MDS00\config
    Open MDM.ini file in notepad
    Add the below 2 entries.
    SAP RFC Gateways= GWHOST=XXXX.hostnamexxx.xxx GWSERV=sapgw00
    Trusted SAP Systems= XXD
    This will enable gateway connection between SRM and MDM and will enable trusted connection.
    For trusted connections to work, we created a service user called SRM_MDM_API with SAP_ALL in SRM  and also created the same user in MDM with Default role.
    Error message:
    Logon  Connection Error
    Error Details    Error when opening an RFC connection
    Error Details    ERROR: program XXXXXXXXPRD.MDS not registered
    Error Details    LOCATION: SAP-Gateway on host XXXXXXXXprd.xx.xxxxxxhostname.xxx / sapgw00
    Error Details    DETAIL: TP XXXXXXXXPRD.MDS not registered
    Error Details    COMPONENT: SAP-Gateway
    Error Details    COUNTER: 77326
    Error Details    MODULE: gwr3cpic.c
    Error Details    LINE: 1778
    Error Details    RETURN CODE: 679
    Error Details    SUBRC: 0
    Error Details    RELEASE: 700
    Error Details    TIME:
    Error Details    VERSION: 2
    Procedure Tried
    1)  This procedure is for Linux OS - Similarly we tried in Windows OS ( If any procedure is wrong also, Please correct us)
    To register the program login into the OS level as sudo su u2013 <sid>adm and execute the following command.
    rfcexec u2013g<program id> -a<gateway host name> -x<gateway service>
    rfcexec is the server program name, the <program id> can be obtained from SM59, it is case sensitive and should match with the entry in SM59. The <gateway host name> and <gateway service> can be obtained from the transaction SMGW. When this command is executed it goes to a hanging loop.
    The connection will fail once this command is terminated or the user executing this command logs off
    2)
    To avoid this, instead of using the above mentioned command an entry should be made in the file saprfc.ini
    To do this, execute the following command
    sudo su u2013 <sid>adm
    rfcexec u2013D<destination name>
    <destination name> is the RFC destination name in SM59
    In order to do above step 2,  we could not find saprfc.ini in windows 2008 server. Please let us know path where it will be usually?
    3) Already checked the notes sapnote_0000684841
    I know that it is generic error..This is happening to specific one of system only.
    Thanks
    Edited by: saptest2011 on May 20, 2011 5:36 PM

    Hello SM,
    Thanks for your quick reply.
    Thanks for sharing link for document ie Configure the MDM Administration_cockpit. It is helpful. I read that document.
    But still issue remain there.
    The same RFC connection works between SRM sandbox to MDM sandbox.
    Only issue with SRM Prod to MDM Prod (newly built system)
    difference between MDM Prod and MDM sandbox.
    MDM Prod runs: Windows server 2008 OS
    MDM Sandbox runs: Windows server 2003 OS
    Landscape: PI7.1, MDM 7.1 and SRM 5.5, SRM-MDM Catalog 3.0
    Even i did os01 tcode ping test using host name (specific IP address) from SRM prod to MDM prod, it is fine.
    Thanks a lot for your help.
    I checked these notes also
    Note 353597 - Registering a server program
    Note 44844 - No connection to registered RFC program
    Note: in smgw tcode in SRM system, the required program id is not showing in logged on clients
    Thanks
    Edited by: saptest2011 on May 23, 2011 5:00 PM
    Edited by: saptest2011 on May 23, 2011 5:39 PM

  • RFC error: transaction program not registered

    Hi gurus,
    I am facing one issue with RFC connection.
    I am creating one TCP/IP connection from ECC 6.0 (windows 2003) to EHS/WWI application. i am getting following error when i am doing connection test.
    error: Program <PROGRAM ID> not registered.
    Then i tried to register the program by running the following command at OS level.
    rfcexec u2013a program_ID u2013g ######id  u2013x sapgw00
    But still the error persists.
    Please guide me. also does this command creates entry in saprfc.ini file? i have tried adding it manually in that file also.

    I think you need change Activation Type Radiobutton.
    I believe that you have checked "Registered Server Program", and with this flag you have to identify a registered RFC program. With an SAP gateway, an RFC server program can be registered under this ID and then wait for RFC calls from different SAP Systems.
    Type T destinations are connections to external programs that use the RFC API to receive RFCs.
    If it is Start, you must specify the host name and the pathname of the program to be started.

  • Help with RFC sender, Program And RFC Destination

    Hi!!
    my scenary is asynchronous
         RFC Sender -> SAP-XI -> Oracle reciever
    I have a problem with abap, especially rfc, program and rfc destination. The connection with SAP-XI exist and SAP-XI  receive the message but the message is empty.
    1. In my program on the line
              CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
              catch an error system_failure = 2 and it dont execute the rfc ZBAPI_SD_PED_ORD_SERVIC
    2. I rewrite my program, that line to
              CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' STARTING NEW TASK 'NEW' DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
              catch an error communication_failure = 1 but the rfc ZBAPI_SD_PED_ORD_SERVIC is executed but no send to SAP-XI
    3. I rewrite my program, that line to
              CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' IN BACKGROUND TASK DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
              No error but it dont execute the rfc ZBAPI_SD_PED_ORD_SERVIC and the message in SAP-XI is empty, display the tables but not the row. i check the table PED_ORDEN and RETURN but the controls fields dont are afected.
    What is my Error?
    Where am i making a mistake?
    RFC
    FUNCTION zbapi_sd_ped_ord_servic.
    *"Interfase local
    *"  TABLES
    *"      PED_ORDEN STRUCTURE  ZSD_RFC_T04
    *"      RETURN STRUCTURE  ZSD_RFC_R06
      TABLES: zsd_ped_orden, zsd_rfc_r01.
      DATA: tb_ped_orden LIKE zsd_ped_orden  OCCURS 0 WITH HEADER LINE,
                     tb_rfc_orden_error LIKE zsd_rfc_r01 OCCURS 0 WITH HEADER LINE.
    *Get Pedido by Ordenes
      SELECT  *  INTO CORRESPONDING FIELDS OF TABLE tb_ped_orden
              FROM zsd_ped_orden
              WHERE estatus  EQ  space.
      LOOP AT tb_ped_orden.
        MOVE-CORRESPONDING tb_ped_orden TO ped_orden.
        APPEND ped_orden.
        tb_ped_orden-estatus = 'X'.
        tb_ped_orden-fecha_actualiz = sy-datum.
        tb_ped_orden-hora_actualiz = sy-uzeit.
        MODIFY tb_ped_orden.
      ENDLOOP. 
      MODIFY  zsd_ped_orden FROM TABLE tb_ped_orden.
      COMMIT WORK.
    *Errors in Ordenes
      SELECT  *  INTO CORRESPONDING FIELDS OF TABLE tb_rfc_orden_error
              FROM zsd_rfc_r01
              WHERE estatus  EQ  space.
      LOOP AT tb_rfc_orden_error.
        MOVE-CORRESPONDING tb_rfc_orden_error TO return.
        APPEND  return.
        tb_rfc_orden_error-estatus = 'X'.
        tb_rfc_orden_error-fecha_actualiz = sy-datum.
        tb_rfc_orden_error-hora_actualiz = sy-uzeit.
        MODIFY tb_rfc_orden_error.
      ENDLOOP.
      MODIFY  zsd_rfc_r01 FROM TABLE tb_rfc_orden_error.
      COMMIT WORK.
    ENDFUNCTION.
    PROGRAM
    REPORT  ZBAPI_SD_PED_ORD_SERVIC.
    DATA: ped_orden LIKE ZSD_RFC_T04 OCCURS 0 WITH HEADER LINE,
          return LIKE ZSD_RFC_R06 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'ZBAPI_SD_PED_ORD_SERVIC' DESTINATION 'ZXI_ENVIAR_PED_ORD_SERVIC'
         TABLES
              ped_orden             = ped_orden
              return                = return
      EXCEPTIONS
        communication_failure = 1
        system_failure        = 2
        OTHERS                = 3.
    IF sy-subrc <> 0.
      MESSAGE 'error' type 'I'.
    ENDIF.
    COMMIT WORK.
    RFC DESTINATION
    RFC Destination: ZXI_ENVIAR_PED_ORD_SERVIC
    Connection TYpe: TCP/IP Connection
    Register Server Program: ZBAPI_SD_PED_ORD_SERVIC
    Gateway host: host00
    Gateway service: sapgw00

    hi
    For rfc sender adapter we hv to do some settings .Please chk whether this settings are well configured or not.
    a) RFC destination
    b) RFC channel in the XI directory
    This weblog is a response to a few question about the basic configuration of the RFC sender adapter
    that were posted on the XI forum (and also on my e-mail)
    So here we go, basically we have to configure 2 things:
    a) RFC destination
    b) RFC channel in the XI directory
    RFC destination:
    1. To create the RFC go to TCODE: SM59
    2. Create new destination of type T (TCP/IP)
    3. Make sure you select Registered Server Program option before writing your program ID
    4. Write you program ID (remember it's case-sensitive)
    5. In the gateway host and gateway service write the values of your "Application system" - business system (not the XI server)
    7. No configuration in the J2EE administrator nessecary
    Now we can proceed to RFC channel configuration:
    1. Enter your Application Server
    2. Your Application Server Service
    3. Enter your Program ID from the RFC destination
    And we're done:)
    Now you can test the RFC destination in SM59 to see if it works.
    Please chk this following link.
    1. RFC Processing with the RFC Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/25/76cd3bae738826e10000000a11402f/content.htm
    2. Configuring the Sender RFC Adapter -
    http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm
    3.  /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    regards
    Manas

  • Multipe Sender RFC using same Program ID

    Hi all,
    I have RFC>XI>HTTP scenario. All confiruation has been done in R/3 and XI has ben done correctly.
    Is it possible to use the same TCP/IP port Program ID created in SM59 (in R/3) for sending different RFC messages to XI. Meaning, in different XI RFC sender adapter communication channels, can I use the same Program ID.
    When I tried, it work for one RFC, but when multiple RFC sender adapter uses same program ID..RFC program errors out in R/3 itself with error message - Commit fault: com.sap.aii.af.rfc.afcommunication.RfcChannelMismatchExcept.
    Please help.
    Thanks
    Karthik

    Karthik,
    It is possible to send different messages from R3 to XI that use the one RFC destination and Program ID (in R/3) and the one Communication channel (in XI)
    Assume that interfaces AAA and BBB have different structures
    <u><b>SAP R/3</b></u>
    <b>For interface AAA</b>
    (1)     Execute ABAP Z_AAA which
    (2)     Populates the internal table ITAB_AAA with structure ZST_AAA
    (3)     Calls the remote enabled function ZFN_AAA
    (4)     Passes the interface data in the tables statement
    CALL FUNCTION 'ZFN_AAA' DESTINATION RFCCOMMON
             EXPORTING
                  … … …         = … … …
             IMPORTING
                  … … …         = … … …
             TABLES
                  AAA           = ITAB_AAA.
    <b>For interface BBB</b>
    (1)     Eexecute ABAP Z_BBB which
    (2)     Populates the internal table ITAB_BBB with structure ZST_BBB
    (3)     Calls the remote enabled function ZFN_BBB
    (4)     Passes the interface data in the tables statement
    CALL FUNCTION 'ZFN_BBB' DESTINATION RFCCOMMON
             EXPORTING
                  … … …         = … … …
             IMPORTING
                  … … …         = … … …
             TABLES
                  BBB           = ITAB_BBB.
    Each function is called with the same destination RFCCOMMON
    In SM59 point the RFC destination RFCCOMMON to your XI environment and provide a program id, for example ID_COMMON
    <i><b>XI</b></i>
    <b>(1) Configure the sender RFC Communication Channel</b> for example CC_COMMON and enter your SAP R/3 server parameters to include the program id ID_COMMON
    <b>(2) Configure the Receiver Determinations</b> as follows
    For interface AAA
    Sender Service     Enter your SAP R3 Business System for example R3PROD Interface          ZFN_AAA (this is the SAP R/3 remote function)
    Namespace          urn:sap-com:document:sap:rfc:functions
    Configured Receivers     
    Service               Integration Process AAA
    For interface BBB
    Sender Service     Enter your SAP R3 Business System for example R3PROD
    Interface          ZFN_BBB (this is the SAP R/3 remote function)
    Namespace          urn:sap-com:document:sap:rfc:functions
    Configured Receivers     
    Service               Integration Process BBB
    <b>(3) Configure the Sender Agreement</b> as follows
    For interface AAA
    Sender Service     R3PROD
    Interface          ZFN_AAA
    Namespace          urn:sap-com:document:sap:rfc:functions
    Sender CC          CC_COMMON
    For interface BBB
    Sender Service     R3PROD
    Interface          ZFN_BBB
    Namespace          urn:sap-com:document:sap:rfc:functions
    Sender CC          CC_COMMON
    Regards,
    Mike

  • XI Scenario synchronous RFC (ABAP program) over XI to C program Receiver

    Hi experts,
    I have a synchronous RFC-Call between an SAP System (Sender) and an C-programm (Receiver). But now XI should become a part of this scenario. 
    Regarding this I have a few problems to include XI.
    1. SENDER:
    I have an abap application which calls a function module and send the data over synchronous RFC to XI. 
    e. g. call function 'FM_XYZ'  DESTINATION 'RFC_SENDER'
            exporting PARAMETERS
            importing PARAMETERS
            changing TABLES.
    Whis this part I have had no problems. But I have problems on my receiver side.
    2. RECEIVER:
    As receiver I have a server, where only a C-program starts a process and register the RFC Program on server side. The program is now waiting for requests. How can be called this C-Program on XI side.
    So could anybody help me. Thank you.
    Regards
    Mario

    Hi Ravi,
    thanks for your fast reply.
    In our current RFC Szenario (without XI)
    1. In SAP side we have configured a TCP/IP connection
    2. On C program side we start the C-program as follows:
    We start a File which contains  the name of c-program.exe RFC-Program-ID gateway. Then the RFC destination is registered on external Server side.
    By using the Testing connection feature on SAP RFC (SM59) the RFC-connection works fine.
    3. But now this scenario should be displaced by the XI scenario. Is it possible to use on receiver side a RFC-ADAPTER which calls an external RFC server.
    Regards
    Mario
    Message was edited by:
            Mario Bauer

Maybe you are looking for