‎2007 Jul 25 9:05 AM
Hi Guys,
there are a few option in sap script in which we can print a variable centered , remove leading zeros, compress a variable etc.
like &var1(c)&.
If any one got those can u send it across to me urgently. Its important. Else please lete me know how to print a variable centered not using tabs?????????
‎2007 Jul 25 9:28 AM
Hi,
&SYMBOL(S)&
S can be,
a) < --> leading sign to left
b) > --> leading sign to right
c) Z --> omitting leading Zeros
d) C --> Space compression (condense)
e) .2 --> number of decimal places " here 2 decimals
f) E --> an exponent for floating point number, ex, E3, E6 etc
g) R --> Right justified
h) F* --> fill characters, here * will be prefixed in empty spaces
i) I --> surpress output initial value
j) K --> Ignore conversion routine
k) + --> increament
l) - --> decrement
m) L , R, C --> left justified, right justified, Center
Regards,
sooness
‎2007 Jul 25 9:10 AM
Hi,
Check the following link
http://help.sap.com/saphelp_40b/helpdata/en/d6/0dc169494511d182b70000e829fbfe/frameset.htm
<b>Reward if helpful.</b>
‎2007 Jul 25 9:10 AM
Hi,
To remove leading zeros and leading blanks
Please use FM
CONVERSION_EXIT_ALPHA_INPUT Conversion exit ALPHA, external->internal
CONVERSION_EXIT_ALPHA_OUTPUT Conversion exit ALPHA, internal->external
Thanks.
‎2007 Jul 25 9:15 AM
Hi!
Check out this:
http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm
Regards
Tamá
‎2007 Jul 25 9:28 AM
Hi,
&SYMBOL(S)&
S can be,
a) < --> leading sign to left
b) > --> leading sign to right
c) Z --> omitting leading Zeros
d) C --> Space compression (condense)
e) .2 --> number of decimal places " here 2 decimals
f) E --> an exponent for floating point number, ex, E3, E6 etc
g) R --> Right justified
h) F* --> fill characters, here * will be prefixed in empty spaces
i) I --> surpress output initial value
j) K --> Ignore conversion routine
k) + --> increament
l) - --> decrement
m) L , R, C --> left justified, right justified, Center
Regards,
sooness