Blogs

Michal_Krawczyk_PIXI

Configuring the Sender RFC Adapter - step by step
Michal_Krawczyk_PIXI Active Contributor Platinum: 2,500+ points
Business Card
Company: Freelance with int4
Posted on Mar. 29, 2005 10:39 AM in SAP Process Integration (PI)

Subscribe.Subscribe
Print. Print
Permalink Permalink
Share
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)

image

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

image

And we're done:)
Now you can test the RFC destination in SM59 to see if it works.

Further Reading:

1. RFC Processing with the RFC Adapter - help.sap.com

2. Configuring the Sender RFC Adapter - help.sap.com



Michal_Krawczyk_PIXI  Active Contributor Platinum: 2,500+ points is an expert SAP contractor consultant with int4.com, several time Top Contributor (and Topic Leader)in SAP PI/XI area, SAP Mentor from 2008 and an author of a SAP Press book: "Mastering IDoc Business Scenarios with SAP PI" and Genie Press book: "The Essentials on SAP NetWeaver Process Integration" and he also wrote many ( >100 ) articles about SAP PI/XI on SDN and magazines like: SAP Professional Journal, SAP CRM Expert Online, SAP SCM Expert Online, SAP HR Expert Online, SAP Solution Manager Expert Online.


Comment on this article
Comment on this weblog
Showing messages 1 through 24 of 24.

