Using xsd:group in Report Data Structure

Hi all,
I am totally new to BI Publisher trying to create a report with a data structure specified by an XML schema. This schema makes heavy use of the XML schema construct 'group', e.g. like
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:group name="custGroup">
<xs:sequence>
<xs:element name="customer" type="xs:string"/>
<xs:element name="orderdetails" type="xs:string"/>
<xs:element name="billto" type="xs:string"/>
<xs:element name="shipto" type="xs:string"/>
</xs:sequence>
</xs:group>
<xs:element name="order" type="ordertype"/>
<xs:complexType name="ordertype">
<xs:group ref="custGroup"/>
<xs:attribute name="status" type="xs:string"/>
</xs:complexType>
</xs:schema>
</xsd:sequence>
</xsd:complexType>
When importing this schema into the Word Template Builder the shown attributes do not contain the elements specified in the group but only the element 'order' of type 'ordertype'.
Could you point me to the solution of this issue - if any? Or is BI Publisher not able to handle xsd:group constructs?
Thanks in advance.
Best regards,
Stefan

The feature has some restrictions. Does the following work for you?
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="order" type="ordertype"/>
<xs:complexType name="ordertype">
<xs:group ref="custGroup"/>
<xs:attribute name="status" type="xs:string"/>
</xs:complexType>
<xs:group name="custGroup">
<xs:sequence>
<xs:element name="customer" type="xs:string"/>
<xs:element name="orderdetails" type="xs:string"/>
<xs:element name="billto" type="xs:string"/>
<xs:element name="shipto" type="xs:string"/>
</xs:sequence>
</xs:group>
</xs:schema>

