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

doubt in HRCM_STRING_TO_AMOUNT_CONVERT function module

Former Member
0 Likes
1,457

Hi,

Can anyone explain about this FM HRCM_STRING_TO_AMOUNT_CONVERT.

give an example for this FM.

before post check all related post to this FM, but did not find an example.

iam trying something like this

*       IMPORTING
*            VALUE(STRING)      "----> '12345678'
*            VALUE(DECIMAL_SEPARATOR) OPTIONAL    "-----> '.'
*            VALUE(THOUSANDS_SEPARATOR) OPTIONAL   "-----> ','

*             VALUE(WAERS) DEFAULT SPACE
*      EXPORTING
*            VALUE(BETRG)   " ------> '12345678'

what ever input iam giving, iam getting the same input as output.

Thank in advance.

5 REPLIES 5
Read only

Former Member
0 Likes
954

Anyone anyidea...

Read only

Former Member
0 Likes
954

it will convert from string to amount.

you will get the same

Read only

Former Member
0 Likes
954

Hi KP,

Thanks for your responce, yes i knw that it will convert string to amount as the name of the FM idicates that.

But im qestion is when it convert string to amount it should give the thousand saperator and decimals saperator , but you can see the result it is not displaying thousand and decimal saperator.

any comments will be helpfull.....

Adnan

Read only

0 Likes
954

you have to provide decimal separator and thousand separator like . and ,

Read only

Former Member
0 Likes
954

Hi KP,

You can see the code in my first post.

even i checked in in SE37, by giving the comma and decimal saperator ....

Please check and see in SE37.....

Adnan