cancel
Showing results for 
Search instead for 
Did you mean: 

Sspascript-footer in last page

Former Member
0 Kudos

hi,

i am wrking on MEDRUCK for PO printing.i am facing some problem-i want WINDOW1 to appear only on first page and WINDOW2 to be on the last page ,but its appearing on every page.

how to work on it.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If u want to print WINDOW1 in first page only then put a condition IF &PAGE& EQ 1 in that window(it will print in first page only) .

If u want to print WINDOW2 in last page only then put a condition IF &NEXTPAGE& EQ 0 in that window(it will print only on last page) .

Former Member
0 Kudos

Hi,

If u want to print WINDOW1 in first page only then put a condition IF &PAGE& EQ 1 in that window(it will print in first page only) .

If u want to print WINDOW2 in last page only then put a condition IF &NEXTPAGE& EQ 0 in that window(it will print only on last page) .

former_member181995
Active Contributor
0 Kudos

https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=windowonlastpagescript&adv=false&sortby=cm_rnd_rankvalue