Complex EVDRE column structure

Hello,
I would like to implement a EVDRE report with 3 nested column dimension like this:
Entity1                    Entity1                    Entity1                    Entity2                    Entity2                    Entity2          ...
2010.TOTAL          2011.TOTAL          EV_AFTER             2010.TOTAL          2011.TOTAL          EV_AFTER     
ACTUAL                BUDGET                 Delta Formula          ACTUAL                BUDGET              Delta Formula
So, "driving" dimension is ENTITY and this expansion should be dynamic. Furthermore I have TIME and CATEGORY but a static bock of member combinations for those dimensions should be repeated. Last, I have a Excel formula to be inserted (I could do this with a AfterRrange).
Basically I would like to display Actual Previous Year, Budget Current Year and the delta (I have also more complex requirements, but this is a small model for this category of problem).
The best solution I found is to implement one full EVDRE in the background, querying all combinations of ENTITY and some of TIME and CATEGORY. And I have built another EVDRE report as the user interface, querying only one TIME and CATEGORY combination per ENTITY and having a lot of AfterRange Cells with complex hlookups to the background EVDRE.
Is there an easier way to accomplish this? I have also tried with EVENE. I could generate exactly the required member combination but I failed to insert the Excel formula for the delta column.
thanks for any hint on this
Florian Fuchs

Hi Florian,
you could use multiple expansions. You can define two ColKeyRanges
EVRNG("A1:B2";"A5:B6")
and use the pipe | in the memberset, for example
CATEGORY
Actual|Budget
TIME
2010.TOTAL|2011.TOTAL
Result would be on column with Actual 2010.TOTAL and one column with Budget 2011.TOTAL.
This should solve your problem.
Cheers Georg

