Application Development 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: 

Problem in Printing Page Nos In Smartforms

Former Member
0 Kudos
133

Hi all,

I am Printing page nos in purchase orders in format :

Page 1 of 10, Page 2 of 10 etc..

Using the Variables SFSY-PAGE & SFSY-FORMPAGES

Now ,When the no of pages is more than 10,

Then upto 9 pages it is coming as Page 1 of *, Page 2 of *.., but after 10th page, it is coming correctly.

Can anybody please help me on this??

Thnx In Advance..

1 ACCEPTED SOLUTION

Former Member
0 Kudos
103

use the conversion option for printing the total number of pages &SFSY-FORMPAGES(4ZCR)&

5 REPLIES 5

Former Member
0 Kudos
103

The reason is thre is no space available for printing.

Try increasing the window size and it will definitely print.

please reward points if its useful.

cheers,

0 Kudos
103

Hi Sachin,

Thanx for the reply but i think that u did not get my question correctly.

I said that if no of pages is greater than 10, then upto 9th page it is coming as Page 1 of *,..Page 2 of *, then after 10 the page, it is coming right.

For e.g. if the no of pages is 15, then it is coming as Page 1 of *, Page 2 of *....Page 9 of *, but from the 10th page, it is coming as Page 10 of 15 which is the correct way.

Former Member
0 Kudos
104

use the conversion option for printing the total number of pages &SFSY-FORMPAGES(4ZCR)&

0 Kudos
103

Thanx Very Much, that solved the problem!!!

By the way, what is this 4ZCR

former_member188685
Active Contributor
0 Kudos
103

Hi,

it is Because of space problem. so try to increase the window size and check it.

Regards

vijay