Skip to Content
author's profile photo Former Member
Former Member

SAP_SCRIPT

Hi all,

<u>I want to print footer window in last page only.</u>

Means if my main window ends on first page, that footer window will appear in first page and if my main window continue printing in second page or any page apart from first page,it should print my footer window in that <u>last page</u>.it should not appear on first page or any subsequent page.

how to do it?

Thanks & Regards,

Dinesh...

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 01:08 PM

    Hi Dinesh,

    Check Current page No equal to Toatal No of pages.

    then print.

    Logic:

    write logic in Footer 'window

    if &page& = &SAPSCRIPT-FORMPAGES&.

    print text

    endif

    Thanks,

    Amjad

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 12:28 PM

    You can write simple logic at footer window.

    /: IF &PAGE(C)& = &SAPSCRIPT-FORMPAGES(C)&.

    P1 PRINT TEXT HERE

    /: ENDIF.

    Here P1 is the paragraph format and use above logic,it should work

    Thanks

    Seshu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2007 at 01:15 PM

    Thanks,

    Problem has solved.

    Thanks & Regards,

    Dinesh...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.