‎2008 Jul 03 3:38 AM
Hi,
Is there a standard function module in ABAP which puts commas in the currency field. Ex 5000000 should show up as 50,00,000.
Thanks
R M
‎2008 Jul 03 3:45 AM
Hi,
use this FM for converting internal to external format BAPI_CURRENCY_CONV_TO_EXTERNAL.
Regards
Raj.D
‎2008 Jul 03 3:44 AM
hi,
do this way ...
data : v_dmbtr like bseg-dmbtr.
write : '500000' to v_dmbtr.
write : v_dmbtr.Regards,
Santosh
‎2008 Jul 03 3:45 AM
Hi,
use this FM for converting internal to external format BAPI_CURRENCY_CONV_TO_EXTERNAL.
Regards
Raj.D
‎2008 Jul 03 3:48 AM
Hi RM,
You can use "WRITE .... CURRENCY" syntax.
Below is very simple program for that syntax.
-
REPORT ztest.
DATA: lv_money(50),
lv_value TYPE konv-kbetr,
lv_curr TYPE konv-waers.
lv_curr = 'USD'.
lv_value = 5000000.
WRITE lv_value CURRENCY lv_curr TO lv_money.
WRITE lv_money.
-
Try to execute the program and you'll get the idea.
Thanks,
Victor.