ABAP : To check numeric or aplhabate value only
8:36 PM
"""""""""
if TEXT_VALUE CO '0123456789.'. "PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif. """""""""
"""""""""
if TEXT_VALUE CO 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
"PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif.
"""""""""
if TEXT_VALUE CO '0123456789.'. "PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif. """""""""
"""""""""
if TEXT_VALUE CO 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
"PERFORM THIS STATEMENT IF IS TRUE.
else.
"RETURN ERROR
endif.
"""""""""