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

Decimal data type

Former Member
0 Likes
482

Hi,

We have declared a data type as

DATA: l_wa_poaccount TYPE bapimepoaccount

in an include. bapimepoaccount is a structure which has a field DISTR_PERC which is of data type DEC, length 3 decimal 1.

Now my question is will this field accept total 3 characters, out of which one will be after the decimal or will it accept total 4 characters out of which one will be after the decimal.

Thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
439

totally it can take 3 digit 2 before dec 1 after dec.

regards

shiba dutta

Read only

Former Member
0 Likes
439

Hi Jack ,

No this will accept only 3 digits with 2 before and 1 after the decimal point.

Regadrs

Arun

Read only

Former Member
0 Likes
439

I had check the F1 help for Length for domain WRBTR , it says

Number of valid positions of a field without editing characters (e.g.

commas or points).

So in ur case it will 23.3 , total length of digits will be 3