Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

currency issue

Former Member
0 Likes
377

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

1 REPLY 1
Read only

Former Member
0 Likes
359

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