ABAP : To check numeric or aplhabate value only

  """""""""
  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.
  """""""""
 
0 comments:

Post a Comment

message

Labels

NuffNang

Search google

Blog Archive

My Blog List

Twitter

Message

Followers