Skip to Content
avatar image
Former Member

Doubt in SAP Script

Hi All,

I have a requirement. I have some text that should be printed only on the last page. That is if the SAP Script has two pages then it should appear in the second page and not the first page. If there is only one page then then it should appear in this page. How do i do this...

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 01, 2008 at 06:09 AM

    Hi Mathew,

    Check this thread, where the same topic has been discussed.

    last-page

    Regards,

    Chandra Sekhar

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 01, 2008 at 06:10 AM

    Hi Mathew Abraham,

    Use condition

    IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&.

    text you want to print.

    ENDIF.

    Best regards,

    raam

    Add comment
    10|10000 characters needed characters exceeded