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 with commas

Former Member
0 Likes
570

Hi all,

I have a problem of displaying currency fetched from KONP table with commas.

Its not related to displaying the currency with commas.

I want to store the fetched value of currency with commas into some variable for further processing.

Scenario>>

If currecny value is 1000 in KONP,then i need this value to be stored in some variable as 1,000.

Thanks,

Anurodh

Hi all,

I have a problem of displaying currency fetched from KONP table with commas.

Its not related to displaying the currency with commas.

I want to store the fetched value of currency with commas into some variable for further processing.

Scenario>>

If currecny value is 1000 in KONP,then i need this value to be stored in some variable as 1,000.

Thanks,

Anurodh

2 REPLIES 2
Read only

Former Member
0 Likes
530

Hi,

Use FM HRCM_STRING_TO_AMOUNT_CONVERT.

Thanks

Nitesh

Read only

Former Member
0 Likes
530

Hi,

you can use the WRITE statement to get the thousand seprator..

l_curr = '1000'.
 
WRITE l_curr to l_char. " l_char will hold 1,000