Parent/Child Report

I have a parent/child data report but am not seeing the data for the child portion. I have a repeating frame which is printing the parent portion. Within that frame I have another repeating frame which should be displaying the child portion of the data but it is not. I have a data link between the two based on an id number. I think the problem is that the child portion is not being passed the id number from the parent. I have some field names which are showing up, but not the data itself associated with these field names. So I think my frames in my layout are good. Why is the parent not passing the id number to the child? I'm thinking there must be something wrong with my data model. Any suggestions on creating this type of report?

Thanks for your suggestion. In looking at this some more I see now that the queries are finding my data, but the data is not printing. Simply put, my parent query has student name & number, my child query has attendance dates for that student. The parent portion is working fine with the student name & number appearing on the report, but my child attendance dates are not showing on the report. The repeating frame in which they reside is also not showing. I know the queries are pulling the right data though, because the number of pages I am getting for each student corresponds to that student's attendance data. But the entire frame and data within it are not showing on my report. I have checked to see that the Visible value is set to Yes. Does anyone know what I am overlooking?

Similar Messages

  • User defined Parent child report

    I trying to create parent child (dril down report).
    I able to refer parent column as bind variable in child report but unable to refer child column as bind variable in subsequent child report.
    select a,b from parent.
    select x,y,z from child1
    where x = :a
    select e,f,g from child2
    where e = :x ==> this does not work
    Did anyone tried this, if yes please me know did it worked for you and how
    thanks
    -K

    I agree whole heartedly :)
    If you want to make things even more interesting, create some 3rd generation child reports and carry the bind variables throughout the multiple levels - here's an example
    http://www.thatjeffsmith.com/archive/2012/09/grandparent-parent-child-reports-in-sql-developer/

  • Creating a new page and new layout in a Parent/Child report.

    Hi,
    Currently I have a Parent/Child Report in Oracle Reports 6i. The report shows Contracts as the parent and the detail of the contracts are the Ads. Sometimes there are many ads which extend the contract to another page. Just a normal Parent/Child report. This report can display many contracts at once. My problem is that at the end of each contract I need a new page with a different layout, for a disclaimer page. I've tried many different scenarios using Anchors and page breaks. Is this even possible with Oracle Reports 6i, to have a new page with a different layout in a contract level repeating frame? Any suggestions would help.
    Thanks.

    You have 2 repeating frames: R_contracts and R_ads. Create a frame M_disclaimer after R_ads, within R_contracts to hold the disclaimer page. This page will print after all the ad records have been printed, and before the new contract starts.
    You can set Page Break Before on M_disclaimer to print this frame on a new page.

  • Defining Report LayOut for a parent child report

    I have a parent child report. I want to print this report in PDF using BI Publisher. Now I wanted to define a layout for that report using BI template builder. My stratagey for defining Report layuout is
    1. Write a query containing all fields that I need
    2. Convert that query data to XML, one way or the other
    3. Load that XML into template builder.
    4. Define the layout.
    Now the problem is that I need some fields for parent and some from child. If I do not use group buy clause in the query I will not be able to use the tabular format in template builder (taht I wanted to use).
    IF I use a group By caluse then I am unable to select the child fields as they are not the part of group by clause.
    Plz help

    You have 2 repeating frames: R_contracts and R_ads. Create a frame M_disclaimer after R_ads, within R_contracts to hold the disclaimer page. This page will print after all the ad records have been printed, and before the new contract starts.
    You can set Page Break Before on M_disclaimer to print this frame on a new page.

  • Export Parent Child Report data

    Hello,
    Does anyone know if it is possible to export Child - parent report data in one file?
    Kind regards,
    Oli

    Thanks for your suggestion. In looking at this some more I see now that the queries are finding my data, but the data is not printing. Simply put, my parent query has student name & number, my child query has attendance dates for that student. The parent portion is working fine with the student name & number appearing on the report, but my child attendance dates are not showing on the report. The repeating frame in which they reside is also not showing. I know the queries are pulling the right data though, because the number of pages I am getting for each student corresponds to that student's attendance data. But the entire frame and data within it are not showing on my report. I have checked to see that the Visible value is set to Yes. Does anyone know what I am overlooking?

  • Parent/child reporting

    Hello all,
    I am struggling a bit with a reporting requirement and maybe you as experts can help me to come up with a solution.
    In a report we want to show the turnover of (parent/global) accounts based on a custom field 'expected turnover' in the Opportunity object type. We can show this of course per account, so that's not the problem. The problem is that we want to calculate all the expected turnover for the account in the top of the account hierarchy. We have for example company A (headquarters), which is parent of B, which in turn is the parent of C, which is the parent of D and E. We can do business with all the companies, so they can all have opportunities with the field 'expected turnover' filled out.
    Example:
    Company D has 1 opportunity with an expected turnover of 1,200,000 and another opportunity with an expected turnover of 500,000.
    Company E has 2 opportunities, each with an expected turnover of 450,000
    Company C has one opportunity with an expected turnover of 200,000
    Company B has 1 opportunity with an expected turnover of 1,350,000 and an opportunity with an expected turnover of 750,000.
    Company A has no opportunities at the moment.
    Now we want to report on the total expected turnover for the entire company of which A is headquarters. So we want to know E+D+C+B, but only company B is directly linked to company A, so the question is, how can we report using the indirect links between all the companies.
    We cannot change the account structure, so we cannot say that Company A is the parent on all the accounts. Also we cannot add a field to the account that can select the master account, because there is only one field which allows the user to select another account, and putting the master account or parent account in manually, leaves too much room for errors.
    Does anyone know how this can be solved?
    Thanks in advance.
    Kind regards,
    Niels Rekers

    Niels,
    I know you said you didn't want to put in the master account manually but I think it's the only way. However what if you created a Parent Reporting ID, this will avoid any mistypes of account names? Create a unique identifier for each record and then for those that have a parent account overwite the unique ID with the Parent Id eg
    Company A Parent ID=1234
    Company B Parent ID=1234
    Company C Parent ID=1234 etc
    This would then give you a field that will link your records together without affecting the Account heirarchy.
    Either this or a very long formula that would need modifying every time an account was created.
    These are my only suggestions.
    To maintain this going forwards you create a new "create account" weblink that passes the Parent ID onto the new record, so if they want to create a new account for company F then they go to Company A and click create Account.
    A good way to get a unique ID is to take the last 6 characters of the Row ID into another field as a default value.
    cheers
    Alex

  • Child reports for a PL/SQL Parent?

    Hi forum,
    I would like to create a parent-child report based on a given package.
    Unfortunately I (guess I )need to have a PL/SQL DBMS Output parent, and I'm searching to create a child based on some rows of this.
    a slightly simplified example:
    I have a type and a package with a procedure & function (I can not change the package):
    create or replace TYPE         SimpleStringArrayType AS TABLE OF VARCHAR2(2000);
    create or replace PACKAGE  MyPackage AS
    procedure get_filelist(vReturnArray OUT SimpleStringArrayType);
    function get_file(filename in varchar2) return clob;
    My idea is to get a list of filenames with procedure get_filelist in the parent report, and in the child report I show the content of the file according to function get_file.
    the current PL/SQL script is (simplified)
    DECLARE
      VRETURNARRAY SimpleStringArrayType;
      v_cnt number:=0;
    BEGIN
      dbms_output.put_line('<html><body>');
      GET_filelist(vReturnArray => VRETURNARRAY);
      v_cnt:=VRETURNARRAY.count;
      dbms_output.put_line('<br>');
      dbms_output.put_line('<table>');
      dbms_output.put_line('<tr> <th><th>file</th>');
      for i in VRETURNARRAY.first..VRETURNARRAY.last loop
        dbms_output.put_line('  <tr>');
        dbms_output.put_line('<td> ' || VRETURNARRAY(i) || ' </td> ');
        dbms_output.put_line('  </tr>');
      end loop;
      dbms_output.put_line('</table></body></html>');
    END;
    again, I can't change get_filelist to a function.
    Any suggestion is highly welcome!
    Martin

    And syntax (basic or otherwise) is covered in the pl/sql manual:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14261/toc.htm

  • What is parent child alv report

    what is parent child ALV report?

    Hi,
    I thing u r asking about Hierarchial sequential list display report.
    Kindly go through the below report it may helps to u the concept of parent child report.
    REPORT  YMS_HIERSEQLISTDISPLAY                      .
    Program with FM REUSE_ALV_HIERSEQ_LIST_DISPLAY                      *
    Author : Michel PIOUD                                               *
    Email : [email protected]  HomePage : http://www.geocities.com/mpioud *
    TYPE-POOLS: slis.                    " ALV Global types
    CONSTANTS :
      c_x VALUE 'X',
      c_gt_vbap TYPE SLIS_TABNAME VALUE 'GT_VBAP',
      c_gt_vbak TYPE SLIS_TABNAME VALUE 'GT_VBAK'.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.    "#EC NEEDED
    PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_2 FOR FIELD p_expand. "#EC NEEDED
    PARAMETERS p_expand AS CHECKBOX DEFAULT c_x.
    SELECTION-SCREEN END OF LINE.
    TYPES :
    1st Table
      BEGIN OF ty_vbak,
        vbeln TYPE vbak-vbeln,             " Sales document
        kunnr TYPE vbak-kunnr,             " Sold-to party
        netwr TYPE vbak-netwr,             " Net Value of the Sales Order
        erdat TYPE vbak-erdat,             " Creation date
        waerk TYPE vbak-waerk,             " SD document currency
        expand TYPE xfeld,
      END OF ty_vbak,
    2nd Table
      BEGIN OF ty_vbap,
        vbeln TYPE vbap-vbeln,             " Sales document
        posnr TYPE vbap-posnr,             " Sales document
        matnr TYPE vbap-matnr,             " Material number
        netwr TYPE vbap-netwr,             " Net Value of the Sales Order
        waerk TYPE vbap-waerk,             " SD document currency
      END OF ty_vbap.
    DATA :
    1st Table
      gt_vbak TYPE TABLE OF ty_vbak,
    2nd Table
      gt_vbap TYPE TABLE OF ty_vbap.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
      v_2 = 'With ''EXPAND'' field'.
    START-OF-SELECTION.
    Read Sales Document: Header Data
      SELECT vbeln kunnr netwr waerk erdat
        FROM vbak
          UP TO p_max ROWS
        INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
      IF NOT gt_vbak[] IS INITIAL.
      Read Sales Document: Item Data
        SELECT vbeln posnr matnr netwr waerk
          FROM vbap
          INTO CORRESPONDING FIELDS OF TABLE gt_vbap
           FOR ALL ENTRIES IN gt_vbak
         WHERE vbeln = gt_vbak-vbeln.
      ENDIF.
      PERFORM f_display.
          Form  F_DISPLAY
    FORM f_display.
    Macro definition
      DEFINE m_fieldcat.
        ls_fieldcat-tabname = &1.
        ls_fieldcat-fieldname = &2.
        ls_fieldcat-ref_tabname = &3.
        ls_fieldcat-cfieldname = &4.       " Field with currency unit
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        ls_sort-tabname = &1.
        ls_sort-fieldname = &2.
        ls_sort-up        = c_x.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_layout   TYPE slis_layout_alv,
        ls_keyinfo  TYPE slis_keyinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        lt_sort     TYPE slis_t_sortinfo_alv," Sort table
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
      ls_layout-group_change_edit = c_x.
      ls_layout-colwidth_optimize = c_x.
      ls_layout-zebra             = c_x.
      ls_layout-detail_popup      = c_x.
      ls_layout-get_selinfos      = c_x.
      IF p_expand = c_x.
        ls_layout-expand_fieldname  = 'EXPAND'.
      ENDIF.
    Build field catalog and sort table
      m_fieldcat c_gt_vbak 'VBELN' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'KUNNR' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'NETWR' 'VBAK' 'WAERK'.
      m_fieldcat c_gt_vbak 'WAERK' 'VBAK' ''.
      m_fieldcat c_gt_vbak 'ERDAT' 'VBAK' ''.
      m_fieldcat c_gt_vbap 'POSNR' 'VBAP' ''.
      m_fieldcat c_gt_vbap 'MATNR' 'VBAP' ''.
      m_fieldcat c_gt_vbap 'NETWR' 'VBAP' 'WAERK'.
      m_fieldcat c_gt_vbap 'WAERK' 'VBAP' ''.
      m_sort c_gt_vbak 'KUNNR'.
      m_sort c_gt_vbap 'NETWR'.
      ls_keyinfo-header01 = 'VBELN'.
      ls_keyinfo-item01 = 'VBELN'.
      ls_keyinfo-item02 = 'POSNR'.
    Dipslay Hierarchical list
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
          i_callback_program      = sy-cprog
          i_callback_user_command = 'USER_COMMAND'
          is_layout               = ls_layout
          it_fieldcat             = lt_fieldcat
          it_sort                 = lt_sort
          i_tabname_header        = c_gt_vbak
          i_tabname_item          = c_gt_vbap
          is_keyinfo              = ls_keyinfo
        TABLES
          t_outtab_header         = gt_vbak
          t_outtab_item           = gt_vbap
        EXCEPTIONS
          program_error           = 1
          OTHERS                  = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                               " F_LIST_DISPLAY
          Form USER_COMMAND                                             *
    FORM user_command USING i_ucomm     TYPE sy-ucomm
                            is_selfield TYPE slis_selfield.     "#EC CALLED
      DATA ls_vbak TYPE ty_vbak.
      CASE i_ucomm.
        WHEN '&IC1'.                       " Pick
          CASE is_selfield-tabname.
            WHEN c_gt_vbap.
            WHEN c_gt_vbak.
              READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
              IF sy-subrc EQ 0.
              Sales order number
                SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
              Display Sales Order
                CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
              ENDIF.
          ENDCASE.
      ENDCASE.
    ENDFORM.                               " USER_COMMAND
    END OF PROGRAM Z_ALV_HIERSEQ_LIST ******************
    Thanks,
    Sankar M

  • Child reports and bind variables

    I'm working on a user defined parent/child report. What I'm having an issue with is using a parents bind variable value in a child. To simpify my example:
    The master query is:
    select count(*), document
    from download_audit
    where activity_date > sysdate-:DAYS
    group by document
    which returns a count of downloads for each document in the last :DAYS days. I want the child report to then list the person that downloaded a selected document:
    select document, user_id, activity_date from download_audit
    where activity_date > sysdate - :DAYS
    and document=:DOCUMENT
    This does not work because the initial :DAYS bind isn't sent to the child.
    If I add the :DAYS as a selected column to the master sql it works. e.g.
    select count(*), document, :DAYS days
    from download_audit
    where activity_date > sysdate-:DAYS
    group by document
    My question is, do child bind variables all have to be selected columns in the master query or is there a way to have a "global" bind variable that gets carried from master to child?
    I'm using SQL Developer 3.2.20.09 on OS X Lion
    Edited by: RoboMan on Nov 16, 2012 11:23 AM

    I agree whole heartedly :)
    If you want to make things even more interesting, create some 3rd generation child reports and carry the bind variables throughout the multiple levels - here's an example
    http://www.thatjeffsmith.com/archive/2012/09/grandparent-parent-child-reports-in-sql-developer/

  • How to identifing the parent report from child report in RRI

    Hi Floks,
    Long back we have created one RRI report(which is having parent child relation).Now i have child report with me,i wanted to know the corresponding parent report.Please give me some inputs to identify this.
    Regards,
    Satya.

    Check in these tables:
    RSBBSQUERYDIR
    RSBBSQRYMAPPING
    Also check in table RSBBSQUERY to get the source and target of the RRI interface.
    Pravender

  • How to output the outline parent-child relationship using a report script?

    I'd like to extract the outline's dimension members with it's parent-child relationship using a report script. Anybody can provide a sample script? Thanks.
    Example:
    DimensionX
    -----MemberX
    ----------ChildX
    Output:
    Dimension X MemberX
    MemberX ChildX
    Edited by: obelisk on Jan 11, 2010 5:16 PM

    Sorry a report script won't do it. You have two options
    1. Use at Essbase Outline API to walk the outline and get it for you
    2. Use the Outline extractor available from Applied Olap (it is a free download). It can be run interactively of as a bat file.
    Frankly, I would rather use 2 since I don't have to code it myself

  • Parent-Child-Grandchild report

    Hi,
    I am trying to create a Parent-Child-Grandchild report, grouping on a value in the Child record set. The scenario that I have encountered is that there may be legitimate dupes in the child record set and if I put a grouping on the child record set the dupes seem to be getting de-duped and all the grandchild records displyed under the one child record. The outout looks like this:
    Ungrouped
    Parent record 1
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    Grouped
    Parent record 1
    ----Child Record 1 - Grouped by Status
    ------------Grandchild record 1
    ------------Grandchild record 2
    Desired Output
    Parent record 1
    - Grouped by Status
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    If I take the grouping off the child record set however, the dupes display and display their respective grandchild records. How can I get the cild recordset to group but to show the grandchild records properly?
    Thanks!

    Hi,
    I am trying to create a Parent-Child-Grandchild report, grouping on a value in the Child record set. The scenario that I have encountered is that there may be legitimate dupes in the child record set and if I put a grouping on the child record set the dupes seem to be getting de-duped and all the grandchild records displyed under the one child record. The outout looks like this:
    Ungrouped
    Parent record 1
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    Grouped
    Parent record 1
    ----Child Record 1 - Grouped by Status
    ------------Grandchild record 1
    ------------Grandchild record 2
    Desired Output
    Parent record 1
    - Grouped by Status
    ----Child Record 1
    ------------Grandchild record 1
    ----Child Record 2
    ------------Grandchild record 2
    If I take the grouping off the child record set however, the dupes display and display their respective grandchild records. How can I get the cild recordset to group but to show the grandchild records properly?
    Thanks!

  • How to go back to the parent report to a particular page from Child report in SSRS

    Hi,
    I am utilizing the Drill through functionality in one of my SSRS Report.
    My Parent Report contains 5 pages. From 1st page I am selecting a link which goes to my Child report.
    Here from my child report I want to provide a link to go back to my parent report's and it should render 3rd (it should show 3rd) page in parent report.
    How to specify this ? Give your inputs as soon as possible.
    Sridhar

    Hi Sridhar,
    After testing the issue in my environment, we can refer to the steps below to achieve your requirement.
    Right-click a report item to open the properties dialog in Child report, click Action in the left pane.
    Enable Go to URL action, the URL below is for your reference:
    ="http://server_name/ReportServer?/folder_name/parent_report_name&rc:Section=3”
    When you click the textbox in the Child report, it jumps to the Parent report in the third page.
    Reference:
    http://msdn.microsoft.com/en-us/library/ms152835.aspx
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Link to Child Webi report from Parent Webi report

    Hi All,
    I have child link for webi report in my parent webi report.
    But, when i click on URL for child report, its again asking for logon credentials.
    Is there any way to avoid asking logon credentials, instead it should pick credentials from parent.
    Please reply.
    Thanks,
    Bhanu

    Hi
          If your link contains different host that is, after clicking the link if you want to redirect to another document with another BO server that time you have to supply credential (Login info of this server).
    Case of same server no need to supply credential.
    Thanks

  • Filter child report based on filters in the parent report

    My requirement is as follows:
    I have two reports, parent and child. Parent report just shows Account Name, Time Spent on Account and it's percentage, so when you click on Account Name, child report is displayed filtered based Account Name and it shows the breakdown in time-spent i.e. different Project Types. So I am filtering Parent reports using Column Prompts(namely Date Range, Task Status, Project Status). So far this works fine. Now when I drill down on Account Name, child report displaying total time spent which I don't need. Child report should get filtered based filter values in the Parent report.
    Can someone please help me out of this situation.
    Thanks in Advance.

    Hey,
    This is tricky to trouble shoot. Firstly ensure all of your child report columns are set to 'Is Prompted' through the filter and try again. If this doesn't work then open your parent report and save another copy (also make sure things are 'Is Prompted' in your new copy and make sure your Intitial parent report navigation points to your new parent report). Drill from the initial parent report to the new one you just created, if this works and filters then build out your new parent report with all the fields you need to eventually become your new child report.
    Thanks
    Oli @ Innoveer

Maybe you are looking for

  • What is a good nano case with a lanyard?

    I received a 4G iPod nano for Christmas, I love it. I also want to protect it, so I want a case/protective cover. However I want one with a lanyard or some sort of clip that I can attach to a neck strap. I would very much appreciate recommendations.

  • E mail with attachments keeps repeating

    Sorry this may be a bit long, but what is wrong with BT / Yahoo when delivering mail to a pop 3 client lately? Here's the problem, if anyone else has it, I'd be interested to swap notes. I have used it with a Btinternet address for a couple of years

  • Getwa not assigned in SAPLSLVC

    Hi All! I have a problem at the execution of an ALV. I have automaticaly the "Getwa not assigned" dump. I checked the name of the fields that are in fieldcatalog as I saw on the internet and checked my internal table has the same field than the field

  • When I create PDFs it adds a file I didn't select to the PDF as well as the one I did. Why?

    the question is why is it doing this. I really only use it for excell files so thats where im having the problem. its the same file that keeps apearing.

  • Is there a quickstart guide for WLS 10.3.1 (11g) and WebLogic Portal?

    I already have installed WebLogic 10.3.1 on my laptop, and want to know if if is possible to install portal without all of the extra options that seem to be required by the install document. I want to run portal on my laptop for development, and don'