sapdev logo background
sapdev logo sapdev logo
Comments

SAP COMPARE CHAR WITH NUM documentation, setup help and example usage



Return to SAP documentation index


INCLUDE
Value Ranges and Length Adjustments
  • When the types string and c are compared with packed numbers of the type p , the comparison type p has 31 decimal places together with the decimal portion of the operand of type p . This can raise exceptions if overflows occur.

  • When the type n is compared with packed numbers of the type p

  • , the numeric text can contain up to 31 places, excluding leading zeroes and regardless of how big the decimal portion of the type p
    operand is.
  • When the types string , c , and n are compared with whole numbers of the types

  • int8 , i , s , and b , the number value in the character-like operand does not need to fit the value range of the comparison type
    i . If the number value is not in the value range, the comparison produces the correct result and no exception is raised.
    Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




    COMMON_AREA_GLOSRY
    COMPARE_LENGTH_OF_P




    comments powered by Disqus