‎2012 Jun 20 12:08 PM
Requirement is to display the amount in format 1,233.00 Eur without changing the country specific settings in oy01 . current settings are printing it like 1.233,00
Any ideas please .
shld i do it by splitting and replacing , with period .
Regards
‎2012 Jun 21 2:10 PM
Thanks all for the help.
Since the requirement was just to change the display . comma instead of period , without changing any country specific setting . So i opted to do it with the simplest way using the replace character functionality .
Regards
Ls
‎2012 Jun 20 12:12 PM
Hi Linda,
You can make use of SPLIT and Concatinate commands to disaply required format in SMARTFORM or script.
If you want this for saving in excel, just right click on that cell and select Format cell , select required currency format .
‎2012 Jun 20 12:20 PM
Hi Sachin,
Thanks . I was thinking to set the dec format just before the printing of the output . Is it possible ?I am currently looking for that way . otherwise yes this split and concatenate is the last option .
do you have any idea of setting the dec point format at runtime .
Thanks
‎2012 Jun 20 12:33 PM
Hi Linda,
Please refer below link:
You can take help from BI team for this.
‎2012 Jun 20 7:03 PM
Hi, You can also think of making changes at user profile level. Go to SU01 and change the decimal notation in the DEFAULTS tab to your desired format. You need to logoff and login again to get the changes reflected.
‎2012 Jun 20 7:38 PM
You don't have to use transaction oy01 to change the country specific settings. You can do it directly in the SAPScript with:
/: SET COUNTRY 'USA'
or whatever country has the formatting you want (from BC 460)
Rob
‎2012 Jun 21 10:15 AM
You can move the contents of your Amount fields to another field using a EDIT MASK and then can use that field for print purpose
‎2012 Jun 21 2:01 PM
‎2012 Jun 21 2:10 PM
Thanks all for the help.
Since the requirement was just to change the display . comma instead of period , without changing any country specific setting . So i opted to do it with the simplest way using the replace character functionality .
Regards
Ls
‎2012 Jun 21 2:13 PM
‎2012 Jul 10 7:15 AM
Hi Linda,
Can you tell me how did you replace character functionality?
Thanks..
‎2012 Jul 10 7:49 AM
Hi nishit,
Just use replace statement 3 times . first time make period to any other character say $ , then comma to period and then dollar to comma .
Try
Regards
Linda