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

regarding scripts

former_member197425
Active Participant
0 Likes
505

Hi,

Can anybody please tell me how to get pagenumber at end of script.I used &PAGE& field but it is showing only First page number but not the remaining page numbers.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
489

Hi ,

Use command

&PAGE& of &SAPSCRIPT-FORMPAGES(2)&.

This will give current page of total no. of pages.

Reward if useful.

Madhura

4 REPLIES 4
Read only

Vijay
Active Contributor
0 Likes
489

HI

TRY LIKE THIS

&Page&/&SAPSCRIPT-FORMPAGES&

it will solve ur problem

regards

vijay

reward points if helpful

Read only

Former Member
0 Likes
490

Hi ,

Use command

&PAGE& of &SAPSCRIPT-FORMPAGES(2)&.

This will give current page of total no. of pages.

Reward if useful.

Madhura

Read only

Former Member
0 Likes
489

&PAGE& will give the current page

&SAPSCRIPT-FORMPAGES& will give the total page.

Read only

Former Member
0 Likes
489

use command line in editor

if &nextpage& eq 0

&page&

endif.

this will work

reward if helpful

kushagra