cancel
Showing results for 
Search instead for 
Did you mean: 

Smart Forms Total number pages more than 9 print ing as *

Former Member
0 Kudos

Hi Friends,

Iam Printing Smart form pages as page 9 of page 12..

If the Total pages more than 9 pages its showing as page 9 of * . If its is Page 5 of page 9 its comming properly..

Any body knows.. How its comming mre than 9 pages...

Is there any right solution..please provide the solutions...

Thanks in Adavance.....

Sam

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sampathkumar,

This problem can pop up in both SAPscript and Smart Forms. When there is not enough room to output all in the information in a form field, SAP replaces the first character with an asterisk. For these particular fields, the system appears to have reserved only one character – hence, the '*'.

In the present case, the solution is to override the default output length for the total pages field.

In Smart Forms one way to do so is to change the field to read: &SFSY-FORMPAGES(3ZC)&

In SAPscript, the corresponding change would be: &SAPSCRIPT-FORMPAGES(3ZC)&

The information inside the parentheses represents formatting options, as follows:

3 = output length of data

Z = suppress leading zeroes

C = compress blank spaces

For further details and related notes see Note 588352 in the SAP Service Marketplace (http://service.sap.com).

Hope this Helps

Vinodh Balakrishnan

Answers (1)

Answers (1)

Former Member
0 Kudos

While writing the field write it as &SFSY-FORMPAGES(3ZC)&

It will definitely solve your problem.

Reward points for useful answers

Cheers,

Deepthee Kasal