Reports master-detail-detail

I am trying to have 1 master group with 2 detail groups. However, when I try to manipulate the columns and groups in the data model, I cannot get the main group to have 2 seperate detail groups.
Does anyone know a way to do this without having multiple queries?

Hi Asif48,
Just as Visakh suggest, we can add the master data and subreport in the same tablix, then set the visbility of subreport to toggle based on click action of master level row. And add some parameters to filter the related data based on the master report field.
For more details, please refer to the following steps:
Create another report as the subreport and insert some fields. 
Create a parameter named Order in the subreport.
In the main report, right-click to insert a subreport in the column right of the master tablix.
Right-click the subpeort to open the Subreport Properties, and select the subreport name in the drop-down list.
In the left panel of the Subreport Properties dialog box, click Visibility.
Select Hide option, and select Product (master level row) to display the subreport to be toggled by the Product report item.
In the left panel of the Subreport Properties dialog box, click Parameters.
Select Order in the drop-down list of Name, and select [Product] (use the related filed name) in the drop-down list of Value.
If there are any other questions, please feel free to let me know.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • Interactive Reporting: master-detail report

    Hi,
    I wonder if it is possible to have a kind of master-detail pair of reports.
    For example I have one report containing a crosstab with product groups in the down "dimension". When I click on one of those product groups a second report should appear with the children of the product group, the products.
    Is there a sort of binding variables or getting it from one report to another?
    Oliver

    If you are using the iHTML version of the tool for viewing the report there is a possible way. It involves using a SmartCut to the Target/Detail Report and passing parameters on the URL which then are interogated in the OnStartup script of the Target/Detail Report.
    Start with Master File.
    Create Computed Column in Results Section that combines the SmartCut URL and Parameters into a HREF Link.
    Put that column into Report Section as Table Dimension
    When the Report is viewed in Interactive Reporting Web Client you will see the code of the HREF. When it is viewed in the iHTML client you will see the link.
    Wayne Van Sluys
    TopDown Consulting

  • Report -master detail-APEX

    I have below requirement
    I need to call a master detail form on report..
    I need to built a report on sql --With Colums-Document Number and DEPOT.
    When i click on document number i should be able to open a master detail form which is built on sql query.
    In this master detail form ,I must be able to make changes(Update,Insert) .Then when i click on APPLY CHAN?GES .Then entire date should be moved to Master and Child Custom tables.
    Could any body help on this feasibility.

    Hi,
    You can hide all of the buttons (or change the condition to never)
    And set the form fields to "Display Only" in header and "Display as Text" in detail instead of "Text Field".
    Or set the element atribute to readonly="readonly"
    J

  • Report Master-Details

    Hi
    After i redesign my report only the master fields are displayed in the First Page only..
    Now,the Question is how to repeat the Master fields each page related to the details..?
    regards,
    Abdetu..

    Hi,
    For the fields of the Master fields set the Print Object On property to All Pages.
    If these fields are contained in a frame then set dat frames Print Object On property to All Pages.
    Hope this solves your problem.
    Regards
    Arif

  • Master Detail Report for PDF Printing

    Dear All,
           While trying to create a master detail report using Oracle APEX 4.2 and BI Publisher. I tried creating report queries and report layout following the below mentioned steps.
    CREATE TYPE emp_row AS OBJECT (
      EMPNO NUMBER(4),
      ENAME VARCHAR2(10),
      JOB VARCHAR2(9),
      MGR NUMBER(4),
      HIREDATE DATE,
      SAL NUMBER(7,2),
      COMM NUMBER(7,2)
    CREATE TYPE emp_tab AS TABLE OF emp_row;
    CREATE TYPE dept_row AS OBJECT (
      DEPTNO NUMBER(2),
      DNAME VARCHAR2(14),
      LOC VARCHAR2(13),
      EMP_LIST emp_tab
    SELECT SYS_XMLAGG (
      SYS_XMLGEN(
      dept_row(
      d.deptno, d.dname, d.loc,
      CAST(MULTISET(SELECT e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm
      FROM emp e
      WHERE e.deptno = d.deptno) AS emp_tab)
      SYS.XMLGENFORMATtYPE.createFormat('DEPT')
      ) AS "XML_QUERY"
    FROM dept d
    WHERE d.deptno = 10;
    Though the above steps generates xml output while trying to generate in APEX it says unsupported datatype. Tried using DBMS_LOB as well no luck. Any inputs will be quite helpful. Should there be any other way to incorporate master detail report printing in APEX kindly advise.
    Thanks
    Ahmed

    Hi Ahmed_Jed,
    Ahmed_Jed wrote:
    Thanks Kiran for your prompt response. I tried following the steps already using this link (How To Create a Master-Detail PDF Report) somehow the detail record was not getting processed perhaps was trying to generate xml data using the above query. Any other reference will be highly appreciated.
    Regards
    Ahmed
        Well the problem lies here:
    SELECT SYS_XMLAGG (
      SYS_XMLGEN(
      dept_row(
      d.deptno, d.dname, d.loc,
      CAST(MULTISET(SELECT e.empno, e.ename, e.job, e.mgr, e.hiredate, e.sal, e.comm
      FROM emp e
      WHERE e.deptno = d.deptno) AS emp_tab)
      SYS.XMLGENFORMATtYPE.createFormat('DEPT')
      ) AS "XML_QUERY"
    FROM dept d
    WHERE d.deptno = 10;
        The Report Query itself generates XML data (in the required BI Publisher format). So, no need to generate it like this.
        As you are using table functions your query should be of the type:
    SELECT EMPNO
                , ENAME
                , JOB
                , MGR
                , HIREDATE
                , SAL
                , COMM
        FROM TABLE ( EMP_PKG.GET_EMPLOYEES ( :PXX_DEPTNO ))
        where EMP_PKG.GET_EMPLOYEES is packaged table function which returns the Object Table of type EMP_TAB mentioned above.
        When you test the above Report Query with sample DEPTNO, it will generate the sample XML, which you can use to generate Report Layout in RTF format using BI Publisher Desktop.
        Hope this helps!
    Regards,
    Kiran

  • Summary Report using Master-Detail Data on Siebel BI Publisher Report

    I have to create a Summary Report using Master-Detail relationship. Report fields are Account Name, Special Need Type, Customer Status, No of Customers, No of Claims. I am using rtf to create template and any help is highly appreciated
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ListofIO>
    - <ListOfBipCustomerSpecialNeeds>
    - <Account>
    <Name>CVNE</Name>
    - <ListOfContact>
    - <Contact>
    <SpecialNeedsFlg>Y</SpecialNeedsFlg>
    <SpecialNeedsType>Large Text</SpecialNeedsType>
    <PersonUId>1-6NI9</PersonUId>
    - <ListOfContact_Claims>
    - <Contact_Claims>
    <AccountNumber>TEST0015362272</AccountNumber>
    <ClaimNumber>1-4FVL</ClaimNumber>
    <ClaimStatus>Closed</ClaimStatus>
    <ClaimGBPAmount />
    </Contact_Claims>
    </ListOfContact_Claims>
    </Contact>
    - <Contact>
    <SpecialNeedsFlg>Y</SpecialNeedsFlg>
    <SpecialNeedsType>Braille</SpecialNeedsType>
    <PersonUId>1-L0A</PersonUId>
    - <ListOfContact_Claims>
    - <Contact_Claims>
    <AccountNumber />
    <ClaimNumber>1-ACX6</ClaimNumber>
    <ClaimStatus>Open</ClaimStatus>
    <ClaimGBPAmount>818.18196694218</ClaimGBPAmount>
    </Contact_Claims>
    - <Contact_Claims>
    <AccountNumber />
    <ClaimNumber>1-GI58</ClaimNumber>
    <ClaimStatus />
    <ClaimGBPAmount>45454.099173473</ClaimGBPAmount>
    </Contact_Claims>
    </ListOfContact_Claims>
    </Contact>
    - <Contact>
    <SpecialNeedsFlg>Y</SpecialNeedsFlg>
    <SpecialNeedsType>Large Text</SpecialNeedsType>
    <PersonUId>1-6FPP</PersonUId>
    - <ListOfContact_Claims>
    - <Contact_Claims>
    <AccountNumber>CVNE</AccountNumber>
    <ClaimNumber>1-7BRL</ClaimNumber>
    <ClaimStatus>Reviewed</ClaimStatus>
    <ClaimGBPAmount>562</ClaimGBPAmount>
    </Contact_Claims>
    </ListOfContact_Claims>
    </Contact>
    </ListOfContact>
    </Account>
    <Login>SADMIN</Login>
    </ListOfBipCustomerSpecialNeeds>
    </ListofIO>
    Edited by: user2298324 on 13-Aug-2010 09:36

    Thanks for the reply. The many to many relationship between Claims and Payments are achieved through intersection table in siebel. When Customer has multiple claims, single payment issued for both claims. Also single claim can multiple payments such (part compensation, interests, final compensation etc)

  • To attach a RTF template(Report for printing ) in the master detail form

    I have an application in which I have 3  master detail forms  of which one of the form is a gate pass form . Now this gate pass form has a report region as the detail.
    All that i need help is to print the Gate Pass with few fields as information in the gate pass form , where an image or picture of the visitor is also a filed .
    Now I have created an RTF Template  which is the Gate pass layout with the pic.
    So ultimately I have the application for the gate pass form and the RTF template ready with me .. Fixing this template with the application with a BUTTON called PRINT is the challenge am facing !
    SELECT XVH.GPDATE
           , TO_CHAR(XVH.VISITORTIMEIN, 'HH:MI') VISITORTIMEIN --, (XVH.VISITORTIMEIN )
           , (TO_CHAR(XVH.VISITORTIMEOUT, 'HH:MI'))VISITORTIMEOUT
           , XVH.VISITOR_NAME --, = XVH.PERSON_ID
           , XVH.COMAPANY_NAME
           , XVH.PURPOSE_OF_VISIT
           , (SELECT A.FULL_NAME
                FROM PER_ALL_PEOPLE_F A
               WHERE A.PERSON_ID = XVH.PERSON_ID
                 AND SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE) To_meet
           , XVH.VISITOR_PHONE
           ,APPS.GETBASE64 (XVH.VISITOR_PHOTO)
      FROM xxcdot.XXBCT_VGPF_HEADER XVH
    WHERE XVH.GP_HEADER_ID =  :P_HEADER_ID
    This is the query for the template ..
    Please help me with this. I am very new to apex and learning it with help of online tut

    Pars I need another Help
    I am working with a master detail form where in the form region i have a Radio group . Lets say the Radio group is
    o Returnable
    o Non Returnable
    o Other
    so when i select Non returnable I want a particular column called
    Line Status to get Disabled .
    I have done that by a dynamic action - using jquery statement (.Disable) .
    Defining the element attributes as Disable .
    Now the problem is that ,, Line status is getting disabled on the selection of Non returnable radio button. but unless and until i dont press the Add row button it does not work ,, else i will have to switch over between the radio buttons to get this action done !!

  • Unrelated data in master detail sections of a custom BIP  report deployed in R12 EBS

    We have a custom Master Detail BIP report generated by calling XDO APIs from a custom Java concurrent program (common_report_attachment) . This Java concurrent program is called from another custom concurrent program (po_validation) that processes a batch of POs in a single concurrent request.
    PO_Validation Program (processes a batch of POs per request) -> Java Concurrent Program -> BI Publisher Report APIs
    BIP report generates data for master detail sections based on two sql queries (given below) that have 'where' clause based on a common external parameter "P_TRX_HDR_ID".
    NOTE: No explicit data link is used NOR an output column of parent query is used in the where clause of detail query as bind parameter.
    - <dataTemplate name="NAPPB2BPORPT" description="Data Template for B2B PO Report" version="1.0">
    - <properties>
      <property name="xml_tag_case" value="upper" />
      <property name="db_fetch_size" value="200" />
      <property name="scalable_mode" value="on" />
      </properties>
    - <parameters>
      <parameter name="P_TRX_HDR_ID" dataType="number" />
      </parameters>
    - <dataQuery>
    - <sqlStatement name="Q_PO_HDR">
    - <![CDATA[
    SELECT poh.po_number                                     PO_NUMBER
              , poh.quote_number                             QUOTE_NUMBER
              ---- other columns -----
             FROM nappcust.napp_o2i_po_headers poh
                ,napp_aso_quote_headers_v naqv
               WHERE 1=1
               AND naqv.quote_number=poh.quote_number
               AND poh.header_id = :P_TRX_HDR_ID
      ]]>
      </sqlStatement>
    - <sqlStatement name="Q_LINES">
    - <![CDATA[
    SELECT  pol.item                                            ITEM
          , pol.partner_part_number                             PARTNER_PART_NUMBER
          -- other columns --
       FROM napp_o2i_po_lines pol
       , napp_o2i_po_headers poh
       , aso_quote_lines_all aqla
       , mtl_system_items_b msib
    WHERE 1=1
      AND poh.header_id               = pol.header_id
      AND pol.header_id               = :P_TRX_HDR_ID
      AND aqla.quote_header_id        = poh.QUOTE_HEADER_ID
      AND msib.inventory_item_id      = aqla.inventory_item_id
      AND msib.organization_id        = aqla.organization_id
      AND (pol.quote_line_number       = aqla.quote_line_id
           OR pol.quote_line_number    = aqla.quote_line_id||1)
      ]]>
      -- Added for the defect 13954
      </sqlStatement>
      </dataQuery>
    - <dataStructure>
    - <group name="G_PO_HDR" source="Q_PO_HDR">
      <element name="PO_NUMBER" value="PO_NUMBER" />
      <element name="QUOTE_NUMBER" value="QUOTE_NUMBER" />
      --- mappings for other columns of "Q_PO_HDR"
      - <group name="G_LINES" source="Q_LINES">
      <element name="ITEM" value="ITEM" />
      <element name="PARTNER_PART_NUMBER" value="PARTNER_PART_NUMBER" />
        --- mappings for other columns of "Q_LINES"
      </group>
      </group>
      </dataStructure>
      </dataTemplate>
    Issue: Sometimes when the parent concurrent request runs for a batch with multiple POs the report generated for the last PO has inconsistent data in the master and detail sections. To elaborate, the detail section is having correct data pertaining to the PO identified by the parameter "P_TRX_HDR_ID". However, the master section is having data pertaining to the previous PO processed from the same batch.
    This issue is not occurring consistently and is not reproducible at will. I
    'm suspecting this could be because of not having data link between the queries but confirm from someone who has experienced this issue.
    Regards,
    Srinath

    is there any way from the page, can we pass the some values, which can identify the page level data?
    if so pass the parameter to BIP report query.

  • Adding button to report to link to master detail form

    I want to add a button to a report to direct me to a blank master detail form to insert a new record. I have used the following code in the additional PL/SQL code section:
    htp.formopen('PORTAL30.wwa_app_module.new_instance?p_moduleid=1271601405');
    htp.formsubmit('p_request','Create New');
    htp.formClose;
    When I click this I get 'Page Not Found'.
    But if I hit refresh I am directed to the correct form with the same url.
    Any ideas on what the issue is?
    Thanks.

    Hi,
    Check this sample code.
    tables:sscrfields. "Fields on selection screens
    selection-screen function key 1.
    selection-screen function key 2.
    Initialization.
      sscrfields-functxt_01 = 'Report'.
      sscrfields-functxt_02 = 'Exit'.
    at selection-screen.
       if sscrfields-ucomm = 'FC01'.
      perform f_alv_sub.
       elseif sscrfields-ucomm = 'FC02'.
       endif.
    Hope it helps.

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

  • Search on Master Detail form/report

    Hi,
    I noticed that when I created a new application in Apex 4.01 basing the intial page on a Master Detail form/report, I was able to add a search item to the initial page. When I go to add another page with a different Master detail form/report, I did not have any option for adding a search item to the report page. Seems like an oversight?
    I would appreciate any hints as to how to add same search item to my 2nd Master/Detail form/report.
    Thanks,
    Pat

    Me too facing the some problem can some one pls help

  • Master Detail Report Export to Excel/CSV

    Hello,
    Does anybody know how one may export a master detail report page - master is a html region, detail is a report region export to a csv file.
    The only option I found i the layout and pagination - export csv option, but this generates just the report region...
    Is there any possiblility to export the report as shown on screen to csv?
    Thanx
    Johann

    Hi,
    Limit the range of data to be exported and check any row missing.
    Thanks & Regards,
    Nagarajan

  • Can I set up a Master-Detail Page with report regions for 2 Detail Tables?

    Hi there,
    I am just starting to use Application Express.
    I have a Table (A) with Master-Detail relationships to two Tables B & C.
    I can set up a Master-Detail Page between Table A and Table B, where the records displayed in Table B change when switching between records in Table A. I would like to add Table C to the page and for this to work in the same way.
    Is this possible in APEX? (I've tried adding a report region for Table C and making the Region Source dependent on the same ID field as is used by the report region for Table B but I keep getting "No Data Found" for Table C).
    Many thanks.

    Thanks, but the text needs to be on a single master page which every page is assigned to. This is so the text alternates correctly regardless of whether new pages are inserted or moved. If I assigned separate master pages to individual pages and then moved the pages to a different location, the alternating footer text would then fall out of sync. I hope that made sense!

  • Master Detail report in bi publisher 11g

    Hi All,
    We are using OBIEE 11g (11.1.1.6).
    How to achive the Master/Detail or Parent/Child reports in BI Publihser reports. Selectiing or Changing a column value in parent report should effect the child report/graph etc..
    I understand this can be done through joining multiple datasets in a Data Model.
    Can any one explain.
    Thanks.

    check the below
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi//bip/advancedbip/advancedbip.htm#t3
    http://www.youtube.com/watch?v=NPbKRnSkDVM
    using rtf template
    http://bipconsulting.blogspot.com/2010/02/drill-down-to-detail-or-another-report.html

  • Dynamic action in a report region in a master detail form

    hi
    I have created a master detail form , in which many validation etc is done ,the MASTER is a FORM  and DETAIL is a REPORT
    Now I am stuck up with the detail region .i.e report
    I have Line Detail where there are ITEMS such as SL NO: ,ITEM_ID , UOM ( Unit of measuremnt ) etc
    Now here is where I need help .
    Using POP UP LOV i have managed to fetch in LOV for the item "ITEM_ID",--- i can select an item name using the pop up LOV ,
    Now all that I want is when I select an item name from the pop up lov , an Item Id is displayed or fetched in that particular place , now i want the corresponding UOM to be diaplayed  ( i.e the UOM for that particular Item Id which has been selected by me from the pop up lov ).
    In order to resolve this I created a Dynamic action where in I get the UOM . Bt the problem is that the ITEMS displayed for selecting in the WHEN section (
    DYNAMIC action
    -IDENTIFICATION section
    -WHEN section----- items (  here i am not listed with ITEMS of the REPORT region instead ITEMS of the MASTER is available )
    -TRUE ACTION section etc is only the
    ITEMS of the MASTER region ..
    Please help me sort this out

    Mod: moved from Japanese Apex

Maybe you are looking for

  • Using a custom Viewstack inside another gives an error

    Hi, can anybody tell me why using two custom ViewStacks components inside one another I get this (workspace log) error? "Custom component model has recursive definition: components.ViewStack" My component ViewStack.mxml <?xml version="1.0" encoding="

  • Error occured while installing oracle 10.2.0.3

    hi, Iam trying to install oracle 10g version with release 10.2.0.3 in AIX server.while installing it throws java exception stating as given below..... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-07-18_10-32-41AM. Please wa

  • On my all-in-one 8500, w/ duplex printing jams, have to manually reinsert paper. Suggestion​s?

    My duplex printing always jams or indicates, "out of paper."  I have to manually reinsert the paper and it will print the back side as normal.  Is there any way to correct this?

  • Download times out

    everytime i try to update my iphones or ipads it downloads a little bit then says your session has timed out. my internet connection is fine.

  • MC94 Macro exit

    Hi, I'm using the user exit EXIT_SAPMMCP6_002 in MC94 to copy original forecast data into consumed quantities. The user gives me data in Weeks and months and subsequently allows me to copy data too in weeks and months. However I want data to be copie