Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Decimals issue while Displaying Amount

Former Member
0 Likes
719

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.

6 REPLIES 6
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
680

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.

Read only

0 Likes
680

In SU01 default Decimals notation is as below.

1.234.67,89

and i have created new domain with Decimals 4 of type CURR.

Read only

0 Likes
680

then change it to 1,234,567.89

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
680

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 ?

Read only

Former Member
0 Likes
680

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,

Read only

0 Likes
680

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.