How to select from multiple output tables in the SAP Data Source

Hi,
We're using the SAP Data Source to display SAP data in our portal from the Bapi: BAPI_INFORECORD_GETLIST. When defining the Bapi Meta Data we can select data from one of the two output tables (INFORECORD_GENERAL and INFORECORD_PURCHORG). But we want to select data from both tables (some columns we want to show are in INFORECORD_GENERAL and some are in INFORECORD_PURCHORG) .
How can we do this ?
With regards,
Ramon van der Weiden

You can query multiple TimesTen databases, but your original question was about joining tables from two databases, which is not supported.
Using Cache Connect to Oracle to query an Oracle database is not distributed. It's still one single Oracle database you are querying. You cannot join a table in the TimesTen database with a table in the Oracle database, this is not allowed.
If you are willing to share your business requiremens, we can take a look and see what solution might work for you. Would you like to discuss this offline?
Susan

Similar Messages

  • How to select from multiple addresses of account in IC Web Client

    Hi all,
    We are implementing a B2C scenario for IC Web Client. We have customers with multiple addresses. However, when we search the acount, only standard address comes to screen.  We want to be able select the related address, and then confirm the acount with that address.
    Is there any way to customize the Web Client in order to be able to select from multiple addresses of the acount?
    Thanks in advance.
    Edited by: Danisman Danisman on Aug 31, 2010 2:52 PM

    Thanks for the answer. Yes, we are using 7.0 but in the account identification screen, there is no personalize button ( I assume you are suggesting adding an addres block by using that button, right?).
    We checked the necessary customizing : there is an entry for fucntional profile PERSONALIZATION : ALL_ENABLED.
    Should we do something else to show the button?
    Thanks again.

  • How to select from multiple tables which reside on different data stores ?

    Suppose I have two data stores in one TimesTen instance:
    1) Datastore A:
    table1
    2) Datastore B:
    table2
    I want to make a query like this:
    select ... from table1, table2 where table1.colA = table2.colB
    Can I ? If not, is there a workaround ?
    BTW, because of business, we have to use two or more different datastores, so we can not put table1/table2 in the same datastore.
    Thanks very much.

    You can query multiple TimesTen databases, but your original question was about joining tables from two databases, which is not supported.
    Using Cache Connect to Oracle to query an Oracle database is not distributed. It's still one single Oracle database you are querying. You cannot join a table in the TimesTen database with a table in the Oracle database, this is not allowed.
    If you are willing to share your business requiremens, we can take a look and see what solution might work for you. Would you like to discuss this offline?
    Susan

  • JAX-WS: How to choose from multiple client certificates on the fly?

    I have a webapp that is calling a web service supplied by a vendor. The vendor requires the use of client certificates for authentication, and I have successfully called their service using the PKCS#12 keystore they gave us with JAX-WS 2.2 using code like this:
        System.setProperty("javax.net.ssl.keyStore", "myKeyStore.p12");<br />
        System.setProperty("javax.net.ssl.keyStoreType", "pkcs12");<br />
        System.setProperty("javax.net.ssl.keyStorePassword", "password");The problem is, my webapp will be supporting multiple business units, and the vendor differentiates between our business units by issuing separate certificates for each. So I'm in a quandary: I have four PKCS#12 files, one per business unit, and my webapp will need to decide which one to use at runtime. Moreover, this webapp could be heavily used by many simultaneous users, and thus more than one of the certs may need to be used at the same time. Hence whatever the solution is, it will need to be thread safe.
    I was able to combine all four certificates into a single JKS keystore using the JDK 1.6 "keytool -importkeystore" operation with each of my four PKCS#12 certs, so I now have all four in a single JKS keystore. The above code then becomes this:
        System.setProperty("javax.net.ssl.keyStore", "myKeyStore.jks");<br />
        System.setProperty("javax.net.ssl.keyStoreType", "jks");<br />
        System.setProperty("javax.net.ssl.keyStorePassword", "password");So my challenge now is to programatically select between the four possible certs when calling the vendor's web service. How do I do that with JAX-WS RI 2.2?
    Thanks,
    Bill

    Just to close the loop on this (and for the next person trying to figure out how to do it), I was able to [extend X509KeyManager as described in Alexandre Saudate's blog|http://alesaudate.com/2010/08/09/how-to-dynamically-select-a-certificate-alias-when-invoking-web-services/] . I was then able to set the com.sun.xml.ws.developer.JAXWSProperties.SSL_SOCKET_FACTORY on my JAX-WS request context to use my custom SSLSocketFactory, and it works like a charm!
    Thanks,
    Bill

  • How to select when multiple shapes overlap in the layout view

    When editing in the layout view of EM structure, it is quite common to have multiple shapes and/or port objects overlap each other at the same location. How to pick the desired object in this case?
    Solved!
    Go to Solution.

    In general in any layout view, when you select objects that overlap, the smaller shape will be selected by default.  Hold down the Ctrl + Shift key and then click in the same spot to cycle through all the objects that are under the mouse.   

  • How can i make 2 combo boxes as the same data source and group by each combo box items separately?

    I have 2 combo boxes  If I have data table like below
    TableA
    ID  NAME
    1     A
    2     B
    3     C
    4     A
    I make "TableA" as data source of "combobbox1" and "combobox2" like
    combobox1.datasource = TableA
    combobox1.displaymember = "ID"
    combobox2.datasource = TableA
    combobox2.displaymember = "Name"
    I want when combobox2 select index at "A"  , Combobox1 show only the items at ID = 1 And ID = 4
    Thanks 

    This is not actually a question to be posted in SQL Server. Here is a link for ASP.NET forum.
    http://forums.asp.net/
    It looks like there is a filter that can be applied in .NET dataset and populate the results in your combobox1. You may get better help from .NET forums for this question.

  • What circumstances cause the phone to prompt user to select from multiple output sources during a call?

    I have frequently seen a screen appear that asks if I wasn't to use my acuras "HandsFreeLink" to handle a call or use the phone (and I think it gives one other option but I can't recall what that is).  For some reason, my phone is defaulting to handling all the calls using the phone and will not route the call through the cars Bluetooth link so I can hear it through the cars sound system.

    Well, the phone has to be connected via Bluetooth first. If it is connected, and you initiate the call from the phone, it should default to the bluetooth device. If it does not, then there should be a selection on the phone screen labeled "audio devices". This allows you to select how you want to handle the phone call audio. Your bluetooth device should be one of the selections.

  • Returning a result from multiple columns based on the last date that the column has a value.

    I have this table named (pmtable)
    ctrlno        jobid           docdate       work1      work2       work3
    1                7              2/12/2014     20 hrs       
    10 hrs
    2                7             2/22/2014      35 hrs                       
    15 hrs
    3               7              2/28/2014                                       
    12 hrs
    4               8              1/17/2014      15 hrs        
    13hrs
    I want the result to be like this
    jobid  work1    work2    work3
    7        35hrs    10 hrs     12 hrs
    Is this possible?

    Hi serenace,
    To achieve your requirement, you can reference the below.
    DECLARE @Tbl TABLE(ctrlno INT,jobid INT,docdate DATE,work1 INT,work2 INT,work3 INT);
    INSERT INTO @Tbl VALUES(1,7,'2/12/2014',20,10,NULL);
    INSERT INTO @Tbl VALUES(2,7,'2/22/2014',35,NULL,15);
    INSERT INTO @Tbl VALUES(3,7,'2/28/2014',NULL,NULL,12);
    INSERT INTO @Tbl VALUES(4,8,'1/17/2014',15,13,23);
    INSERT INTO @Tbl VALUES(4,8,'2/17/2014',15,NULL,NULL);
    INSERT INTO @Tbl VALUES(4,8,'3/17/2014',NULL,16,NULL);
    ;WITH cte AS(
    SELECT jobid,docdate,attr,value FROM
    @Tbl
    UNPIVOT
    (value FOR attr IN(work1,work2,work3)) AS UT
    cte2 AS(
    SELECT jobid,attr,value , ROW_NUMBER() OVER(PARTITION BY jobid,attr ORDER BY docdate DESC) AS rn
    from cte
    SELECT jobid,ISNULL([work1],0) [work1],ISNULL([work2],0) [work2],ISNULL([work3],0) [work3] FROM
    cte2
    PIVOT
    (SUM(value) FOR attr IN([work1],[work2],[work3])) AS PT
    WHERE rn=1
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Selecting from multiple tables, into one internal table

    Hi,
    What is the best & most efficient method of selecting from multiple table (in my case 6,) into one internal table?
    Thanks,
    John
    Points will be rewarded and all responses will be highly appreciated.

    I have simple example :
    First one - Join 5 tables
    data : f1 type i,
              f2 type i,
              f3 type i.
    start-of-selection.
    get run time field f1.
    write the query 4 or 5 tables join.
    get run time field f2.
    f3 = f2 - f1 ( Total time).
    Second one - joins 3 table and use for all entries
    data : f1 type i,
              f2 type i,
              f3 type i.
    start-of-selection.
    get run time field f1.
    write the query 3 tables join and use for all entries
    get run time field f2.
    f3 = f2 - f1. ( Total time )
    Finally you can have time diffrence between the both sql statement.

  • How do I select from multiple schema's

    How do I select from multiple schema's
    Tried:
    SELECT * FROM schema1.table1, schema2.table2
    WHERE schema1.table1.column1 = schema2.table2.column2;
    Errored......

    Thanks
    We finally got in touch with our DBA and he said the same thing.
    SELECT t1.*,
    t2.*
    FROM schema1.table1 t1,
    schema2.table2 t2
    WHERE t1.column1 = t2.column2;
    I'll try it afther I finish a task my boss just gave me.
    BRB then.

  • Select from Multiple tables

    Hi,
    I am doing select from multiple tabels (2) in one SQL query.
    How to get the result as it says.. Column name is incorrect ?
    thanks,
    -raj

    treat the resultset as noraml. You get it in sequence as you have specified the column names. You use rs.getXXX(index) instead of columnname

  • How do I select a range of rows from an internal table in the debugger?

    Hi,
    I have a case where I wanted to delete a range of rows (several thousand) from an internal table using the debugger.
    It seems that rows can only be selected one at a time by selecting (clicking) on the far left side of the row.
    This is cumbersome, if not impossible when wishing to delete several thousand rows. 
    Other tools, such as Excel for example, allow for selecting a range of rows by selecting the first row and then holding the SHIFT key and selecting the last row and all rows in between will be selected.
    I can't seem to find the combination of keys that will allow this in the table (or structure) tab of the debugger.
    Is it possible to select a range of rows without having to select each row one at a time?
    Thanks for your help,
    Andy

    While it's a Table Control and should/could have a button to select all fields (or visible fields)...I don't think we can do it right now...I know it's a pain to select each row one at a time...but I don't we have any more options...
    Greetings,
    Blag.

  • To fetch Data from multiple database tables!

    How to fetch Data from fields of multiple database tables!
    Give me one example!

    use <b>join....</b>
    c the SAPHELP docs...
    FROM tabref1 [INNER] JOIN tabref2 ON cond
    Effect
    The data is to be selected from transparent database tables and/or views determined by tabref1 and tabref2. tabref1 and tabref2 each have the same form as in variant 1 or are themselves Join expressions. The keyword INNER does not have to be specified. The database tables or views determined by tabref1 and tabref2 must be recognized by the ABAP Dictionary.
    In a relational data structure, it is quite normal for data that belongs together to be split up across several tables to help the process of standardization (see relational databases). To regroup this information into a database query, you can link tables using the join command. This formulates conditions for the columns in the tables involved. The inner join contains all combinations of lines from the database table determined by tabref1 with lines from the table determined by tabref2, whose values together meet the logical condition (join condition) specified using ON>cond.
    Inner join between table 1 and table 2, where column D in both tables in the join condition is set the same:
    Table 1                      Table 2
    A
    B
    C
    D
    D
    E
    F
    G
    H
    a1
    b1
    c1
    1
    1
    e1
    f1
    g1
    h1
    a2
    b2
    c2
    1
    3
    e2
    f2
    g2
    h2
    a3
    b3
    c3
    2
    4
    e3
    f3
    g3
    h3
    a4
    b4
    c4
    3
    |--|||--|
        Inner Join
        |--||||||||--|
        | A  | B  | C  | D  | D  | E  | F  | G  | H  |
        |--||||||||--|
        | a1 | b1 | c1 | 1  | 1  | e1 | f1 | g1 | h1 |
        | a2 | b2 | c2 | 1  | 1  | e1 | f1 | g1 | h1 |
        | a4 | b4 | c4 | 3  | 3  | e2 | f2 | g2 | h2 |
        |--||||||||--|
    Example
    Output a list of all flights from Frankfurt to New York between September 10th and 20th, 2001 that are not sold out:
    DATA: DATE   LIKE SFLIGHT-FLDATE,
          CARRID LIKE SFLIGHT-CARRID,
          CONNID LIKE SFLIGHT-CONNID.
    SELECT FCARRID FCONNID F~FLDATE
        INTO (CARRID, CONNID, DATE)
        FROM SFLIGHT AS F INNER JOIN SPFLI AS P
               ON FCARRID = PCARRID AND
                  FCONNID = PCONNID
        WHERE P~CITYFROM = 'FRANKFURT'
          AND P~CITYTO   = 'NEW YORK'
          AND F~FLDATE BETWEEN '20010910' AND '20010920'
          AND FSEATSOCC < FSEATSMAX.
      WRITE: / DATE, CARRID, CONNID.
    ENDSELECT.
    If there are columns with the same name in both tables, you must distinguish between them by prefixing the field descriptor with the table name or a table alias.

  • Selecting from multiple sqlserver databases with HS

    I have setup HS from oracle 8.1.7 to sqlserver 7.0 for one database and it works fine. I have about six databases on the same NT server and will like to select from the various databases, the tables I need to update Oracle. I have edited the odbc.ini file to add the other sqlserver database entries. I have also updated the inithsmsql.ora file to add multiple entries for the other databases. When I select from distinct tables in the databases it works fine. But if I have the same tables in database A,B and C and want to select column from table A in database A, I get the result for table A in database B. Is there a way to select from identical tables from different databases and get the result for the table and database that is needed.
    ie select column from data_souce_name.table_name@hsmsql. Is there a syntax or configuration for that.
    Thanks

    Vira I am actually making multiple entries of these parameters in the inithsmsql.ora file. The first data source is test then I will copy it and edit it for another data source test1 etc. Even making one init.ora file in the hs/admin directory for the databases how will the system know from which database to query if one table exist in more than one database. Also even adding multiple listeners for the different sids won't help as the program= will be same for all. ? multiple tnsnames entries?
    HS_FDS_CONNECT_INFO = test
    HS_FDS_TRACE_LEVEL = 2
    HS_FDS_TRACE_FILE_NAME = test5.trc
    HS_FDS_SHAREABLE_NAME = /dbdata/odbc/lib/libodbc.so

  • How to map multiple output values to the output schema in biztalk mapper?

    Hi,
    In my biztalk mapper, I am using a "database lookup" functoid which is linked to a "Value Extractor" functoid. A source schema field is linked to the database lookup functoid which is linked to a "Value Extractor" functoid
    which is linked to the destination schema field. After passing the required parameter values in the database lookup functoid (lookup value, conn string, table, column name), I know that the result set may get multiple rows which are transferred to the "value
    extractor" functoid.
    Now what I want is to create a record in destination schema for each row in the result set. My current mapping is as below:
    1) Source record > looping functoid > destination record
    2) Source record field > Database functoid > Value Extractor functoid > dest record field
    but this mapping is giving me only the first value in result set.
    Please help me in this so that my map creates a destination record for each value in the result set.
    e.g. if query [select * from employees where surname='Brown'] returns five records, then I would like five records in the destination schema.
    Thanks
    manibest

    Hi Muhammad Ehsan,
    Thank you for the useful suggestion. however, I have only one difficulty in building your suggested solution. in my query  (select
    * from employees where surname='Brown'), the value of surname is coming from the source schema field which could be different in each source schema record field.
    lets say that source schema instance has 3 records in it as below:
    <Records>
    <Record><Surname>Brown<Surname></Record>
    <Record><Surname>Atkinson<Surname></Record>
    <Record><Surname>White<Surname></Record>
    </Records>
    For each of above records the database query should run with the relevant surname value. if database has 5 records for "Brown", 3 records for "Atkinson" and 1 record for "White" then the destination schema should create (5+3+1) = 9 records in
    total.
    To create a destination canonical schema that works fine, I have to somehow pass this surname value from source schema as parameter so that it uses this value to poll the database and get records. Is there a way I can pass this surname value as parameter
    to the destination canonical schema? Thank you so much for the help.
    manibest

