cancel
Showing results for 
Search instead for 
Did you mean: 

Page numbers print de

Former Member
0 Kudos

Hi expert,

I have to print page numbers from - to using smartforms against the document numbers.

For example .

I have to print two documents at a time 90000000 and 90000001 and total pages are 7.

if doc no - 90000000 having pages 2 then pages should be show like 1-2 and for next doc no 90000001 if pages 5 then this should show 1- 5 Pages .

How it will do .

Thanks ,

Jyotsna

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Instead of using the system variable use your own variable and increment its value for every page.

Whenever the document number changes, change the value of the variable to the initial value.

Thanks,

Vinil.

Sandra_Rossi
Active Contributor
0 Kudos

The smart form should print only one document at a time. Then you call it twice and use system fields &SFSY-PAGE& and &SFSY-FORMPAGES&

([sap library - smart forms - system fields|http://help.sap.com/saphelp_nw70/helpdata/EN/1c/f40c67ddf311d3b574006094192fe3/frameset.htm])

Note: in case you have troubles, look at field "mode" in each of your smart form pages.