2006 Sep 18 11:07 AM
Is there any function to convert 0 to spaces or something similar?
Thank you in advance.
Is there any function to convert 0 to spaces or something similar?
Thank you in advance.
2006 Sep 18 11:10 AM
How about this???
REPLACE ALL OCCURRENCES OF '0' IN L_TEXT WITH SPACE.
or
SHIFT L_TEXT LEFT DELETING LEADING '0'.
Kind Regards
Eswar
2006 Sep 18 11:12 AM
Hi,
use
SHIFT c LEFT DELETING LEADING c1.
SHIFT c RIGHT DELETING TRAILING c1.
shift var left removing leading '0'.
or
shift var right removing trailing '0'.
Regards
Amole
2006 Sep 18 11:16 AM
hi,
chk this exmaple.
data: l_amnt(100) type c.
l_amnt = ' 1.234.567,89'.
replace all occurrences of ',' in l_amnt with '#'.
replace all occurrences of '.' in l_amnt with ','.
replace all occurrences of '#' in l_amnt with '.'.
replace all occurrences of ' ' in l_amnt with ' 0'.
write : l_amnt.
rgds
anver
if helped mark points
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |