cancel
Showing results for 
Search instead for 
Did you mean: 

getting * in place of page number

Former Member
0 Kudos

Hi all,

In my Smartform i am unable to print the total no of pages .

I have written the code as follows.

  • &SFSY-PAGE& OF &SFSY-FORMPAGES&.

But in the output i am getting like this

Page 1 of * , page 2 of *...... but for last page i am getting correct

format.i.e page 10 of 10.

So, how do i get the page number in place of *.

Thanks in advance

Krupali

Accepted Solutions (1)

Accepted Solutions (1)

former_member184657
Active Contributor
0 Kudos

u need to use the following code.

&SFSY-PAGES& of &SFSY-FORMPAGES(3ZC)&

to do this u first need to drag and drop the sfsy-pages and sfsy-formpages onto ur text area.

then click the "change field" button and then manually type "(3ZC)" next to formpages.

this will solve ur problem.

regards,

pk

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi KR,

can you please let me know how u solved the issue ?

former_member184657
Active Contributor
0 Kudos

manjunath,

did u happen to read the solution provided???

pk

Former Member
0 Kudos

Hi,

Create a small window in the bottom of your smartform and write this code in a text

&SFSY-PAGE& of &SFSY-JOBPAGES&

The * will not appear.

Thanks

Nayan

Former Member
0 Kudos

i was facing the same problem...i increased the size of the window...try this..hopefully it helps

thanks

Reward if useful

richa

Former Member
0 Kudos

Hi Krupali..

I was facing the same problem initially, but now it is displaying the desired result, not sure exactly the reason behind that.

Page No. &sfsy-page&/&sfsy-formpages&

try using the same, Activate again or increase the size of the window.

Regard with Points if helpful.

Regards

Karan