Titles Only Main Topics Oldest First

  • Load balancing business system
    2009-05-15 02:27:05 Ciba D Application-Development Business Card [Reply]

    Hi,


    thanks for this nice explanation!


    In our environment however we face the situation, that we have a business system with load balancing, i.e. multiple application servers/gateways. How can we configure for this situation, without relying on a specific gateway (the configured one) to be up?


    Many thanks in advance for any hints
    Jochen Müller

  • Configuring RFC to XI conector
    2008-08-22 16:20:22 Marcela Leon Business Card [Reply]

    Once I get the tx. SM59, just how the blog says, I´m getting the error: Program XXXX Not Registered.
    I´m using in the program ID field this anything 'CNT_SAP_XIPI' .
    I thing there is an step before, to register this program or Do I have to use anything SAP standar that I can get in service.sap.com?


    I also reading something similar for LDAP connector about to register at the local gateway, how do I get to do that for XIPI, some body knows?



  • Following Error Occuring.plz help me
    2008-07-30 09:11:24 karthikeyan l Business Card [Reply]

    Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/'bs_xml_file_sender'/'cc_sender_distance', lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'ID1#800' returned party/service of ''/'BS_IDES')
  • Exception when activating RFC Sender CC
    2007-01-11 04:26:28 Wolfgang Moser Business Card [Reply]

    Hi Michal!


    I understood the concept - what we did is, we registered in JCO a unique program id of XI server for our backend system serving as sender RFC gateway.


    On the backend we call the RFC with destination pinting to the JCO


    In the sender adapter I configured the application server gateway correspondingly and when activating the CC I get the following exception - do you have an idea? ( we already did the full CPACache refresh )


    Could not load class com.sap.guid.GUID with classloader com.sap.engine.core.service630.container.ComponentClassLoader@15f1ace@service:jms_provider, will try ObjectStreamClass.forClass() instead.
    [EXCEPTION]
    java.lang.ClassNotFoundException: com.sap.guid.GUID


    Found in negative cache


    ------------------------- Loader Info -------------------------


    ClassLoader name: [service:jms_provider]


    Parent loader name: [Frame ClassLoader]


    References:


    library:tc~jmx


    library:jms


    library:core_lib


    library:com.sap.util.monitor.jarm


    service:timeout


    common:service:iiop;service:naming;service:p4;service:ts


    common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore


    service:memory


    interface:security


    interface:shell


    interface:visual_administration


    interface:log


    Resources:


    E:\usr\sap\XDS\DVEBMGS00\j2ee\cluster\server0\bin\services\jms_provider\sapjms.jar


    Loading model: {parent,local,references}


    • Exception when activating RFC Sender CC
      2007-09-28 01:17:40 Vinay Yadav Business Card [Reply]

      Hi friends,
      In my scenario CRM-XI using RFC .I am facing a probem when I trigger the RFC from CRM it gives an error System Failure.
      Can someone provide me some inputs on that.Why Its happening.


      In XI .


      1. In design part I imported the rfc as source structure .
      2. In out bound interface


      In my scenario CRM-XI using RFC .I am facing a probem when I trigger the RFC from CRM it gives an error System Failure.
      Can someone provide me some inputs on that.Why Its happening.


      In XI .


      1. In design part I imported the rfc as source structure .
      2. In out bound interface i am taking RFC response.
      while triggring the RFC in CRM se37 it gives me an error that System Failure.


      Could you please provide me some inputs on that I hacve already gone through you blog on RFCdestination.


      Thanks & Regards,
      Vinay Yadav

  • RFC Destination on XI or R/3?
    2006-05-23 15:45:30 Henrique Pinto Business Card [Reply]

    Michal,


    I'm trying to configure a R/3 -> XI -> SOAP scenario. In the first part, I'll need to configure a RFC Sender Adapter in XI to receive data from a RFC in R/3. I had read on SDN Forums that the RFC Destination had to be created in the R/3 environment, not in XI. But your weblog seems to imply the contrary. Which is correct?

    • RFC Destination on XI or R/3?
      2006-05-23 22:24:08 Michal Krawczyk Business Card [Reply]

      hi Henrique,


      you need to read my weblogs a not watch them :)
      I just use a new gui colours


      Regards,
      michal

      • RFC Destination on XI or R/3?
        2006-05-24 07:04:36 Henrique Pinto Business Card [Reply]

        Sorry Michal, but I'm still missing the part where you say it's on R/3. Afterall, TX SM59 is also available at XI, isn't it?


        Thanks for the quick reply!

        • RFC Destination on XI or R/3?
          2006-05-24 07:10:29 Michal Krawczyk Business Card [Reply]

          do it in the r,3 :)


          btw
          please post on the XI forum


          Regards,
          michal

          • RFC Destination on XI or R/3?
            2007-03-06 21:58:41 Ravichandran Kanagasabai Business Card [Reply]

            Hi Michal,


            I have confirmed RFC Sender Adaptor as per the your sdn forum. It is very good.


            i have couple of question.
            1. How to get the data from R/3 whether we have write some programe and schedule it?
            2. XI will pull down the data from r/3.



            Regards
            Ravichandran K

          • RFC Destination on XI or R/3?
            2007-03-06 21:56:55 Ravichandran Kanagasabai Business Card [Reply]

            Hi Michal,


            I have confirmed RFC Sender Adaptor as per the your sdn forum. It is very good.


            i have couple of question.
            1. How to get the data from R/3 whether we have write some programe and schedule it?
            2. XI will pull down the data from r/3.



            Regards
            Ravichandran K

  • RFC Sender Config
    2006-02-28 14:15:10 Kirk.A. Miller Business Card [Reply]

    How do you determine your program ID? Can you please explain the process for defining this or locating where it is?
  • writing RFC for sender r/3 system
    2005-09-01 04:11:30 Gopesh Agarwal Business Card [Reply]

    Hi,
    I am trying to send some rows of data from a custom zcust_table using RFC to SAP XI and then moving all records to SQLServer database.


    RFC destination : ok
    configuration in RFC sender adapter : ok
    in sxmb_moni : i am not able to see the desired message in inbound payload.
    can you guide me in this regard.

  • Problems with RFC Metadata
    2005-07-20 08:53:45 Frank Kling Business Card [Reply]

    Hi Michal,
    I'm trying to build up your little example, but when I try to create a channel configuration the field for Sender is grey. I looked up the adapter metadata in the Integration Repository in namespace http://sap.com/xi/XI/System and there is nothing under the node Inbound.
    I imported a new RFC metadata, but this one is without values. Any idea what I can do and what went wrong with my XI.


    Thanks, Frank

    • Problems with RFC Metadata
      2005-07-26 06:21:46 Meinhard Dirk Business Card [Reply]

      Hello,


      don´t know if this simple idea helps with your problem with the greyed sender button.
      At first you need to choose the adapter type (here: RFC) directly above the two buttons for sender and receiver. Then you are able to define if the comm.channel is sender!


      regards
      Dirk


Showing messages 1 through 24 of 24.