cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

INT4 doesn't accept negative value

former_member743755
Discoverer
1,398

Hello,

I am surprised that INT4 does not allow negative value for integers field. I was wondering if you have an idea to solve this issue?



Kind regards,

Hugo

Accepted Solutions (0)

Answers (2)

Answers (2)

Alvaro_AH
Explorer
0 Likes

Having the exact same issue. An INT4 field is triggering the message saying no negative numbers are allowed.

Did you find a solution?

SOeynha
Discoverer
0 Likes

I had the same problem with INT4. I did a cast to quan. That did the trick for me:

cast (DATS_DAYS_BETWEEN( coalesce( Versand.CreationDate, SDIA.CreationDate ), SDIA.CreationDate) as abap.quan(10, 0 ) )
former_member208149
Participant
0 Likes

Hi,

Are you sure you are checking the right field? It must be some other field whose data element does not permit -ve values.