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

quantity field issue

Former Member
0 Likes
1,617

Hello all,

i have a domian of length 13 and decimals 3

then my question is ,

1) it can hold 1234567899871.123 ( 13digit before decimal and 3 digit after decimal )

or the total is 13 i.e 1234567899.123(10 digits before decimal and 3 after decimal)

or the does it include the dot also as i1 digit i.e 123456789.123

(9dot3)

let me know

thanks

6 REPLIES 6
Read only

Former Member
0 Likes
1,142

Hi,

Lets take an example of the data element MENGE_D.

It can take only 10 digit before decimal and 3 after decimal..

It will activate if you have this code..

data: v_menge type MENGE_D value '1234567890.123'.

It will not activate if you have this code..It will say overflow..

data: v_menge type MENGE_D value '12345678901.123'.

Thanks,

Naren

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
1,142

Hi Preeti,

If u have specified Doamin length as 13 and 3 decimal places , it can hold 10 digits before decimal and three after decimal.

Read only

Former Member
0 Likes
1,142

Go to the domain definition in se11 and havea look at the output length.

It would clear your doubt.

Regards,

Ravi

Read only

Former Member
0 Likes
1,142

Hi,

Length 13 & decimals 3 says it can hold 10 digits before decimal point & 3 digits after the same. If you check the output length of that domain, it'll be 17 (which includes the decimal point).

Read only

anversha_s
Active Contributor
0 Likes
1,142

hi preethi,

This is the answer.

if the total is 13 i.e 1234567899.123(10 digits before decimal and 3 after decimal)

Regards

Anver

Read only

0 Likes
1,142

hi preeti,

for 13 it will have ,10 digits before decimal and 3 after decimal