Skip to Content
-2

How Sap compares two values of CLNT datatype?

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

Can anyone help me.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 17 at 05:41 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • May 17 at 09:45 AM
    Add comment
    10|10000 characters needed characters exceeded