on 08-30-2008 7:09 AM
Hi all
Please let me know how to avoid space in field in a script.i know we can minimise by * &KOMVD-VTEXT(20)&* by giving the number of characters.But i wanted to know is ther any other like the way we use CIZ to avoid trailing zeroes.
With Regards
Vijay
Hello,
to omitt leading zeros you can use formatting option 'Z' as follow : &KOMVD-VTEXT(20Z)& (or try &KOMVD-VTEXT(20ZC)&).
'C' =>Space Compression
'Z' =>Omitting Leading Zeros
'T' =>Omitting the Separator for u2018Thousandsu2019
'R' =>Right-Justified Output
'I' =>Suppressing Output of Initial Values
'K' =>Ignoring Conversion Routines
...etc...
You will found all sapscript formatting options in SAP library :
[http://help.sap.com/saphelp_47x200/helpdata/en/d1/80319c454211d189710000e8322d00/frameset.htm]
This answer has been found in an other thread [;
Cordialement,
Chaouki .
Edited by: Chaouki AUBEPIN on Aug 30, 2008 10:57 PM
Edited by: Chaouki AUBEPIN on Oct 5, 2008 11:36 PM
Edited by: Chaouki AUBEPIN on Oct 5, 2008 11:36 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.