Hi All,
I have one parameter on my selection screen, and other is global variable of the type Z-table field which is having a numeric value and the parameter is of type char but can have only numeric values, therefore I applied a numeric check for that and applied condense statement so that it compares it with the numeric field correctly.
Declaration:
Data : gv_value type ZZVALUEL (it is the numeric field)
Parameters : p_days(5) type c
The problem is when I am executing the statement :
if p_days LT gv_value .
Message 'the value should be greater or equal to <gv_value>' .
endif.
gv_value is 720 in the table
entering p_days = 999
error is not coming , but when entering 1000 or above it displays the error even though it is the greater value than gv_value.