cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms : Printing Total No:of Pages

Former Member
0 Kudos

Hi Peers,

In a Smartform, I have to print Total No:of Page eg: Page: 1/6.

For which I have used : SFSY-PAGES / SFSY-JOBPAGES. It's working fine.

My Requirement is: SFSY-JOBPAGES will print the Total No:of pages counting front page & Back Page which is not what exactly I want.

I want the count of only the Front page & the back page should not be take into count .And we are printing the page number only on the front page.

Could you please help me acheive this.

Regards,

Criag

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member215542
Active Participant
0 Kudos

if the number of front pages is going to be equal to the number of back pages, then you can divide the total number of pages (i.e. field sfsy-formpages) by two.

Does it work? Reward if helpful

Former Member
0 Kudos

Yes , It looks very simple , just divide by 2.

But that doesn't work because the value of the SFSY-FORMPAGES is incremented after every page during the run time.

Regards,

Daniel

former_member215542
Active Participant
0 Kudos

Oops... Forgot it will increment it... Need to check some other way

Former Member
0 Kudos

Hi,

For this u can use SFSY-PAGE/SFSY-FORMPAGES.

i think it will work.

Rewards if useful,

Thanks,

Usha