2007 Jun 08 11:51 AM
hi friends,
how to make currency ...........950 as just 950.
please note ....'s are all spaces.
Thanks
Praveen
hi friends,
how to make currency ...........950 as just 950.
please note ....'s are all spaces.
Thanks
Praveen
2007 Jun 09 6:52 AM
HI,
try this code,
data amount type bsik-dmbtr value ' 2121.01'.
data: amount1 type bsik-dmbtr.
DATA char type char30.
write: / amount.
write amount to char.
CONDENSE char.
SHIFT char LEFT DELETING LEADING SPACE.
TRANSLATE char USING ', '.
CONDENSE char NO-GAPS.
amount1 = char.
write: / char, / amount1.
regards,
venkatesh
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |