Application Development and Automation 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: 
Read only

Smartforms : page count problem

david_fryda2
Participant
0 Likes
1,359

Hi everyone,

I am using the system variable SFSY-FORMPAGES and when the total pages is above 9, I get a star "*" instead of the real number of pages.

Can someone help.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

manuel_bassani
Contributor
0 Likes
1,324

Hi David,

maybe there isn't enough space for the text in the field

Try to use SFSY-FORMPAGES(C) (condense spaces) or try to give more space to the text.

Let me know.

Best regards,

Manuel

PS: please remember to close the thread and to reward points when your problem is solved. Thank you

14 REPLIES 14
Read only

Former Member
0 Likes
1,324

hi david,

did u try with sfsy-page.

thanks,

priya.

Read only

manuel_bassani
Contributor
0 Likes
1,325

Hi David,

maybe there isn't enough space for the text in the field

Try to use SFSY-FORMPAGES(C) (condense spaces) or try to give more space to the text.

Let me know.

Best regards,

Manuel

PS: please remember to close the thread and to reward points when your problem is solved. Thank you

Read only

Former Member
0 Likes
1,324

Hi David,

Try &SFSY-FORMPAGES(3ZC)&. This may solve your problem

Thanks and Regards,

Bharat Kumar Reddy.V

Read only

0 Likes
1,324

Correct

Read only

Former Member
0 Likes
1,324

I think this is because of the space constraint on the form.

regards,

Ravi

Read only

0 Likes
1,324

Hi David,

Try like this SFSY-FORMPAGES(4ZCR).I think this will solve the problem.

Thanks,

Vamsi.

Read only

0 Likes
1,324

Hi,

When I drag the SFSY-FORMPAGES to the text element

I am not unable to write the (C) or the (4ZCR)

like you suggested.

I can only write this after the '&'.

Thanks.

Read only

0 Likes
1,324

You can do that only SAP Scripts, If I remember it right.

In SMART Forms, if you have enough width on the window, that should be good enough.

Regards,

Ravi

Note : Please mark the helpful answers

Read only

0 Likes
1,324

Hi David,

In the text element, Select the element and then Click on Change Field button(Pencil icon) which will display a popup window where you will be able to edit the contents...

Regards,

Wenceslaus.

Read only

0 Likes
1,324

Hi,

Instead of printing SFSY-FORMPAGES in my window, I simply display a long string and it was OK : all the string was printed out. Usualy, if the string is too long, the smartform truncate the string but do not print a '*'.

Any help ?

Thanks.

Read only

0 Likes
1,324

Thanks everyone.

It works.

I'll give the 10 points to the first who answered me.

Thanks a lot.

Read only

0 Likes
1,324

Hi,

Write the field in the text element by clicking the pencil icon on the left of the text editor screen and write the &SFSY-FORMPAGES(4ZCR)& there.

Thanks,

Vamsi.

Read only

0 Likes
1,324

Correct!!

Read only

Former Member
0 Likes
1,324

Hi everyone, i need help.

Where can i find the meaning of the casting constans(the text in brackets)?

thanks in advance.

Mariano