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 while printing total# of pages using SFSY-FORMPAGES in smartform

Former Member
0 Kudos
1,186

Hi All,

In my smartform, I am using <b>SFSY-FORMPAGES</b> to print total number of formpages. When total number pages are in single digit it is printing correly.

Like Total number of pages = 5.

If the total number of Form pages are in two digit.For example 18 total pages.

Then it is printing Total number of pages = <b>*</b>.

What could be the reason.

How this can be solved.

Thanks in Advance

Regards,

Raja.

4 REPLIES 4

Former Member
0 Kudos
92

tryto store this total numbver of pages in a variable defined as type I.

and Print the value from the variable

&v1&

0 Kudos
92

If I move the value of SFSY-FORMPAGES into a variable.

When i display it it is showing as

Total number of forma pages = 1

Total number of forma pages = 2

Total number of forma pages = 3

.....

...

..

.

Is there is any other way to display

Former Member
0 Kudos
92

Hi

I think it is the SPACE problem for that field

Just move this field little leftside of page and see

When there is no sufficient space it prints *

check once again by moving those fields left side by giving sufficient space and see

<b>Reward points for useful Answers</b>

Regards

Anji

Former Member
0 Kudos
92

Hello Raja,

Instead of using SFSY-FORMPAGES to print the number of pages, use SFSY-FORMPAGES(3). The problem should be corrected.

Manoj