Example of how to create a master-mutiple detail BI Publisher 10.1 Report

Hi,
Are there any examples out there on how to do this? Basically for each master record from table A,
need multiple related detail records from table B AND multiple related detail records from table C.
Ie. A is master to B AND A is master to C.
For master-single detail reports, writing a single query that joins master to detail works fine,
but for master-multiple detail reports, I don't see how this approach will work.
Thanks,
Jed

Sure, here is one (hand edited, but shows some structure).
Detail rowset2 relates to rowset1 via STDINV_ID.
Detail rowset3 related to rowset1 via STUDY_ID and STDINV_ID.
Thanks for your consideration.
-Jed
<?xml version="1.0" encoding="UTF-8"?>
<DATA>
<ROWSET1>
<ROWSET1_ROW>
<STUDY_ID>105</STUDY_ID>
<STUDYNAME>TEST293</STUDYNAME>
<INVNAME>Flinstone, Fred</INVNAME>
<COUNTRY>USA</COUNTRY>
<STDINV_ID>3721</STDINV_ID>
<ROWSET2>
<ROWSET2_ROW>
<STDINV_ID>3721</STDINV_ID>
<TEMPLATESENT>11/02/2006</TEMPLATESENT>
<FINALCONTRACTRECEIVED>11/13/2006</FINALCONTRACTRECEIVED>
<CONTRACTTYPE>Main Agreement</CONTRACTTYPE>
<DRAFTRECEIVED></DRAFTRECEIVED>
<EFFECTIVEDATE>11/13/2006</EFFECTIVEDATE>
<EXPIRATIONDATE></EXPIRATIONDATE>
<CONTRACTSTATUS>Executed</CONTRACTSTATUS>
</ROWSET2_ROW>
</ROWSET2>
</ROWSET1_ROW>
<ROWSET1_ROW>
<STUDY_ID>105</STUDY_ID>
<STUDYNAME>TEST293</STUDYNAME>
<INVNAME>Bell, Taco</INVNAME>
<COUNTRY>USA</COUNTRY>
<STDINV_ID>3157</STDINV_ID>
<ROWSET2>
<ROWSET2_ROW>
<STDINV_ID>3157</STDINV_ID>
<TEMPLATESENT>07/12/2005</TEMPLATESENT>
<FINALCONTRACTRECEIVED></FINALCONTRACTRECEIVED>
<CONTRACTTYPE>Main Agreement</CONTRACTTYPE>
<DRAFTRECEIVED></DRAFTRECEIVED>
<EFFECTIVEDATE>04/05/2006</EFFECTIVEDATE>
<EXPIRATIONDATE></EXPIRATIONDATE>
<CONTRACTSTATUS>Executed</CONTRACTSTATUS>
</ROWSET2_ROW>
</ROWSET2>
<ROWSET3>
<ROWSET3_ROW>
<STUDY_ID>105</STUDY_ID>
<STDINV_ID>3157</STDINV_ID>
<EXPIRATION>10/02/2007</EXPIRATION>
<IRBNAME>Big Kahuna IRB</IRBNAME>
</ROWSET3_ROW>
<ROWSET3>
</ROWSET1_ROW>
<ROWSET1_ROW>
<STUDY_ID>105</STUDY_ID>
<STUDYNAME>TEST293</STUDYNAME>
<INVNAME>King, Burger</INVNAME>
<COUNTRY>USA</COUNTRY>
<STDINV_ID>3112</STDINV_ID>
<ROWSET2>
<ROWSET2_ROW>
<STDINV_ID>3112</STDINV_ID>
<TEMPLATESENT>07/10/2005</TEMPLATESENT>
<FINALCONTRACTRECEIVED>11/21/2005</FINALCONTRACTRECEIVED>
<CONTRACTTYPE>Main Agreement</CONTRACTTYPE>
<DRAFTRECEIVED></DRAFTRECEIVED>
<EFFECTIVEDATE>11/23/2005</EFFECTIVEDATE>
<EXPIRATIONDATE></EXPIRATIONDATE>
<CONTRACTSTATUS>Executed</CONTRACTSTATUS>
</ROWSET2_ROW>
<ROWSET2_ROW>
<STDINV_ID>3112</STDINV_ID>
<TEMPLATESENT></TEMPLATESENT>
<FINALCONTRACTRECEIVED></FINALCONTRACTRECEIVED>
<CONTRACTTYPE>Amendment 1</CONTRACTTYPE>
<DRAFTRECEIVED></DRAFTRECEIVED>
<EFFECTIVEDATE>04/01/2008</EFFECTIVEDATE>
<EXPIRATIONDATE></EXPIRATIONDATE>
<CONTRACTSTATUS>Executed</CONTRACTSTATUS>
</ROWSET2_ROW>
</ROWSET2>
<ROWSET3>
<ROWSET3_ROW>
<STUDY_ID>105</STUDY_ID>
<STDINV_ID>3112</STDINV_ID>
<EXPIRATION>08/16/2011</EXPIRATION>
<IRBNAME>Top Notch Healthcare</IRBNAME>
</ROWSET3_ROW>
</ROWSET3>
</ROWSET1_ROW>
</ROWSET1>
</DATA>

