cancel
Showing results for 
Search instead for 
Did you mean: 

Change of decimals

Former Member
0 Kudos

Hi,

we had a problem with decimal points.It is giving wrong decimal point.It is custom infotype

client needs Annual salary *10% but it is taking 1% for korean employees.

Please let me know how to change the decimals

Thanks in advance

Usha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try to use this function module in the custom infotype code:

call function 'BAPI_CURRENCY_CONV_TO_EXTERNAL'

exporting

currency = p0008-ancur

amount_internal = p0008-ansal

importing

amount_external = v_ansal.

It always gets you the right decimal place. Award points if this helps.

Answers (0)