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.

Similar Messages

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

  • 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 parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

  • 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 the log file in remote system using log4j.

    Hi,
    How to create the log file in remote system using log4j. please give me a sample code or related links.The below example i used for create the log file in remote system but it return the below exception.Is there any authandication parameter for accessing the remote path? Please help.
    public class Logging
    Logger log=null;
    FileAppender fileapp=null;
    public Logging(String classname)
    try
    log = Logger.getLogger(classname);
    String path=" [\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt|file://\\192.168.0.14\\c$\\LOG\\d9\\May_08_2008_log.txt]";
    fileapp = new FileAppender(new PatternLayout("%r [%t] %-5p %c %x - %m%n"),path, true);
    log.addAppender(fileapp);
    log.info("Logger initilized");
    }catch(Exception ex)
    ex.printStackTrace();
    java.io.FileNotFoundException: \\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt (The network path was not found)
    at java.io.FileOutputStream.openAppend(Native Method)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at java.io.FileOutputStream.<init>(Unknown Source)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
    at org.apache.log4j.FileAppender.<init>(FileAppender.java:109)
    at annwyn.logger.BioCapLogger.<init>(Logging.java:23)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Please help.
    Thanks in advance.
    Saravanan.K

    Sorry path is missing for the above request.
    path="\\192.168.0.14\c$\LOG\d9\May_08_2008_log.txt ";
    please help.
    Saravanan.K

  • How to create a smallest file size pdf from indesign CS4 document

    How to create a smallest file size pdf (suitable for upload to a website) from indesign CS4 document which contains multiple illustrator CS4 illustrations.
    I have chosen the "smallest file size option" but the pdf file is over 30MB, can anyone help please.
    Thank you

    One trick is to
    Set the placed graphics to have a transparency of 99.9% (you can do this with Find/Change and select Objects)
    This is enough to force the graphics throught the Transparency Flattener
    Next set the Transparency Blend Space to RGB (Edit>Transparency Blend Space)
    Next set a custom Transparency Flattner Preset Edit>Transparency Flattner
    Next
    Use File>Export and choose
    Smallest file size
    PDF Compatibility Acrobat 4 (PDF 1.3)
    In Advanced Section - go to transparency and selec the new Flattener Preset you created.
    *this will convert your vectors to raster, but it should reduce your file size

  • How to create a radio button in ALV Reports

    Hi all,
    Best wishes to all..
    Kindly reply me to this question... that is "How to create a radio button in ALV Report"
    Thanks and Regards
    Anjali

    HI
    here is an example :
    PROGRAM ZUS_SDN_BCALV_GRID_DEMO_2.
    Based on: BCALV_GRID_DEMO.
    TYPE-POOLS: icon.
    TYPES: BEGIN OF ty_s_sflight.
    INCLUDE TYPE sflight.
    TYPES: button1    TYPE lvc_emphsz.
    TYPES: button2    TYPE lvc_emphsz.
    TYPES: button3    TYPE lvc_emphsz.
    TYPES: button4    TYPE lvc_emphsz.
    TYPES: END OF ty_s_sflight.
    DATA:
      gt_sflight    TYPE STANDARD TABLE OF ty_s_sflight,
      gt_fcat       TYPE lvc_t_fcat.
    DATA: ok_code LIKE sy-ucomm,
         gt_sflight TYPE TABLE OF sflight,
          g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
          grid1  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container.
          CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA:
          md_cnt    TYPE i.
        CLASS-METHODS:
          handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
            IMPORTING
              e_row_id
              e_column_id
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
          CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_hotspot_click.
    define local data
        FIELD-SYMBOLS:
          <ls_entry>    TYPE ty_s_sflight,
          <ld_fld>      TYPE ANY.
        READ TABLE gt_sflight ASSIGNING <ls_entry> INDEX es_row_no-row_id.
        CHECK ( <ls_entry> IS ASSIGNED ).
      Set all radio buttons "unselected"
        <ls_entry>-button1 =  icon_wd_radio_button_empty.
        <ls_entry>-button2 =  icon_wd_radio_button_empty.
        <ls_entry>-button3 =  icon_wd_radio_button_empty.
        <ls_entry>-button4 =  icon_wd_radio_button_empty.
        ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE <ls_entry>
                                                  TO <ld_fld>.
        IF ( <ld_fld> IS ASSIGNED ).
        Set selected radio button "selected".
          <ld_fld> = icon_wd_radio_button.
        ENDIF.
      Force PAI followed by refresh of table display in PBO
        CALL METHOD cl_gui_cfw=>set_new_ok_code
          EXPORTING
            new_code = 'DUMMY'
         IMPORTING
           RC       =
      ENDMETHOD.                    "handle_hotspot_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
          MAIN                                                          *
      PERFORM select_data.
      CALL SCREEN 100.
          MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container
               EXPORTING container_name = g_container.
        CREATE OBJECT grid1
               EXPORTING i_parent = g_custom_container.
        PERFORM build_fieldcatalog.
        CALL METHOD grid1->set_table_for_first_display
         EXPORTING
           i_structure_name = 'SFLIGHT'
          CHANGING
            it_fieldcatalog  = gt_fcat
            it_outtab        = gt_sflight.
      Set event handler for event TOOLBAR
        SET HANDLER:
          lcl_eventhandler=>handle_hotspot_click FOR grid1.
      else.
        CALL METHOD grid1->refresh_table_display
         EXPORTING
           IS_STABLE      =
           I_SOFT_REFRESH =
          EXCEPTIONS
            FINISHED       = 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.
      ENDIF.
    ENDMODULE.                    "PBO OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      to react on oi_custom_events:
      CALL METHOD cl_gui_cfw=>dispatch.
      CASE ok_code.
        WHEN 'EXIT'.
          PERFORM exit_program.
        WHEN OTHERS.
        do nothing
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                    "PAI INPUT
          FORM EXIT_PROGRAM                                             *
    FORM exit_program.
    CALL METHOD G_CUSTOM_CONTAINER->FREE.
    CALL METHOD CL_GUI_CFW=>FLUSH.
      LEAVE PROGRAM.
    ENDFORM.                    "EXIT_PROGRAM
    *&      Form  BUILD_FIELDCATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM build_fieldcatalog .
    define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat,
        ls_hype        TYPE lvc_s_hype.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'LVC_S_FCAT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE gt_fcat WHERE ( fieldname <> 'EMPHASIZE' ).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'SFLIGHT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_fcat INTO ls_fcat
           WITH KEY fieldname = 'EMPHASIZE'.
      IF ( syst-subrc = 0 ).
        DELETE gt_fcat INDEX syst-tabix.
      ENDIF.
      ls_fcat-fieldname = 'BUTTON4'.
      ls_fcat-icon    = 'X'.
      ls_fcat-hotspot = 'X'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON3'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON2'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON1'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      LOOP AT gt_fcat INTO ls_fcat.
        ls_fcat-col_pos = syst-tabix.
        MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM select_data .
    define local data
      DATA:
        ls_sflight    TYPE ty_s_sflight.
      SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_sflight.
      ls_sflight-button1 = icon_wd_radio_button.
      ls_sflight-button2 = icon_wd_radio_button_empty.
      ls_sflight-button3 = icon_wd_radio_button_empty.
      ls_sflight-button4 = icon_wd_radio_button_empty.
      MODIFY gt_sflight FROM ls_sflight
          TRANSPORTING button1 button2 button3 button4
        WHERE ( carrid IS NOT INITIAL ).
    ENDFORM.                    " SELECT_DATA
    Regards,
    Prasanth
    Reward all helpful answers

  • How to create Infoset&user group query--(query report)

    Hi Guys,
      how to create Infoset&user group query--(query report),
      Pls send me the exact procedure with Example....
                                                                              Regards:
                                                                              Kumar .G

    goto SQ03 and create an User Group If U want to create Ur Own.
    Goto SQ02 to create Ur Infoset by Giving Logical database name or Simple Database table
    Then Choose What ever data U need to be included in The Qurey in field Groups.
    Then Generate the Infoset
    Now Assign the infoset to user group
    Now goto SQ01 and Click on Other user group Button and choose Ur user Group.
    Then in the USer group select Ur Infoset and then create Ur own Query and save this.
    Now select the infoset query and goto More functions under Query menu and Generate report name.
    Now Create a transaction code for the report name generated.
    Now use the Tcode.
    Hope U have got the basic idea of creating Queries.
    ~BiSu

  • How to create custom member in excel BPC report?

    Hi Everyone,
    Hope you are doing good!!
    I have bit confusion on custom member and how to create custom member in excel bpc report.
    Can you please explain me on this with example.
    Thanks,
    Amit

    Hi Amit,
    Take look at below thread might be helpful for you.
    Refer page no 206
    https://help.sap.com/businessobject/product_guides/boeo10/en/EPMofc_10_user_en.pdf
    and
    Best Practices For Reporting Against SAP Business Planning and Consolidation (Powered by SAP HANA), utilizing the EPM Ad…
    Hope this will help you

Maybe you are looking for

  • Error Message When Trying to Use Phone As Modem

    I have a BlackBerry Curve 9330 and use it to get online with my laptop. Recently I've been getting a connection failed message saying the specified port is not open when trying to connect. I have not changed my computer settings and do not know what

  • Difference in Fault message types & exceptions for Webservice in ABAP

    Hello all, I am relatively new to the web service framework in SAP. My problem scenario is as follows. I have a WSDL file of a webservice from 3rd party non-SAP s/w  and I want to replicate the same webservice into SAP by creating FM in SE37 with sam

  • Ipod Screen Scratches

    Hey all, new to the forums so i'm sorry if this has been asked myriad times, but: I work at a BestBuy selling Ipods/other mp3 players, cell phones (including the Motorola Rokr)/etc etc, so naturally i have people asking me about Ipod videos, nanos, e

  • Dynamic SQL substituting dynamic table name with slct statement having date

    Hello, I just wanted some help with the following PL block. My problem is whenever I try to run this block it ask for invoking values for 2 substitute variables, though no substitute variables present in the code. Please find the code below: Declare

  • What are main events in that are used in ALV reports

    hi gurus what are main events in that are used in ALV reports.... regards baskar