Similar Messages

  • Column Structure

    What I want to achieve is the following:
    Period XXX............Period XXX...........Period XXX
    Sale QTY...Sale Amt...Sale QTY..Sale Amt...Sale QTY..Sale Amt
    When query is run, user will enter the 0FISCPER, i.e. 005.2008, then the result will be as following:
    003.2008..........004.2008..........005.2008
    1000...30000 USD..6000...1200 USD...200...5000 USD
    I know this should be used the "offset" feature in the 0FISCPER variable, but can't remember how I build this structure in Query Designer?
    Please help.

    It is very simple to do.
    Approach I
    Go to Query desginge-->Column section.
    Drage keyfigures Sales Qty & Sales Amt.
    Now if you want to see the data of say last 4 period (you can do in this static design).
    Copy these two keyfigures and paste it on the Keyfigures structure 4 times or else drag them 4 times.
    Now go to the last keyfigure:
    Sales Qty right click and change.
    Drage characteristics fiscper -->to right
    and then right click on fisper -->restrict -->select sap exit variable for pulling current fiscal period.
    you will have to additioanlly restrict fiscal year variant as well ,otherwise it won't work.
    -->same thing with Sales Amt.
    Offset 1-
    Now do the same thing ,just one change .After selecting the variable ,right click on hte variable and select the option offset and take -1 as offset.do this for both Sales Qty & Sales Amt Keyfigs.
    Offset 2.
    here take offset as -2.
    similarily for till offset 4.
    You can also use description in the Text field for fiscper using text variable which will show the column name liek
    Sales Qty 001.2010(you can easily acchiev this).
    Now your column structure will look like:
    Sales Qty (offset -4)
    Sales Amt(offset -4)
    Sales Qty (offset -3)
    Sales Amt(offset -3)
    Sales Qty (offset -2)
    Sales Amt(offset -2)
    Sales Qty (offset -1)
    Sales Amt(offset -1)
    Sales Qty (offset 0)
    Sales Amt(offset 0)
    It may be look in the query like the below if you use text variable for the keyfigure description
    Sales Org (if you kept it in rows)   Sales Qty 001.2010 Sales Amt 001.2010 Sales Qty 002.2010 Sales Amt 002.2010 ..so on.
    Approach II
    Another approach would be to restrict the period in the Query :
    Put these in column:
    0Fiscper
    Keyfig
    Sales Qty
    Sales Amout
    You don't nned to do any offset in this case ,as it will show result for all the fiscper selected by the user in the inital screen.
    Regards,
    RK

  • Display data in column structure

    Hi all,
    I have statements like below:
    select distinct COL0 from aws_dbsum2
    select distinct COL2 from aws_dbsum2
    select distinct COL3 from aws_dbsum2
    select distinct COL4 from aws_dbsum2
    select distinct COL5 from aws_dbsum2
    select distinct COL6 from aws_dbsum2
    select distinct COL7 from aws_dbsum2
    select distinct COL8 from aws_dbsum2
    select distinct COL9 from aws_dbsum2
    select distinct COL10 from aws_dbsum2
    select distinct COL11 from aws_dbsum2
    select distinct COL12 from aws_dbsum2
    select distinct COL13 from aws_dbsum2
    /I am getting results..
    But i want to display results in column structure(all distinct value) like:
    when i use union i am getting duplicates...
    Col0    col1         col2 
    1       Norway     TV
    2       Germany    DVD
    3       China         Tube
    4       USA          thanks in advance
    Australia
    Edited by: Onenessboy on Sep 15, 2011 2:11 AM
    Edited by: BluShadow on 15-Sep-2011 13:47
    fixed code tag

    Hello
    There may be a simpler way but this is what I came up with. No matter what, you're going to have to access the table multiple times...
    WITH source_data AS
    (   SELECT 'Jive rocks' col1, 'Value 2' col2, 'Bananna' col3 from dual union all
        SELECT 'Jive rocks' col1, 'Badminton' col2, 'Bananna' col3 from dual union all
        SELECT 'Jive rocks' col1, 'Billiards' col2, 'Apple' col3 from dual union all
        SELECT 'Civet' col1, 'Coffee' col2, 'Bananna' col3 from dual union all
        SELECT 'Civet' col1, 'Badminton' col2, 'Pineapple' col3 from dual
    unpivot AS
    (   SELECT
            column_name,
            value,
            ROW_NUMBER() OVER (PARTITION BY column_name ORDER BY value) rn
        FROM
            (   SELECT
                    'COL1'  column_name,
                    col1    value
                FROM
                    source_data
                UNION
                SELECT
                    'COL2'  column_name,
                    col2    value
                FROM
                    source_data
                UNION
                SELECT
                    'COL3'  column_name,
                    col3    value
                FROM
                    source_data
    --select * from unpivot
    SELECT
        MAX
        (   CASE
                WHEN column_name = 'COL1' THEN
                    value
            END
        ) col1,
        MAX
        (   CASE
                WHEN column_name = 'COL2' THEN
                    value
            END
        ) col2,
        MAX
        (   CASE
                WHEN column_name = 'COL3' THEN
                    value
            END
        ) col3
    FROM
        unpivot  
    GROUP BY
        rn
    ORDER BY
        rnHTH
    David
    Edited by: Bravid on Sep 15, 2011 11:36 AM
    Edited by: Bravid on Sep 15, 2011 11:37 AM
    apparently mon-key is a spam word, and just for the record, I was not attempting to pro-mote my mon-key ten-nis dis-count bus-iness

  • How to increase width of the complex table column in Agentry?

    I am using Agentry 6.0.38.1 client and Smart service manager 3.0 and Agentry 6.0.32 plugin, developing for Android client
    I increased no of characters for that complex table column in Agentry editor still its width is same in Android device.
    How can I increase the displayed width so that values in that column will not truncate?
    Tags edited by: Michael Appleby

    Hi Merten,
    I'm using Agentry Android client v6.1.4.179 (latest one). In Work Manager Add Component screen, Plant and Item ID fields's edit type is Complex table drop down and Complex table search respectively.
    Now we have requirement to fixed Column Width of this fields. Kindly let me know if there is any way to fix this. if than how?
    Thanks-
    Dipak Jotaneeya

  • Create Static Column Structure on a Page

    I have several regions on my page, and I have divided the entire page into 2 columns. Some regions are in the first column and some in the 5th column (i have specified column=5 in their region attributes).. My problem is that my column structure does not remain static. There are some radio buttons in some of the regions, and depending on the value selected in the radio group, the column width keeps shifting. Can anyone suggest a way to make the column structure static?

    Never mind...I solved my own problem. The issue was some html text being displayed in the columns. The column width changed based on that text! All i had to do was insert "br" tags at the right spots. :)
    Message was edited by:
    GMT

  • Permission issues accross schemas to load XMLTYPE column - structured storage

    Hi,
    We have a table in BIUSER schema this table is object-realtionally stored with XMLs. When we are trying to load receords from ETLUSER schema we are getting the error as
    Record 1: Rejected - Error on table "BIUSER"."PWAYWORKFILE_TABLE".
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01031: insufficient privileges
    Heres the oracle installation details
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    "CORE 11.2.0.3.0 Production"
    All the records are moving to the bad file, whereas the same load happens normally in its own schema i.e. BIUSER
    Suspecting this as permission issues we have already given the permission to the table sysnonym as given below in the registration script.
    We googled and found few things about ACLs that we are not sure of , its that is the issue please let us know if this table can be created and loaded from different schema
    Heres the table creation and registration script
    set echo on
    spool regschema.log
    set define on
    set timing on
    set long 100000 pages 0 lines 256 trimspool on timing on
    drop table PWAYWORKFILE_TABLE;
    drop sequence PWAYWORKFILE_TABLE_SEQ;
    begin
    dbms_xmlschema.deleteschema('workfile.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('TotalLoss.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('Salvage.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('rate.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('notes.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('Image.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('Event.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('estimate.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('CoTotals.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('corr.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('Admin.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('Vins.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('commonType.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'commonType.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'commonType.xsd';
    BEGIN
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'Admin.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'Admin.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'CoTotals.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'CoTotals.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'Event.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'Event.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'Image.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'Image.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'Salvage.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'Salvage.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'TotalLoss.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'TotalLoss.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME        VARCHAR2(700) := 'Vins.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'Vins.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      -- DOM Fidelity enabled due to presence of mixed text, substitution group heads, or repeating choice structures in complex type defintion :-
      DBMS_XMLSCHEMA_ANNOTATE.enableMaintainDOM(V_XML_SCHEMA,'RefurbMgr',TRUE);
      select /*+ NO_XML_QUERY_REWRITE */
             XMLQuery(
               'declare namespace xdb = "http://xmlns.oracle.com/xdb"; (:
                copy $NEWSCH := $SCHEMA modify (
                                          let $MODEL := $NEWSCH/xs:schema/xs:complexType[11]/xs:all
                                          return (
                                            replace value of node $MODEL/xs:element[2]/xs:complexType/@xdb:maintainDOM with "false",
                                            replace value of node $MODEL/xs:element[3]/xs:complexType/@xdb:maintainDOM with "false",
                                            replace value of node $MODEL/xs:element[4]/xs:complexType/@xdb:maintainDOM with "false"
                 return $NEWSCH'
               passing V_XML_SCHEMA as "SCHEMA"
               returning content
        into V_XML_SCHEMA
        from dual;
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'corr.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'corr.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'estimate.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'estimate.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'notes.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'notes.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'rate.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'rate.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'workfile.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'workfile.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
      -- Out-of-Line mappings for 1000 Column optimization :-
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'AdminComp','ADMINCOMP_XML');
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'NotesComp','NOTESCOMP_XML');
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'SalvageComp','SALVGCOMP_XML');
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'CorrComp','CORRCOMP_XML');
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'ImageComp','IMAGECOMP_XML');
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'EventInterfaceManagerComp','EVIFCMGRCOMP_XML');
      DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'WorkfileType', 'TotalLossComp','TOTALLOSSCOMP_XML');
      DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => TRUE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    -- Table creation for namespace "http://www.cccis.com/Pathways/Workfile"
    set lines 80
    CREATE TABLE "PWAYWORKFILE_TABLE"
          SequenceID NUMBER,
          DL_CLM_FOLDER_ID   VARCHAR2(30),
          CUST_CLM_REF_ID VARCHAR(25),
          ems_file_nm               varchar2(256),
          EST_IND         VARCHAR2(3),
          rec_dt date default sysdate,
          filesent_datetime date,
          CLM_TYP_CD               VARCHAR2(2 CHAR),
          WORKFILE  XMLTYPE
    XMLTYPE COLUMN WORKFILE
    STORE AS OBJECT RELATIONAL
    XMLSCHEMA "workfile.xsd" ELEMENT "PwayWorkfile"
    create sequence PWAYWORKFILE_TABLE_SEQ
    start with 1
    increment by 1
    nomaxvalue
    create trigger PWAYWORKFILE_TABLE_TRIGGER
    before insert on PWAYWORKFILE_TABLE
    for each row
    begin
    select PWAYWORKFILE_TABLE_SEQ.nextval into :new.SequenceID from dual;
    end;
    desc PWAYWORKFILE_TABLE
    /* create synonym */
    create or replace public synonym PWAYWORKFILE_TABLE for PWAYWORKFILE_TABLE;
    grant select on PWAYWORKFILE_TABLE to BIUSER_RO;
    grant select, insert, update,delete on PWAYWORKFILE_TABLE to biuser_full;
    exit;
    Regards,
    Arghyadip

    Hi MarcoGralike,
    I have finally acquired a sample schema and xmls to reproduce the errors that i am getting even after acquiring XDBADMIN privilege and registering my schema as GLOBAL.
    Here's the problem i am facing, whenever i intend to store the PublisherList (publisher.xsd) out of line while registration i am running into insufficient privilege issues even if i have the schema registered using (LOCAL => FALSE), whereas it runs smooth in BIUSER and if i dont set it out of line it works in ETLUSER as well.
    Here are the 2 XSD files
    books.xsd   --- this is the root element
    <xs:schema  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"  version="1.0" xdb:storeVarrayAsTable="true">
      <xs:include schemaLocation="publisher.xsd"/>
      <xs:element name="books" type="bookType"/>
      <xs:complexType name="bookType" abstract="true">
        <xs:sequence>
        <xs:element name="author" type="xs:string" minOccurs="0"/>
        <xs:element name="title" type="xs:string" minOccurs="0"/>
        <xs:element name="genre" type="xs:string" minOccurs="0"/>
        <xs:element ref="PublisherList" minOccurs="0"/>
       </xs:sequence>
       </xs:complexType>
    </xs:schema>
    publisher.xsd -- this is a child elelment which in my actual scenario is so big that i must keep it out of line during registration
    <xs:schema  xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb"  version="1.0" xdb:storeVarrayAsTable="true">
      <xs:element name="PublisherList" type="PublisherListType"/>
      <xs:complexType name="PublisherListType">
        <xs:sequence>
        <xs:element name="Name" type="xs:string" minOccurs="0"/>
        <xs:element name="Office" type="xs:string" minOccurs="0"/>
       </xs:sequence>
       </xs:complexType>
    </xs:schema>
    Here's the sample XML
    <?xml version="1.0"?>
    <books xmlns:xs="http://www.w3.org/2001/XMLSchema">
          <author>Writer</author>
          <title>The First Book</title>
          <genre>Fiction</genre>
          <PublisherList>
           <Name>Penguin</Name>
           <Office>London</Office>
          </PublisherList>
    </books>
    Here's how i am registering the Schemas in BIUSER which has XDBADMIN privilege
    DROP TABLE BOOKS_TABLE;
    begin
    dbms_xmlschema.deleteschema('books.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    begin
    dbms_xmlschema.deleteschema('publisher.xsd',dbms_xmlschema.DELETE_CASCADE);
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'publisher.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'publisher.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
        DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => FALSE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    declare
      V_XML_SCHEMA_NAME       VARCHAR2(700) := 'books.xsd';
      V_XML_SCHEMA             XMLType       := xmlType(BfileName('XSD_DIR',V_XML_SCHEMA_NAME),nls_charset_id('AL32UTF8'));
      V_SCHEMA_LOCATION_HINT   VARCHAR2(700) := 'books.xsd';
    begin
      DBMS_XMLSCHEMA_ANNOTATE.printWarnings(FALSE);
      DBMS_XMLSCHEMA_ANNOTATE.disableDefaultTableCreation(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.SETTIMESTAMPWITHTIMEZONE(V_XML_SCHEMA);
      DBMS_XMLSCHEMA_ANNOTATE.disableMaintainDom(V_XML_SCHEMA,FALSE);
    DBMS_XMLSCHEMA_ANNOTATE.setOutOfLine(V_XML_SCHEMA,DBMS_XDB_CONSTANTS.XSD_COMPLEX_TYPE,'bookType', 'PublisherList','PUBLISHERLIST_XML');
        DBMS_XMLSCHEMA.registerSchema(
        SCHEMAURL       => V_SCHEMA_LOCATION_HINT
       ,SCHEMADOC       => V_XML_SCHEMA
       ,LOCAL           => FALSE
       ,GENTYPES        => TRUE
       ,GENTABLES       => TRUE
       ,ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    CREATE TABLE BOOKS_TABLE
          BOOKS  XMLTYPE
    XMLTYPE COLUMN BOOKS
    STORE AS OBJECT RELATIONAL
    XMLSCHEMA "books.xsd" ELEMENT "books"
    DROP PUBLIC SYNONYM BOOKS_TABLE;
    create or replace public synonym BOOKS_TABLE for BOOKS_TABLE;
    grant select, insert, update,delete on BOOKS_TABLE to ETLUSER;
    Heres the ctl file that i am using
    Load_Books.ctl
    OPTIONS (ERRORS=100000, SILENT=(HEADER,FEEDBACK),ROWS=500, BINDSIZE=3072000 , READSIZE=3072000)
    load data
    infile '/apps/dev/PWXML-10/ctl/load_xml.txt'
    BADFILE '/apps/dev/PWXML-10/ctl/load_xml.txt.bad'
    DISCARDFILE '/apps/dev/PWXML-10/ctl/load_xml.txt.dsc'
    append
    into table BOOKS_TABLE
    filename filler char(120),
    BOOKS lobfile(filename) terminated by eof)
    '/apps/dev/PWXML-10/ctl/load_xml.txt' would contain the XML file path that i gave
    Heres how i am loading the XML through sqlldr in ETLUSER
    sqlldr etluser/etluserpassword@MYXMLDBNAME control=Load_Books.ctl log=Load_Books.ctl.log
    Here's the error i am getting
    Record 1: Rejected - Error on table "BIUSER"."BOOKS_TABLE".
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01031: insufficient privileges
    Hopefully i have given you all the set up required to pin point the evil error.
    Please let me know if i have missed something.

  • How to add three columns under a column of Column Structure in BEx Query ??

    Hi all,
        I have created a Structure for Taxes (with 10 rows) under Rows and another Structure for Company under Columns and it has 3 columns like Company A, B & C. Now I want to have three columns (Actual, Forecast & Total) under each company A, B & C. It means it will have 9 columns under these 3 companies.
      The ACTUAL should calculated as:
              Version = 100 and
              Months = Plan Begin Month - 1.
      If the Plan Begin Month is 4 (April) then ACTUAL should be calculated for first 3 (4 - 1) months only.
       The FORECAST should calculated as:
              Version = 699 and
              Months = From 4 (April) to 12 (December).
       'Plan Begin Month' will be entered on the selection screen.
       How can I design this query, PLEASE ?
        Thanks in advance.
    Regards,
    Venkat.

    Hi Ravi,
        Thanks for your quick response.
        The ACTUAL should calculated as:
              Version = 100 and
              Months = Plan Begin Month - 1.
              If the Plan Begin Month is 4 (April) then ACTUAL should be calculated for first 3 (4 - 1) months only.
       The FORECAST should calculated as:
              Version = 699 and
              Months = From 4 (April) to 12 (December).
          I am unable to create the Restricted Key Figure with Version.
         How can I design it, PLEASE ?
    Thanks,
    Venkat.

  • XML to complex/deep ABAP structure

    Has anyone successfully used Function module
    SDIXML_DOM_TO_DATA (& related SDIXML* Function modules) to convert XML string into complex ABAP structure?
    I am using WAS 6.40 (ECC) and I was hoping that if the XML & the ABAP structure you pass as function module parameter do match in strcture, then this Function module should automatically convert (ie, de-serialize) the XML into ABAP structure - Without having to write any XSLT or ST (Simple Transformation) files !
    Any ideas? Any other Function module? The ABAP structure I want to be populated is a "deep structure" with many levels and tables at various levels etc..
    Thanks a lot

    Hi Janet Lam,
    Here's an article explaining mapping between XML and ABAP structures.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2e98a690-0201-0010-3b90-cda224bad152
    Dont forget to reward pts, if it helps ;>)
    Regards,
    Rakesh.

  • 2 structures in the column,structure not displaying in the output(RSRT)

    Hello BI Folks,
               I have a requirement where the user enters the input(text variable)
    say 03/2011 then the report output should be Jan,Feb,Mar.
    say  05/2011 then the output should be Jan,Feb,Mar,Apr,May,likewise.
    The report output should be:(if the text variable is---02/2011)
    Brand          Jan              Feb                     Mar                      April                      May                       June                  July                 Aug             Sept           Oct                Nov           Dec
              Sales Foc Sales Foc  Sales Foc  Sales Foc  Sales Foc  Sales Foc Sales Foc Sales  Foc Sales  Foc Sales  Foc Sales  Foc
      A      455    56     38      
      B                03     32
      C
      D       90      2      75     69
    I am acheievin this by using creating 2 structures in the columns.
    1 structure is for jan-dec & another structure for the KPIs(sales,FOC).
    I am writing customer exit to read the text variable & get the data for the variable read.
    lo_year = sy-datum+0(4).
    lmon =sy-datum+4(2).
    READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'text_variable'.
    l_s_range-low = loc_var_range-low.
    ln_value = l_s_range-low+4(2).
    DO ln_value TIMES.
      l_counter = l_counter + 1.
      CONCATENATE 'customer_exit_mons' l_counter INTO lv_text.
      CASE i_vnam.
        WHEN lv_text.
          IF i_step = 2.
            CONCATENATE lo_year lmon '01' INTO lv_startdate.
         **  Call a function module to arrive the enddate.
            CALL FUNCTION 'SLS_MISC_GET_LAST_DAY_OF_MONTH'
              EXPORTING
                day_in            = lv_startdate
              IMPORTING
                last_day_of_month = lv_enddate.
            l_s_range-low = lv_startdate.
            l_s_range-high = lv_enddate.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
            CLEAR l_s_range.
          ENDIF.                                                "End IF
      ENDCASE.                                                  " End Case
      lmon = lmon + 1.
    ENDDO.                                                       " End of Do loop
    CLEAR: ln_value , lv_text .
    The problem is i am not getting the query ouput atleast not the query structure.Is there any other way to achieve this type of output.
    Note:--The text variable wil be based on 0calmonth.
               The custmer exit variables Jan-dec is based on 0calday.
    Edited by: shreyaJ on Nov 18, 2011 11:49 AM

    Hi crazymatts,
    Thanks for ur reply.
    There is no data in the text variable (0CALMONTH).
    But i think the structure atleast gets displayed in the output,am not gettin even that.
    And there is no reference characteristics on the text variable.Its a manual input variable which i will be using in my code.
    Thanks,
    Shreya J.
    Edited by: shreyaJ on Nov 23, 2011 8:12 AM

  • Query about XMLTYPE column structured storage in Oracle Xml db

    Dear All,
    DB Version: Oracle 11g (11.2.0.3.0)
    I have an table having one column as XMLTYPE with Structured storage.
    CREATE TABLE Orders
        Order_id NUMBER NOT NULL,
        Order_etc VARCHAR2(100),
        Order_desc XMLType NOT NULL
        XMLTYPE Order_desc STORE AS OBJECT RELATIONAL XMLSCHEMA  "http://localhost/public/xsd/order_desc_xsd.xsd" ELEMENT "OrderState";
    I have then registered the XSD with XML Db schema which is required for Structured storage.
    Before this table creation I had created a table (db_objects) of XMLTYPE and was able to use the below query to check for what all objects the XMLTYPE table got broken into when I registered its XSD.
        SELECT column_name,     
               data_type
        FROM   user_tab_cols
        WHERE  table_name = 'DB_OBJECTS';
    And used below query to look for data stored in Object-Relational structure for my table (DB_OBJECTS) created with XMLTYPE definition.
      SELECT EXTRACTVALUE(xseq.column_value, '/THISROW/OWNER')       AS owner
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_NAME') AS object_name
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_TYPE') AS object_type
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/OBJECT_ID')   AS object_id
        ,      EXTRACTVALUE(xseq.column_value, '/THISROW/CREATED')     AS created
        FROM   db_objects do
         ,      TABLE(XMLSEQUENCE(EXTRACT(VALUE(do), '/ROWSET/THISROW'))) xseq 
        WHERE  ROWNUM <= 10;
    Now could someone let me know, how to find how the column (Order_desc) of XMLTYPE was broken down into further objects just like I did for the Table with XMLTYPE (as shown above)?
    Many Thanks.

    First given that you are on 11.2, ExtractValue is deprecated and the documentation lists three options to use instead.  Here is one option (untested)
    SELECT owner, object_name, object_type, object_id, created
      FROM db_objects do,
           XMLTable('/ROWSET/THISROW'
                    PASSING do.object_value
                    COLUMNS
                    -- Set data types accordingly
                    owner        VARCHAR2(20) PATH 'owner',
                    object_name  VARCHAR2(20) PATH 'object_name',
                    object_type  VARCHAR2(20) PATH 'object_type',
                    object_id    VARCHAR2(20) PATH 'object_id',
                    created      VARCHAR2(20) PATH 'created');
    Second, why does column order matter?  You are storing in an object relational method.  As long as the XML is valid per the schema, the Oracle will be able to store the data and later retrieve it as well.  How that data is stored is mostly Oracle internals and should not be touched as it can be changed from version to version.  You can use schema annotation to control how Oracle maps and stores the XML, but nothing in there specifies column order that I am aware of.
    It seems additional details are missing as to what you need the information for so that would help others answer your question.

  • How to pass complex data type structure to WebService under mx:request?

    From my Flex client, I need to pass data to a web service whose operation expects a complex data type with multiple layers of nesting structure. How can I populate the <mx:request> for the <mx:WebServices>? Any examples?
    A couple of approaches come to my mind:
    (1) construct ActionScript object to mimic the datatype expected by web service, and pass an instance of the AS object to mx:request; or
    (2) construct an entire SOAP request body in XML and pass it into mx:request.
    Does any of these (or both) work? If both work, which is the better way?
    Thanks in advance for your input!
    -William

    Thanks a lot for the rapid response, Marcel.
    For further details on the maping between WS complexType structure and AS object, is there any specific requirement? such as naming, binding, structure of nesting, etc.
    William

  • Complex swf/xml structure with "donwload updated files" ?

    Hello to all, sorry for my bad english.
    i have a complex structure of swf + xml structure.  something like 200 files..  i was wondering if is it possible to create an air application for install all this package on a client and then check is some file of the structure is updated on the server and then after a user confirmation download and replace those files.
    if is it possible someone could give me guideline for develop this application?
    thank you so much

    AIR doesn't support incremental updates. Any update package is a full install.

  • Custom expansion/order in an evDRE column?

    Hi to all,
    we've got with dimension which will be our column in an evDRE report. Unfortunately, the order asked by the user doesn't entirely match the order of the ID he provided us (which are also the IDs on the relation DB we're reading from).
    So, we need to change the order of the columns...
    We thought:
    - Change all the IDs in order to match the order of this very important report (but it's cumbersome, and we don't know if there is maybe other reports with custom orders)
    - Find a way to define a property in the dimension, so to use it for sorting the columns
    - Don't expand the column dimension, and set the members manually (hopefully they won't change?)
    I'm very interested to understand if the second possibility is feasible, and how, and if there is another approach to the problem...
    Thank you
    Daniele

    Hi Daniele,
    The first option is really tedious and is not a very recommended approach.
    You can definitely go with the second option. You can create a property for sorting and use this property in the template.
    The third option is also good, only if you dont any kind of expansion in the columns.
    However, I still feel that you should go with the second option.

  • BEX Report - Row/Column structures

    Hi experts,
    I am in the process of building a financial consolidation reports. I need to have structures for both company(0company) and accounts. I build a structure for company in the column. I need to have another structure in the row for accounts.
    Context menu of the account in the row will give an option to create a structure. But the create option is not populated.
    Please share your thoughts.
    Thanks

    when you say 'new structure'.no pop up will be displayed to create a structure.Structure will be crreated in rows once you click on 'New structure'.check it out in rows.
    If 'new structure' is grayed out,then it means you have already had two structures in ur query designer.
    Just to make sure: after clicking on 'new structure', try again to create a structure but that option will  be grayed out.

  • EVDRE Column expansion: Auto hide column following expansion

    Hello All
    I have an EVDRE expansion question please. If i set my column to expand on BAS members of Entity,  and i have say 10 entities that are a part of my selected parent entity, i notice that the 11th column auto hides in excel. I assume this is caused by the fact that the page key range definition requires the colkeyrange to include a minimum of two columns.
    Does any one know how to stop this? Perhaps as one of the OptionsRange?
    The context of my question is that i have 4 EVDRE's in my sheet - if one of them results in a column being hidden, it hides results from the EVDRE results that appears below it.
    Naturally, the same applies to a Row expansion.
    Thanks for any assistance
    Glen

    Hi Glen,
    I cannot decipher the way your template looks like. As far as I understand your statement, you have a "DYANMIC" expansion in column in which you use BAS as your flag for column member set.
    This is how it works, if you're using flags (e.g. BAS, SELF, DEP) as your member set. It highly depends on your current view. Meaning, if the member in your current view has only 1 BAS level member, then the column next to it will automatically hide. Therefore, the case where you are in is not usual in BPC wherein the current view on that dimension has 10 BAS level members and the column next to it automatically hides.
    Possible cause/reason, I suppose is that you are using "HIDECOLKEYS" in your option range tagged as "Y" in your 2nd or 3rd or 4th EvDRE which is PROBABLY LOCATED under the ranges of EvDRE where you have 10 BAS level members.
    I hope my statements are easily comprehendable.
    Thanks! Hope this helps... _
    I'm sorry I forgot to highlight this: 
    Does any one know how to stop this? Perhaps as one of the OptionsRange?
    The context of my question is that i have 4 EVDRE's in my sheet - if one of them results in a column being hidden, it hides results from the EVDRE results that appears below it.
    Naturally, the same applies to a Row expansion.
    Thanks for any assistance
    Glen
    So what I want to suggest is that check all your column and row ranges if it overlaps each other in each EvDRE. It would be best to relocate other EvDREs OR remove the "Y" tags on your option range at "hidecolkeys" and/or "hiderowkeys" and just group the IDs manually through MS EXCEL.
    Thanks!
    Edited by: hitachi88 on Nov 3, 2010 4:41 PM

Maybe you are looking for

  • General Error Issue: FCP 7 on my Mac Book Pro 10.6.8 2.53 GHZ 4GB

    I'm working on a lengthy project, multiple timelines. Out of nowhere I started getting a "General Error" message on playback in a specific area of the timeline. I trash preferences, trash render preferences (making the timeline now red), and now the

  • Cannot make in-app purchase..  But still can purchase paid app on App Store..

    I cannot get in-app purchase on all apps.. After, enter my apple id password It says "your purchase cannot be completed.. please contact support itunes for your assistance www.apple.com/support/itune/ww/ " But i can still get paid app, on App Store..

  • Java text editor usb

    Hi i am a java student and i dont really know where this question but my question is Is there a java text editor and java programs compiler for a usb drive?

  • I missed my online phone number

    Hi, I selected my online number, and then I missed it. How to retrieve it? Thank you, Vovash

  • Opening two attachments

    Can we compare two attachments in the same instance. For Example there are two attchments we are getting as input in the same instance.Now if we want to compare the two attachments is it possible .Please let me know how can that be done.