cancel
Showing results for 
Search instead for 
Did you mean: 

regarding smartforms in tables

Former Member
0 Kudos

hi friends,

I just want to print the page number detaisl in the footer of the SMARTFORM .

I just dragged the values from the system folder and use it as usual.

But the values are displayed in such a manner

for sy-page of sy-printpage

gives 1 of *

2 of *

.

.

.

9 of *

10 of 31

11 of 31

.

.

.

31 of 31

But when i give the same values in a separate or in a separate text , i can get an expected result as

1 of 31

2 of 31

.

.

.

31 of 31

can somebody help me to solve this problem.

why it happens so , only in the footer of an table, and why the values are not printing only upto 9?

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

You should use it like this

&SFSY-PAGE& OF &SFSY-FORMPAGES(3ZC)&

It will give you the desired output.

Reward points if useful.

Regards,

SaiRam

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks@SaiRam

Former Member
0 Kudos

Hi,

yes use &sfsy-page& of &sfsy-formpages&, but code this in a window of type 'final window' so that no error occurs.

regards,

Ravi.