Child groups in Reports and generating to XML...

Hi,
We have Report Builder 6.0.8.8.3. The data model includes a
number of queries, each related to a master query by a single column.
i.e.: where MASTER_GROUP.object_id = CHILD_GROUP_1.object_id1
and MASTER_GROUP.object_id = CHILD_GROUP_2.object_id2
and MASTER_GROUP.object_id = CHILD_GROUP_3.object_id3
etc.
Using a very basic layout, we can get all the data
satisfactorily presented in the report previewer. However, we
need to generate the report to XML and we have encountered a
problem: Only the data from the first datalink is presented, and
all the rest is suppressed.
i.e. Where we should be getting:
<MASTER_GROUP>
<!-- Master data here -->
<CHILD_GROUP_1>
<!-- Child 1 data here -->
</CHILD_GROUP_1> <CHILD_GROUP_2>
<!-- Child 2 data here -->
</CHILD_GROUP_2>
<CHILD_GROUP_3>
<!-- Child 3 data here -->
</CHILD_GROUP_3>
<!-- etc. -->
</MASTER_GROUP>
we are actually getting:
<MASTER_GROUP>
<!-- Master data here -->
<CHILD_GROUP_1>
<!-- Child 1 data here -->
</CHILD_GROUP_1>
<!-- No other child data. Where's it gone? -->
</MASTER_GROUP>
Can any one say if they have seen this before? Also if
there's a workaround?
We're on a very tight deadline here, and are considering
resorting to plain old SQL, so any help with this would be great.
Thanks,
Iibhear and Catherine.

I have the same problem. Are you find out its solution or
workaround?
thanks in advance,
Natxo Cabri
[email protected]

