11-23-2007 12:07 PM
Hi experts,
I need to display value based on the Currency key(Region)
for example , If the currency is japan the value should not display in decimals
if the currency is in german then the value should display 2 decimals place.
Pls suggest the idea to display it in report.
Thanks in advance
sai
11-23-2007 12:20 PM
Hi,
u need to create then some local variables .
data: v_curr_german type p dec 2,
v_curr_japan type p dec 0.
loop at itab.
if itab-cuky is 'German currency key give here'.
v_curr_german = itab-curr_value.
endif.
if itab-cuky is 'Japan currency key give here'.
v_curr_japan = itab-curr_value.
endif.
.
.
endloop.
Regards
Manas
Message was edited by:
MANAS RANJAN PANDA
11-23-2007 12:27 PM
Hi Karthik,
Try FM
SD_CONVERT_CURRENCY_FORMAT
or
CONVERT_AMOUNT_TO_CURRENCY
or
HR_CONVERT_TO_LOCAL_CURRENCY
Hope it helps.
Lokesh
Message was edited by:
Lokesh Aggarwal