Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Change of decimals

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

Former Member
Former Member replied

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.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question