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

page num...

Former Member
0 Likes
1,060

hi,

how to put page number on my report in sapscript

sy page gave me 0.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
998

IF you are in REPORT,

then you can use SY-PAGNO field to get the current page no.

if SCRIPT layout,if you want to print the current page,

then use &PAGE&.

Regards

Srikanth

9 REPLIES 9
Read only

Former Member
0 Likes
998

Hi

Use the system symbols &PAGE&

MAx

Read only

Former Member
0 Likes
998

Use the SY-PAGNO system variable for ABAP

and use &PAGE& for SAPScript.

Regards

Tamá

Read only

Former Member
0 Likes
998

In sapscript use &page&.

Regards,

Prakash.

Read only

Former Member
0 Likes
999

IF you are in REPORT,

then you can use SY-PAGNO field to get the current page no.

if SCRIPT layout,if you want to print the current page,

then use &PAGE&.

Regards

Srikanth

Read only

Former Member
0 Likes
998

Hi

Check SAPSCRIPT-JOBPAGE or SAPSCRIPT-FORMPAGE.

Regards,

Raj

Read only

Former Member
0 Likes
998

hi Nick,

try with this

&PAGE&

Read only

Former Member
0 Likes
998

Hello Nick,

<b>Use &PAGE& 'of' &SAPSCRIPT-PAGES&.</b>

If useful reward.

Vasanth

Read only

Former Member
0 Likes
998

hi Nick,

give it in this way ..

&PAGE&

Regards,

Santosh

Read only

Former Member
0 Likes
998

Hi,

SY-PAGE is not a variable in Script, you need to use &PAGE& to print the current page

&NEXTPAGE& --> Next page

&FORMPAGES& --> Last page

&SAPSCRIPT-FORMPAGES& --> Last page

Regards

Sudheer