Skip to Content
-1

ABAP INT4 domain negative range or fixed values

Mar 16, 2017 at 07:55 AM

345

avatar image
Former Member

Hello,

I have created a domain and its data type is INT4. When I try to add negative value to fixed values or to value range the system says:

I also tried to add Value Table and its structure

the domain of field VALUE has the domain I am trying to add a negative values to.

But event the value table is not working. Could you please hint me, how should I solve this problem?

Thank you.

capture.png (17.2 kB)
capture.png (12.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Matthew Billingham
Mar 16, 2017 at 09:01 AM
1

The long text of the error message (DO195) says "Only whole positive numbers are allowed as values and value interval limits of a numeric data type." Looks like a built in restriction.

"But event the value table is not working." - what do you mean "not working"? Causes your computer to blow up, causes SAP to shut down, causes the universe to reboot, or values aren't validated, or what?

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Mar 16, 2017 at 10:10 AM
0

Works as documented

https://help.sap.com/doc/PRODUCTION/abapdocu_751_index_htm/7.51/en-US/index.htm?file=abenddic_domains_sema.htm

"Positive integers (including 0) for the types NUMC, INT1, INT2, INT4, INT8, and DEC"

Share
10 |10000 characters needed characters left characters exceeded