‎2008 Apr 11 8:14 AM
‎2008 Apr 11 8:18 AM
Hi,
There is no system field for the last page.
1.For last page:
Print Footer notes only on the last page :
Command to used in your sapscripts :-
/: IF &NEXTPAGE& EQ 0
whatever footer you want.
/: ENDIF
2.These are the system variables:
&DATE& Currentdate
&DAY& Day
&MONTH& Month
&YEAR& Year
&TIME& Time of the day
&HOURS& Hours
&MINUTES& Minutes
&SECONDS& Seconds
&PAGE& Page
&NEXTPAGE& Next page number
&SPACE& Blank
&ULINE& Underline
&VLINE& Vertical line
&NAME_OF_MONTH& Name of the Month
&SAPSCRIPT-FORMPAGES& Total number of pages in currently formatted layout set
&SAPSCRIPT-JOBPAGES& Total number of pages in currently formatted print request
Regards,
If helpful reward with points(Don't forget).
Edited by: shiva kumar on Apr 11, 2008 9:19 AM
‎2008 Apr 11 8:18 AM
Hi,
There is no system field for the last page.
1.For last page:
Print Footer notes only on the last page :
Command to used in your sapscripts :-
/: IF &NEXTPAGE& EQ 0
whatever footer you want.
/: ENDIF
2.These are the system variables:
&DATE& Currentdate
&DAY& Day
&MONTH& Month
&YEAR& Year
&TIME& Time of the day
&HOURS& Hours
&MINUTES& Minutes
&SECONDS& Seconds
&PAGE& Page
&NEXTPAGE& Next page number
&SPACE& Blank
&ULINE& Underline
&VLINE& Vertical line
&NAME_OF_MONTH& Name of the Month
&SAPSCRIPT-FORMPAGES& Total number of pages in currently formatted layout set
&SAPSCRIPT-JOBPAGES& Total number of pages in currently formatted print request
Regards,
If helpful reward with points(Don't forget).
Edited by: shiva kumar on Apr 11, 2008 9:19 AM
‎2008 Apr 11 9:08 AM
Hi,
&SAPSCRIPT-FORMPAGES& (Total number of pages in currently formatted layout set ) can be used to view last page of script as the last page will be equal to the total number of pages .
Hope this helps.
Reward if helpful.
Regards,
Sipra