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

former_member198270
Active Contributor
0 Likes
1,049

Hi all ,

In SAPscript various system symbols are present like &year&,&page&,

What is the system symbol for displaying last page ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,019

Hi Amber

&SAPSCRIPT-FORMPAGES& is the symbol for total pages in the current form (for use in Page X of Y) etc.

Regards

Robin

7 REPLIES 7
Read only

Former Member
0 Likes
1,019

Use the local text symbol &LASTPAGE&

<b>&LASTPAGE&</b>

regards,

vijay

Read only

Former Member
0 Likes
1,019

Hi Amber ,

It is &SAPSCRIPT-FORMPAGES& .

Regards

Arun

Read only

Former Member
0 Likes
1,020

Hi Amber

&SAPSCRIPT-FORMPAGES& is the symbol for total pages in the current form (for use in Page X of Y) etc.

Regards

Robin

Read only

Former Member
0 Likes
1,019

Hi Amber,

used &SAPSCRIPT-FORMPAGES&

Note:reward point if useful

Read only

Former Member
0 Likes
1,019

&SAPSCRIPT-FORMPAGES&

Regards

Sudheer

Read only

Former Member
0 Likes
1,019

hi,

go through this

Symbols are place holder for values in the forms and are filled during

print formatting e.g. &DATE& ,&KNA1-NAME& . They are case insensitive

and are surrounded by &.

There are 3 types of symbols

1) System Symbols

System symbols are system maintained and their value is provided

by the system. These are as follow:

DATE

TIME

HOURS

MINUTES

SECONDS

PAGE

NEXTPAGE

DAY

MONTH

YEAR

NAME_OF_DAY

SPACE

DEVICE

2)Standard Symbols

Standard sumbols are user maintained by using transaction SM30 .These symbols are stored in table TTDG e.g &MFG& which

stands for ' Your's Faithfully ' .

3)Program Symbols

Program symbols are placeholder for database fields and global program symbols in the print program e.g &KNA1-NAME1& here the table

KNA1 has alreadty been declared in the print program using TABLES statement.

hope this solves ur problem

PLZ reward if helpful.

Read only

former_member198270
Active Contributor
0 Likes
1,019

thanks to all of you