I recently had the Problem that when used page numbering in Smartform like this
&SFSY-FORMPAGES& / &SAPSCRIPT-FORMPAGES&
in long documents it showed:
1/*
2/*
but later
10/25
11/25
It seems that the length of the second part FORMPAGES is related to the length of the first part, and that why there is not enough space anymore for the 25. * is typically used as a starting char, when there is content longer than the space available.
So i found an override for this with formatting options.
&SFSY-FORMPAGES(3ZC)& / &SAPSCRIPT-FORMPAGES(3ZC)&
where :
3 = output length of data
Z = suppress leading zeroes
C = compress blank spaces
Of course i want to credit the source where i found it:
http://searchsap.techtarget.com/answer/When-asterisks-attack-in-the-page-numbering-window
No comments:
Post a Comment
Feel free to leave your comments here :)