Similar Messages

  • Example of how to create a master-multiple detail PDF report using BI Pub

    Hi,
    Are there any examples out there on how to do this? Basically for each master record from table A,
    need multiple related detail records from table B AND multiple related detail records from table C.
    Ie. A is master to B and A is master to C.
    For master-single detail reports, writing a single query that joins master to detail works fine,
    but for master-multiple detail reports, I don't see how this approach will work.
    Thanks,
    Jed

    You MIGHT have a better response if you ask this question in the BI Publisher forum...: BI Publisher
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.

  • How to Create material master workflow

    Hi All,
    Can anybody tell me how to create material master workflow?
    i need to customize the workitem  for creating data in different views in MM01 transaction with restriction to particular user.
    Regards,
    Priti

    Hi,
    This link is to  display a material.My requirement is to create a workflow which will allow a responsible person to enter data for specific department data e.g Purchase,Accounting etc.Initially anyone can create data using basic data1 and basic data2 views.After this my workflow will be triggered and it will go to next person who is responsible to enter Purchase data and then Accounting data.
    Plz help me to create different views with respect to person.
    Thanks in advance.

  • How to create customer master data for walking customer in retail

    hi experts !!!!!!
    for retail industry e.g books trading industry
    how to create customer master data for walking customer in retail
    its dummy or one time customer
    if i create one time customer then same customer number can i use for every new order and every new customer how ?????
    thanks

    Dear Hanumant,
    As per my view,,
    You can use one time customer functionality to full fill your requirement.
    When you create sales order with one time customer system take you to the customer data maintanence screen through that you can maintain the one time customer data.
    Same one time customer number you can use for every new order through maintaining different data.
    I hope this will help you,
    Regards,
    Murali.
    Edited by: Murali Mohan.Tallapaneni on Dec 19, 2008 6:08 AM

  • How to create a master page in Dreamweaver?

    Hi
    Does anyone know how to create a master page in Dreamweaver ??

    Dreamweaver Templates ~
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    Server-Side Includes ~
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Spry Tabbed Panels ~
    http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    Spry Accordion Panels ~
    http://labs.adobe.com/technologies/spry/samples/accordion/AccordionSample.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • How to create a Master delivery plan

    Hello,
    my question is how to create a Master delivery plan to my customers manuelly and how to setup up it for to be able to create automatically the production planning orders.
    Thank you kindly for you answers.

    Thank you so much, it is great.
    Just one more question, which requirements type i have to set up in requirements parameters if I want to plan it directly to customer (I want to see the customer in MD04)
    Thank you kindly for your answer

  • How to create a master detail form using single table

    Hi,
    how to create a master detail form using single table.
    Regards,
    M. Satish

    Hi
    how to create a master detail form using single table.Make the Master ur pks the details the rest of ur data base field in the detail it's a mater of organizing fields on a form M-Detail...
    Now What ?
    Regards,
    Amatu Allah

  • How to create generic master data  datasource .

    How to create generic master data  datasource which utilises ALE change pointers for extraction of master data.

    Hi,
    For any master data lets say, Material Master, for this you need to create a view
    based on your requirement by selecting one or more tables into your view and
    keeping all the required fields in the view as viewfields and go to RS02 create
    generic data source, select the view option as source and put the view, save and
    activate, at the same time set the delta pointer as to whether Numericpointer/date/timestamp..this way you can create a generic DS then transfer the stru. and at the BW side replicate the source system..and so on..
    Hope this helps..
    Assign points if useful.
    Need further info revert..
    Cheers,
    Pattan.

  • IDOCS: How to Create Address Master to tranfer TPSLOC01 Idoc

    Hi Gurus,
    We are tranferring Location Masters like Customer, Vendor, Plant through TPSLOC01 IDOCs from SAP ECC 6.0 to Third party Trnasport Management System.
    How to create Address Master Data (TRMTYP-AD) separately like Customer Master (TRMTYP-CU, Vendor Master (TRMTYP-SU) so that we can tranfer the Address Master Data through TPSLOC01 IDOC.
    Thanks&Regards
    Sreekanth

    Hi All,
    This is closed as we have transferred only General data of the customer.
    Thanks for all.
    Sreekanth

  • How to Create a Page LOV Template and a Region LOV Report Template in APEX

    Hi All,
    Thanks in advance ..
    I am new to APEX , Currently working in APEX 3.2
    Can any one please guide me How to Create a Page LOV Template and a Region LOV Report Template in APEX
    So that I can create dynamic Multi column LOV in APEX
    Cheers
    Sachin

    Sachin,
    I think you are en-quiring about 'Custom pop-up page'. See this link. You will get all required info there.
    Regards,
    Hari

  • How to create field catalog using field-symbols in normal alv report?

    hi all,
    how to create field catalog using field-symbols in normal alv report? i.e, using function modules...reuse_alv_list_display/grid_display?
    regards,
    jack

    HI
    LIKE THIS
    TYPE-POOLS : slis.
    DATA : t_fieldcat TYPE slis_t_fieldcat_alv,
           st_fieldcat TYPE slis_fieldcat_alv.
    st_fieldcat-fieldname     = 'STATUS'.
      st_fieldcat-seltext_l     = 'STATUS INDICATOR'.
      st_fieldcat-outputlen     = 17.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'VBELN'.
      st_fieldcat-do_sum        = ' '.
      st_fieldcat-seltext_l     = 'Sales Document No.'.
      st_fieldcat-outputlen     = 10.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'AUDAT'.
      st_fieldcat-do_sum        = ' '.
      st_fieldcat-seltext_l     = 'Document Date'.
      st_fieldcat-outputlen     = 10.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'VBTYP'.
      st_fieldcat-do_sum        = ' '.
      st_fieldcat-seltext_l     = 'Document Type'.
      st_fieldcat-outputlen     = 4.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'AUART'.
      st_fieldcat-do_sum        = ' '.
      st_fieldcat-seltext_l     = 'Category'.
      st_fieldcat-outputlen     = 1.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'AUGRU'.
      st_fieldcat-do_sum        = ' '.
      st_fieldcat-seltext_l     = 'Reason'.
      st_fieldcat-outputlen     = 3.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'NETWR'.
      st_fieldcat-do_sum        = 'X'.
      st_fieldcat-seltext_l     = 'Net Amount'.
      st_fieldcat-outputlen     = 15.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
      st_fieldcat-fieldname     = 'WAERK'.
      st_fieldcat-do_sum        = ' '.
      st_fieldcat-seltext_l     = 'Unit'.
      st_fieldcat-outputlen     = 5.
      APPEND st_fieldcat TO t_fieldcat.
      CLEAR st_fieldcat.
    *sortinfo
      st_sort-fieldname = 'AUART'.
      st_sort-up        = 'X'.
      st_sort-subtot    = 'X'.
      APPEND st_sort TO t_sort.
      CLEAR st_sort.
      st_sort-fieldname = 'VBTYP'.
      st_sort-up        = 'X'.
      st_sort-subtot    = ' '.
      APPEND st_sort TO t_sort.
      CLEAR st_sort.
      st_sort-fieldname = 'WAERK'.
      st_sort-up        = 'X'.
      st_sort-subtot    = 'X'.
      APPEND st_sort TO t_sort.
      CLEAR st_sort.
      st_sort-fieldname = 'VBELN'.
      st_sort-up        = ' '.
      st_sort-subtot    = 'X'.
      APPEND st_sort TO t_sort.
      CLEAR st_sort.
    CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
       EXPORTING
         i_list_type     = 0
       IMPORTING
         et_events       = it_eventcat
       EXCEPTIONS
         list_type_wrong = 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.
      IF grid = 'X'.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
         I_INTERFACE_CHECK                 = ' '
         I_BYPASSING_BUFFER                = ' '
         I_BUFFER_ACTIVE                   = ' '
          i_callback_program                = g_program
          I_CALLBACK_PF_STATUS_SET          = 'SET_PF_STATUS'
         I_CALLBACK_USER_COMMAND           = ' '
          I_CALLBACK_TOP_OF_PAGE            = 'TOP_OF_PAGE'
         I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
         I_CALLBACK_HTML_END_OF_LIST       = ' '
         I_STRUCTURE_NAME                  =
         I_BACKGROUND_ID                   = ' '
         I_GRID_TITLE                      =
         I_GRID_SETTINGS                   =
         IS_LAYOUT                         =
           it_fieldcat                       = t_fieldcat
         IT_EXCLUDING                      =
         IT_SPECIAL_GROUPS                 =
          it_sort                           = t_sort
         IT_FILTER                         =
         IS_SEL_HIDE                       =
         I_DEFAULT                         = 'X'
         I_SAVE                            = ' '
         IS_VARIANT                        =
         IT_EVENTS                         =
         IT_EVENT_EXIT                     =
         IS_PRINT                          =
         IS_REPREP_ID                      =
         I_SCREEN_START_COLUMN             = 0
         I_SCREEN_START_LINE               = 0
         I_SCREEN_END_COLUMN               = 0
         I_SCREEN_END_LINE                 = 0
         I_HTML_HEIGHT_TOP                 = 0
         I_HTML_HEIGHT_END                 = 0
         IT_ALV_GRAPHICS                   =
         IT_HYPERLINK                      =
         IT_ADD_FIELDCAT                   =
         IT_EXCEPT_QINFO                   =
         IR_SALV_FULLSCREEN_ADAPTER        =
       IMPORTING
         E_EXIT_CAUSED_BY_CALLER           =
         ES_EXIT_CAUSED_BY_USER            =
          TABLES
            t_outtab                          = it_final
          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.
    REWARD IF USEFULL

  • How to: Create a master form that auto-fills data into other pdf forms?

    I hope someone can please help me.  I have about 15 PDF forms that all require similar data entry (name, address etc). Can I create a master form that we fill in once per client, and then auto-fill in the matching data on the 15 forms? 
    I am not looking for an online solution as the information is highly sensitive. 
    I have already created a form in Acrobat X Pro with the 'master data', and created the (15) forms with identically named fields.  How I link the forms now to the master, I cannot figure out (after much searching).
    I have read similar questions on the same topic but have not found any answers.   I hope this time someone can please help.
    Many thanks in advance.

    Thank you!  I had just figured out how to export the data from the master as an FDF file and then import it to the other files.  I'm afraid I don't understand scripting to automate the process across multiple files.  To you mean with java script? 
    I've also thought about combining the forms, once we know which ones the particular client will need.  I have to see how it works in practice for my colleagues who will be using them.
    Thank you again.

  • How to create a master object?

    Hey! Could you please tell me if it is possible to create a master object in adobe muse, which I can edit and it will automatically apply change to that object everywhere where I used this object? For example, I have a push button for downloading a file. This button is present on multiple pages of my website (however it is linked to different files). Therefore, I want to be able to edit the design of that button and do not waste time going to every page where it is present in order to change to a new design.

    Hi
    We do have an option where in you may place the button on master page and apply the same to the pages where you want that button to show up, and any changes you make in design will automatically gets applied to all the pages,however, in that case its not possible to link them to different files as the items placed on master page cannot be edited on individual pages.
    Hence, I am afraid its not possible to achieve the functionality you looking for within Muse at this stage of development.

  • Flarcreate: How to create a master image?

    Hello!
    I want to create a flash archive of a master system which should be used
    to install a number of clone systems. Also I want to create differential
    archives to update the clones.
    But after creating the first archive and installing it on a clone, I do
    not know how to go on. In the documentation they talk about a "master
    image" but do not explain what this is or how to create it. It seems
    that "archive" and "image" are not equivalent.
    The documentation I used was http://docs.sun.com/app/docs/doc/819-6398
    Can anyone tell me how to create a differential archive now?

    The Solaris Flash installation feature provides following new enhancements:
    A Solaris Flash installation can now update a clone system with minor changes. If you have a clone system and want to update it with minor changes, you can create a differential archive that contains only the differences between two images, the original master image and an updated master image. When you update a clone system with a differential archive, only the files that are specified in the differential archive are changed. Use the custom JumpStart? installation method to install a differential archive on a clone system, or you can use Solaris Live Upgrade to install a differential archive on a duplicate boot environment.
    Special scripts can now be run for configuration of the master of clone or can be run to validate the archive.Hope the first paragraph gives you the answer.
    Regards
    Britto

  • How to create One Master - and 2 detail records region

    Hi,
    My requirement is to have three regions on a single page, one for master record and two for detail records.
    Also, one detail record region needs to upload images (photos) to database.
    Can some one tell me how to do this in APEX.
    Thanks
    Aali

    Hi Aali, I have the same issue in a master detail form, I don't know how to upload images in the detail form, can you help me please.
    Thanks and regards,
    Wilson

Maybe you are looking for

  • Fonts supported by crystal reports XI

    Post Author: kapsi CA Forum: General Does Crystal reports XI support postscript fonts? Does Crystal Reports XI allow postscript fonts to be exported to PDF? (I know that this was not possible in Crystal Reports 9. Has this been resolved in XI?) Many

  • Having Refresh problems with one machine

    Does anyone know what this would be. When I observe computers, one machine on the local network does not refresh, like all the others. You can really see the differenc in refresh between the other machines and this one. This one seems to stand still.

  • Strange thing happend

    Strange thing public class Killer{ public void setEnemies(List<Enemies> enemies){ this.enemies=enemies; public void addEnemies(Enemy enemy){ this.enemies.add(enemy); public List<Enemies> getEnemies(){} } And.... Killer killer1=new Killer(); Killer ki

  • Missing binary in /usr/bin/

    I am trying to get MySQL running on my computer, but the mysql binary is missing from my /usr/bin/ directory. I've tried installing from the standard repositories and compiling myself from ABS, but it never appears. Where can I get this file? Is this

  • BTFON connects but I can't open any web pages

    I'm away from the address where my home hub is so I've been trying to use BTFON. I can connect fine but I can't open the landing page or any other web pages due to DNS errors. I've checked that my DNS settings are set to automatic and it seem to be p