Make two tables in the same space of template

Hi,
i made a pivot table with a dataset, i need add a new column or another table beside that pivot table, but doesn't work or generate a error.
how can i make two tables of diferente dataset in the same rows in a template?
thanks a lot
Edited by: user3504622 on 06-jul-2012 8:35

You could create two separate pivot tables and then enclose them in a borderless single row outer table. You need to ensure that the tables display correctly on the same page.
Thanks,
Bipuser

Similar Messages

  • How to use the TableSorter for two tables at the same view?

    Hello,
    I am using the TableSorter object in order to sort Dynpro tables.
    Suppose I have two tables at the same view, is it possible to use it seperatly for both of them?
    I assume that at the wdModifyView method I will need to catch the table that the user clicked on, yet I don't have an idea of how to do it...

    Hi Roy,
    Constructor of TableSorter
    public TableSorter(IWDTable table, IWDAction sortAction, Comparator[] comparators)
    So, you have to create instance of TableSorter class for each table on the view.
    best regards, Maksim Rashchynski.

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • Updating two tables at the same time

    Please,
    Does someone have an idea on how to update two tables at the same times?
    Thanks a lot in advance

    I was thinking about a single session and single update command.
    That's why I thougth someone else could have a clue.
    Thank you

  • How do I join two tables in the same database and load the result into a destination table in a SSIS package

    Hi,
    I have a query that joins two tables in the same database, the result needs to be loaded in a destination DB table.  How do I do this in SSIS package?
    thank you !
    Thank You Warmest Fanny Pied

    Please take a look at these links related to your query.
    http://stackoverflow.com/questions/5145637/querying-data-by-joining-two-tables-in-two-database-on-different-servers
    http://stackoverflow.com/questions/7037228/joining-two-tables-together-in-one-database

  • Two tables in the same uix page

    Hi! I work with Jdeveloper and UIX with the framework Jheadstart. I need to save data of two tables at same time; i mean , two tables in the same page which save with the same submitbutton. i have made some tries editing the service file, some templates and of course the page, but sometimes it works and sometimes not, i dont know what's happening and i really need to resolve this problem urgently. i hope someone can help me and i'd thank you a lot.
    Thanks for your atention.

    I'm sorry, but I'm going to need more details before I can help. If you can provide stripped down versions of your UIX page and Java code, perhaps I can be of service. Also, I would like to know which JDeveloper and UIX versions you are using.
    Ryan Pollock
    UIX Team

  • Two tables on the same page. Is it possible?

    Hi all,
    I followed the multi-slect sample in Winston's blog and everything is working. However, when I tried to put two tables on the same page, the selections are all messed up. When I looked at the code again I realized the line
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    in the setSelected(Object object) method.
    In the case that there are more than one tables on one page, how does the code which table it is refering to? Or how the code should be different so we can have multi tables with selectable rows on the same page? Thnx.

    Thanks. But how do you tie the TableSelectPhaseListeners to their respected tables.
    This is Winston's code for row select (1 table)
    private TableSelectPhaseListener tablePhaseListener = new TableSelectPhaseListener();
    public void setSelected(Object object) {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    if (rowKey != null) {
    tablePhaseListener.setSelected(rowKey, object);
    public Object getSelected(){
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return tablePhaseListener.getSelected(rowKey);
    public Object getSelectedValue() {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return (rowKey != null) ? rowKey.getRowId() : null;
    public boolean getSelectedState() {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return tablePhaseListener.isSelected(rowKey);
    For two tables. Do I just repeat the code like this?
    private TableSelectPhaseListener tablePhaseListener1 = new TableSelectPhaseListener();
    public void setSelected1(Object object) {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    if (rowKey != null) {
    tablePhaseListener1.setSelected(rowKey, object);
    public Object getSelected1(){
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return tablePhaseListener1.getSelected(rowKey);
    public Object getSelectedValue1() {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return (rowKey != null) ? rowKey.getRowId() : null;
    public boolean getSelectedState1() {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return tablePhaseListener1.isSelected(rowKey);
    private TableSelectPhaseListener tablePhaseListener2 = new TableSelectPhaseListener();
    public void setSelected2(Object object) {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    if (rowKey != null) {
    tablePhaseListener2.setSelected(rowKey, object);
    public Object getSelected()2{
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return tablePhaseListener2.getSelected(rowKey);
    public Object getSelectedValue2() {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return (rowKey != null) ? rowKey.getRowId() : null;
    public boolean getSelectedState2() {
    RowKey rowKey = (RowKey)getValue("#{currentRow.tableRow}");
    return tablePhaseListener2.isSelected(rowKey);
    Edited by: Thomas5 on Jan 18, 2008 5:28 AM

  • Data from two tables in the same row in XML transformation

    Hi,
        I am using XML transformation for generating excel file which is to besent as email attachment.
        Here  I want to display the data from two internal tables in the same row in the excel. .I am using   <tt:loop ref=".<table name>"> ...  </tt:loop> for looping through the table. Can I loop two table simultaneously ? In that case how will I specify the fields in each table . Some of the fields in two tables are of same name and type.
    Please help...
    Thanks,
    Jissa

    Hello Brian,
    Thank you for your answer. It is approach I will use, I think. However let me ask: Would it be possible to have a Version in this layout, too? I mean to see, which value comes from Version A and which comes from Version B? Something like this:
    Calendar Month Version Sales Amount
    2011.01  B  200
    2011.02  B  300
    2011.03  A  260
    2011.04  A  230
    2011.05  A  200
    A

  • Delete from two tables at the same time

    Hi,
    Is there way to delete from many tables at the same time ?
    delete from tbl1, tbl2;
    Thank you

    953402 wrote:
    Hi,
    Is there way to delete from many tables at the same time ?
    delete from tbl1, tbl2;
    Thank youNO
    Consider to actually Read The Fine Manual below
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/toc.htm

  • Two tables with the same selectionModel

    Hi to all..
    I have been working on a project in java that needs to include two tables.Right now, I have successfully
    built two tables (Table A and B) with different type of data from a database and each of it will update when user click a button.
    The problem that i have is how to make sure that when user click a row in Table A, any selection in Table B will be deselect.
    I am new in programming and still barely understand in Swing components.
    Thanks.
    Amy

    where should I put the line of code.add a mouse listener in table A
    put the code on mousePressed.
    e.g.
    tableA.addMouseListener(new java.awt.event.MouseListener() {
                public void mouseClicked(MouseEvent e) {
                public void mouseEntered(MouseEvent e) {
                public void mouseExited(MouseEvent e) {
                public void mousePressed(MouseEvent e) {
                    tableB.clearSelection();
                public void mouseReleased(MouseEvent e) {
            });

  • Merge Two Tables with the same columns but different data

    I have a table that has the following columns:
    Current Table Definition
    commonname
    family
    genus
    species
    subspecies
    code
    I have a number of entries that don’t fit the current table definition – that is that they only have a common name or description and a code. These records don’t actually represent a species but are needed for data entry because they represent an object that may be encountered in the study (Bare Ground – which isn’t a species but would need to be recorded if encountered). So I would really like 2 tables:
    Table 1 Miscellaneous
    name
    code
    Table 2 Plant Species
    commonname
    family
    genus
    species
    subspecies
    code
    I would like two tables so I can enforce certain constraints on my species table like requiring that the family, genus, species, subspecies combination is unique. I can’t do this if I have all the “other” records that don’t have a family, genus, species, or subspecies unless I put in a lot of dummy data into the fields to make each record unique. I don’t really want to do this because these miscellaneous records really don’t represent a specific species.
    So – the problem is that while I want this data separate I will need to point a column from another table to the code column in both tables.
    How is this best done? Table? View? Merge?

    Hi,
    Actually you don't have to use scope refs. Sorry but I misunderstood you earlier. Here is a complete example that does exactly what you want. Notice how I added the constraint to the materialized view. Also notice when we try to insert a code in tbl3 that doesn't exist in the view, we get an error. HTH.
    SQL> create table tbl1 (name varchar2(10), code varchar2(3) primary key);
    Table created.
    SQL> create table tbl2 (commonname varchar2(10), code varchar2(3) primary key);
    Table created.
    SQL> insert into tbl1 values ('n1','c1');
    1 row created.
    SQL> insert into tbl1 values ('n2','c2');
    1 row created.
    SQL> insert into tbl1 values ('n3','c3');
    1 row created.
    SQL> insert into tbl2 values ('name1','c1');
    1 row created.
    SQL> insert into tbl2 values ('name2','c2');
    1 row created.
    SQL> insert into tbl2 values ('name3','c3');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> create materialized view view1 as select name, commonname, tbl1.code from tbl1, tbl2 where tbl1.code = tbl2.code;
    Materialized view created.
    SQL> select * from view1;
    NAME COMMONNAME COD
    n1 name1 c1
    n2 name2 c2
    n3 name3 c3
    SQL> create table tbl3 (code varchar2(3), record varchar2(1));
    Table created.
    SQL> alter table view1 add constraint view1pk primary key (code); -- <-Note how I added a constraint to the view
    Table altered.
    SQL> alter table tbl3 add constraint tbl3fk foreign key (code) references view1(code);
    Table altered.
    SQL> insert into tbl3 values ('c1','r');
    1 row created.
    SQL> insert into tbl3 values ('c99','r');
    insert into tbl3 values ('c99','r')
    ERROR at line 1:
    ORA-02291: integrity constraint (RAJS.TBL3FK) violated - parent key not found
    SQL> spool of;
    -Raj Suchak
    [email protected]

  • How to make two portals share the same UME?

    Hi all,
    Can anybody share some information about how to make two portals share same UME? Is it possible? Thanks.
    B.R.

    Hi Lee,
    Its very much possible for 2 portals to make use of one datasource for UME.
    Lets assume for a scenario sake we are using an LDAP server as the UME for portals environment...so you would simple need to point for the UME's to the LDAP datasource.
    If you have something in particular do post back
    Thanks,
    GLM

  • Testing if two tables have the same structure

    Hi,
    I am looking for a tool that provides support for verifying whether two tables or databases schemas are same or not.
    I want to input two sql script files:
    1. one containing the create table for creating a table with name, id and email
    2. other containing the create table for creating a table with name, id and an alter table statement for adding the email.
    Now i have to test whether above two sql scripts will have the same impact on database.
    This is just the simpler form of veru complex sql script file that i am working on.
    Can DBunit do this and how.
    Its very urgent. I will appreciate any help.

    Repeated thread at: more clarification about previous problem

  • How can i make two ipods use the same apple id

    How can I make two ipod touchs have the same apple id

    If you haven't already set up your two iPods either make and apple I'd on one and on the setup on the other type on your apple ID by setup I mean when you first get it it asked you questions so when your done answering the questions your iPod is ready to be used

  • Changing the same column in two tables at the same time

    Hi,
    Oracle 10g2
    I have 2 tables:
    1. tab1 : Stores people info
    2. tab2 : Stores people insurance info
    Both have an address field.
    What I need to do is when tab1.address is updated I want the tab2.address to update automatically and
    when tab2.address is updated I want tab1.address to update.
    Is there a way to do this using triggers without having these triggers mutate?
    Thanks,
    Oleg
    Edited by: user635344 on Oct 8, 2009 11:04 AM

    Hi, Oleg,
    Centinul, Toon, Hoek and Peter are right. (It would be unusual if any one of them were wrong.)
    The addresses really ought to be in one table.
    If you really must have them in two (or more) tables, then don't INSERT or UPDATE addresses direectly into the tables; use a separate stored procedure, not a trigger.
    If you really must use a trigger (and this means a trigger on each table), then before each trigger updates the other table, check a flag to see if the current table is being updated because of DML on the other, and, if so, do nothing. If the current table is not being updated because of DML on the other, then set the flag before doing the update.
    In the example below, I used a package variable as the flag. You could also use a SYS_CONTEXT or a Global Temporary Table.
    CREATE TABLE tab1
    (      id    NUMBER
    ,      addr  VARCHAR2 (25)
    DROP TABLE     tab2;
    CREATE TABLE tab2
    (      id    NUMBER
    ,      addr  VARCHAR2 (25)
    CREATE OR REPLACE PACKAGE pk_x
    AS
        -- This package contains no functions or procedures, only 1 variable:
        table_of_origin     varchar2 (30);
    END     pk_x;
    CREATE OR REPLACE TRIGGER     tab1_aiu
    AFTER INSERT OR UPDATE OF addr on tab1
    FOR EACH ROW
    BEGIN
         IF  pk_x.table_of_origin  IS NULL
         THEN
              pk_x.table_of_origin := 'TAB1';
              UPDATE  tab2
              SET     addr     = :NEW.addr
              WHERE     id     = :NEW.id;
              pk_x.table_of_origin := NULL;
         END IF;
    END     tab1_aiu;
    CREATE OR REPLACE TRIGGER     tab2_aiu
    AFTER INSERT OR UPDATE OF addr on tab2
    FOR EACH ROW
    BEGIN
         IF  pk_x.table_of_origin  IS NULL
         THEN
              pk_x.table_of_origin := 'TAB2';
              UPDATE  tab1
              SET     addr     = :NEW.addr
              WHERE     id     = :NEW.id;
              pk_x.table_of_origin := NULL;
         END IF;
    END     tab1_aiu;
    /I made this example as simple as possible. Production code would be a lot more complicated (e.g., checking to see if id was changed).
    I tested this using the DML statements below.
    The contents of both tables is shown after each statement.
    INSERT INTO tab1 (id, addr) VALUES (1, '1 First St.');
          ID_1 ADDR_1                          ID_2 ADDR_2
             1 1 First St.
    INSERT INTO tab2 (id, addr) VALUES (1, 'Forstagatan 1');
          ID_1 ADDR_1                          ID_2 ADDR_2
             1 Forstagatan 1                      1 Forstagatan 1
    UPDATE        tab1
    SET        addr     = 'Primo Place'
    WHERE        id     = 1;
          ID_1 ADDR_1                          ID_2 ADDR_2
             1 Primo Place                        1 Primo PlaceThe query that displayed the contents is:
    SELECT  tab1.id           AS id_1
    ,     tab1.addr     AS addr_1
    ,     tab2.id           AS id_2
    ,     tab2.addr     AS addr_2
    FROM                tab1
    FULL OUTER JOIN           tab2     ON     tab1.id     = tab2.id
    ORDER BY   NVL (tab1.id, tab2.id);

Maybe you are looking for