Skip to Content
avatar image
Former Member

Porblem in displaying the data in main window and footer in sapscript

Hi Friends,

I have created a 2 pages with a main window and 6 footer windows for purchase requistion printout. My requirement is footer windows should only be displayed at the last page. If i bring the footer window at the last page there is blank space in all pages after the main window since the main window size is smaill, if i increase the main window size it is overlaping footer windows at the last page.

I want the main window shouldbe big and footer should be displayed at the last page.

please hellp me to solve this.

Thanks

Gayathri S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 01, 2009 at 09:28 AM

    Hi,

    check if &nextpage& eq 0. then only print data in footer window .

    Thanks ,

    Pradeep

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Yes i tried nextpage eq 0 work only if the data is printed since the main window i called inside the loop it is not working

  • avatar image
    Former Member
    Feb 16, 2010 at 04:49 PM

    Gayathri,

    Did you find any solution for this issue ? If you did, Could you please send the details as how did you solve the issue.

    I have the same issue with my client.

    Thanks,

    Kalikonda.

    Add comment
    10|10000 characters needed characters exceeded

    • If you want to position footer texts right after the last line of the MAIN data (thus, anywhere in the page), you define them as text nodes inside the MAIN window, and you use a template node if you wan't to position them precisely.

      If you want to position footer texts relatively to the page edges (and not relatively to the MAIN), do like this (as my previous answer is wrong):

      - define your footer windows in the same page of the MAIN, select condition "Only after main window" (so that the windows will be printed on the page of the last line of the MAIN data.

      - If the footer windows span over the MAIN window (because you want to maximize MAIN window height on all pages except last where you put the footer, as it was the case for Gayathri), you must add a template node inside the MAIN window, as the last element. Its height must be equal to the part of MAIN that is overriden by the footer windows, so that a new page is triggered automatically if there is no sufficient space and the footer windows will be printed on next page, and if there is enough space, the footer windows will be printed at the bottom of current page.