Print group name on a page of Report

I have sorted my data on my report, printing a group on each page of my report.
On each page, i would like to print the name of the current group (easy) but also the name of the previous page group. How can i do that ?
Using GroupName()...?

duplicate - please do not post multiple times

Similar Messages

  • How do I print the total number of pages in report, like Page 1 of 5?

    Hi
    How do I print the total number of pages in report, like Page 1 of 5?
    thanks,
    kiran.M

    Hi,
    Check for the below code:
    *Declare a variable
    DATA L_PAGE_COUNT(5) TYPE C.
    *Copy this code to the end of program
    *Page count will be printed on each page here
    WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
    DO SY-PAGNO TIMES.
    READ LINE 1 OF PAGE SY-INDEX.
    REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
    MODIFY CURRENT LINE.
    ENDDO.
    TOP-OF-PAGE.
    WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
    You will find your solution in below thread with code:
    Total Pages in Basic List
    Rgds,
    Shakuntala

  • Group names keep changing ..

    I am creating a report will mulitple queries ..
    i notice that the report builder keeps changing the
    group name ..
    a) how does report assign gruop name and
    how can i change in a way report doesnt alter it ..
    deepa

    Hi Deepa,
    Reports Builder will assign a default name to a group inside the data model when you write the query, but once a name has been assigned to a group, it should not keep changing the group's name.
    For your own custom name, double click on the group heading in the data model, and type your desired name in the "Name" field of the Property Inspector that comes up. It should not change thereafter.
    Navneet.

  • Report Manager problem: The user or group name 'BUILTIN\Administrators' is not recognized. (rsUnknownUserName)

    Hello,
    I have a big  problem with Reporting Services 2005 working on Windows 2003 Server.
    RS work as Network service, on subdomain reporting.mydomain with SSL wildcard certificate *.mydomain,
    Anonymous access: disabled and basic authentication: enabled
    ReportManager and reportServer has defualt virtual folders  (/reporting, /reportserver)
    My problem is:
    1) I can't manage security roles and site settings with report maanger. when I try assign roles to new user or group I get followng error:
    "The user or group name 'BUILTIN\Administrators' is not recognized. (rsUnknownUserName) Get Online Help"
    when i try to execute reports in report manager, parameters controls are not displayed correctly (very simple text boxes) and I can see:
    The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. (rsReportNotReady)
    and I can't see my report in browser (IE 6.0) but only export to PDF, Excel...
    other functionality are working  fine i.e upload new files, creatign folders....
    2) Also my reportserver virtual folder does not work correctly.
    When I navigate to mydomain/reportserver I can see content of this virtual folder, than when I navigate to ReportService.soap i can see normal ReportServer view
    reporting.mydomain - /Reportserver/
    [To Parent Directory]
           Montag, 10. April 2006    16:31        <dir> bin
      Dienstag, 6. September 2005    01:12       488278 Catalog.sql
      Dienstag, 6. September 2005    01:12        14738 CatalogTempDB.sql
          Freitag, 21. April 2006    19:45        10555 Copy of rsreportserver.config
          Freitag, 14. April 2006    17:29           76 global.asax
           Freitag, 15. Juli 2005    01:12        26582 ModelGenerationRules.smgl
           Montag, 10. April 2006    16:31        <dir> Pages
           Montag, 10. April 2006    16:31        <dir> ReportBuilder
            Montag, 13. Juni 2005    14:07          143 ReportExecution2005.asmx
            Montag, 13. Juni 2005    14:06       196337 ReportingServices.wsdl
            Montag, 13. Juni 2005    14:07          131 ReportService.asmx
            Montag, 13. Juni 2005    14:07          131 ReportService.soap
            Montag, 13. Juni 2005    14:07          139 ReportService2005.asmx
          Dienstag, 13. Juni 2006    20:01        10580 rsreportserver.config
            Montag, 13. Juni 2005    14:07        11845 rssrvpolicy.config
           Montag, 10. April 2006    16:31        <dir> Styles
           Freitag, 17. Juni 2005    01:09         2673 web.config
    but me reports are not displayed correctly, I can run reports but top bar with parameters, export and print function are not displayed in correct format.
    (simple textboxes, and icons)
    reporting.mydomain/ReportServer - /
    Microsoft SQL Server Reporting Services Version 9.00.1399.00
    I think it is security issue. What schould i do to solve this problems?
    Wojtek

    Hi Wojtek
    I just wanted to know if you found a solution for part (1).  I just recently encountered the problem where:
    "when i try to execute reports in report manager, parameters controls are not displayed correctly (very simple text boxes) and I can see:
    The selected report is not ready for viewing. The report is still being rendered or a report snapshot is not available. (rsReportNotReady) "
    However all my reports are run from the most recent data.  The rsReportNotReady message appears in Report Manager but not the Report Server interface; the latter is able to render the reports.   But both have incorrectly displayed textbox inputs.
    Thanks
    nemo

  • How to limit row number per group without change new page in crystal report

    Hi All Expert,
    Is there any way to limit row number per group without change new page in crystal report 2008. The reason i do that is due to customer using printer EPSON LQ 300 (dot matrix) always will print in landscape if detech my layout in landscape. Because they need the record always print in 1 page (Letter size) for 2 groups and each group must show 5 records. Example:
    But, in CR2008, if you set the row per group from group section expert, definitely it will change to new page, but I do not want it change to new page. Any Idea?
    In one page (Letter size):
    Group Name: Customer-ABC
    NO  INVOICE  AMOUNT
    1)   INV001     USD100
    2)   INV002     USD100
    3)   INV003     USD100
    4)   INV004     USD100
    5)   INV005     USD100
    Group Name: Customer-ABC
    NO  INVOICE  AMOUNT
    6)   INV006     USD100
    7)   INV007     USD100
    8)   INV008     USD100
    9)   INV009     USD100
    10)  INV010     USD100

    Hi Angie.....
    I guess it is not possible.
    Because if you have one common group for all the 10 records then in one page it will show 10 records under one group.
    I mean i think it is not possible but m not completely sure......
    Lets wait for expert advise....
    Regards,
    Rahul

  • Repeating a group element on each page of a report.

    I have a report where I need to repeat a group element on each page. The element is from the first group in the data. It is in the center group. Currently, the values from this group only print when the group changes. Everything I try does not work. Does anyone have any ideas. I am attaching a sample of the data. Along with the rtf document. I am using the BI Publisher plug in in Word to create the template.
    Data
    <?xml version="1.0" encoding="UTF-8"?>
    <POLLEDTICKETRPT>
    <USERCD>klockhar</USERCD><POLLDATE>03/24/2009</POLLDATE>
    <LIST_CENTER>
    <CENTER>
    <CENTER_CD>0039</CENTER_CD>
    <CENTER_NAME>CROSS PLAINS QUARRY</CENTER_NAME>
    <LIST_TRANSDATE>
    <TRANSDATE>
    <TRANS_DATE>03/11/2009</TRANS_DATE>
    <LIST_CUSTOMER>
    <CUSTOMER>
    <CUSTOMER_NBR>33221477</CUSTOMER_NBR>
    <CUST_NAME>TDOT DISTRICT 32-GALLATIN</CUST_NAME>
    <LIST_JOB>
    <JOB>
    <JOB_CUST>33221477</JOB_CUST>
    <JOB_CUST_NAME>TDOT DISTRICT 32-GALLATIN</JOB_CUST_NAME>
    <RGI_JOB_NBR>2008</RGI_JOB_NBR>
    <QUOTE_ID>0</QUOTE_ID>
    <LIST_COSTCODE>
    <COSTCODE>
    <COSTCODING/>
    <COST_CNTR/>
    <COST_ACCT/>
    <PROJECT_NBR/>
    <PROJECT_TASK/>
    <LIST_TICKET>
    <TICKET>
    <TICKET_NBR>5000021</TICKET_NBR>
    <ORIGIN_CD>TSCC</ORIGIN_CD>
    <REFERENCE_NBR>254510</REFERENCE_NBR>
    <VOID_IND>N</VOID_IND>
    <STATE_CD>TN</STATE_CD>
    <MEASURE_SYSTEM>S</MEASURE_SYSTEM>
    <LOCATION>THANK YOU</LOCATION>
    <PO_NBR>POS-254510-C</PO_NBR>
    <TAX_CODE>4</TAX_CODE>
    <PRODUCT_CD>000003</PRODUCT_CD>
    <HAUL_ZONE_CD/>
    <INVENTORY_STATUS>PR</INVENTORY_STATUS>
    <HAULER_NBR/>
    <RGI_TRANSPORT_CD>FU96</RGI_TRANSPORT_CD>
    <HAUL_RATE> .00</HAUL_RATE>
    <MAT_RATE> 8.50</MAT_RATE>
    <NET_TONS> -7.96</NET_TONS>
    <MAT_SALES_AMT> -67.66</MAT_SALES_AMT>
    <HAUL_AMT>0</HAUL_AMT>
    <TAX_AMT>0</TAX_AMT>
    <SEV_TAX_AMT>0</SEV_TAX_AMT>
    <SEV_TAX_IND>N</SEV_TAX_IND>
    <VALID_NET_TONS> -7.96</VALID_NET_TONS>
    <VALID_SALES_AMT> -67.66</VALID_SALES_AMT>
    <VALID_HAUL_AMT> .00</VALID_HAUL_AMT>
    <VALID_TAX_AMT> .00</VALID_TAX_AMT>
    <VALID_SEV_TAX_AMT> .00</VALID_SEV_TAX_AMT>
    <CASH_TONS> .00</CASH_TONS>
    <CASH_SALES_AMT> .00</CASH_SALES_AMT>
    <CASH_TAX_AMT> .00</CASH_TAX_AMT>
    <CASH_SEVTAX_AMT> .00</CASH_SEVTAX_AMT>
    <CASH_HAUL_AMT> .00</CASH_HAUL_AMT>
    <TRADE_TONS> -7.96</TRADE_TONS>
    <TRADE_SALES_AMT> -67.66</TRADE_SALES_AMT>
    <TRADE_TAX_AMT> .00</TRADE_TAX_AMT>
    <TRADE_SEVTAX_AMT> .00</TRADE_SEVTAX_AMT>
    <TRADE_HAUL_AMT> .00</TRADE_HAUL_AMT>
    <INTRA_TONS> .00</INTRA_TONS>
    <INTRA_SALES_AMT> .00</INTRA_SALES_AMT>
    <INTRA_TAX_AMT> .00</INTRA_TAX_AMT>
    <INTRA_SEVTAX_AMT> .00</INTRA_SEVTAX_AMT>
    <INTRA_HAUL_AMT> .00</INTRA_HAUL_AMT>
    <INTER_TONS> .00</INTER_TONS>
    <INTER_SALES_AMT> .00</INTER_SALES_AMT>
    <INTER_TAX_AMT> .00</INTER_TAX_AMT>
    <INTER_SEVTAX_AMT> .00</INTER_SEVTAX_AMT>
    <INTER_HAUL_AMT> .00</INTER_HAUL_AMT>
    <CASH_PR_TONS> .00</CASH_PR_TONS>
    <CASH_NP_TONS> .00</CASH_NP_TONS>
    <CASH_MI_TONS> .00</CASH_MI_TONS>
    <TRADE_PR_TONS> -7.96</TRADE_PR_TONS>
    <TRADE_NP_TONS> .00</TRADE_NP_TONS>
    <TRADE_MI_TONS> .00</TRADE_MI_TONS>
    <INTER_PR_TONS> .00</INTER_PR_TONS>
    <INTER_NP_TONS> .00</INTER_NP_TONS>
    <INTER_MI_TONS> .00</INTER_MI_TONS>
    <INTRA_PR_TONS> .00</INTRA_PR_TONS>
    <INTRA_NP_TONS> .00</INTRA_NP_TONS>
    <INTRA_MI_TONS> .00</INTRA_MI_TONS>
    </TICKET>
    </LIST_TICKET>
    </COSTCODE>
    </LIST_COSTCODE>
    </JOB>
    </LIST_JOB>
    </CUSTOMER>
    </LIST_CUSTOMER>
    </TRANSDATE>
    RTF Template
    DISPLAY CENTER
    S M
    FOR EACH CENTER
    SET CENTER
    CENTER: CENTER_CD CENTER_NAME
    FOR EACH TRANSDATE
    TRANSACTION DATE: TRANS_DATE
    FOR EACH CUSTOMER
    FOR EACH JOB
    Customer: JOB_CUST JOB_CUST_NAME
    Job: RGI_JOB_NBR Quote Id: QUOTE_ID
    FCC
    group COSTCODE by COSTCODING
    Cost Center: COST_CNTR Cost Acct: COST_ACCT Project: PROJECT_NBR Task: PROJECT_TASK
    Ticket Nbr     ORGCD     OrigTck     V     ST     Location     Po Nbr     Tax Cd     Prod Code     ZN     Hauler      Truck     Haul Rate     UnitPrice     Tons     SalesAmount
    F TCK#M     CODE     OTCK#     V     ST     LOCATION     PO_NBR      TC     PROD     HZ     HAULER     TRUCK     0.00     0.00     0.00 *      0.00 E

    Post Author: Guy
    CA Forum: General
    Hi,
    You should add a first level of grouping in your subreport on a fake formula field with a constant value.  Put your header and footer information in this group header and footer.  In the group option make sure to check the "repeat group header on each page option".
    This group will act as a page header + footer within your subreport.
    good luck!
    Guy

  • 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

  • How to print multiple footers for each page in RTF template xml report.

    Hi,
    How to print multiple footers for each page in RTF template xml report.
    i am able to print ( two sets ) ...
    up to last page ( one template ) and for last page ( another template).
    i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
    Thanks in advance.
    Regards,
    KAP.

    You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
    Just have for-each@section logic.
    It would be difficult for me to guess what you have done without looking at your RTF or describing here.

  • Group footer. Want to print one section in the body of report

    I am working on an invoice.
    It has two groups:
                    Detail line
                    Invoice number
    In crystal the invoice number group header is ran than the detail line group fires.
    After all the detail lines are printed for that invoice number the group footer for the invoice prints.
    I have multiple sections in my invoice number group footer.
    All these sections except the first has the property u201CPrint at Bottom of Pageu201D selected.
    The First group footer section prints as it should directly below the detail section.
    The second section print at the bottom of the page as expected.
    The third group footer does not print till the end of the entire report. So if I have multiple invoices printing at one time I see an invoice subtotal for each invoice but the u201CTotal Dueu201D does not show until the last page. It is also always 0.00.
    any help wouldbe appriciated.

    I'm guessing here, but it sounds like the data record is not "available" (past EOF?) when the footer is being printed.  Try putting the db field into a shared variable in the detail section (basic syntax):
    whileprintingrecords
    shared total as number
    total = {SOShipHeader.CuryBalDue}
    formula = ""
    Then use the shared variable in the footer:
    whileprintingrecords
    shared total as number
    formula = total
    HTH,
    Carl

  • Prompted for lpadmin group name and password when adding printer

    I was running into a prompt to enter an lpadmin group name and password whenever I tried to do any printing, so I decided to go ahead and reset my printer list. Now I'm trying to add my local printer to the list and I'm still getting the same prompt.
    I found this solution: http://support.apple.com/kb/ts2754
    on the Apple website, but it's not working for me.
    Perhaps it's because I'm unfamiliar with working in Terminal, but I'm entering the text exactly as it's written on the support page
    dseditgroup -o edit -p -a(affected_username) -t user _lpadmin
    with, of course, my username substituted for the "(affected_username)" but I'm getting an error message in Terminal that says:
    syntax error near unexpected token `('
    Any suggestions or help? It would be much appreciated!

    Looking at the command again step 3 says to replace "(affected_username)". Since the parenthesis are included in the quotes try leaving them out as well.

  • Can I attach an OLE object to print on the page following a group after the regular pages print?

    Post Author: Rose57
    CA Forum: General
    I have a PO form to print.  The user wants the option to print the Terms and Conditions page after a PO is printed. 
    This optional page is not to have any page headers, group headers, group footers, nor page footers.  It is just a OLE object that fills an entire page by itself.
    There may be multiple PO's to print, but, if the user wants the Terms and Conditions to print, it must print on the page following each PO.
    Is there a way to do this in Crystal Reports 10? 

    @Evert – or you can do it with a table (1 row 1 column = 1 cell) like that:
    And it can break out away from spine if you format the paragraph that holds the table accordingly:
    Uwe

  • Receivables - ARDLP Report Not Printing Country Name

    AR Report ARDLP for concurrent program Dunning Letter Generate is not printing Country Name on send to and remit to part of the letter. Though the package 'arp_addr_label_pkg.format_address' is giving the output with the country name(when I ran the package in SQL Developer) but when I run the report it is not giving the country name. What could be the reason?
    Thanks,
    Sravanthi

    Thankyou very much Nagamohan. It is printing the country now on the dunning letters. I think it was because of settings in system options though the default country was set, print home country was unchecked. When I reran the process it printed the country.
    The Statement print program also had the same issue. Now after the changing the system options, it is printing the country in the send to address but not in the remit to address if the countries are same for both send to and remit to. If they are different it is printing in both the places. Eg. If it is United Kingdom in both send to and remit to, its printing only in send to. If its united states in send to and united kingdom in remit to then its printing in the remit to area. Any idea on this?
    Thanks,
    Sravanthi

  • Print write stat at end of all pages in report

    Hi,
    I want to print write stat at end of all pages in report.
    Thanks,
    Asha

    hi ,
    u can use End-of-Page event to print write statement at ever end of the page.
    for Ex:
    Report ztest line-count 8(3).
    start-of selection.
    loop at itab...
    write:/ .........
    endloop.
    end-of-page.
    write:/ "end of page'.
    revert back if any issues.
    reward with points if helpful.
    regards,
    naveen.

  • Labview 5.1, I don't succeed to print a report (error 41002) using the full printer path name. Could you provide me examples? Thanks

    I already tried the tips given by the Document ID: 1VNE8JR5, but without any success.
    When I don't provide a printer name (or path), the Report is printed on the default printer. This printing works fine under Win98, but it doesn't work on WinNT or WinXP.

    Hello Randy,
    Thank you for your answer.
    My network printer name is "R&DHP4000TN" and the printer server name is: "SERVEUR_BDC".
    So I think the full path of the printer should be:
    "\\SERVEUR_BDC\R&DHP4000TN"
    Maybe, the printer name is too long, or the "&" is not correctly interpreted?
    What's your opinion about this ?
    Thanks
    Kind Regards
    Denis

  • How to print the name of layout description on standard report ?

    Dear all,
    I have saved a user specific layout.
    When i see the print preview system shows the name of standard transaction as report name,whereas i want to print and view the name of layout as report heading(name).
    Can it be possible?
    If yes plz give us the valuable inputs.
    Thanks in advance.
    Regards,
    Vikram Chavan.

    Hi,
    In your report program, use FM "GET_PRINT_PARAMETERS" and use the field PRI_PARAMS-PAART. This will have the req. value.
    else
    use sy-PLAYO field to dispaly the layout name.
    Best regards,
    Prashant

Maybe you are looking for

  • Giving error message when saving the Query

    Hello, I have added a new calculated key figure to the structure in a Query but when I try to save the Query it is giving error message is below. Error Message: u201CThis internal error is an intended termination resulting from a program state that i

  • Call .bat file from java code

    I need to call an application that uses a .bat file to execute from a java program. Is that possible? This is the .bat file: importcli.exe ciaf2735 C:\Importcli\files\SAI2735*.txt   importcli.exe ciaf2735 C:\Importcli\files\CI2735*.txt   importcli.ex

  • Creation of breakdown order

    Hi, Message no. CT608 During creation of breakdown order for equipment the screen gives error that scheduling parameters are to be entered for maintenance order.But i am not understanding why we should enter scheduling parameters when we are not crea

  • System Preferences shuts down when trying to apply .CR2 image as background

    Hello- I have been trying to apply a photograph taken in RAW as a desktop background image. The file is .CR2 and when I click done to set it as the background, the background does not change and the notice comes up that System Preferences has unexpec

  • XSL Errors When Using AQ Adapter with EBS Business Events

    I am triggering a BPEL process with an Oracle EBS Business Event. After receiving the event, I am trying to perform an XSL transformation to extract parameters from the event. However, I keep getting XSL errors because the BE field ERROR_SUBSCRIPTION