Skip to Content
-2

How Sap compares two values of CLNT datatype?

May 17 at 05:13 AM

51

avatar image

I am getting false for '800' < '1100' and true for '800' < '801'.

Can anyone help me.

10 |10000 characters needed characters left characters exceeded

How about posting the relevant fragment of code?

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L May 17 at 05:41 AM
1

it is not a number.

And if it is not a number then 8 as first character is certainly not lower equal 1.

Why would 2 values be compares with "lower equal" and not just with "not equal"?

Edit: missed a comment on CLNT type, this has always 3 places, so '1100' could not fit in.

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
May 17 at 09:45 AM
0
Share
10 |10000 characters needed characters left characters exceeded