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: 

field type Quan.. in R/3 3.1 .. need 4 places after decimal pt

Former Member
0 Kudos
585

Is there a way in Version 3.1 of having a field of type Quan with 4 places after the decimal. The default is 3 places on the system I am using. Field length of 13.

Thanks to anyone that can help me out with this.

3 REPLIES 3

Former Member
0 Kudos
368

Try moving the Qaun. field data to another field which is declared as of type P with decimals 4.

Hope this works for you..

0 Kudos
368

I am outputting a quantity field, but I am having trouble using decimals in conjuction with unit.

I would like two decimal places, so I output the field:

write:/ t_data-hours DECIMALS 2.

However I receive a syntax warning, telling me to use UNIT. I am having trouble using both UNIT and DECIMALS together.

Please advise.

0 Kudos
368

There's nothing essentially wrong with using the DECIMALS option, if you are confident that the values in your report are of the same or similar unit. The use of UNIT is more generic, the number of decimal places will be dictated by the settings in table T006. For example unit 'Each' would be displayed with no decimal places (as a whole number), Kg might be displayed with 2.

This is why you cannot use UNIT and DECIMALS together; UNIT will take the number of decimals from T006 to then specify a number of decimals would contradict this.

If the unit that most of your data is stored as displays 2 d.p.s you could use UNIT, or just ignore the warning and use DECIMALS.

Nick