Programmatic access to multiple backend systems using adaptive RFC

Hello,
The following  link http://help.sap.com/saphelp_nw04/helpdata/en/af/84a34098022a54e10000000a1550b0/content.htm talks about the support to map multiple backend systems by specifying the backend system as URL parameters in a webdynpro application.
For example:
http://<hostname>:<port>/webdynpro/dispatcher/local/ESSProject/ESSApp?
sap.wdarfc.useSys=WD_MODELDATA_DEST:ABC&
sap.wdarfc.useSys=WD_RFC_METADATA_DEST:ABC
Is it possible to programmatically change the backend systems the application connects to? in other words can a single application while executing connect to different backend systems by dynamically changing the model parameters?
(This should be possible without the portal in the picture)
Cheers,
Praveen

Hi,
   [This|JCO connection to multiple R/3 Back end system; might help especially the reply from Bertram Ganz.
Regards,
Satyajit.

Similar Messages

  • Inconsistency of results using adaptive RFC

    I'm calling a function from a R/3 System using Adaptive RFC and i'm having different results from my webdynpro application that the ones that i'm having in the R/3.
    If someone could tell me why this happen I will appreciate.
    Thanks.

    Hi Frank,
    Iin another opportunity I had tried to do the same procedure you are trying and not getting hit. I ended up using the parameter "sap-wd-client = WmlClient" in the url of the application ... What makes this return in xml format and can be accessed like a Web Service. It really is not a proper use for a Web Dynpro application, but with some customization finally meet demand.
    Regards,
    Angelo

  • WD Exception when pointing ESS Travel & Expense to multiple backend systems

    Hi All,
    I have a query regarding ESS Travel Management pointing to multiple backend systems.
    ESS MSS is installed on a single portal(Portal1).
    ESS MSS is currently pointing to Backend System1. The requirement is that ESS Travel from Portal1 should point to various multiple Backend Systems therefore making ESS Travel region-specific.
    Is this possible? and if so what are the pros and cons?
    This is what I have attempted:
    1. Followed the documentation from "Multiple Back End Support for the Adaptive RFC Model" [http://help.sap.com/saphelp_nw70/helpdata/en/af/84a34098022a54e10000000a1550b0/frameset.htm]
    Therefore, I created 2 JCOs namely: SAP_R3_Travel_R1 and SAP_R3_Travel_MetaData_R1 pointing to Backend Sytem 2. SSO and JCO tests successfully.
    2. On the iview properties for ESS Travel & Expenses, I added the following to the Application Parameters: sap-wd-arfc-useSys=SAP_R3_Travel:_R1&sap-wd-arfc-useSys=SAP_R3_Travel_MetaData:_R1
    3. I additionally created a system in the Portal under  System Configuration pointing to Backend System2 and adding the SAP_R3_Travel_R1 as the default System Alias. Do I need to add SAP_ITS_XSS and SAP_WebDynpro_XSS system alias, if so how since it is seeing as redundant because it is added in the system I created for Backend System1.
    4. I then tested one of the ESS Travel & Expenses iviews. I have the following error:
    Accessing System XYZ is not possible because RFC Metadata was retrieved using System ABC. Please assure you have configured the RFC Connections properly. A Server restart may be necessary!
    Your help is appreciated.
    Thanks.
    RD

    Hi,
    Can you please share the solution you got for this problem as we are also facing the same kind of problem.
    thanks
    Gaurav

  • Unable to define connector for multiple backend systems in BRM

    Hi,
    I am on GRCFND_A V.11 and SP04
    I have multiple backend systems integrated with GRC box. So far I was using one backend connector as default one for role maintenance but it is not feasible if you have to create roles in variuos backend connected systems. I know one way to do so, i can keep changing the default connectors whenever i need to create roles but that is obviously not at all the onw any one would like to go with.
    So, I tried to create unique connector groups for every individul backend connectors. But the issue is, the moment i assign the backend connector to the respective connector groups, the same gets reflected to other connector groups as well. So, whenever i either add or delete some of the connectors to any connector groups it gets modified/changed from all of the connector groups.
    These are the backend connectors where i have to create roles from BRM whenever needed.
    These are the connector groups:
    I followed to the ink: GRC AC 10 BRM: Default Connectors with Multiple Back-end R/3 Systems , which is the same as mine issue, but not able to come to the solution point.
    would appreciate for your quick response.
    Thanks,
    Ameet

    Could anyone suggest solution to the above mentioned issue please?

  • Multiple backend systems for business package ESS/MSS

    Hi,
    I would like to know whether there is a smart solution for connecting the business package ESS/MSS with multiple backend systems (up to 10 systems).
    I am aware of the possibility using parameter "sap-wd-arfc-useSys", but this implies, that content needs to be duplicated n-times in order to be able to maintain the Jco destination suffix.
    Any hint, also for custom built solutions are very welcome!
    Best regards,
    Johannes

    Johannes
    There is some problem with the link
    See this.
    Connecting multiple SAP Systems
    Thread name is 'Connecting multiple SAP Systems'
    Krishna Murthy

  • UoM issue due to multiple backend systems

    Hi All,
    We have multiple backend systems hooked up with the SRM system. One issue that we have is that many of the UoMs are different in the backend systems. For example, for THOUSANDS, we have TH and THO in different systems. As part of optimization we intend to include only 1 entry per UoM in SRM box.
    The problem is if we put TH as the unit, then if it is chosen by a user linked to the backend system that does not have this Commercial unit, then the Shopping Cart fails when trying to create a follow-on document.
    Any advice how we can get this resolved will be greatly appreciated.
    Best Regards
    Gaurav

    Hi Gaurav,
    Common problem when using multiple back-ends, which can be resolved rather easily.  The best way to solve this is by a business change. That isu2026.  synchronize the use of the UoMu2019s throughout the organization.  This would be the most elegant solution. All back-ends will then have the same valueu2019s in their respective CUNI tables.
    Off course the feasibility of this will depend on your organizational structure and the hitting the u2018right stringsu2019 in order to get every one to understand the importance of this.
    As a back-up an other solution would be to create a Z-table which will translate the UoM used in the SRM system to the corresponding UoM in the respective back-endsu2026.. The table will have three columns.  u2018SRM UoMu2019 u2013 u2018Back-end Systemu2019 u2013 Back-end UoM.  Depending on the implementation scenario U use, you can have the interface to the back-end carry out the translation. For this you can use the available Badiu2019s: BBP_CREATE_BE_PO_NEW, BBP_CREATE_BE_RQ_NEW, BBP_CREATE_BE_RS_NEW
    Downside of this solution will be the extra maintenance effort for the Z-table. Best choice in my perspective would be the business change.
    Kind Regards,
    Skander

  • Find exact RFC Destination for Multiple backend Systems In SAP Gateway

    Hi Gateway developers,
    I have requirement,if gateway hub system has multiple backend systems( for example two backend systems: ECC and SRM ) then  how  hub system can get the suitable backend alias for exact entity collection..
    Here i have developed two entities one entity regards: ECC and second one regards SRM system..within this when I run the service it is always taking any of the same alias for both the collections..
    Can you please suggest me..
    Thanks
    Sreenivas Pachva

    Hi Srinivas,
    You can add the respective system Alias Name: Like logical system name in your URI also.
    Example:
    /sap/Service Name;mo=ECCCLNT210/zentity1?Customer1='0001'
    /sap/Service Name;mo=SRMCLNT400/zentity2?Customer2='ABCD'
    May this help you.
    Thanks,
    Saurabh Gupta

  • How to connect to multiple backend systems to IMS

    Hi,
    I want to connect multiple backend system to SRM IMS.How to connect multiple backend system.
    Thanks in advance
    Regards
    Nitin Amritkar

    Hi
    see page 63. it is possible.
    define backend systems in spro and record all your ecc systems and create a distribution model fpr bbpiv message in srm and distibute to all backend systems.
    http://www.portal.state.pa.us/portal/server.pt/gateway/PTARGS_0_160867_305341_0_0_18/2006_05_26_srm_007.pdf
    br
    muthu

  • JCo creation for multiple backend systems

    Hi Experts,
        I have an application in which i am using two different backend systems. I have used three RFCs  in my application, in which two RFCs are referring same backend system while 3rd RFC is pointing to another backend system .
        Now my doubt is, Is it possible to use a single JCo connection for this application ...?
        OR if i use 2 or 3 JCos then which one will give better performance...?
    Thanks in advance,
       JP

    Hi One Jco connection to one R/3 System gives more performance.
    even end users increases also we can maintain based on configurations(by increasing connection pool)
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/faq%252b-%252bmodels%252b-%252badaptive%252brfc
    Re: JCO Performance /Load
    Thanks,
    Tulasi
    Edited by: Tulasi Palnati on Jan 25, 2009 11:47 AM

  • Error while using Adaptive RFC model

    I am  using adaptive RFC model to consume a function module from BI system. The function module expects a Boolean input. While executing the function module we need to give u2018Xu2019 for that input. When I consumed the function module in the webynpro java project , used it and give the input as u2018trueu2019 on runnig the application it gives the following error: u201Ccom.sap.conn.jco.ConversionException: (122) JCO_ERROR_CONVERSION: Cannot convert a value from type java.lang.Object to CHAR at field I_READ_ATTRu201D
    There is corresponding dictionary type created called u2018BOOLE_Du2019 but I could not access the dictionary type in the controller java file.
    Is there a way to rectify the same or any workaround condition?
    With regards,
    Sougato.

    Hi saurabh,
    I need to give the value from webdynpro. Hers is the sample code.
    rssem_Cha_Values_Get_Input.setI_Read_Attr();
    // It expects a boolean value but if i pass a value to the method the obove error is show.
    Where as there is a simple type "Boole_d" generated when i consumed the RFC in the webdynpro.
    but i couldn't access this simple type in the code.
    With regards,
    Sougato.

  • How to set the tables parameter to a BAPI using adaptive RFC model

    Hi,
    I have a BAPI ZBAPI that has a tables parameter ZPernr of type ZTable with two elements pernr and name.
    I used adaptive RFC model and created model classes for the BAPI.
    My question how do i set list of pernr and name to the tables parameter in the webdynpro for java.
    I have the following methods available
    ZBAPI input = new ZBAPI();
    1.ZTable table = new ZTable();
    table.setPernr(pernr);
    table.setname(name);
    input.addZPernr(table);
    how do i set the table parameter for multiple pernr and name
    2.
    add all the pernr and name to list and set that list to input in the following way
    input.setZPernr(list) and list of typecom.sap.aii.proxy.framework.core. AbstractList
    out of two methods mentioned which one is correct.
    Please let me know the solution
    Thanks
    Bala Duvvuri

    Hi Bala,
                In your code:
    List pernrList = new ArrayList();
    pernrList  should be declared as the  type of class HROBJECT   ( The structure name in the model  e.g. the node PERFWARN type is Zhrecmfm_002_Perfrat_Warning_Input )
    Try this:
    HROBJECT  pernrList = new HROBJECT();
    pernrList.setPernr(pernr);
    input.setPernr_List(pernrList);
    // call BAPI execute method
    If you want to pass list of pernrs, you can pass in alternate way
    IPrivate<viewname>.I<nodeame>Node prNode = wdContext.node<node>();
    IPrivate<viewname>.I<nodeame>Element prEle;
    for (int i = 0; i < table.size(); i++) {
    HROBJECT  pernrList = new HROBJECT();
    pernrList.setPernr(pernr); // Set the pernr from current record
    prEle = prNode.create<nodeame>Element(pernrList);
    prNode.addElement(prEle);     
    // call BAPI execute method
    Once I execute the BAPI how do i iterate thru second table parameter PERNR_PERFRAT to get pernr and performance rating text
    Say your node name is  PERNR_PERFRAT
    for (int i = 0; i < wdContext.nodePERNR_PERFRAT().size(); i++) {
    wdContext.nodePERNR_PERFRAT().getPERNR_PERFRATElementAt(i).getPernr();
    wdContext.nodePERNR_PERFRAT().getPERNR_PERFRATElementAt(i).getPerfrat();
    Regards,
    Siva

  • Problem in displaying a field in webdynpro using Adaptive RFC model

    HI,
    I created a webdynpro application using adaptive RFC model and i have a problem in displaying one of the output fields.
    When i execute the function module it is giving the exact value for my output field in this case telephone number (of type STEXT which is char with length 40).But when i am trying to display that telephone number in webdynpro application it is taking only first 4 digits.
    i deleted the model and recreated it still it doesnot work.
    please let me know how to resolve it.
    points will be awarded for sure
    Bala

    Hi Bala,
    Whenever you reimport the model server restart is necessary otherwise the changes will not get reflected. You will get an error when you deploy the application.There is no go around except restarting the server as the meta data gets cached in the server as long as the server is runnig.So, Once you restart the server the cache will be cleared.
    Check once again whether you are fetching data from correct BAPI field. Still problem persist try debugging.
    Regards, Suresh KB

  • JCo Scenario with multiple Backend Systems

    Hello @ all,
    Is it possible to use multiple Jco destinations to multiple Backendsystems in one WD application?
    The scenario is as following: I want to call different function modules on different SAP Backend systems?

    Hi Mehmet
    Alternatively you could try switching the destination through URL parameters
    http://<Host-Name>:<Port-Nummer>/webdynpro/dispatcher/local/Example_Project/Example?sap-wd-arfc-useSys= WD_MODELDATA_DEST:SyB&sap-wd-arfc-useSys=WD_RFC_METADATA_DEST:
    SyB
    Check this link (I havent tried it though)
    http://help.sap.com/saphelp_nw04/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm
    Regards
    Pran

  • Login to multiple SAP systems using pwd of single SAP system

    Hi All,
    We have 3 different SAP servers, with sids: ECD, BWD, HRD.
    for each user, a user with the same username is created in all three systems.
    the user does not want to maintain 3 different passwords, instead only single password to be used in all systems. i.e. when he changes the password in system ECD, the changed password should work in other systems BWD and HRD as well.
    if we were using SAP EP, we checked the possiblity of username based SSO and having portal login using only on system ECD.
    but we are not using the portal, and all the users will access 3 sap systems using SAPGUI.
    is there any way, where one system's password will work to login to other systems.
    thanks in advance,
    Madhu_1980

    Hi Tim,
    You're right about the fixed client for the MYSAPSSO2-ticket-issuing system. In the case for Java, the "client" is specified inthe UME parameter login.ticket_client. And the trusting ABAP system will have to add the Java system + "client" into its ACL (in addition to the certificate). This "client" will only play a role in that "trust" relationship.
    As for launching the actual transaction via SSO, this is how it works.
    SAPGUI transaction will be launched by a thing called Portal transaction iview. That iview will have a parameter called the System Object. The System Object will determine which ABAP system-client it will connect and logon on to. So if you want to logon to multiple clients, then create one System Object for each of the system-client combination, and then create transaction iviews to each of the corresponding system object. The iviews will be presented to the user which then allows the user to launch the transaction iview (specificy SAPGUI link in the iview property)
    https://help.sap.com/saphelp_nw74/helpdata/en/4e/1262711e3d2287e10000000a15822b/content.htm
    I hope I understood your questions.
    Cheers
    Donald

  • Need to find the backend system used by HCM P&F

    we have a dedicated e-Recruiting system installed separately from ERP (HR).
    we are using MSS iview "create requisition request" (this is used in the eRecruiting process).
    I need to find (and confirm) that this process is using the correct backend SAP system.
    where in the HCM process and forms is the backend system specified?
    as per
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/5c/ae73e177294f31b40e13039951a119/content.htm
    in the process configuration, there is an object "Generic Service":
    Generic Service
    Filter: S_REQUI_REQUEST
    HRMSSRCF_REQUISITION and
    HRMSSRCF_REQUISITION_ADVANCED
    Back-end system access via RCF to SAP E-Recruiting system
    but I was not able to find the e-Recruiting system defined in there.
    any idea where I can find the e-Recruiting system? I just need to make sure we are using the correct system.
    thanks,
    Tiberiu

    Hello Tiberiu,
    the HCM P&F scenario does not need to identify a HR Core backend system. It is already processed there. The complete MSS requisition request process is running on the system which has PA, OM and so on installed. Once the process is done the requisition is created on the e-recruiting system via a RFC call. The RFC is also used to populate the dropdowns in the adobe form.
    So the HCM P&F scenario needs to know where to find the E-Recruiting system. This is defined in T77S0 under ERMSS LOGSY. This can be either maintained via SM30 or in IMG under path Integration with Other mySAP.com Components -> Business Packages / Functional Packages -> Manager Self-Service (mySAP ERP) -> Recruitment -> Assign E-Recruiting System Name on the HR server.
    Best Regards
    Roman

Maybe you are looking for

  • How do I sync multiple iTunes libraries on the same PC?

    I have a desktop at home running Windows XP Pro. I have my own log-in and my wife has her log-in. We both use iTunes. We both have iTunes accounts. How can we sync our libraries such that we have one (1) shared repository?

  • How to copy a value from one Frame to another Frame.

    Hi, I am new to Swing and AWT prgramming . I have created a menu called " Test window " and it contains toplevel menu item "File" and File Menu contains subitems "Product Evaluation", "ProcessEvaluation", "ResourceEvalation", "TotalEvaluation" and "E

  • Error Message when trying to update a form

    Hello, I receive the following error message when I try to update a form: Error: The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000) The preference path does not exist: ORACLE.WEBVIEW.PARAMETERS.1129327645 (WWC-51000)

  • Extended Program Check Warning For Syntax Check

    Warning: Syntax Check Warning This Warning only Displayed in SLIN WHERE lgtyp IN S_LGTYP.   Messages :   In "SELECT SINGLE...", the where condition for the key field "LGTYP" does not test  for equality .   There fore the single record yuor searching

  • I can`t activate Iphone 4s after wipe out

    Hi, I changed my password to log into iphone4s and I blocked it. Earlier I`d installed FindMyIphone. I tried to erase data hoping that i could restart it. I also erased Iphone from findmyiphone. Now i Try to activate it and every time I try, connecti