Dynamic setting of line count and footer in classical report

Hi all,
In classical report,we can set line count and footer at the beginning of the report  as Line-count 6(2), here out of 6 lines 4 lines is for content and 2 lines is for footer (assume no standard heading), but if my report produces less content than 4 say 3 at run time ,then footer will not be displayed .Here again i have to set line count and footer as 5(2) in order to get the footer to be displayed ,so How can i achieve dynamic setting of the line count and footer,
Thanks,
Avinash

Use RESERVE,
START-OF-SELECTION.
RESERVE 6 LINES.           "at the last of your code
This will trigger a page-break & footer will be displayed.

Similar Messages

  • Report:Setting the line-count in the output automatically

    i want to set the line-count in the report automatically irrespective of screen resolution.could you please explain.

    hi,
    try this,
    report zrich_0001  line-count 25(4).
    reward points if useful,
    regards,
    Raj,

  • Header and Footer  in BEX reporting

    Hai friends,
         could you plz tell me how to add Header and Footer in  Bex report.. that means.. i want  some my company name and  address should print on the  top of the report..
    and also.. in the Footer.  i want to display the Number of records are selected...
    Ex :
       XYZ ORGANIZATION
       #301, ITPL,
       BANGALORE.
    4 Records are selected
      so, plz give me the solution .... how to   design a query with this requirement
    thanks
    with regards
    @jay

    Hi Ajay,
    Refer to web tempaltes 0adhoc_header and 0adhoc_Footer , by changing this you should be able to display header and footer for each query out of BW server.
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***

  • How to set the field non-editable in the classical report..

    Hi..
              How to set the field non-editable in the classical report..

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • Dynamically set maximum row count in Interactive Report

    Hi,
    Has anyone worked out a way of dynamically setting (e.g. via select list) the maximum row count value for an Interactive Report, taking into account issues with order by when the report is filtered. I'm aware of solutions like this: http://www.talkapex.com/2010/10/apex-reports-no-limit-downloads.html but as far as I can tell this doesn't work when the report is filtered and the IR is rewritten in the background. Data sets then become unreliable because they are reordered.
    Thanks,
    Mike

    Hi Mike,
    You can do that with javascript
    gReport.search('SEARCH',100)the 100 you can replace for any number you like.I have a report with filter,sorting and groups and it is gives no problem there.
    any number means any number but not higher than the number you set at Maximum Rows Per Page.
    You probably can mix the solution from Martin and the above code.
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.
    Edited by: kvlek on 24-apr-2013 12:29
    Edited by: kvlek on 24-apr-2013 12:35

  • Strike Through between last line Item and footer

    Hi Experts,
    I have a requirement like this,
    I have dynamic table which displays items of invoice and Footer in the Master page.
    There will be dynamic space between Table and Footer when the lines items are not completely filled till the footer area. My requirement is to draw a cross line which begins at the end of the line( left most corner) and ends above the footer(right most corner)
    As if the diagonal line is drawn.
    Please let me know how to achieve the above functionality.
    Regards,
    Narayan

    Do you mean line item text or your want to print footer text?
    If your trying yo display some footer text, then you either place a footer window or you can create a table inside your main window and place text under the footer of the table, then it will display the text without any page break.
    If it is item tem.
    Then you need to build additional logic. As we cannot guess, the total number of item text upfront.
    Example: if page1 can hold 15 line items, check whether your header and item can fit in page one else call a new page by placing a condition FLAG = "X".
    I hope it will help you to solve your problem.
    Regards,
    SaiRam

  • How to set a page header and footer of an excel file i'm creating

    Hello !
    SORRY MY ENGLISH is very BAD.
    I tried to set page header and footer in Excel sheet with ABAP  ole
    DATA : BEGIN OF enter,
    x(1) TYPE x VALUE '0D',
    END OF enter.
    DATA : format(255) TYPE c.
    FORM set_page_sheet.
    CALL METHOD OF excel 'ActiveSheet' = sheet.
    CALL METHOD OF sheet 'PageSetup' = pagesetup.
    SET PROPERTY OF pagesetup 'Orientation' = xllandscape.
    SET PROPERTY OF pagesetup 'PrintTitleRows' = '$9:$12'.
    CLEAR format.
    ERROR
    CONCATENATE 'PAGESHEET' enter-x 'PAGE &P/&N' INTO format.
    ERROR
    SET PROPERTY OF pagesetup 'RightHeader' = format.
    CLEAR format.
    CONCATENATE ' Text 1 ' enter-x 'Text 2'
    enter-x 'Text 3 ' INTO format.
    SET PROPERTY OF pagesetup 'RightFooter' = format.
    FREE OBJECT pagesetup.
    ENDFORM. " set_page_sheet
    Activate report -
    ERROR - The enter-x must by data type c or another then data type x
    Thanks for answer.

    Try to define ENTER this way & try
    class cl_abap_char_utilities definition load.
    DATA : BEGIN OF enter,
    x type c value cl_abap_char_utilities=>cr_lf,
    END OF enter.
    PS : I am not 100% sure about this.

  • Smartforms: no page break between last line item and footer in table?

    Hello All,
    my smartform has FIRST and NEXT pages. I would like to avoid a page break between last item line of a table in MAIN window and the footer of the same table.
    Here is how it looks currently.
    Output of FIRST page, MAIN window, table ITEMS:
    1.line item
    2.line item
    3.line item
    4.line item
    page break
    output of NEXT page, MAIN window, table ITEMS:
    1.footer line
    2.footer line
    I would like that if a footer does not fit on FIRST page, it would be displayed on NEXT page with last item line.
    It should be like this:
    output of FIRST page, MAIN window, table ITEMS
    1.line item
    2.line item
    3.line item
    page break
    output of NEXT page, MAIN window, table ITEMS
    4.line item
    1.footer line
    2.footer line
    Any ideas?
    Thanks and best regards,
    Mindaugas

    Do you mean line item text or your want to print footer text?
    If your trying yo display some footer text, then you either place a footer window or you can create a table inside your main window and place text under the footer of the table, then it will display the text without any page break.
    If it is item tem.
    Then you need to build additional logic. As we cannot guess, the total number of item text upfront.
    Example: if page1 can hold 15 line items, check whether your header and item can fit in page one else call a new page by placing a condition FLAG = "X".
    I hope it will help you to solve your problem.
    Regards,
    SaiRam

  • How do i set a lines steepness and intercept

    I am trying to add a trend-line (as posted earlier) and do not know how to set a lines intercept of steepness please help
    (its a shape)
    and if possible how do i set its thickness

    Just apply what was described in the other thread.
    In column A I entered the numerical X values.
    In column B I used =A&"" to convert the numerical values into strings
    In column C I entered the Y values
    I will describe colum D later
    In A15 I entered:
    =MIN(A2,A12)
    In A16 I entered:
    =MAX(A2,A12)
    In C15 I entered:
    =FORECAST(A15,C2:C12,A2:A12)
    In C16 I entered:
    =FORECAST(A16,C2:C12,A2:A12)
    In cells D2 thru D12, I entered:
    =C$15+(C$16-C$15)*A/(A$16-A$15)
    Given that, I selected cells B2 thru D12 and asked for a line chart.
    I selected the blue line and, using the stroke button, I defined its stroke to 1.
    Yvan KOENIG (from FRANCE lundi 5 janvier 2009 14:05:15)

  • Header and Footer on Narrative report - Need to remove

    I have just created a narrative report and all looks good but when I do a print preview, it shows the form name in the upper left and Page 1 of 1. The bottom of the form, footer, shows the url and the current date. Is it possible to hide or remove this?

    Hi !
    This is not related to CRM OnDemand and your report. This is a printer configuration.
    In your browser, go to File > Layout and you'll see header and footer fields. Just blank them and your printed page won't have header and footer. For IE having the date and url in the footer and the page title in the header is a standard setting...
    Hope this will help, feel free to ask more !
    Max

  • Remove Header and Footer from a report

    Hi,
    I use the report S_ALR_87012104. But I want to export this report removing the header and footer. Is it possible to export the report excluding header and footer. That is line items only.
    Regards
    Mahbub

    Hi,
    It is possbile but not suggested to change a standard SAP report. but you may change it via abaper.

  • Footer In Classical Report

    Hi All,
        I want to fix the Footer of page just like header which is fixed. I mean that the header and footer are fixed and only data should scroll. just like what ALV do.
    Please send me the sample code for this.
    Reagrds,
    Kiran I

    Pls refer this code it may be helpful....
    REPORT zfootertest
    NO STANDARD PAGE HEADING
    LINE-COUNT 50(5).   "Determines each page size & footer size
    system reserves five lines for the footer
    DATA : it_mara TYPE STANDARD TABLE OF mara WITH HEADER LINE.
    DATA : W_NL TYPE I. " TO HOLD THE NO OF LINES
    START-OF-SELECTION.
      SELECT * FROM mara INTO TABLE it_mara UP TO 1000 ROWS.
    end-of-selection.
      LOOP AT it_mara.
        WRITE : / it_mara-matnr,
                  it_mara-mtart.
      ENDLOOP.
    <b>IF SY-LINNO < SY-LINCT " this checks how many lines are left
    W_NL = SY-LINCT - SY-LINNO - 8." 5 IS FOR FOOTER AND 3 IS FOR HEADER
    SKIP W_NL. " it will skip the no of lines in the w_ln
    ENDIF.</b>
    TOP-OF-PAGE.
      FORMAT COLOR COL_HEADING ON.
      WRITE : 'Material Data'.
      WRITE : /5  'SY-LINNO' , sy-linno,
              /5 'SY-LINCT' , sy-linct.
    FORMAT COLOR COL_HEADING OFF.
    END-OF-PAGE.
      FORMAT COLOR COL_HEADING ON.
      WRITE AT 10 sy-datum LEFT-JUSTIFIED.
      WRITE : /5  'SY-LINNO' , sy-linno,
              /5 'SY-LINCT' , sy-linct.
      FORMAT COLOR COL_HEADING OFF.
    If it is found helpful Pls reward it.............

  • Dreamweaver and dynamic pages {subject line edited and truncated by moderator}

    I want to create a page that will automatically load info from a existing database into preset area's like a clients name and previous purchases. Can Dreamweaver do this? and How?

    Assuming you're using MySql databases with PHP scripts, start your journey here:
    Get one of the following local testing servers for your OS and follow the installation instructions.
    WAMP for Windows - http://www.wampserver.com/en/
    XAMPP for Windows - http://www.apachefriends.org/en/xampp-windows.html
    XAMPP for Mac - http://www.apachefriends.org/en/xampp-macosx.html
    MAMP for Mac - http://www.mamp.info/en/downloads/index.html
    Setting up a PHP environment in Dreamweaver
    http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html
    Pulling Data with MySql SELECT
    PHP MySQL Select
    Good luck!
    Nancy O

  • Last Page Header and Footer in XML Report

    Hi
    I have one requirement , where except last page for an invoice, all other pages should have one header.
    Last page should have nothing header and in Body some information(Total details) should be displayed and in footer terms and conditions should be displayed.
    if one page is there for invoice , in second page (total details) and terms and conditions should be displayed.
    Any one who already faced this issue please suggest how can proceed for requirements
    Advance thank you

    I need a large footer to appear at the bottom of the last page
    I have made a section break: new page
    I have created a field with the contents <?start@last-page-first:body?><?end body?>
    I have run the report to create an RTF file and the last page footer appears on all the pages
    But if I run it to PDF the footer does the right thing and only appears on the last page
    If I create a Powerpoint document it works OK
    It only fails in the format that I require, RTF?
    Any ideas how to fix this?
    Cheers
    Shaky

  • How to dynamically set Min count and Max Count values in Adobe Print Form?

    How to set the Min Count and Max Count values dynamically in a Print Form?
    The values when set should over ride the values set in Binding Tab.
    This is all needed to print multiple Material Number labels on a single page - and the number of labels to be printed needs to be under user control - something like an Avery Address labels
    Please advise.
    Thanks,

    Here is a work around that works for me and may not be an intelligent solution .
    I kept the Min Count to 1 on the subform binding properties.
    Per the number of labels required, I appended the same item to the internal table so many times and passed it to the label.
    it works fine for my requirement.
    However - leaving out the post for a while to see if this can be done at the form level via scripting.
    Thanks,