Similar Messages

  • Select from table in group of columns and generate a sequence number

    I have to select data from a table in group of columns and generate a sequence for every group resetting the sequence to start from 1 onwards.
    For example:
    Data:
    Col1 Col2 Col3 Col4
    A NA KA 2009-08-13
    B NA KA 2009-08-13
    C NA KA 2009-08-13
    A NA KA 2009-08-13
    B NA KA 2009-08-13
    A NA KA 2009-08-13
    Expected output from Select Statement:
    Col1 Col2 Col3 Col4 Seq_No
    A NA KA 2009-08-13 1
    A NA KA 2009-08-13 2
    A NA KA 2009-08-13 3
    B NA KA 2009-08-13 1
    B NA KA 2009-08-13 2
    C NA KA 2009-08-13 1
    How can this be possible with a SELECT statement? Is it possible to assign seq numbers for a group of columns and reset it when it changes? In the above example, all columns form the key to generate the seq number
    I know it can be done using Stored procedures and that is how I am doing it now by introducing a temporary table.
    Can anyone help me in this regard? Please let me know if the question is vague to understand!
    Thanks,
    Nachi

    with t as(select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'B' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'C' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'B' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual
    union all
    select 'A' col1,'NA' col2 ,'KA' col3,'2009-08-13' col4 from dual)
    select t.*,row_number() over (partition by col1,col2,col3,col4 order by col1,col2,col3,col4) from tYou can replace partition by col1,col2,col3,col4 with only columns that you need for grouping condition
    and also order by you can just do on the column you need.

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

  • Work Group Manager Reports and Logs

    Mac Manager maintains logs and display current activity information somewhat different that Work Group Manager. With Mac Manager we are able to quickly report for Activity Log, Disk Usage, Connected Machines, Printer Quotas, Workgroup by User, Computers, Checked Out Computers and user activity.
    How can we duplicate such a report with Work Group Manager?
    We are a school district that is 88% Macintosh and miss the reports and logs feature in Mac Manager (10.3.9).
    Hope to hear and find a solution to this challenge.
    Marco Baeza, Director of Technology

    Hello,
    Possibly some ideas here. http://www.macintouch.com/macmanager.html
    Carolyn

  • Differentiate between report and generated scheduled report - report list

    How do I differentiate between a (.rpt) report and a (scheduled generated report) from this report (.rpt with data) when I list all the reports on the server.
    I need this information because when I view the scheduled report, I do not need to set the parameters via the crystal viewer.
    Thanks in advance.
    JM

    Ted.
    I am not sure why the scheduled report is saying si_instance=false.
    So I scheduled the sample report - Drilldown and named the scheduled instance as "DrilldownInstance",
    it created two info objects. One has SI_INSTANCE = true and the other has SI_INSTANCE = false!!!!!
    select * from CI_INFOOBJECTS
    where
    SI_PROGID = 'CrystalEnterprise.Report'
    and SI_KIND = 'CrystalReport'
    and si_name LIKE '%DrilldownInstance%'
    I presume it should have only created one object, and set si_instance=true
    Thanks,
    JM
    P.S
    Sorry to be a bother! but this is driving me nuts!
    Edited by: jam mend on Jan 20, 2009 9:07 PM

  • Can I run multiple reports and generate 1 PDF File

    Hi
    I would like to create multiple reports, run them, and generate 1 PDF output. Is this possible?
    Regards,
    Néstor Boscán

    Hello,
    Take a look to the thread :
    Re: How to append pdf (Very Urgent plz)
    Regards

  • The decimal field should accept 0.00 as the input and generate the XML

    Hi Experts,
      I have one requirement. I need to display the field which take 0.00 as the input and that field should come in the output XML. This field of type decimal. I m using sender proxy. Im populating the value 0.00 to this decimal field, But the proxy is not producing this field in the output XML. Plz suggest me.
    Regards,
    Rama

    HI Ravi,
    It is accepting the input as 0.00. But i want it as decimal.
    Can u explian what is the difference between these two types decimal and string.
    It should take the input values in the decimal format. ll it take?
    Regards,
    Rama

  • XML publisher report not generating output for huge XML files

    Changed Depreciation Projections Report output type to XML.
    Defined a Data Definition and a new Data Template (RTF) for this report.
    Ran the Depreciation Projection Report to generate the XML output.
    Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
    Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
    Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
    The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
    The XML file size is approximately 33 MB.
    Please let me know if there is any way we can increase the memory size to see the output.
    Thanks,
    Ram.

    for publisher use Category: E-Business Suite

  • Migration of our reports from Streamserve to XML publisher in Oracle EBS

    Dear All,
    I am working for a company using Oracle Applications 11.5.10.2 and we have several critical reports developped with Streamserve V3 (Customer Invoice , Sales Order Acknowledgment, Shipping Advice, PO layout, ...).
    For various reasons we plan to abandon Streamserve and migrate to XML publisher or BI publisher whose functionalities seem to cover most of our needs.
    However, my knowledge of XMLP/BIP is quite basic and I need some information on how to implement the reports.
    I will be very glad and grateful if someone accepts to share his/her experience by answering a few questions :
    1) What are the main differences between the XML publisher version included in APPS 11.5.10.2 and the standalone version of BI publisher ?
    2) In most of our reports the language depends on the third party (vendor, customer, carrier, ...) so in the same report batch we can have some documents to be printed in English, while some other should be in French.
    Is it possible to achieve that with XMLP or is the language to be chosen when submitting the concurrent request ?
    3) As for languages, the delivery of the document (email or printed paper) depends also on the third party.
    Is it possible in a same batch to have some documents emailed and other not ?
    4) The bursting engine seems to be the main solution to manage the way documents are delivered.
    a) How can we automatically launch it after the main request completion ? (most of our reports are scheduled to run periodically)
    b) Is it possible to make bursting with a dynamically generated control file ?
    c) What if the bursting engine does not couver all our needs ? Is there a way to develop our own deliver logic ? If so, where to find a step by step procedure to achieve that ? (knowing that we are newbies in Java language)
    5) Some of our reports must be generated in PCL rather than PDF. I think that is not native in XMLP so what may be the workaround ?
    Thanks in advance for your very helpfull answers.
    Best regards
    Karim Helali
    Paris, France

    Thank you Steven for your quick reply.
    Here are my comments/precisions :
    1) What we would like to konw is what are the functionnalities included only in that standalone version. This way we can decide if it is worth paying the quite expensive extra licence for BIP or if the EBS version of XMLP is enough for us.
    I tried out to find this quite basic information without success. If anyone can indicate an oracle reference document
    2) I know that the language is chosen via the template. Also, when you submit an XMLP concurrent request in EBS you have to choose which template to apply for the layout. So it looks like it is not posssible within a unique concurrent request to generate documents in more than one language. Is it so or am I missing something ?
    3) Regarding documents multiple delivery management, I undertsand that we can do it either with bursting engine or with specific JAVA code implementing XMLP APIS. Even we are newbies in JAVA, we can deal with that. But I am quite puzzled as I find nowhere a document that explains how to develop that and especially how to integrate this within EBS.
    Let me explain you our current logic with Streamserve and let me know how this can be implemented within XMLP :
    - a report is setup in EBS as Executable type = SqlPlus / Output Type=PDF
    - the SQLPLUS scripts takes into account the user request's parameters and generate an XML(like) file including all the data
    - at the end the SQLPLUS calls a specific shell that runs the Streamserve step : the XML file is passed to the specific streamserve binary report wich generates several outputs (global PDF for the concurrent request output + global PCL flow sent to the printer queue + 0-n physical file(s) for archiving + 0-n email(s) sent ...)
    - The language and delivery modes are not unique within a batch: they are decided per document in the streamserve binary report (based on third party setup included in the XML data file). So we don't need to launch a report batch per language or delivery mode.
    I think such process should be possible using XMLP java APIS but I am quite stuck as I don't know how to start. Has anyone implemented such a global process in EBS with XML ?
    Thanks again
    Karim Helali

  • Hide parent group if child groups are hidden

    I have SSRS 2005 report.
    Report structure - To show a particular account transactions for every company.
    So user will select account then i have to show all transactions for that account for all companies.
    Parent group - Account
    Child group - Company
    Details section is like below,
    transactions id            transaction type          debit
              credit              difference
    In the groups visibility for compnay group (chile group) i have set condition if diff is zero then hide
    so its hiding child groups. but showing account i.e. parent group. 
    My Report looks like,
    Account : Acc001 (Parent group)
    Company - ABC     (child group)
    transactions id            transaction type          debit  
            credit          
    difference    
    t1                                   type 1                        4
    t2                                   type 2                                    
            4
    total by company            4                    4                   0
    Company - XYZ            (child group)
    transactions id            transaction type          debit  
            credit           difference    
    t3                                   type 1                        100
    t4                                   type 2                                    
             100
                                       total by company           100               100      
             0
    total by account              104             104                 0       
    so i am hiding companies ABC and XYZ but report still show last row total by account. so if abc and xyz are hidden i want to hide that account group (for e.g. Acc001).
    h2007

    Hi h2007,
    According to your description, you have a report with detail rows showing transaction information, child group showing companies, and parent group showing account. Now you want to hide the detail row if the difference(debit-credit)=0, and if the detail row
    is hidden, you want to hide the company as well. Right?
    In Reporting Service, we can’t use a property of a text box as an expression when we use IIF() function to evaluate. But we can put this whole IIF() expression into a IIF() function for another textbox or group to set visibility. We tested your case in our
    local environment. It works fine and completely achieve your goal. Here are steps and screenshots for your reference:
    Create a table as described.
    Right click on any textbox of detail row. Select Properties.
    Click on Visibility tab, put this text into expression:
    =IIF(SUM(Fields!Debit.Value)-SUM(Fields!Credit.Value)=0,true,false)
    Select toggled by its parent group (Company).
    Repeat step2 and step3 for each textbox of detail row.
    Right click on textbox of Company. Select Properties.
    Click on Visibility tab, put this text into expression:
    =IIF(IIF(SUM(Fields!Debit.Value)-SUM(Fields!Credit.Value)=0,true,false),true,false)
    Select toggled by its parent group (Account).
    Right click on textbox of Account. Select Properties.
    Click on Visibility tab, put this text into expression:
    =IIF(IIF(SUM(Fields!Debit.Value)-SUM(Fields!Credit.Value)=0,true,false),true,false)
    Go to Properties window, set InitialToggleState Expanded for Company and Account textbox
    Save and preview.
    Reference:
    Expression Examples (Report Builder and SSRS)(See Properties->Visibility)
    Expression driven visibility in a report
    Best Regards,
    Simon Hou

  • Unable to generate the XML file through SQL script. getting error PLS-00306

    I am fetching the data from cursor and generating the xml output I am getting the below error.
    When I have checked the cursor query it is fetching the data in to single column.
    Input truncated to 1 characters
    Enter value for 7: EXEC FND_CONC_STAT.COLLECT;
    DBMS_LOB.append (tmp_file, r.core_xml);
    ERROR at line 95:
    ORA-06550: line 95, column 7:
    PLS-00306: wrong number or types of arguments in call to 'APPEND'
    ORA-06550: line 95, column 7:
    PL/SQL: Statement ignored

    Hi Alex,
    thanks for the responce..
    i have fixed the issue
    i have used XMLAttributes to get the value
    SELECT XMLELEMENT (
    NAME "TranACK",
    XMLAttributes ('1' as "TranNum",
    (select distinct to_char(SYSDATE,'yyyy-mm-dd')
    from DUAL) as "PrcDate"),
    XMLFOREST (
    a.PAYMENT_ID AS "PmtID"),
    XMLFOREST (
    a.ACK_TRANSACTION_RECEIVER AS "Name1"),
    XMLFOREST (
    to_char(a.VALUE_DATE,'yyyy-mm-dd') as "ValueDate" ),
    XMLFOREST (
    a.PAYMENT_AMOUNT AS "CurAmt"),
    XMLFOREST (
    a.CURRENCY_CODE AS "CurCode")
    ).getclobval ()
    AS line_xml
    FROM XXWAP_PAYMENT_LINE_TBL a
    where a.PAYMENT_BATCH_ID=P_batch_id;

  • Issue with Varchar2 field conversion for report output generated in EXCEL

    Hello All,
    I have an unique problem with one of my new reports for the User. The user wants the report output generated in excel data only(delimited data) format *(reports builder 10g)* .
    Everything was fine until i encountered this problem, there was this field which has unique ID's(alphanumeric and numeric), when i tried to run the report and generate output in Excel the numeric ID's say for example *(41593497999679354429)* is converted in excel and displayed like *(2.5881E+19)* and after format cells in excel it displays *(41593497999679300000).*
    The issue is only with 20 digits numeric ID's , if i append any special character to the end say '#' or '..' it shows the exact value along with the appended character. But the user insist they need only the value that is in the table. I am finding it hard to figure out, if any one of you have encountered the same issue or if any of you have any suggestions to overcome this excel conversion thing please do advice me.
    Thanks in advance :)

    Thanks for you response, but i already tried what you suggested, instead of appending single quote in front of ID, i did at the end prior with '#', it preserves the value if i add any character to the id but the appended value shows up too :(.
    Well, i just got the solution and it did work, thanks to [Brian Hill|https://forums.oracle.com/forums/thread.jspa?threadID=651632] for the post, i did what exactly he said and it worked. I was so very happy and wanted to share with everyone.

  • Oracle Report call Oracle Report to generate single output

    Is it possible for an Oracle Report to call another Oracle Report and generate single output?
    Report one is a form letter and the second report is the accompanying information described in the letter. The reports cannot be merged because the second report is very complex and used by many programs and purposes.
    Using 6i on 10g database, currently migrating to 11g Reports and database.
    Thank you.

    6i is not certified with 10g DatabaseWell, that is not completely true. 6i Even works and is partly certified against 11g, since Oracle Apps 11 is built in Developer 6i and certified against 11g.
    To call a report from a report use SRW.RUN_REPORT.

  • Reg :  vo.writeXML() how to filter the data before generating the xml data

    Hi team,
    I have table region with multi selection option.
    My requirement is to fetch the data and generate the xml data for the selected rows.
    By using : writeXML() --> it is fetching all the data.
    What are the methods i need to use,so i can fetch only the selected data ?
    Any pointers ?
    -Sridhar

    Hi Peddi,
    i tried the way u mentioned :
    But the new VO2 (Target) VO is having an extra row, iam not understanding how that is getting stored in VO2.
    Can you please review the below query and let me know if any issue.
    public void copyVO()
    int rowCount=0 ;
    OAFXMLVOImpl vo1 = getOAFXMLVO1(); //source
    OAFXMLVOImpl vo2 = getOAFXMLVO2(); //destination
    OAFXMLVORowImpl row2= null ;
    OAFXMLVORowImpl row1 =null;
    if(vo2!=null && vo2.hasNext())
    { vo2.first();
    do
    vo2.getCurrentRow().remove();
    vo2.next();
    while (vo2.hasNext());
    oracle.jbo.Row[] rows = (oracle.jbo.Row[]) vo1.getFilteredRows("check", "Y");
    rowCount = rows.length;
    if(rowCount>0)
    vo2.setMaxFetchSize(0);
    for(int i=0;i<rowCount;i++)
    row1 = (OAFXMLVORowImpl)rows;
    System.out.println("User ID-->"+ row1.getUserId());
    System.out.println("Checked -->"+ row1.getcheck() );
    row2 = (OAFXMLVORowImpl) vo2.createRow();
    row2.setUserId(row1.getUserId());
    row2.setcheck(row1.getcheck());
    vo2.insertRow(row2);
    row2.setNewRowState(row2.STATUS_INITIALIZED);
    } //end of if
    -Sridhar

  • Issues with creating and sending BOM XML IDOC to SAP using 2010 WCF-SAP Adapter (without using Biztalk Server)

      I'm trying to replace an existing Biztalk 2006 Send BOM IDOC process, and completely remove Biztalk server from the equation.   The existing Bizatalk 2006 server receives an input BOM (Bill of Materials) flat file, and using a Biztalk Map (BM08),
    and Orchestration, generates an Idoc and sends it to SAP.
      In my replacement C# program, I'm using the 2010 WCF-SAP Adapter, and am trying to generate the BOMMAT03 XML IDOC it to SAP.  
      I generated the BOMMAT03 schema from SAP using the Add Adapter Service in VS 2010.  I was able to generate a BM08 XSLT from the existing BMO8 map in the current Biztalk 2006 process.  I am able to run a XSLT transform on the input BOM flat
    file, and generate an XML file from that.  
      However, I've run into a few issues.   First of which, is that the XML file that is generated from the XSLT transform is NOT the same schema as the BOMMAT03 schema expects.  It's somewhat similar, but different enough that I have to manually
    translate between the two in my code.  I've verified that both the original Bitztalk 2006 process and my replacement program use BOMMAT V3 from SAP.  Question--Is Biztalk 2006 server doing some other magic to turn that transormed XML into the BOMMAT03
    schema?    
     I ended writing code which translates the transformed XML into the BOMMAT03 schema (which is a strong typed XML IDOC at this point).
      However, when I try to send the BOMMAT03 XML IDOC, I get an exception "Object reference not set to an instance of an object."
                   idocClient.Send(idocData, ref sadapterTxGuid);
    idocData is of type BOMMAT03, and I've verified that the various fields are populated.  
      Any help is appreciated. 

    Well, putting in a MSDN subscription support ticket for Biztalk server actually helped with the issue.  They didn't find, or fix the issue directly.  But one of the examples (https://randypaulo.wordpress.com/tag/idoc/) they sent over, jogged my
    memory, and I realized in the code snippet below, I had accidentally deleted the 1st line.  Such a simple mistake, yet was easy to overlook.  The URL example is almost EXACTLY like my code, but without the transform and translation code to convert
    from input XML file to IDOC XML.  If someone is interested in that, let me know.    
    //Forgot the 1st line.  
    idocClient = new IdocBOMMAT03SIEIS_WED_BOMMAT03V3R700Client(binding, endpointAddress);
     idocClient.Send(idocData, ref sadapterTxGuid);
    For anyone else interested in knowing, you CAN send a strongly typed IDOC to SAP using C#.NET and the WCF SAP 2010 Adapter, using the IDOC Binding Client class you generated using the Add Adapter Service Reference in VS2010.  
    The one difference, which no one, not even the tech support from MS could tell me, was why the XSLT which I generated from the original map, did not transform the input BOM XML into the BOMMAT03 XML.  Instead, it transformed it into an intermediate
    XML, which resembled the BOMMAT03 IDOC XML, but still needed to be translated to the BOMMAT03 IDOC format.  
    The tech support person swore up and down that it should.  But I believe that something happens in Biztalk server, after the Mapping occurs, maybe in the Pipeline, which converts that
    intermediate XML into the final BOMMAT03 IDOC XML format.
    I do think that the examples are severely lacking in showing how to send a strong typed IDOC using C# and the WCF-SAP Adapter.  Even worse, the examples are completely lacking in how to actually generate a weakly typed IDOC.  They show how to send
    that weakly typed IDOC, but show me, or give me a class to be able to generate it.
    I realize that this is not quite the "recommended way" to do it, but in reality, not everyone wants or even needs a full Biztalk installation.   For some simple stuff like this, a C#.NET program and WCF-SAP adapter do the trick.  

Maybe you are looking for

  • M4500 4.1 speakers connectivity to DVD player

    HI friends, I am using creative 4.1 speakers. Recently i brought Godrej dvd player. I tried to connect the woofer and speakers to thedvd plaeyer. But i am not able to connect Woofer to the dvd player. So is there any alternative for connecting it to

  • Kodo 4.0/ Eclipse Plugin problems

    Hi, I have added Kodo plugin (2.1.0) to Eclipse (3.1.1) plugin folder as described in the manual. I've also copied all the Kodo libraries and classes12.jar into Eclipse\plugins\kodo.eclipse_2.1.0 and modified plugin.xml. I can see the menu item "Kodo

  • Black frame around video

    I'm shooting video on a Sony FX 1000, widescreen DV.  I upload it into PE fine, frame size 720 x 480.  When I save it to file (in this case, on the hard drive), there is a black frame around the video (see below).  I see it when I play it on Media Pl

  • "This VI or function runs normally only if no error occurred before this VI or function runs" any good work arounds?

    I have a couple of applications where data is collected and files are saved several times during it's operation.   I would like to just simply collect any errors and display them at the end of the run, but both Visa and File read write vis will not a

  • Sound breaking up in OS X Mavericks

    Hi, my Macbook Pro (2012) has been having sound issues after upgrading from Mountain Lion to Mavericks. When playing sound from the built-in speakers, the sound tends to "break" and get a little distorted. I didn't have this problem before in Mountai