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

Similar Messages

  • Using same program-id in different RFC adapters

    Hi,
    I have the following question:
    Is it possible to use the same program-id in different RFC adapters for the same SAP backend?
    In gerneral, what are the naming-conventions or best practices for using program-ids for RFC adapters?
    Thanks for your answer!
    best regards,
    Hannes

    No,
    You should not use same program ID for different RFC adapters. It is recommended by SAP (check FAQ's on RFC).
    Although technically you can use but it gives you unpredictable behaviour based on connection pool.
    Regards,
    Satish

  • How to send mail using jsp program

    am very new to jsp and doing my final year project. i need to send mails using my jsp program.can anyone say wht to do that is wht to include to send mails using jsp program. n also a sample code to send mail using jsp program.
    Thanx in advance

    Use below script.
    <%@ page import="java.util.*, javax.mail.*, javax.mail.internet.*" %>
    <%
    Properties props = new Properties();
    props.put("mail.smtp.host", "mailserver.com");
    Session s = Session.getInstance(props,null);
    InternetAddress from = new InternetAddress("[email protected]");
    InternetAddress to = new InternetAddress([email protected]");
    MimeMessage message = new MimeMessage(s);
    message.setFrom(from);
    message.addRecipient(Message.RecipientType.TO, to);
    message.setSubject("Your subject");
    message.setText("Your text");
    Transport.send(message);
    %>{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Can we use same program ID for more than one RFC scenarios

    Hi experts,
                I am working on a RFC to FILE scenario. I have created one TCP/IP connection in SM59 with a program ID. Can we use this program ID for more than one scenario. I have written code as below
    data: iquote type standard table of ZIQMD initial size 0,
          IPRODUCT type standard table of ZPMS initial size 0,
          wa_quote type ZIQMD,
          wa_PRODUCT type ZPMS.
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER'
      TABLES
        I_QUOTE       = iquote          .
    CALL FUNCTION 'Z_CBT_RFC_QUOTEMASTER' in background task DESTINATION
    'ID4'
      TABLES
        I_QUOTE       = iquote          .
      COMMIT WORK.
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER'
      TABLES
        IPRODUCT       = IPRODUCT          .
    CALL FUNCTION 'Z_CBT_RFC_PRODUCTMASTER' in background task DESTINATION
    'ID4'
      TABLES
        IPRODUCT       = IPRODUCT          .
        COMMIT WORK.
    when i am executing the code like this. i am able to send the data to 'Z_CBT_RFC_QUOTEMASTER'  , but iam not getting data  for 'Z_CBT_RFC_PRODUCTMASTER'  interface. ID4 is the connection that i have created in SM59. with program ID as ABCD.
                  Can i use the same connection for all interfaces.Please help in this, if we can use same connection for all interfaces. then how to make changes in XI.
    Thanks in advance.
    Thanks & Regards,
    Poorna.

    Just tried this and I can confirm that my earlier understanding was correct!
    One of my colleagues confused me out and the conclusion is,
    1. You need a separate TCP IP Connection for every interface with a Unique program ID.
    Regards
    Bhavesh

  • Sender RFC comm channel    -   program ID

    Hi all,
    Short question:
    I have RFC to FTP scenario.
    Sender RFC channel needs a program ID.
    I created a TCP/IP RFC Destination in  <u>source SAP system</u> and specified in there the program ID i will use. However, when i try to test this connection, it throws folllowing error:
    <i>Logon                     Connection Error
    Error Details     Error when opening an RFC connection
    Error Details     ERROR: program SAD_TO_DXI not registered
    Error Details     LOCATION: SAP-Gateway on host xxxxxx / sapgw05
    Error Details     DETAIL: TP SAD_TO_DXI not registered
    Error Details     COMPONENT: SAP-Gateway
    Error Details     COUNTER: 6852
    Error Details     MODULE: gwr3cpic.c
    Error Details     LINE: 1694
    Error Details     RETURN CODE: 679
    Error Details     SUBRC: 0
    Error Details     RELEASE: 700
    Error Details     TIME: Wed Sep 26 17:21:55 2007
    Error Details     VERSION: 2</i>
    Could you please tell me how can i solve this?? and confirm this is the parameter i have to specify in the Sender CC??
    Thanks in advance and kind regards,
    David

    hi David,
    I guess the connection between R/3 and XI is not proper......
    Connection between XI and R/3
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Also check the program ID
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    Also check discussion
    Re: Why Program ID
    regards
    biplab
    Use a Good Subject Line, One Question Per Posting - Award Points

  • How to send fax using java programming

    i need to send files in my hard disk through fax using java programming.
    i have found on the internet that it is possible to be implemented by using java.comm API and JTAPI. however, i don't know how...does anyone can tell me the details? also, as i know it will be a big project to send fax using such API. is that any other simple way to implement the fax function in java? thx a lot!

    To cse.mahbub:
    Are you aware that you replied to a 5 1/2 year old question?
    Please don't do that. Reply only to current questions.

  • I use mail 4.5 on my macbook, is there a way to also use same program on my ipad?

    i currently use mail 4.5 on my mac book and now have the Ipad 3 , is there a way to use the same software for mail on both devices?

    No, you can either use the built-in Mail app, download an app from the store, or use a browser - you can't use a Mac program, they are different operating systems.

  • OSX Mail - Cannot send message using the server ....

    Hi there,
    Mac Pro with OSX 10.6.
    *Can receive mail, but can no longer send email* using the program Mail.
    Been getting the popup "Cannot send message using the server [shawmail.vc.shawcable.net] for the past 3 days. I hadn't changed anything about my computer, and have had the Mac for 2+ years. So this just started doing it on it's own.
    I had a technical support guy from my service provider even interface with my computer, where he could see my desktop right over the internet, and he couldn't get it fixed either.
    I googled this problem, and found solutions like:
    1. Uncheck "Use SSL" (Done that, and it was never checked "on" to begin with)
    2. Make sure Authentication is set to none, with no password (done that, and it wasn't set with a password to begin with)
    3. Delete [user]/Library/Preferences/com.apple.mail.plist (done that, didn't do anything)
    4. We even totally deleted my account, and started a new fresh one. Didn't work
    The tech support guy did show me a way to email online, using the same email account. That worked, but it's a hassle to go onto a web-based email program -- it's not my preference. So, with great certainty, it's not my service provider, because I was able to send emails on this web-based email program using my email account.
    So there, I'm stumped.
    Hopefully someone can help. What's bizarre is that googling this problem, I have found many other people that say it happens arbitrarily, out of nowhere.

    I can't believe how ridiculous this issue is. i have been searching for days for a solution to this. i have tried EVERY recommendation on these forums and nothing works. It appears that this issue dates back to TIGER. I had this problem back in January and just bagged figuring it had something to do with iweb. I bought a new html program and was able to send out my newsletter last month no problem. Suddenly, one month later- here i am again, unable to send out my newsletter with no help from Apple or verizon, or these forims, or anyone else. To think that a company that I have stood behind and loved so much can't be be bothered fixing such a simple issue that has been going on now through  5 OS's (I am using Lion but I had the issue using leopard as well)  is a disgrace.

  • SAP Scripts : Multiple Performs in same program

    dear All,
    I am working on SAP Script. I had user a perform statement and written a Code in Sub-routine. that works well, Now I have to use other perform to a carry other operation, Can I use same program, and Add new code to it or Create other program.
    I will try to explain more clearly ..
    PERFORM <b>GET_TEXT</b> IN <b>PROGRAM ZGET_STEXT</b>
    Using var1
    using Var2
    Changing Var3.
    Now if I tooo Add other perform to my Script.
    Can I use
    PERFORM <b>GET_STtext</b> IN PROGRAM <b>ZGET_STEXT</b>
    Using var4
    using Var5
    Changing Var6.
    and Add extra code to do extra operation for same ZGET_Stext program,
    Please advice me.
    Thanking you.
    With kind regards
    Venkat

    Thanks Rich & Sandip,
    I will get back if I have some problems,
    As I am worried about Int_cond Value.
    In first form I have assigned
    text = Sgtext.
    So I guess I have to clear int_cond and assign new value for second form .
    Am I right ??
    Thanks & Regards
    Venkat

  • XI scenarios using Sender RFC Adapter

    Hi Forum,
    I am eager to know what kind of XI scenarios use sender RFC Adapter, can u give an example,
    does this mean........executing a RFC in a R/3 system and the result of the execution goes to XI.....or,
    does this means, like a sender JDBC Adpter, from XI, triggering execution of a RFC on a R/3, and getting back the result into XI............
    can i have a step by step blog to create such a scenario....
    thanks and regards

    Hi Sudeep,
    Sorry for late reply.
    Yes the 2nd reply was for receiver RFC.
    1. As i mentioned To configure Sender RFC you need TCP\IP connection. in that connection you will use the option registered server program and will mention a program ID there.
    2. Sudeep just remember, please configure RFC sender on XI side first and give a Program ID there, gateway service, host and login of your R3 system. Program id can be any string your name also. and please dont forget to activate the channel before going to R3 side.
    3. Then configure RFC in R3 side, and mention that same program id. mention your gateway host as R3 name or IP and you can get the gateway service from Tcode smgw. it must be something like smgw<xx>.
    and for ur information the program id is nothing but an identity on which basis the R3 system will search that which server object is active using that program id.
    4. when you will write a report to execute that RFC in background,  use Commit work as last statement.
    Please let me know if you want any further information.
    Rewrds if found helpful,
    Regrds,
    Alok

  • Use diferent programs in two computers at the same time on creative claud?

    Hello, I wonder if it is possible to use different programs with the same license at the same time on two computers on creative claud?

    Yes.
    This is covered in the Getting started section of the Creative Cloud FAQ at http://www.adobe.com/products/creativecloud/faq.html.

  • How to send to multiple people using same port?

    I am trying to have one person send TWO audio sources to 10 others using same port- lets say 12345. I get "Can't open local data port:" error. The first audio is fine since I just use .addTarget(). Is there a way i can do the same for the 2nd audio source still using the same port? thanks!

    As far as I know, you should transmit using even-numbered ports, eg. 22222 and 22224.
    I think a port numbered 22223 and 22225 are opened respectively to handle control information.
    Could be wrong, but try it anyway!
    StHogan

  • How to send multiple customer statements by email using RFKORD11 program.

    Hi All,
    How to send multiple customer statements by email using RFKORD11 program. Is it possible?
    As of now we copied the stanadard program and sending the customer statements by email, one by one.
    if i execute the z program it will show the customer statement and send mail option.
    if i click send mail it will send that customer statement to the corresponding customer.
    then again i need to click back, it will show next customer statement and click on send mail.
    Pl guide me, if any one worked on this program.
    thanks in advance.
    Regards,
    Mahesh

    Try execute the program in the background to see if that helps.

  • Can we use same Business Service for Sender and Receiver

    Can we use same Business Service for Sender and Receiver

    Hi
    In addition to the above infomation explaining about the Business Service..
    Business Service: Address an abstract business entity as the sender or receiver of messages.
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    The business services are used when configuring cross-company processes also..
    regards
    Kishore

  • Use AO and AI in the same program

    Hello,
    I like write a program to use AO and AI in the same program.
    In this program write a timer a voltage to a AO port and after then it should read a voltage.
    I know how I write voltage to a AO port and read a voltage on a AI port, but not in a the same program.
    The read- and the write-Task, should work as soon as possible (<=1ms). 
    (My timer have 100us ticks) 
    what should I inilize for the PCI6229 card, to use AO and AI and in which order?
    Can I have a example or pseudocode?
    Best regards
    Heiko Mayer 

    Hi Heiko-
    There is very little overlap between the AO and AI examples, so you should be able to piece the code together pretty easily.  I would offer these suggestions:
    1.  These lines should only be executed once, and they should be done before any AI or AO specific initialization is done:
    configureTimebase (board);
    pllReset (board);
    analogTriggerReset (board); 2.  It does not matter which order you perform the AI or AO initialization, but I would recommend waiting to unground the AO reference (by   board->AO_Calibration.writeAO_RefGround (kFalse) until all of the AI and AO init is done.  This will help to avoid any glitching on the AO lines.  The only steps that should be saved until after ungrounding the reference are the Start operations for AI and AO (depending on the AO mode you use, there may not be a specific Start operation to call.  Consult the MHDDK examples for more info about the required steps).
    Hopefully this helps-
    Tom W
    National Instruments

Maybe you are looking for

  • Know a good Audiobook App???

    I have an audiobook on my computer that I transferred to my phone to listen to but the audiobook runs in the music program of the phone and it's difficult to navigate (rewind or FF) through the book.  If I close the program, the book starts from the

  • After update to iCloud 2.0, iCloud not working in outlook.

    After tonight's update to iCloud on my PC, the iCloud control panel tells me to "Repair the iCloud control panel to use with Outlook."  I've gone through the repair process 10 times, and it still doesn't work.  Clicking on Calendar or Contacts in Out

  • Affichage des références croisées

    Bonjour à tous, les références croisées que j'ai crées dans un nouveau document au lieu d'afficher le numéro de page affichent  <CM> d'après ce que j'ai lu, <CM>veut dire Calque Masqué !! or les calques utiles sont tous libres (non verrouillés). ou e

  • Problems with Mail following update to Leopard

    Hi... hope someone can help with this? I've recently updated my system to 10.5.4. Since doing so, Mail isn't displaying any messages in the folders, won't send or receive, and has to be force quit. The mail folder in the user library contains all the

  • Wallpaper on RDP sessions onn Server 2012

    Hi Like many organisations we set the wallpaper of our servers dependant whether they're live, test, or Dev. It's set by group policy. It works well and I'm sure it's stopped some unfortunate "reboot" scenarios. We've just started to introduce 2012 a