05-28-2015 12:55 PM
Hi,
I am using sap script and i use
&KOMK-FKWRT(I13)& to write total
i am getting 17719.020,00 and i would like to receive 17.719.020,00
I cheked user settings and are 1.234.567,00
I check currency settings too
How can i change this?
Thank you and best regards
João Lages Fernandes
05-28-2015 1:12 PM
Hi Joao,
You can make use of the SET COUNTRY country_key command. The amount field will then be displayed according to the settings maintained in table T005X which stores country dependent formatting options.
This will also ensure that the format is same across all users irrespective of the user settings.
Regards,
Tanmay.
05-28-2015 1:12 PM
Hi Joao,
You can make use of the SET COUNTRY country_key command. The amount field will then be displayed according to the settings maintained in table T005X which stores country dependent formatting options.
This will also ensure that the format is same across all users irrespective of the user settings.
Regards,
Tanmay.
05-28-2015 5:36 PM
Hello,
As mentioned by Tanmay, you can use SET COUNTRY <Country Name> command in your driver program before the call to OPEN_FORM happens and all the currency, date etc. values will be displayed per the format maintaind in table T005X.
Also if your requirement is to pass a specific format always you can move the value KOMK-FKWRT to a string/char variable with desired format and output as is on the form.
BR.