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

Similar Messages

  • 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

  • In Bte can i use same Product for 2 different process

    in Bte can i use same Product for 2 different process

    hi
    as per i know yes but since there r two type of interface behaviour is defferent .
    For
    Publish & Subscribe interfaces 
    if any event occur in this type both the process can work simultaneously and they will not intervene each other
    whereas in
    Process interfaces
    at an time any one process can be active.
    Reward if usefull
    Cheers
    Snehi

  • How to Use Same Asset Number with Different Sub-number

    Hi
    We want to sell some assets and buy them back on lease. We want to use same Asset number with different sub-number under the same company code. This new asset will be under different Depreciation Area (Statistical).
    We use external numbes for assets . And same asset number range is used by all compnay codes.
    Please suggest whether this is possible & how.
    With Regards,
    Nitin

    Hi,
    Go to field status for asset master data section and change the field status to optional for field Deactivation date, then follow the below steps.
    You can create an sub asset number to an asset, which is already deactivated by retirement as like normal sub asset creation with AS11.(While creating sub number, you need to remove cap date and deactivate dcate field manually from asset master)
    With this you can get new asset number as same as your old retired asset main number and but sub number will be different.
    To post to diff dep area, other than 01, then you first create an acq transaction type, which will post only to specific areas and then use the new asset number in ABSO to post acq with your custom TTY.
    I have tested and found working well in my system............Try now in your test client
    Thanks,
    Srinu

  • Can we use same number range for different  fields

    can we use same number range for different  fields. how can we see the number range defined for a particular field

    Hai,
    Yes you can have same number range for different fields  by using the same domain to the data elements that are user to your two fields.
    To see the range:
    Go to SE11,Type table Name open it-->double click on the DataElement adjasent to the field name ,You will get Domian ,Double click on Domain You will get Domain.There See Value range option .Value range cam also be defined by Value Table which will also at the Doamin level.
    <b>Reward points if it helps you.</b>
    Regds,
    Rama.Pammi

  • 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

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

  • How to use same DFF for two different forms with :BLOCK.field reference

    Hi,
    Can anyone suggest how to use the same dff in two different forms by using :BLOCK.field reference.
    Scenario is the same DFF is referenced by two forms, viz. Form-1 & Form-2.
    Form-1 Reference Field is :BLOCK.field name, but the same block is not available in Form-2, which throws an error while opening it.
    Any pointers please.
    Thanks,

    In the environment I currently have access to do not have similar setup.
    Let say you setup the DFF1 default value to $HEADER.customer_name, the name of the DFF is CUSTOMER_NAME, description can be anything.
    In DFF2, default value should be a SQL, where you can reference the DFF1. For example, SELECT DECODE($FLEX.CUSTOMER_NAME, 'ABC', 1, 'DEF', 2, NULL) FROM dual
    In this case, you can reference the DFF1.

  • Can we use same SOAP ACTION in different environments?

    Hi All,
    I have a doubt.
    Can we use same SOAP Action URL in different environments i.e suppose say Quality, Production and Pre production.And the Target URL is different in both environments.
    If yest what is the impact in different environment.

    Hi ,
    SOAP action is nothing but operation/method in webservice .
    Usually at end system end as a good practice/std they will maintain the same soap action name in all their environments,but it's always better to cross check url and soap action with end system folks before configuring in PI .
    We have faced an issue in production some time back ,at target system end they upgraded their server and used new wsdl which is almost similar to existing but one of the operation they duplicated by adding few addition fields but forgot to inform PI system.Though we are using new wsdl but pointed to old soap action .Interface got failed in PROD after investigation we come to know that we are using wrong soap action
    Regards
    Venkat

  • Using same string indicator in different stacked sequences

    Hi guys, I want to use the same string indicator in different stacked sequences. I tried to wire the output of every string constant through the sequence to my string indicator outside the sequence block but then I get an 'Wire connected to an undirected tunnel' error. What is the best way to use the same indicator for all the sequences?
    Solved!
    Go to Solution.

    GerdW wrote:
    GerdW wrote:
    @TiTou:
    Problems with copy&paste?
    not even :-o
    GerdW wrote:
    @TiTou:
    Problems with copy&paste?
    not even :-o
    see : http://forums.ni.com/t5/Feedback-on-NI-Discussion-Forums/Text-lines-and-images-get-duplicated-when-I...
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Is it possible to use same sap script for different comp code with difflogo

    I have 3 company codes. I need to use same sap script to all  but each company code has different logo. I dnt want to go for 3 different sap script. Is it possible to change in coding
    like this
    If comp code = '100'
    print ' logo1'
    If comp code = '200'
    print ' logo2'
    If comp code = '300'
    print ' logo3'
    in same sapscript.If yes how ?

    Hi,
    Yes you can do it.
    In Sap Script use:-
    /: If Comp code='100'
       INCLUDE ZHEX-LOGO100 OBJECT TEXT ID ST LANGUAGE EN
    /:Elseif comp code = '200'
    INCLUDE ZHEX-LOGO200 OBJECT TEXT ID ST LANGUAGE EN
    /:Else
    INCLUDE ZHEX-LOGO300 OBJECT TEXT ID ST
    LANGUAGE EN
    /:Endif
    I hope this helps,
    Regards
    Raju Chitale

  • Using Same sql file in different database

    Hi ,
    I need to use same sql file which contains table ddl for sybase as well as oracle .
    here If the db is sybase should run sybase ddl only and visa-ver.
    Please help
    Regards

    Its already there, but you have any though on same file please write.My thoughts is that it sounds like a bad idea. Do you have a particular reason for wanting this in a single file?

  • Can i use same address pool for different remote access VPN tunnel groups and policy

    Hi all,
    i want to create a different remote access VPN profile in ASA. ihave one RA vpn already configured for some purpose.
    can i use the same ip address pool used for the existing one for the new tunnel-group (to avoid add rotuing on internal devices for new pool) and its a temporary requirement)
    thanks in advance
    Shnail

    Thanks Karsten..
    but still i can have filtering right? iam planning to create a new group policy and tunnelgroup and use the existing pool for new RA  and i have to do some filetring also. for the new RA i have to restrict access to a particualr server ,my existing RA have full access.
    so iam planning to create new local usernames for the new RA and new group policy with vpn-filter value access-list to apply for that user as below,  this will achive waht i need right??
    access-list 15 extended permit tcp any host 192.168.205.134 eq 80
    username test password password test
    username test attributes
    vpn-group-policy TEST
    vpn-filter value 15
    group-policy TEST internal
    group-policy TEST attributes
    dns-server value 192.168.200.16
    vpn-filter value 15
    vpn-tunnel-protocol IPSec
    address-pools value existing-pool
    tunnel-group RAVPN type ipsec-ra
    tunnel-group RAVPN general-attributes
    address-pool existing-pool
    default-group-policy TEST
    tunnel-group Payroll ipsec-attributes
    pre-shared-key xxx

  • Update Library of a person using same music files but different login

    I use iTunes with Windows. The songs are saved in "my files". I am using Windows XP Verion 5.1 My wife uses also iTunes on the same computer but with a different login. When I add files to iTunes my library is up to date but not hers. What can I do?
      Windows XP   Verion 5,1

    Have a look at this article on sharing iTunes and see if it does what you are looking for. It was written for iTunes 4 but the version doesn't matter:"iTunes: How to share music between different accounts on a single computer" http://docs.info.apple.com/article.html?artnum=93195

  • Issues of using same enhancement set for different components

    Hi experts,
    I have an issue when using the same enhancement set(ZCRM_EHSET) for two different components IUICMD & IUICMRD. Component IUICMRD has two views IUICMRD/MainVS & IUICMRD/MeterReading and these views have been copied to Component IUICMD.
    Now, i am getting the following error, when i try to access AccountSearch view of component IUICMD
    Context initialization failed in view IUICMRD/MeterReading of UI Component IUICMD
    An exception has occurredException Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_IUICMD_BSPWDCOMPONENT_IMPL is not compatible, for the purposes of assignment, with target type \CLASS=CL_IUICMRD_BSPWDCOMPONENT_IMPL
    Method: CL_IUICMRD_METERREADING_IMPL=>DO_INIT_CONTEXT
    Source Text Row: 10
    Let me know how i can solve this. Is there any precautions that i should have taken before using the same enhancement view for two different components.
    Thanks in advance.......................
    Regards,
    Prabahar

    Hi Bharathy,
    Thank you for the reply which helped me to come close to the solution.
    I hope you reply will solve the second part of my question where i get MOVE_CAST_ERROR.
    My first Question is still unanswered and i request you to provide solution if you have any. I worked on CRM 4.0 and CRM 2007 is new to me.
    My first question is below.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set.  But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    Is it the std behaviour that views from one component is copied to other when you try to use the same enhancement set? Kindly let me know if you faced similar situation.
    Best regards,
    Prabahar

Maybe you are looking for