‎2010 Aug 17 6:38 AM
Hello Gurus
i have a requirment to add Zfields of type CURR to the table VBAK with 4 Decimals. I have added the screen Additional data B as well.
and its working fine.
i have one issue with the display of hte amount value as my field is of 4 decimals.
example: in the table the values is stored as 100,0000, but on the screeen it is been displayed as 1.0000,00.
it seems that while dispalying the amount we are getting only 2 decimals not 4. please let me know how i can fix it
Thanks in Advance.
‎2010 Aug 17 6:42 AM
The field value is displayed in a diff format.
Check the user settings in SU01.
Also , check the properties of the domain which you have assigned to the field.
‎2010 Aug 17 7:09 AM
In SU01 default Decimals notation is as below.
1.234.67,89
and i have created new domain with Decimals 4 of type CURR.
‎2010 Aug 17 7:16 AM
‎2010 Aug 17 7:21 AM
What is the currency ? Does this currency have zero decimal places defined viz., JPY, HUF etc. ?
@Sandeep: How does this depend on the user's decimal & thousand separator settings ?
‎2010 Aug 17 7:22 AM
Hi friend,
Did you set currency/quantity fields for your zfields in table VBAK. If yes, in field's attribute of zfields in screen must have ref. fields is currency unit.
Please check and reply.
regards,
‎2010 Aug 17 7:54 AM
hello Sandeep,
if you change the SU01 settings then it will change the format, it will not display 4 decimals.
yes i have specied reference table and reference field as VBAK-WAERK.