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

SMARTFORMS

Sultanuddin
Explorer
0 Likes
386

How we can display Total no. of pages in SAP Scripts and SMARTFORMS ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
356

HI,

SAPScript: system field for total number of pages

<b>PR &SAPSCRIPT-FORMPAGES&</b>

to display 1 of 10 like that..

<b>PR &PAGE& of &SAPSCRIPT-FORMPAGES&</b>

Smartform: System field for total number pages is

<b>PR &SFSY-FORMPAGES&</b>

to display 1 of 10 ...

<b>PR &SFSY-PAGE& of &SFSY-FORMPAGES&</b>

<b>PR - Paragraph format</b> ( * is default paragraph format)

Regards

SAB

3 REPLIES 3
Read only

ferry_lianto
Active Contributor
0 Likes
356

Hi,

Please try this.

SAPScript:

&PAGE&/&SAPSCRIPT-FORMPAGES(C)&

Smartform:

&SFSY-PAGE& / &SFSY-FORMPAGES&

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
357

HI,

SAPScript: system field for total number of pages

<b>PR &SAPSCRIPT-FORMPAGES&</b>

to display 1 of 10 like that..

<b>PR &PAGE& of &SAPSCRIPT-FORMPAGES&</b>

Smartform: System field for total number pages is

<b>PR &SFSY-FORMPAGES&</b>

to display 1 of 10 ...

<b>PR &SFSY-PAGE& of &SFSY-FORMPAGES&</b>

<b>PR - Paragraph format</b> ( * is default paragraph format)

Regards

SAB

Read only

Former Member
0 Likes
356

hi

good

try this

&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)

thanks

mrutyun^