Similar Messages

  • Using Authorization group field in Data entry profile

    Hi,
    I would need some help in configuring/using the authorization group field in data entry profile.
    After setting up the values in the drop down, how do we link to the authorization profiles or roles .
    basically, I would like to know the steps/activities required to use this field

    cross posting->thread locked.

  • Use of semantic groups to aggregate data

    In a number of threads - e.g. Semantic Groups in DTP it is stated that you cannot use semantic groups to aggregate data. In others, there are statements that this is only for handling the error stack.
    This I find puzzling, as the SAP Help says:
    +Choose Semantic Groups to specify how you want to build the data packages that are read from the source (DataSource or InfoProvider). To do this, define key fields. Data records that have the same key are combined in a single data package.
    This setting is only relevant for DataStore objects with data fields that are overwritten. This setting also defines the key fields for the error stack. By defining the key for the error stack, you ensure that the data can be updated in the target in the correct order once the incorrect data records have been corrected.+
    The experience of one of my clients is that you can indeed use Semantic Groups, and you do not need to define an error-DTP. ( Change the error handling on the Update tab to, e.g. "1 Valid Records Update, No Reporting" - then the key fields displayed after perssing the semantic group button become available ).
    Any comments? Have I misunderstood the point that the others have been making?
    matt

    Hi Matt,
    Semantic group is used to define the groupiing of records by data package.  If you select 0PLANT as a Semantic group, each packet of data will contain all values of 0PLANT until the Max record is reach.  Example, Package Size is set to 50K.  If you have 30K of 0PLANT = 0002 and 22K of 0PLANT = 0003.  First packet will contain 52K records of plant 0002 & 0003.  The next packet will start with plant 0004 and will contain all records with 0004.  If this doesn't make 50K records then plant 0005 will be included in packet 2. 
    Regards,
    Dae Jin

  • Group by reports

    Hi
    I am using Oracle Reoprts 6i. I have a report where I need to
    group by using a single parent, multiple child relationship. For
    example, taking Employee number as the single parent and
    employee&#8217;s children&#8217;s names and the projects in which he has
    worked as the child records of employee number. I am not able to
    achieve this tree structure. i am trying to use a Group left
    report format. Can u pls help.
    Thanks in advance.
    Prabhu S

    hi all,
    my problem is solved now...heres what i was suggested by monica
    from oracle corp..tx monica.. i hope this mite be useful for
    others too.
    cheers,
    prabhu.
    Hello,
    Lets say you have three tables -
    Parent - ( A primary key)
    Child1 - ( B foreign key references Parent(A))
    Child2 - ( C foreign key references Parent(A))
    and B and C are not related.
    Create three queries in the data model -
    Q_1 - Parent which will create group G_Parent
    Q_2 - Child1 which will create group G_Child1
    Q_3 - Child2 which will create group G_Child2
    Create two data links -
    One from G_Parent(A) to G_child1(B)
    Other from G_Parent(A) to G_child2(C)
    In the layout -
    Select type as Group Left.
    Select the groups G_A,G_B,G_C to display down.
    Select the fields to display.
    Select template and run report.
    This will give you the desired result.
    Regards,
    Monica Samuel

  • Download reported data in Tunisian currency (three decimal places)

    Dear all,
    if I use the download of reported data functionalety in EC-CS (TC cx3d1) and the file format is .txt, the system can not handle the three decimal places of tunesian currency and moves the comma one digit to the left side. The values are multiplied with 10 right now.
    Do I need to change the settings somewhere or is that a known problem?
    Many thanks in advance,
    Andrea Reinecke

    Hello,
    many thanks for the quick answer. Maybe I need to specify the problem a little bit: The Tunisian currency has been set to three decimal places. The databaselist shows the values correctly, e.g. 5000,000.
    If I use transaction cx3d1 to download the values, the system converts this value into a textfile. The problem is, that the values is not 5000,00 any longer, instead of 50000. That means, everything is multiplied with 10 and the decimal places are away.
    Do you know that problem? We have it only with the tunisian dinar, but not with the Hungarian currency, which has as well three decimal places.
    Best regards and many thanks in advance,
    Andrea Reinecke

  • Can BPEL handle xsd:group tags?

    As far as I heard BPEL cannot handle xsd:group tags in XSD schema files.
    E.g. when validating XML documents.
    Is this true? Or do I have to enable an option to use xsd:group tags as well?
    Peter

    Has anyone got it working yet?
    In my case, I have the following sequence:
    FileAdapter -> Mediator1 -> Mediator2->DB Adapter
    I am deliberately introducing validation error in File. Isn't it correct to assume Fault framework would get triggered at Mediator1 level since we are invoking FileAdapter service?
    I am getting a strange behaviour. If I enable XSD validation at Mediator1 level, process is Faulted with no re-try option. However, if I enable XSD validation ONLY at Mediator2 level, I get Recoverable fault. There seems to be some disconnect between documentation and reality. I am using JDeveloper 11.1.1.3.0 version and SOA Suite 11g.
    Thanks,
    Amjad.

  • Manage historical data that will be used in grouping by webforms/reports?

    Our system receives transactions in a per-minute basis, and each transaction is stored in a
    Raw Data table that's exclusively for this. All reports, gridview webforms, etc come from tables that are derived from this master table.
    In this case I can't group the data during run-time due to the volume of data. So for tasks like the daily summary, should I just have a job that runs once daily and groups all the data from the current day and inserts it into a historical daily table? The
    same thing with the weekly?
    I considered using BIDS and creating a cube, but due to the presentation of the data, it was beginning to look more complex. In other words, in order to show the desired result in a grid (plus include filters), I would need to use tons of MDX, which I still
    don't master.
    Thanks.
    VM

    I agree with kalman, this is the right way to deal with reporting and big tables, in most cases it is better to have 2 databases, one fore the original data, and one for the reporting which include this summarized data.
    Regarding the CUBE, this is a good option especially if your reports are more complex and includes several dimensions. on a simple case I don't think you should use CUBEs. But in order to make this dissension you need to understand the idea of using cube
    and the idea of dimensions:-) 
    * For most cases cube is just a nice and fast tool, that you can implement your self in another database, but in complex system it should give you a faster result. for simple system
    I will agree that no CUBE is needed probably.
      ** You should give us more information on your system if you want us to be more productive (number of users, database size and tables size, 1 transaction a sec... but what is it doing, what is the row size, and much more information... therefore we only
    can give you general gulden rules)
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • Using a Heiarchical Tree with data that can be grouped

    Hello Forum
    I have been tasked with coming up with a selector for one of our applications that uses a tree. I have built a mock-up using the example provided at Craigs Oracle Stuff (https://sites.google.com/site/craigsoraclestuff/oracle-forms---how-to-s/forms-how-to-create-a-hierachical-tree-form) that subsuitutes our data in the SQL for his, and I have successfully added another loop as the data is located in 3 tables, but have come across a few issues. I have been searching the forums and google, but cannot find anything to solve the issues that I am having. Any help is appreciated. This is being developed in 10g. The data is structured as follows.
    Category(root)
    ID, Name
    1, A
    2, B
    3, C
    SubCategory (Level 2)
    ID, Name, CatID
    1, A, 1
    2, B, 1
    3, C, 1
    Codes (Level 3 and beyond?)
    ID SubCatID Description
    1, 1, 'The, quick'
    2, 1, 'The, quick, brown'
    3, 1, 'The, quick, brown, fox, jumps'
    4, 1, 'The, quick, brown, fox, jumps, over, the lazy, dog'
    5, 2, 'Wafting, zephyrs, quickly, vexed, Jumbo'
    6, 2, 'Wafting, zephyrs, quickly'
    As you can see the codes table has a lot of repeating values that are delimited by ',' (commas). I can produce a tree out of the 3 tables but...
    Problem:
    The description in the codes table can be as many as 255 characters. The tree seems to truncate the values around 60 characters. I am not sure what the maximum data lenghts in the tree are, or if the max lengths are limited by the node or the entire tree. Although the Category and Subcategory names can be as much as 120 characters, they are more typically around 25 characters.
    Could this problem be remedied buy deepeing the levels of the tree by grouping the values in the codes table on the comma delimiters? The max number of commas in the description is 9, so that would make the tree up to 11 levels deep. I know how to get the text between the commas, but am unsure how to link the data back to the parent
    Ex. The tree would be
    A
    ->A
    ->->The
    ->->->quick
    ->->->->brown
    Thanks for any Assistance
    Mike
    EDIT: I found the reason that the label of the node is being limited in length. The limit is actually 50char because of this line in Craig's code in the Create_RG function:
    gc_id := Add_Group_Column(rg_id, 'label', CHAR_COLUMN,50);
    I changed the limit to 255 and now all of the data displays.
    Although working now, I would still like to know id there is a way of grouping the data into the tree view, as this would make the tree much more readable.
    Mike
    Edited by: saskcivic on Feb 5, 2013 7:36 AM

    hi,
    In BI CONTENT,, v can just install any Object,,for that, matter,,just to make that object Active. So by Default it vll nt have any data. Install any Query data flow before and after, then select some master characteristics, and transaction data,,schedule them, Load the data,, then Ur Report Data vll display.
    Cheers
    Thanks

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • Group Above Report problem...not able to display absent rows in date range

    In my report query, I have numerous select statements that I must union together and group by a date. The ultimate goal is to get a count for all records in coordination with that date. Then in the report, I group all the data with the same date to ultimately put all counts on a page that coordinate with a single date.
    Thing is...if there are no records associated with that date, the 'group by' clause makes the return data set not include those lines of output. I need these lines of output! Any suggestions??
    Below is an example...
    Select 'Program1', 'SubProgram1', 'Label 1', to_char(receipt_date, 'MM/DD/RRRR'), count(*)
    from submissions
    where receipt_date between '01-JUN-05' and '10-JUN-05'
    and substr(submission_index,8,1) = '3'
    and substr(submission_index,9,1) = '1'
    group by substr(submission_index,8,1), substr(submission_index,9,1), to_char(receipt_date, 'MM/DD/RRRR')
    union
    Select 'Program2', 'SubProgram2', 'Label 2',
    to_char(receipt_date, 'MM/DD/RRRR'), count(*)
    from submissions
    where receipt_date between '01-JUN-05' and '10-JUN-05'
    and substr(submission_index,8,1) = '4' group by substr(submission_index,8,1), to_char(receipt_date, 'MM/DD/RRRR')
    OUTPUT:
    Program1 SubProgram1 Label 1 06/01/2005 4
    Program1 SubProgram1 Label 1 06/02/2005 2
    Program1 SubProgram1 Label 1 06/03/2005 6
    Program1 SubProgram1 Label 1 06/04/2005 23
    Program1 SubProgram1 Label 1 06/06/2005 71
    Program1 SubProgram1 Label 1 06/07/2005 245
    Program1 SubProgram1 Label 1 06/08/2005 76
    Program1 SubProgram1 Label 1 06/10/2005 45
    Program2 SubProgram2 Label 2 06/01/2005 66
    Program2 SubProgram2 Label 2 06/02/2005 345
    Program2 SubProgram2 Label 2 06/03/2005 89
    Program2 SubProgram2 Label 2 06/04/2005 12
    Program2 SubProgram2 Label 2 06/05/2005 3
    Program2 SubProgram2 Label 2 06/06/2005 27
    Program2 SubProgram2 Label 2 06/09/2005 98
    Program2 SubProgram2 Label 2 06/10/2005 456
    I need the missing lines to show up for Program 1 on 6/05 and 6/09
    and Program 2 on 6/07 and 6/08

    create table your_table (
        program     varchar2(20),
        subprogram  varchar2(20),
        label       varchar2(20),
        day         date,
        num         number
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('01-JUN-05'), 4);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('02-JUN-05'), 2);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('03-JUN-05'), 6);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('04-JUN-05'), 23);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('06-JUN-05'), 71);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('07-JUN-05'), 245);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('08-JUN-05'), 76);
    insert into your_table values ('Program1', 'SubProgram1', 'Label 1', to_date('10-JUN-05'), 45);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('01-JUN-05'), 66);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('02-JUN-05'), 345);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('03-JUN-05'), 89);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('04-JUN-05'), 12);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('05-JUN-05'), 3);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('06-JUN-05'), 27);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('09-JUN-05'), 98);
    insert into your_table values ('Program2', 'SubProgram2', 'Label 2', to_date('10-JUN-05'), 456);
    SELECT     yt.program
    ,           yt.subprogram
    ,           yt.label
    ,           nvl(yt.num,0)     NUM
    ,           days.date_value
    FROM     (     select  (to_date('11-JUN-05','DD-MON-YY') - day) date_value
                   from    (   select  rownum day            
                               from    dual            
                               connect by rownum < 11        
              )                    days
    ,          your_table          yt
    where   yt.day(+) = days.date_value
    order by yt.program, days.date_value
    PROGRAM          SUBPROGRAM     LABEL     NUM     DATE_VALUE
    Program1     SubProgram1     Label 1     4     6/1/2005
    Program1     SubProgram1     Label 1     2     6/2/2005
    Program1     SubProgram1     Label 1     6     6/3/2005
    Program1     SubProgram1     Label 1     23     6/4/2005
    Program1     SubProgram1     Label 1     71     6/6/2005
    Program1     SubProgram1     Label 1     245     6/7/2005
    Program1     SubProgram1     Label 1     76     6/8/2005
    Program1     SubProgram1     Label 1     45     6/10/2005
    Program2     SubProgram2     Label 2     66     6/1/2005
    Program2     SubProgram2     Label 2     345     6/2/2005
    Program2     SubProgram2     Label 2     89     6/3/2005
    Program2     SubProgram2     Label 2     12     6/4/2005
    Program2     SubProgram2     Label 2     3     6/5/2005
    Program2     SubProgram2     Label 2     27     6/6/2005
    Program2     SubProgram2     Label 2     98     6/9/2005
    Program2     SubProgram2     Label 2     456     6/10/2005The four null rows will not show up because the date is used at least once between program 1 or program 2. Will there only ever be two programs to chose from? Any one else got any ideas around this?

  • Creation of Generic Data source using function module based on the program which was used to created ABAP report

    Hi,
    We have a requirement to create a BI report based on plant maintenance report. The plant maintenance report is based on a ABAP program with complex logic. My question is i want create a Generic Datasource using Function module and can I include the logic(Abap Program) that is used for plant maintenance report in the function module? Please share your thoughts.
    Thanks,
    Ravi

    Hi,
    Step1-Create a table structure which you need to create same as the fields you require in you data source.
    Step 2-create a custom abap program and inside that call the Client abap program with the selections as required and save the result data in some table
    Step 3-create infoset query.In the infoset query give your table structure name and  program name which you developed.
    Step4-create data source on top of that query

  • How to design Group Left Report using RTF method ( XML Publisher )

    Hi,
    I need to design Group Left Report using basic RTF method. I am able to design basic simple report and Group Above Report but I am not getting Group Left Report. Can anyone help me out.
    Thx N Regs,
    Khan.

    Group Left report can be done using table consisting of 1 row and 2 columns. Group header goes to the column 1, group details go to the second column. Group details can be also designed using table, in this case you get table within table cell. "for-each.." statement for the upper level group to be placed in the left column before the group header data. "end for-each.." to be placed in the second column after the detail data.

  • Using the tcode:S_ALR_87013611, no report data  for the cost center

    Hi,Friends.I need a help.
    In the tcode FB60,i entered the following data and then posted the vendor inovice sucessfully.
    data:
    ( Note: G/L acct:55020141 is also a primary cost element)
    In the tcode:S_ALR_87013611,I entered the following data and executed.
    but the result is:{Report contains no data. Check the selection log}.
    data: { Controlling Area: C999, Fiscal Year: 2010, From Period:1, To Period:12,Plan Version:0,
            Or value(s):2001}
    (Note: Cost center:2001 belongs to Controlling Area: C999) 
    please tell me how to do,so that using the tcode:S_ALR_87013611, I can see the report data  for
    the cost center 2001.
    sincerely                      WenYao Ma
    Edited by: wenyao ma on Mar 22, 2010 1:09 PM

    thank you,friends.
    I just solved it.
    Solution:
    1) Maintain Controlling Area
       path:spro>Controlling>Organization>Maintian Controlling Area>Maintain Controlling Area.   tcode:OKKP
    In the {Activate components/control indicators}cost center should be 'component active'
    2) Maintain Number Ranges for Controlling Documents
       path:spro>Controlling>Organization-->Maintain Number Ranges for Controlling Documents.   tcode:KANK
      Element { COIN CO Through-postings from FI} should be assigned to one group.

  • Consumption report Date to date ,Group & itemwise

    Dear Sap Expets,
    Can you please advise me that i want to make consumption report Date to date ,Group & itemwise ,in summary report (Total Qty and Value consumed).How is the possible it?
    Thanks
    mohit

    Hi,
    Use MB5B report for the same, it will give you qty & values for overall receipts and issues for certain period or else refer report MC.2
    Hope this will resolve your issue.
    Thanks & Regards,
    Sandesh Sawant

  • Loading complex report data into a direct update DSO using APD

    Dear All,
    Recently, I had a requirement to download the report data into a direct update DSO using an APD. I was able to perform this easily when the report was simple i.e it has few rows and columns. But I faced problems If the report is a complex one. Summing up, I would like to know how to handle the scenarios in each of the following cases:
    1.   How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
          key fields of DSO and the remaining to the data fields? Correct me.
    2.   What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
          system and then include these in the DSO data fields to accommodate the extracted data ?
    3.   How do I handle the Free Characteristics and Filters ?
    4.  Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
         use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
         shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
    I would appreciate if someone can answer my questions clearly.
    Regards,
    D. Srinivas Rao

    Hi ,
    PFB the answers.
    1. How should I decide the key fields and data fields of the direct update DSO ? Is it that the elements in ROWS will go to the
    key fields of DSO and the remaining to the data fields? Correct me.
    --- Yes , you can use the elements in the ROWS in the Key fields,  but in case you get two records with same value in the ROWS element the data load will fail. So you basically need to have one value that would be different for each record.
    2. What if the report contains the Restricted KFs and Calculated KFs? Do I have to create separate infoobjects in the BI
    system and then include these in the DSO data fields to accommodate the extracted data ?
    Yes you would need to create new Infoobjects for the CKF's and RKF's in the Report and include them in your DSO.
    3. How do I handle the Free Characteristics and Filters ?
    The default filters work in the same way as when you yourself execute the reoprt. But you cannot use the Free characterisitics in the APD. only the ROWS and cloumns element which are in default layout can be used.
    4. Moreover, I observed that if the report contains selection screen variables, then I need to create variants in the report and
    use that variant in the APD. So, if I have 10 sets of users executing the same report with different selection conditions, then
    shall I need to create 10 different variants and pass those into 10 different APDs, all created for the same report ?
    --- Yes you would need to create 10 different APD's. Its very simple to create, you can copy an APD. but it would be for sure a maintance issue. you would have to maintain 10 APD's.
    Please revert in case of any further queries.

Maybe you are looking for

  • Adding a NetGear Switch

    I have more devices than ports.  Is adding a NetGear switch just a matter of plugging it in and turning it on?

  • SDK double bytes

    Hi All I'd like to ask you something. I updated a business partners data by using SDK, but Japanese characters which is double byte are broken and can't be seen on my PC. What kind of setting do I need to use double bytes characters like Japanese? Th

  • Introduction to the Spry framework for Ajax

    Hi All I attended the breeze eSeminar: Introduction to the Spry framework for Ajax 07/27/2006 3:00 PM US/Eastern Anyone know the location for the recorded version?

  • Print multiple emails in one go

    I have a large number of emails which I can group together but need to print them out individually. Can I select this group and print out each one fully without having to open,print,close each one manually? thanks Dave

  • How do I remove Mac 10.8.2

    Ever since installing 10.8.2 my Mac keeps crashing, how do I uninstall it?