2014 Nov 19 1:49 PM
Hi Experts,
I have got a scenario where I need to put commas' in my amount eg, 606100 means i need it as 6,06,100.00.
Here my currency is 'IDR'. I have made corrency conversion using CURRENCY_AMOUNT_SAP_TO_IDOC.
and i tried using BAPI_CURRENCY_CONV_TO_EXTERNAL.
It did not work.
Anyone please suggest......
Thanks in advance
Hi Experts,
I have got a scenario where I need to put commas' in my amount eg, 606100 means i need it as 6,06,100.00.
Here my currency is 'IDR'. I have made corrency conversion using CURRENCY_AMOUNT_SAP_TO_IDOC.
and i tried using BAPI_CURRENCY_CONV_TO_EXTERNAL.
It did not work.
Anyone please suggest......
Thanks in advance
2014 Nov 19 2:45 PM
Hi.
What's your main purpose? To show value 606100 in SAP as 6,06,100.00 or to manage this value in a program as 6,06,100.00?
In first case you should check out System Menu ->User Profile ->Own Data, check menu default and change decimal notation.
In second case you have to use a mask with NO-GROUPING option.
Hope to help,
bye.
2014 Nov 19 2:52 PM
Hi Robert,
Thank you.
In my case the amount is being displayed in smartform.
So while printing those smartforms they want it with commas' and decimal places.
And i want to do with any FM or through coding only.
please suggest
Thanks
Sanjana
2014 Nov 25 6:42 PM
Hi.
Sorry for the delay.
Well try this:
Take your number and Move it to Character field then use offsets insert the commas and fullstops depending on the number of digits .
This is ok for all lenghts.
This is setting indipendent.
Hope to help.
Bye