Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sapscript Print Control

Former Member
0 Likes
527

Hi

without creating multiple pages, how can I control printing certain information on first page only and last page only?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
498

In the SAP Script use

IF &NEXTPAGE& = 0

Measn it is last page

&SAPSCRIPT-FORMPAGES(2)& will print the total number of pages

&PAGE& will giv eyou the current Page

like if &PAGE& < 2 means you are on first page

Regards

Aman

2 REPLIES 2
Read only

Former Member
0 Likes
499

In the SAP Script use

IF &NEXTPAGE& = 0

Measn it is last page

&SAPSCRIPT-FORMPAGES(2)& will print the total number of pages

&PAGE& will giv eyou the current Page

like if &PAGE& < 2 means you are on first page

Regards

Aman

Read only

0 Likes
498

Thanks that solved my question