How to print Group Header on page break in a subreport - CR XI

Post Author: rickcf
CA Forum: General
I have a subreport that has 3 groups with only one group that has a heading.  When the report prints and a subreport group is split between two pages (on a page break) I would like the group heading to also print again at the top of the page- even with the word "continued..." also.  Right now only the main report page header prints.  How can I do this since there is no page header in a subreport?
Thanks
Rick

Post Author: rickcf
CA Forum: General
Is there any way to test during detail processing time to see if a page break is occuring?  If so I could print out a fake header on the detail line, suppressing it only if the page breaks.  That is the only thing I can come up with to solve the issue.
I am surprised the is not an option to reprint the group header on a page break.  That seems like a needed option and that is the standard in Foxpro reporting - there is a checkbox option to cover this scenario.
A coworker did find a workaround to add a psudo page header to a subreport so if I can add that and put my group info in there it will also work.  I have not looked at the code yet though.
I have another issue I am working on so this one might take a while to get back to.
Rick

Similar Messages

  • How to repeat group head on each page

    I have problem with repeat group heaf on each page, I've ticked the option 'Repeat group head on each page' from the Change Group Option. But the group head didn't appear on each page when I previewed the report. Does anyone have a solution/explaination to this?
    Cheeers

    Sorry Gents, I did't make my porblem clear.
    To James Terry
    Yes, My reports contain one or more sub-groups (only group 1's group header needs to be repeat on each page).
    To Graham Cunningham
    I found pages , containing only group 1's group footer summarized info, don't display group 1's group header. Just like what you said ' It will only repeat on pages that display group information'. Is this a bug or sort of default rule? What else can I do if I want the group header to repeat on each page no matter whether there is group info or not, besides moving the info from group header to pager header?
    Thanks a lot.
    Regards
    Joseph

  • Prevent Occurence of list header and page breaks in spool file of ALV Grid

    Prevent Occurence of list header and page breaks in spool file of ALV Grid  Display.
    When we run the ALV in background and create spool request then:
    Spool file output is coming like this.
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    But the required is like this
    Column1 Column2 Column3 Column4
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    data        data        data       data
    Please suggest a posible answer

    Hello all,
    if you have not yet solved this on your own, here is my solution: use a format type that has 60000 lines per page for your spool output device.
    It all depends on the format type that was used for creating the spool output.
    By default (in our system), we have 65 lines per page. And after each page the column headings of the ALV will appear.
    What i did:
    create a new format type via transaction SPAD->full administration->device types->format types (copy an existing one)
    change"Number of Rows" to 60000 or something applicable
    edit the device type of your output device (e.g. LOCL) to contain the newly created format type (via SPAD; Button "Formats" in device type maintenance).
    That's it! Be sure to use this format type for your output device in the "Background Print Parameters" window (-> Button "Properties").
    Regards
    Daniel Klein
    All other parameters you discussed before didn't do it. All ALV-Settings will be overwritten by the output device settings and its print properties.

  • How to print an envelope in pages 5.0

    How to print an envelope in pages 5.0

    I'm away from my computer right now but I believe there is a template for that.
    Click New, select new from template, it should be there...
    Alexis

  • Hi gurus  in BDC how to print the header on the top of the data

    hi gurus  in BDC how to print the header on the top of the data

    hi,
    while downloading the file using gui_download function module
    in that function module in  TABLES  filednames parameter is used to get headings
    example:
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
      BIN_FILESIZE                    =
           FILENAME                        = FILENAME1
          FILETYPE                        = 'ASC'
          WRITE_FIELD_SEPARATOR            = 'X'
         TABLES
           DATA_TAB                        =   T_ZETBR
          FIELDNAMES                       = IT_HEADER
    reward if useful,
    thanks and regards

  • How to Print Sales header text at the end of last page of Main Window

    Dear All,
    I have a requirement to print Sales order header text at the end of Main of last page. I don't have footer window.When i use Bottom-End bottom.Only one line is printing.The header has 5 lines.
    Request you to provide <b>code</b>to handle this situation. Your response is highly appreciated
    Best Regards
    Praveen

    Hi,
    If u r using standard layout set RVORDER01.
    U can print that sales order header text in the following text element.
    /E SUPPLEMENT_TEXT.
    U can include ur text objects here.
    Then it gets printed.
    Regards,
    Veda Kumar

  • How to print headings in every page of smartforms.

    Friends,
    we have a requirement to print hedaings in multiple pages.
    like if we have  100 line items those will accomidate more tahn one page , i need to print headings in each page.
    pls help me.
    Regards
    Jagadeeshwar.B

    hi ,
    can u check this...
    how to use new page in smartforms
    If you are calling window to display header, then just un check the output option->display on first page only.
    regards,
    venkat.

  • How to print in the last page of the script..?

    Hi,
    I am working on a script. I have a header window and one main window. In the main window, I am printing the line items of the Invoice. Once the line items finish, I have to print the sub totals there. and also to print the company agreement details(around 10 lines of text) in the last page of the script.
    So, <b>how to print the agreement details in the last page of the script..?</b>
    Can anyone provide me a sample code to find the last page of the Script layout..?
    And regarding writing the agreement details, is it better to hard code the text or use the standard texts..? which one is better..?
    Regards,
    Paddu.

    HI,
      Just create a Standard text, if you are going to use this standard text in other layouts also... and use it otherwise you can hard code it as this its of only 10 lines.
    declare one more element in the  main window itselft and call it atlast it would print in the last page..
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    ELEMENT = 'FOOTER'<b><- This element should contain the agreement details</b>
    FUNCTION = 'SET'
    TYPE = 'BODY'
    WINDOW = 'MAIN'
    EXCEPTIONS
    ELEMENT = 1.
    Thanks
    Mahesh

  • How to print report from JSP Page

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

    Hi Everybody,
    I am developing a simple project in JSP with MS Access. I hav some tables and reports for them. I hav a JSP page which gets inputs from user and save it in the table. Its working fine. But my problems are,
    1) I hav a button called "SAVE & PRINT" in that bottom of the page, if i click that button, the currently entered data has to save in the table and the same data has to print from the MS Access report. I dont know how to print this report from JSP page.
    2) Another button called "REPRINT". If i click that button, it has to ask a number to print the report page, that number is nothing but a field in that report.
    Could anyone help me to solve this problem.

  • How to print the top of page part along with the ALV list and generate PDF

    HI all,
             I have created one ALV by using oops concept .
             and also am able to get the top of page where I have One standard logo on the right hand side
             and some details on the left side .
               Now my requirement is to while printing the list the logo and other top of page details should appear
               In the PDF output but currently while am pressing the print preview button only the alv data is coming
              am already using the method
        handle_top_of_page
          FOR EVENT print_top_of_page
                 OF cl_gui_alv_grid,
    may be am missing something ... How to get the top of page along with the logo printed ?

    Hi  Surya,
    After generating the grid display  click on print button,
    a spool number is generated. capture the spool number and convert it to pdf using the fm:
    CONVERT_ABAPSPOOLJOB_2_PDF  and save the file
    Hope this will solve your problem.
    Regards,
    R K.

  • How to print a document in Pages

    just got iMac computer and downloaded Pages.  Can not work out how to print a document I just created

    Hi LL,
    There's a great piece of free documentation for Pages called the Pages User Guide. It can be downloaded from the Help menu. I suggest that you read the well-written guide some quiet evening. It will get you off and running with your new computer and Pages.
    Printing documents on a Mac is the same as on a Windows system: File > Print.
    Jerry

  • How can I 'search' for Line/Page Breaks in Pages 5.5.2?

    In the old version of Pages I was able to Find Line/Page Breaks by copying these symbols from the document and pasting them into the Find box. However, when I do this in Pages 5, all I see pasted is a blank space.
    How can I copy and paste symbols?

    Visit the View menu, and select Show Invisibles. The page breaks will be a blue line across the page with a document icon at the end of that line. The hard (paragraph) returns are the pilcrow ¶ character.
    Select the page or paragraph break symbol, and then press cmd+E. This is shorthand for use the selected character for the search. Next press cmd+F to open the Find panel, which will now be pre-populated with the character you want to find. In the gear icon, choose Whole Word. Then press the > key to advance to the next found character. There is no left panel display that shows the page number(s) that the found characters appear on.

  • How to print report in jsp page?

    excuse me,i am new to jsp
    may i know how to pritn report in jsp page or html?
    tq

    here is a hacked up example.. i ripped out a lot, so it may not compile, but you get the idea... the full version is really long and not much new info.. just all awt/display stuff...
    package rowe;
    import javax.swing.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.sql.*;
    import utility.*;
    import java.awt.print.*;
    public class rowePrint extends JFrame implements ActionListener, Printable{
         String printType = "";
         static JButton j = new JButton("Print");
         FontMetrics fm;
         String jID, promotion, product, jComments;
         public void getInfo(int jid) {
              ResultSet rs;
              try {
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection("jdbc:odbc:rowe");
                   Statement stmt = conn.createStatement();
                   rs = stmt.executeQuery("select j.id as jID, j.comments, p.title as pTitle, p.product, p.packagingCartonCost, p.foldingQuarterCostPerM, p.foldingQuarterCostPerM, j.customizationOption as setupFee, p.perMcost, p.qtyCarton, d.name as dName, d.contact as dContact, d.email as dEmail, d.address as dAddress, d.city as dCity, d.state as dState, d.zip as dZip, d.phone as dPhone, d.fax as dFax, r.name as rName, j.totalQty, j.orderIn, j.estFreight, j.miscCost, j.coverSelection, j.imprintSelection from jobs j, promotions p, dealers d, reps r where j.promotion = p.id and j.dealer = d.id and j.rep = r.id and j.id = " + jid);
                   rs.next();
                   jID = rs.getString("jID");
                   jComments = rs.getString("comments");
                   promotion = rs.getString("pTitle");
                   product = rs.getString("product");
              } catch (Exception e) {
                   System.out.println("getinfo: " + e);
       public void actionPerformed(ActionEvent e) {
            if (e.getSource() instanceof JButton) {  
                   wookie();
         public void wookie() {
              PrinterJob printJob = PrinterJob.getPrinterJob();
              Paper paper = new Paper();
              PageFormat page = new PageFormat();
              paper.setImageableArea(0, 0, 600, 780);            
              page.setPaper(paper);
              printJob.setPrintable(this, page);
              try{
                   //printJob.pageDialog(page);
              //     if (printJob.printDialog()) {
                        printJob.print();
              } catch (Exception e) {
                   System.out.println("wookie1" + e);
         public static void main(String[] args) {
              rowePrint at = new rowePrint("Invoice");
              at.getInfo((new Integer(args[0])).intValue());
              at.drawShapes();
         //     at.wookie();
         public void drawShapes() {
              setBounds(0, 0, 670, 550);
              addWindowListener(new WindowAdapter() {public void windowClosing(WindowEvent e) {System.exit(0);}});
              j.setBounds(10, 10, 10, 10);
              j.addActionListener(this);
              getContentPane().setLayout(null);
              getContentPane().add(l);
              getContentPane().add(j);
              show();
         public rowePrint(String s){
              printType = s;
         public void paint(Graphics g) {
              g.setFont(new Font("Serif", Font.BOLD, 18));
              g.drawString(promotion, 20, 30);
              g.setFont(new Font("SansSerif", Font.PLAIN, 4));
              g.drawString("" + new java.util.Date(), 20, 37);
              g.setFont(new Font("Serif", Font.BOLD, 21));
              g.drawString("Rowe Furniture", 440, 35);
              g.fillRect(440, 40, 145, 25);
              g.setColor(Color.white);
              fm = g.getFontMetrics(new Font("Serif", Font.BOLD, 21));
              g.drawString(printType, 512 - (fm.stringWidth(printType) / 2), 60);
        public int print(Graphics g, PageFormat pf, int pi) throws PrinterException {
            if (pi >= 1) {
                return Printable.NO_SUCH_PAGE;
              paint(g);
            return Printable.PAGE_EXISTS;
    }

  • How to print between head-Tags of a Portal component

    Hello,
    is it possible to print between the -Tags of the generated HTML-Code? I need to insert a JAVAScript between the tags.
    Currently i am simply using the Writer-Object in the doContent() to print out the HTML-Code. But i found nothing how to access the head?
    With best regards
    Edited by: Björn Karpenstein on Aug 19, 2008 9:12 AM

    Hi,
    One way of doing this is by creating a new Servlet Responce in doContent method. This way you can set the head tag by yourself.
    Here is the code:
    // get the reference to the ServletResponse (exclusivly) and set the content type to HTML                         
    ServletResponse sResponse = portalComponentRequest.getServletResponse(true);                                                    
    sResponse.setContentType("text/html");                                                                           
    // get the reference to the PrintWriter                                                                         
      PrintWriter writer = sResponse.getWriter();                                                                               
    // write the HTML header                                                                               
    writer.write("<html><head></head><body>\n");
    Check if this suites your requirement, if not let me know.
    Regards,
    Praveen Gudapati

  • How to print multiple sheets per page?

    Please advise how, if it is possible, to print multiple sheets per page with Acrobat 7.0 Pro.<br /><br />I have a PDF that's about 24" x 60". I'd like to make a "poor man's poster" by printing on several pages and taping them together -- sort of like Microsoft's "Fit to <x pages> tall by <y pages> wide" feature. Can this be done with Acrobat 7.0 Pro?<br /><br />Thanks.<br /><br />-Kurt

    That is typically a function of the print driver for Acrobat. One way to do it is to print to a new PDF and select the printer properties and select multi-up. Bill

Maybe you are looking for

  • How to print a selection in Numbers

    Using Numbers in Yosemite, I would like to print only a portion of a larger spreadsheet.  This is easily accomplished using Excel by printing the selected cells.  How is it achieved in Numbers.  Thank you, Scott

  • Raid drivers won't install with 1.8bios

    I ran into an issue with the new 1.8 bios for the K8N Neo 2. Attempted to reinstall XP and the install would hang when adding one of the raid files from the floppy to the windows installation folder.(made several attempts with different floppies) Swi

  • IPod touch gets music and movies deleted.

    This is a new issue with iOS6 and/or iTunes 10.7. I have a 4th gen iPod touch, and twice in the past week it has had all the music and movies (but not apps or pictures) deleted. The only way to fix this is to go to Settings -> General -> Reset -> Era

  • CO-PA characteristic group for recurring FI document?

    Hi. We have a characteristic gorup assigned to "FI: Postings" - business transaction RFBU, but when the user tries to create a recurring document, using transaction FBD1, she gets all characteristics, so the group is not assigned in this case. What b

  • Why are some of my emails not opening properly?

    I don't quite know how to describe this problem.... but when I go into one of my mail folders to look at a past email that I have saved, I click on it and it opens as a completely different email.  For example, I want to open one from 'John Smith' wi