Maybe you are looking for

  • Disable re-opening of Apps

    Hi, I facing a problem since i got the MacBook Pro OS X Lion. Whenever i turn on my Mac, all the apps which i didn't quit before shutting down my Mac, opens automatically. For ex: Mozzila, Finder, iTunes, Skype, iChat, Mail, VLC etc. etc. .I'm irrita

  • Why does the mandatory field indicator (*) not aligned in Firefox 4.0?

    [http://i56.tinypic.com/24ng1vt.png Asterisk not aligned in Firefox 4.0]

  • Why doesn't Photoshop support read/write of .mpo files?

    I am actually blown away that I cannot find a single Photoshop plugin that reads and/or saves .mpo files. Does somebody know why? And why isn't anyone talking about this format? I find it hard to believe that no one in the entire Photoshop Windows fo

  • Qosmio G40-108: starange display issue with highest resolution

    I just got mine but on its highest resolution all webpages have these 11 semi-rectangular blocks, barely visible, only the bottoms, each about an inch long, is this normal and should i send it back to be investigated?

  • AI CC: Import *.AI to Cinema 4D Lite?

    Hey guys, have an Illustrator document that I would like to import to Cinema 4D Lite. Launched After Effects and opened a C4D project, dragging the .AI file and C4D says 'Unknown File Format'. What file format should Illustrator Documents be saved to