How to Call Same Adaptive RFC across different Backend R/3 Systems

Hi Everyone,
I have been troubled for the last 3 or 4 days on how I should develop Web DynPro code to call the same RFC on different backend R/3 systems.  Don't really want to maintain my own Jco connects within a SAP Connector project and I don't really want to import 3 or 4 of the same models.  Can someone please inform what is the best approach?
Thanks.

Hi Glen,
There is one other way of doing this which needs a bit of data maintenance.
The webdynpro app will connect to one R/3 backend. In the same R/3 create RFC destinations to all others backends where the RFC's needs to be called. Create a table where u maintain for what value which backend system should be called. Add rfc_dest as an import paramter in all the RFCs in the backend system where the webdynpro app is connected and call those systems using RFC destinations.
For e.g. you have one HR system and multiple FI systems based on Company codes.
Connect your webdynpro app to the HR system. Create a table in the HR system which will contain data like given below
CoCode                        RFC Destination
1000                             RFCDEST1
2000                             RFCDEST1
In the RFC's in HR system add both CoCode and RFC Destination as additional input parameters. From the front end u can pass different values and call the same RFC's from different systems.
Regards
Prakash

Similar Messages

  • How to call a package from a different instance?

    Dear all:
    how to call a package from a different instance?
    for example:
    package A belongs to instance A1
    package B belongs to instance B1
    Now I want to call the package B in instance A1, how can I do ? my environment is oracle 10g
    Regards
    Terry

    Terry Chen wrote:
    Dear all:
    how to call a package from a different instance?
    for example:
    package A belongs to instance A1
    package B belongs to instance B1
    Now I want to call the package B in instance A1, how can I do ? my environment is oracle 10g
    First you have to create create dblink in A1 database as below
    CREATE DATABASE LINK INSA1
       CONNECT TO USER_NAME IDENTIFIED BY <pass>
       USING 'B!' Then you can execute exec pack_b@INSA1;

  • How to call column of parent's different child from child of same parent in

    Hi Guys,
    I am not able to get same parent's but different child column in RTF, I tried it by using ../../<diff_child_tag>/column_name, but it is not working... Can anybody help me in that.
    Thanks,
    Nidhi

    you can have a view accessor for your child entity.. using the sort by creation_date query.
    in doDML(). check if the operation is UPDATE.. if so then have a logic there to see if the child is the first row in the view accessor result..
    if not.. then raise an error..
    psuedo code will be like
    doDML(operation op){
    if(op = DML_UPDATE){
    ViewObject va_creationDate = getVACreationDateSorted().getViewobject();
          RowSet rs = va_creationDate.getRowSet();
          while(rs.hasNext()){
            Row r = rs.first();
                if(r.getAttribute("Creation_Date").equals(CurrentDate)){
                //update
              else{
                //raise errro
    }

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

  • How to call same vi for 4 times in a single vi?

    Hi.. I ve one vi named 1D array Mult. I need to call this vi four times in another vi program. The problem i ve experienced is all the four vi outputs are same.
     My question is: How to call the same vi for many number of times?
    Thanks in advance
    Solved!
    Go to Solution.

    There is no problem (programmatically) with calling the same VI by placing it 4 times onto the block diagram.  You do not have to rename them VI1, VI2, VIn if they all do the same thing, as you have done here with 1D-arrayMult...  It's just messy.
    You may need to make re-entrant in certain cases.
    A better way to do it would of course be to use a For loop as shown (I left what you did in tact).
    Are the two formula nodes identical?  I didn't check.  If so, use a for loop there too.  Build your A and B matrices to a 3D array and auto-index in For loop - single instance of your formula node.
    It is quite concerning what you have done in your 1-D Array VI.  I have no idea what it is supposed to be doing, but it appears to be nothing; it is completely wrong.
    There are backwards wires, your While loop does nothing (there is not shift-register) - how will it Stop?!, your cases 0, 1 and 2 are all the same!  Timer of 1000ms??! hmm..
    If you are trying to multiply two matrices (arrays) together then just use the native LV function to do it and to add them at the end try this:
    Hope this helps you!
    Message Edited by battler. on 03-12-2010 03:49 AM

  • 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

  • How to call same form by different performs as below?

    Hi,
    i want to use a Form get_data by calling Perform get_data twice with two different internal tables as below
    perform get_data    tables   it_upload
                                using    tab_name
                                changing it_material. 
    it_material has structure as below
    types : begin of ty_material,
                 serno  type sy-tabix,
                 matnr1 type mara-matnr,
                 matnr2 type mara-matnr,
                 matnr3 type mara-matnr,
                end of ty_material.
    perform get_data    tables   it_upload
                                using    tab_name
                                changing it_location.
    it_location has structure as below
    types : begin of ty_location,
                site1  type mard-werks,
                site2  type mard-werks,
                sloc1  type mard-lgort,
                sloc2  type mard-lgort,
              end of ty_location.
    now how to declare Form Get_data
    can anyone suggest me how to declare Form Get_data

    FORM parameters are normally strongly typed, so if you want to pass different tables in different calls to the same PERFORM, you need to use two internal table parameters in the FORM interface like below
    FORM foo  USING /CHANGING itab1 TYPE <table type1>
                              itab2 TYPE <table type2>
    ENDFORM
    Otherwise you need to use TYPE STANDARD TABLE, in which case you can use a single parameter for both the internal tables but you will also need to FIELD-SYMBOLS, and there should be some indication for you to ASSIGN the field symbol to what internal table type that may come at runtime. This will be a overkill, without much use, when you can achieve what you want by simply using two parameters.

  • How to get standard size viewable across different monitor sizes?

    How can I get the same view size with media buttons on the bottom ie like full screen across the different size monitors?
    im creating a captivate demo.
    however the target is
    large monitors 21 inch
    and different laptop models and screen
    size.
    I would like the output in as SWF - html.
    Ive been playing around with the settings and these are my results:
    Setting:Record and Capture area ‘Full Screen’
    the result:
    looks great on the 21 inch monitor.
    the same .html file on the laptop
    the result is:
    cuts off the recording on the bottom the screen. so you have to use the scroll bars to see the full screen
    if I Rescale the Project
    from
    width percentage:100
    Height percentage:100
    to:
    width percentage:70
    Height percentage:70
    the result is:
    loss of quality on both laptop screen & desktop screen.
    If I publish as a Media .exe.
    The result is a very large .exe file size  compared to a html file
    Any ideas?
    thank you
    dd

    The rule of thumb I always use it to capture the original screen recordings at the same resolution as the lowest resolution device I expect to view the demo.  So if you are doing your screen capture from a 21inch screen but expect people to play it back on 14 inch laptops, find out what resolution the 14 inch laptops are operating at, temporarily change the resolution of the device connected to the 21 inch screen to match the resolution of the 14 inch laptops - record all your screen captures - then change the resolution back to normal on the 21 inch display only after you have finished recording. You then shouldn't have to mess around with rescaling and it should look great on everything!  Work at the lowest common denominator.
    (apologies in advance if I misunderstood what you were asking)

  • How to keep same database with two different names in SharePoint 2013 for two different applications

    Hi All,
    I have very strange situation.
    I had SP2010 production database(wss_content_contoso) migrated to SP13 few months back to migrate one site collection only while I have 15 site collections stored in this database and created a site contoso.com
    Now, I want to migrate same(wss_content_contoso) SP2010 database to SP13 and want to create contoso2.com.
    I changed database name from wss_content_contoso to wss_content_contoso2 and assigned newID during mount process.
    After this exercise, I don't see any site for contoso2.com and issue seems to be the same database. 
    My question is!!!!
    How I can keep both databases(actually same database with different names) and run both application simultaneously?
    Any help appreciated!!
    Thank you,
    AM
    AM Senior SharePoint Consultant

    You need to run Backup-SPSite/Restore-SPSite on each Site Collection you want to 'duplicate'. You cannot restore the same Content Database to the same farm as the Site Collections have the same GUID, which is stored globally for the farm.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to select same descendant members from different hierarchies?

    Hi All, 
    please help, how it is possible to select same values for only the same hierarchy member names from different hierarchies?
    Example:
    L1          #L1          L2          #L2          Value
    A          #A          a1          #a1          7
    A          #A          a1          #a2          2
    A          #A          a2          #a2          0
    A          #A          a2          #a1          6
    A          #A          a3          #a3          1
    A          #A          a3          #a3          9
    A          #A          a3          #a1          2
    A          #A          a4          #a2          2
    A          #C          a4          #c1          2
    B          #B          b1          #b1          5
    B          #B          b1          #b2          8
    B          #B          b2          #b2          2
    B          #B          b2          #b1          6
    B          #C          b3          #c1          4
    Query1:
    Select sum(value)
    where L1 = #L1
    Result:
    L1          #L1          Value
    A          #A          29
    A          #A          21
    Query2:
    Select sum(value)
    where L2 = #L2
    Result:
    L2          #L2          Value
    a1          #a1          7
    a2          #a2          0
    a3          #a3          9
    b1          #b1          5
    b2          #b2          2
    Names of level members with or without hashmark are identical (A=#A, a1=#a1 etc.).

    [Hierarchy].[L1]*[Hierarchy].[#L1] returns all possible combination of the two hierarchies.
    Here I would filter those cases only, where [Hierarchy].[L1].MEMBER
    = [Hierarchy].[#L1].MEMBER, in aggregated format (Query1 result).

  • How to call jsp /servlets running in different web application in tomcat

    hello all,
    i have 2 web applications(Charts and Reports) in the same tomcat,i want to call jsp/servlets running in the Reports webapp from Charts webapp.how do i achieve this.
    thanx
    ravi

    You can also use getContext(String context) in the ServletContext class to get a request dispatcher.
    Using the above example it would be :
    // in a servlet in the charts webapp
    ServletContext context = getServletContext();
    ServletContext reportsContext = context.getContext("/reports");
    RequestDispatcher dispatcher = reportsContext.getRequestDispatcher("/path")
    dispatcher.forward(request, response);Just note, that depending on your server's configuration getContext(...) might return null.

  • How to use same collection type in different database

    i have created a synonym for a package whcih uses a collection type as input and when i am calling through that synonym it is throwing an error b'coz of the collection type saying wrong no. of arguements...
    declare
    collection_type collection_type:=collection_type('value');
    begin
    package_synonym1.procedure1(collection_type);
    END;
    how to rectify it can someone suggest....
    a quick response would be highly appreciated

    i have a package in schema A in which my input in a procedure is of type
    like
    create or replace package abc as
    procedure efg (
    ptbl_service_id in tbl_input_list,
    pn_error_code_out OUT NUMBER,
    pv_error_msg_out OUT VARCHAR2
    and in schema A the type is created.the package is working fine
    but when i am trying to test this package from database b with script as
    declare
    xyz tbl_input_list :=tbl_input_list('abcdefgh');
    begin
    abc.efg(
    xyz,
    pn_error_code_out,
    pv_error_msg_out
    end;
    then it gives an error saying wrong no. of arguements ORA-06550
    I have created the type in this database with the same OID as well and i have also tried the option of creating a synonym or calling it through a database link...
    Is there any other way through which we can use it.....
    A Quick Response will be highly appreciated...

  • How to sync same iPhone using 2 different iTune libraries...

    I have been trying to figure out how to sync my iPhone 4S to 2 different libraries.
    The reason is that I have one library whichhas all my Apps, Books etc. that I keep on one external drive and the other just music as I take that other external drive to dj. As I get new music every day, I sync this to my iPhone so I can get to hear it when I am out.
    I tried to open up one library to sync my Apps and books, then switch libraries by reopening iTunes just to sync music.
    However it won't allow me as everytime I switch, say I synced the music first, upon opening up the Apps and Books library, it deletes my music (even when I don't have music synced - I am guessing it reads as wiping my music)
    Is there a workaround to this?
    I am using Lion.
    Thanks

    Thanks Carolyn for your advice.
    Was a bit sad to read that I cannot do that, but I still tested it out. To my surprise, I have managed to find out by testing and testing that (thankfully) iTunes does let me sync with one device with 2 libraries.
    As long as the music and books are synced on one library, and apps on the 2nd Library I was able to split the libraries up to two different external drives with their respective iTunes library folders.
    It would have been perfect if I could just split the Music by itself as I didn't want the books on the same drive but I am happy nevertheless.
    The only bad thing is that the syncing was tested on my iPhone and not my iPad which I don't need music... so I had to add dubplicate books in the library for the iPad with just Apps for my iPhone. Now I have to test whether it will sync my bookmarks between devices for the same books.

  • How do I access iTunes playlists across different login accts on my computer?

    All our purchased music is available in the administrator account on my computer. In other accounts used by family members, we have not managed to import entire playlists. Is there a better way than one song at a time? (There must be!)

    iTunes: How to share music between different accounts on a single computer - http://support.apple.com/kb/HT1203 - extra tip at https://discussions.apple.com/message/17331189#17331189

  • How to call/show  page(s) from different application

    Hi All,
    I'm working on couple of applications and some reports (about 30) are used in all applications. I need your advice on doing this efficiently.
    Is it possible to
    1) Create a separate application with all the reports.
    2) Create a blank page with lists linking to all those reports on the same tab
    Now, is it possible to call that page in a "reports" tab of each application without prompting for login and still have rest of the tabs visible while the user is using the reports?
    Thanks in advance,
    Asha
    Edited by: ashapatil on Jul 29, 2010 1:54 PM
    Edited by: ashapatil on Jul 29, 2010 5:41 PM

    Asha,
    you can create links to call pages from other applications without any problem, just take a look at the structure of APEX URL over here: http://www.oracle-and-apex.com/apex-url-format/
    To avoid re-logins you could either disable security on your application (not recommended) or create a custom authentication scheme which takes logged in users from other applications as granted.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

Maybe you are looking for

  • Data acquisition from multiple channels.

    Hello Right now, I am able to acquire the signal from a single load cell and display it.But I would like to know of how to acquire  acquire signals from two load cells simultaneously.I am using Labview 6i and I am using AI S-Scan with AI config to ac

  • Error message "Data cannot be maintained for set type COMM_PR_PUR_1

    Hi While replicating the material master through R3AS I am getting an error for which the details to be checked in SMW01. In SMW01 when I selected the record for error details I am getting above error message.  How to resolve ? Pls guide me stepwise.

  • Electronic signature in merged documents?

    I am trying to create a new document using multiple files. Some of these files contain electronic signatures. Can the electronic signatures be preserved in the merged document?

  • Maintain separate table for these  fields

    I want to maintain separate table for this fields. 1. Sales order number 2.item number 3.material 4.qty pricing date price change date if u user changes price manually. 5. Order price 6.sales value Where will we get these fields  from which table.

  • JRE Command Line Install - Error Opening File Java3BillDevices.jpg

    We are installing JRE using a command line script. We keep getting the following error. Is this a bug with the Installer package? Anyone know how to fix it? Error opening file C:\Users\USERID\AppData\LocalLow\Sun\Java\jre1.6.0_38\Java3BillDevices.jpg