Maybe you are looking for

  • Best configuration to extend wifi with Time Capsule & Airport Express

    In my house I have a Fritzbox wifi router on the ground floor as my primary internet access.  I have an ethernet cable going to the 3rd floor study where the Fritzbox signal is relatively weak.  I purchased a Time Capsule as a backup device, but also

  • Is this an OpenSSL or httpd or JAVA problem ???

    Hi All. Problem: Netscape 6.2 will not "redirect" from http://my.first.dom to https://my.secure.dom Objective : from first web-site, create a link to a secure web-site in index.html using an anchor e.g. ClickMe Set up : Apache2 httpd + mod_ssl + Tomc

  • How do i get my videos to show as a video, not an audio.

    i downloaded a few tv shows and music videos and they don't show the video or the tv show. it acts like its a song, or an audio. not a video. HELP! how do i get my videos to show.?

  • Solaris zones with whole root

    Hi, i was trying to configure a solaris whole root zone, but when i try to install , it gave an error , sanity check error. solaris# zonecfg -z solaris8 solaris8: No such zone configured Use 'create' to begin configuring a new zone. zonecfg:solaris8-

  • Mac OS X Server v10.6 Snow Leopard - Webdav setup?

    Could someone give me a run-through on what is needed to set up webdav or a link to same? On this server, I've got groups with shared folders, and users who can access at least one group each. I'd like to be able to have the users get web access to t