How to separate report layout sections in one report

All,
I'm trying to determine how to separate report layout sections in one report using Report Builder 10g. My requirement is to provide a user the ability to display a report in PDF, excel, RTF formats. How can I assign LayoutA to 'PDF' and 'RTF', LayoutB to 'Spreadsheet'?
I've attempted to utilize the Header and Main sections in the paper layout, which contain unique layouts of the same report, but during generation, both sections are being displayed.
Thanks
Edited by: Jdavis on Apr 10, 2009 10:56 PM

Hi there,
How are you running the report? If you are selecting different types of output before calling the report then you could pass a parameter that is checked at runtime in the report and suppresses the layouts you do not want using format triggers.
Mark

Similar Messages

  • How to suppress a blank section in crystal report

    how to suppress a blank section in crystal report. although i have set the property
    "suppress blank section "=true ,still i m unable to suppress my section
    please help me to cope up this issue.
    thanks in advance

    One recommendation I make, when troubleshooting suppression issues, is to put a visible border of the section, area or object to be suppressed, and borders for all objects contained in the section or area.  This will help isolate what's suppressed, and whether the section is truly blank or has content that's blank.
    Furthermore, I recommend indicating which SDK and what version you're using when posting.
    Sincerely,
    Ted Ueda

  • How to merge serveral layout files into one output file?

    Hi there!
    For my report, I need to get a datasheet with all the customer data from the database and I have to attach a second document - so I've created 2 files (rtf templates) within the layout section.
    But how can I now run my report and these files are merged to one?
    Thank you!
    BR
    Lena

    Hi Lena,
    Have you tried to combine the RTF templates into one template?
    You could use subtemplates or define the contents/logic from your second template into the main template by creating the template like:
    <?template:Template2?>
    your second template logic here
    <?end Template2?>
    And within the main template, you call this <?call@inlines:Template2?>
    Hope this helps.

  • How to separate two mixed things in Disc report

    Hi ,
    does anybody know how to separate job numbers in Disc report . I did a sorting and gave totals by all other fields but a main job have three diff jobcodes where two of them has to be in one group and third one needs to be separated to see the total amount spend on that job . Can anybody pls help me on this .
    Thanks
    Shruthi

    Hi,
    If you have this grouping in many reports then you should consider putting the grouping calculation in a folder in the EUL.
    You can sort the report using this calculation and set the sort type to be "Hidden" so that the calculation does not show in the report.
    Rod West

  • Grouping two sections in one report

    Hello,
    I am newbie to Crystal Reports.I have one doubt in designing a report.
    The proto for the report is:
    Date: XX:XX:XXXX
                                    Sales Report - Value
    S No     Item         Increase    Decrease
    1           XXX
    2           YYY
                                    Sales Report - Volume
    S No     Item         Increase    Decrease
    1           XXX
    2           YYY
    Here, there is a hyperlink in Item in both Value Report and Volume Report, which opens a subreport about the item.
    How can i proceed the proto. It is easy to group an item if it is only Sales - Value Report.
    Here, both Value and Volume report should present in main report.How can i proceed with Sales Report - Value and Sales Report - Volume in a single report file, without subreport concept.
    If i use the subreport here, i am not able to include a subreport- hyperlink in Item.
    Thanks in advance.
    With Regards,
    Suresh M.

    In the main report insert a group on Value and in group footer place a subreport that consist of data under Volume group. Pass the Volume field value from main report to subreport using change subreport links by right clicking the subreport.
    Regards,
    Raghavendra

  • Carls Auto Updating Report  - Updating more than one Report on a page.

    Does any one know how or adapted Carl's Auto Updating Report to work with more than one report on a page.
    If I simply add another html_PPR_Report_Page with the second report_id I get an Error : "gNode is null or not an object". using IE.
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    works fine but when I add the second call I get the "gNode is null or not an object". error.
    function mon_Refresh()
    setTimeout("mon_Refresh()",5000);
    html_PPR_Report_Page (null,'R1736701112358007',$x('r_R1736701112358007').getAttribute('htmldb:href'))
    html_PPR_Report_Page (null,'R1738006943370690',$x('r_R1738006943370690').getAttribute('htmldb:href'))
    Any help most appreciated.
    Anthony

    Hello,
    Looks like you might be running into our AJAX race condition take a look at this fix and see if it helps you out.
    Race condition in htmldb_get.js
    Carl

  • How to link Print layout more than one

    Dear Experts,
    We have some customers need to issue COC (certificate of compliance) while making Sales - delivery.
    We are thinking to make COC print layout in system, but I don't know how to link it with delivery print layout ? which means when we print delivery then the COC will print out as well... Also, can we set up the COC will be printed out with delivery documents just for some specific customers who need COC?
    Thanks!
    Emily

    Dear Paul or Experts,
    I have created the COC print layout and now, would like to link it with original default delivery print layout to have the consequence: once priniting the delivery, then the COC will print out as well.
    But, I don't get it how to set up the F_100 == '2' ?? 
    Is this field created on delivery print layout or COC layout?  and how to set condition all fields to this F_100 ? in the "link_ to" filed or "related to" field ??
    Pls help on this!
    Thanks a lot!
    Emily

  • Two Sections in One Report

    Hello All,
                I have a req wherein a Report Will Contain Two Different Sections.
    Section A                                               |       Section B
    Customer      Col1  Col2   Col3                 |      Customer  Col1 Col2 Col3
    All the fields are Similar in both the sections, Section A will show outstanding A/R. Section B Will Show Partial Payments. Any ideas?

    Hi
    Option 1: have two reports and then have a workbook for both reports
    option 2: have a static column structure 
                           Outstanding AR                    Partial Payments
    customer                
    Hope this Helps
    Anand Raj

  • How to display 2 internal tablea in one report

    hi
    experts can u help me for this

    suppose you are using 2 tables mara and marc
    move the data into 2 internal tables i_mara and i_marc.
    then move the data into i_out.
    write the data of i_out.
    see this code for data from 4 tables
    REPORT  YSG_MATSTKREPT LINE-SIZE 125.
                             LINE-COUNT 50(5).
    *&                       DATA DECLARATION                              *
    TABLES: MARA,              "GENERAL MASTER DATA
            MARC,              "PLANT DATA FOR MATERIAL
            MARD,              "STORAGE LOCATION DATA FOR MATERIAL
            MAKT.              "MATERIAL DESCRIPTION
    DATA: BEGIN OF I_MARA OCCURS 0,
               MATNR LIKE MARA-MATNR,"MATERIAL NUMBER
          END OF I_MARA.
    DATA: BEGIN OF I_MARC OCCURS 0,
              MATNR LIKE MARC-MATNR,"MATERIAL NUMBER
              WERKS LIKE MARC-WERKS,"PLANT
          END OF I_MARC.
    DATA: BEGIN OF I_MAKT OCCURS 0,
               MATNR LIKE MAKT-MATNR,"MATERIAL NUMBER
               MAKTX LIKE MAKT-MAKTX,"MATERIAL DESCRIPTION
          END OF I_MAKT.
    DATA: BEGIN OF I_MARD OCCURS 0,
               MATNR LIKE MARD-MATNR,"MATERIAL NUMBER
               WERKS LIKE MARD-WERKS,"PLANT
               LGORT LIKE MARD-LGORT,"STORAGE LOCATION
               LABST LIKE MARD-LABST,"VALUATED STOCK WITH UNRESTRICTED USE
          END OF I_MARD.
    DATA: BEGIN OF I_OUT OCCURS 0,
            MATNR LIKE MARC-MATNR,
            WERKS LIKE MARC-WERKS,
            MAKTX LIKE MAKT-MAKTX,
            LGORT LIKE MARD-LGORT,
            LABST LIKE MARD-LABST,
          END OF I_OUT.
    DATA : TOT TYPE I, " TOT - TOTAL STOCK
           PLSTK TYPE I, " PLSTK - PLZNT WISE STOCK
           X TYPE C. "FLAG
    *&                   S E L E C T I O N - S C R E E N                   *
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
    SELECT-OPTIONS: S_MATNR FOR MARA-MATNR .
    SELECTION-SCREEN END OF BLOCK B1.
    **&                  I N I T I A L I Z A T I O N                      *
    *INITIALIZATION.
    S_MATNR-SIGN = 'I'.
    S_MATNR-OPTION = 'EQ'.
    S_MATNR-LOW = 'M-12'.
    S_MATNR-HIGH = 'M-18'.
    *&             S T A R T - O F - S E L E C T I O N                     *
    START-OF-SELECTION.
    SELECT MATNR WERKS FROM MARC
                          INTO TABLE I_MARC
                          WHERE MATNR IN S_MATNR .
    SELECT MATNR WERKS LGORT LABST FROM MARD
                          INTO TABLE  I_MARD
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR
                          AND WERKS = I_MARC-WERKS.
    SELECT MATNR MAKTX FROM MAKT INTO TABLE I_MAKT
                          FOR ALL ENTRIES IN I_MARC
                          WHERE MATNR = I_MARC-MATNR.
      LOOP AT I_MARC.
        MOVE I_MARC-MATNR TO I_OUT-MATNR.
        MOVE I_MARC-WERKS TO I_OUT-WERKS.
        READ TABLE I_MAKT WITH KEY MATNR = I_MARD-MATNR.
        MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
      LOOP AT I_MARD WHERE MATNR = I_MARC-MATNR
                         AND WERKS = I_MARC-WERKS.
          MOVE I_MARD-LGORT TO I_OUT-LGORT.
          MOVE I_MARD-LABST TO I_OUT-LABST.
          APPEND I_OUT.
        ENDLOOP.
        CLEAR I_OUT.
      ENDLOOP.
    *&                  T O P - O F - P A G E                              *
    TOP-OF-PAGE.
      WRITE:/ 'DATE:' ,SY-DATUM.
      FORMAT COLOR 4 INTENSIFIED OFF.
      WRITE:/2 'PLANT',
             9 'STG.LOC',
            20 'MATERIAL.NO.',
            55 'DESCRIPTION',
            88 'STOCK'.
    *&                  E N D - O F - P A G E                              *
    END-OF-PAGE.
      WRITE: / SY-ULINE,
             /100 'PAGNO: ',SY-PAGNO,
             SY-ULINE.
    *&        E N D -- O F --  S E L E C T I O N                           *
    END-OF-SELECTION.
    SORT I_OUT ASCENDING BY WERKS LGORT.
      LOOP AT I_OUT.
        WRITE:/    SY-ULINE,SY-VLINE,
                   I_OUT-WERKS,SY-VLINE,
                   I_OUT-LGORT,SY-VLINE,
                   I_OUT-MATNR,SY-VLINE,
                   I_OUT-MAKTX,SY-VLINE.
                   AT END OF LABST.
                   WRITE: I_OUT-LABST,SY-VLINE.
                   ENDAT.
        TOT = TOT + I_OUT-LABST.
        AT END OF LABST.
        WRITE : TOT, SY-VLINE.
        ENDAT.
    *AT END OF WERKS.
    *NEW-PAGE.
    *ENDAT.
        AT LAST.
        FORMAT COLOR 7 INTENSIFIED OFF.
        WRITE : /87 'TOTAL STOCK = ',TOT.
        ENDAT.
      ENDLOOP.
    regards,
    srinivas

  • How to save the layout screen of the report in which contains subtotal

    Hi All,
    I developed Zprogram with 100 fields in ECC 6.0.Now i want to change the layout and save the layout.
    It was working fine if I select the fields which does not contain subtotals.
    Now I am facing the problem when I am selecting the subtotal and saving the layout then it was not
    reflecting in the saved layout.Can any body solve this problem.
    Thanks,
    Ram

    HI,
    while changing the layout are you not checking the check box for "Aggregate".
    regards,
    neha

  • Crystal Reports - Two Tables in one report, grouped by machine.

    I have two tables for machine schedules.  One is a Current Job Table, and the other is a Que Job Table.  I do have tables joined to a definition table for the machine name.
    Cur Job Table - Def table
    Que Job Table - Def table
    I want to report the information from the current job table for each 13 machines in sequence.  Some machines may have more current jobs than qued jobs.
    ...Machine 1 (Machine Name)
    .....Current Jobs (Cur Job Table)
    .....Qued Jobs (Que Job Table)
    ...Machine 2 (Machine Name)
    .....Current Jobs (Cur Job Table)
    .....Qued Jobs (Que Job Table)
    Etc.
    Is there a way to do this easily?  I have tried grouping and sub reports.  Seems like I end up with duplicate records due to the SQL joins.

    Sharon,
    Select distinct will not work here, as select distinct checks all fields in the record, and when joining the two detail tables, it will not clear out "duplicates" on only one side of the join.
    I would also humbly suggest that using Select Distinct to try to "clean up" a query is rather dangerous.  You may end up dropping some data that should appear on the report.  (In fact I recently had to fix a report due to this issue - coded by someone else, of course!  :->)  If you are getting duplicate records and you don't want them, the query should be coded to produce the desired result set WITHOUT the Distinct clause being the reason duplicates are dropped.  (This is not to say that select distinct is not useful, or should never be used.  If you need a distinct list of customers over a date range, using Select Distinct custcode from sales where date between {?start} and {?end} is perfectly OK.)
    HTH,
    Carl

  • How to Use views of one report to other reports

    I have so many reports with same views like static text, header & footer .
    My question is: I have created these views on some reports which are same to all reports as i said. Now i want to use these views from the existed reports without creating once again which takes long time to ensure that size and color everything should be same for all reports for those views.
    Can any body give an idea how to make use the views of one report to other reports...?
    Thanks & Regards
    G. Kishore.

    Hi...
    I have achieved using Headers & Footers in another report through import formatting from another analysis option presents in compound layout view.
    But i unable to get the remaining views like static, Legend....etc. into another reports....
    Can anybody help me in doing this...
    Thanks & Regards
    G. Kishore

  • Crystal Report Layout asking for Login Info

    I have modified the Delivery Note Crystal Report Layout for Business One by clicking the Edit button on the Report and Layout Manager for Delivery Note (Items).  I then saved my modifications to a file.  Finally, I go into Business One and import the Layout for Delivery Note (Items).  When I preview the Layout it asks me for login information then continues to fail.  How dow I make it so I can print the Delivery without having to constantly log in?

    Hi Jeff,
    I recently had a similar problem on an 8.82 implementation, having contacted and spoken to SAP Support multiple times these suggested fixes worked:
    The request to login to the database when you open or print preview a Crystal
    report is a known issue. To resolve this, I recommend you go through our Root
    Cause Analysis (RCA) guide. Please see attac hed Note 1676353 on where to find
    this. There are four Cases in this guide (which contain a number of Influences)
    - please go through all Cases and Influences.
    We also tried the following:
    STEP 1:
    Influence 2: Case 2 is to clear all the data for login (e.g. sa and
    password - delete them) and then ticked 'Integrated Security#.
    - Influence
    3: #: Check the current datasource is to update connection.
    - Retest opening
    the system reports on a workstation.
    - If they are still reporting an error
    try the next step
    - STEP 2:
    - Change the datasource location of
    the report from OLE DB to SAP Business One type and leave the
    authentication
    information blank. Try running the report in Crystal, and then import to SAP.
    And also opened up the Crystal Report via the Edit button in SAP in Reports and Layouts Manager, we then clicked on the database connection and updated all the tables (even though they were the same) and these got the reports needed working. Speaking to SAP it is a known bug and they are releasing a hotfix to resolve it, but try explaining that to a customer !!!
    Hope these help.
    Regards
    Sean

  • PDF Printing Issue - Customised Report Layout Error

    Hi,
    I am trying to get a PDF file output based on the customised RTF file created. I follow the following steps but I am facing an issue with that.
    (i) Go to Shared Components > Report Queries.
    (ii) Create a new Report query with more than one query.
    (iii) Using the XML Data in the Report queries, create a Report Layout (RTF) file.
    (iv) Navigate to shared components Report Layout and upload the RTF file.
    (v) Once this is done, use the Report Layout created in the Report Queries. Select the Layout name from the Drop Down.
    (vi) Click on TEST REPORT, this produces an error: Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded )
    Additional Info
    The apex instance configured with Embbedded plsql, rdbms version is 11.1.0.7.0 and the BI publisher version 10.1.3.3.
    ISSUE DESC
    When I use mulitple Queries even after using Generic Report Layout I get the output for the first query alone in the PDF and the remaining Queries are ignored.
    And when i use a user defined template, then even If i have a single report query I get the error.
    To summarise, I am not able to use the customised Layouts.
    I have reproduced the issue in apex.oracle.com
    Please log in using,
    WORKSPACE: demo_test
    USER NAME: [email protected]
    pwd: vidhya
    After logging in please select the Application Builder.
    In that select the Application named PDF.
    Select the Shared components > Report Queries
    Select the Report Query named test.
    Click on the TEST REPORT button in the Source Queries Section.
    You will get the error.
    Now in the same page in the Report Query Attributes Section change the Report Layout to Use Generic Report Layout and then click on 'TEST REPORT', this will give the PDF file without errors.
    The same report has been called from the PRINT REPORT button provided in the page 1 of the application.
    This issue is really urgent and critical. Require your inputs/help.
    Thanks,
    Ramya

    I' an APEX newbie and believe I am having the same or a similar problem. I am (for now) developing a system using the hosted Apex development system online. I have created a Report Query which works fine with the default layout. I downloaded the XML (tried both sample data and schema) into Word 2007 with the BI Publisher Template Builder. I used the table wizard to create a simple layout containing all columns with no customization at all. Saved as an RTF, uploaded to Apex as a Report Layout, associated it with the Report Query, clicked Test Report -- and I got nothing.
    When the is a PDF, I get the same error you mention ( Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded ). If I switch to an HTML file the out is just a blank screen.
    If I switch back to generic report layout, it works fine. This suggests there is something wrong with the template, though it looks fine in Word with the sample data.
    I've searched the forums and Google for the better part of a day. What am I missing?

  • Customize portal report layout

    Is it possible to customize the report layout ?
    I don't want a plain table layout.
    Can someone tell me where I can find documentation on how to customize portal report layout?
    Thank U.
    Regards Cecilie

    Hi,
    You can customize the Report Layout by using
    the Custom option in the Report Layout section
    while creating the Report.
    It allows to write your own HTML code to define the Layout.
    The three Layout options which can be used are:
    Tabular
    Form
    Custom
    Hope this Helps
    Thanks
    Vineet

Maybe you are looking for