‎2008 Dec 15 12:42 PM
Hi,
In input, I have a number employee which may contain character. How do I know if the number emloyee have a character not compatible with NUMC (PERNR).
Exemple :
DATA num_personnel TYPE string VALUE '45AZ'.
* I want check if num_personnel have char.
IF pernr = num_personnel.
* Processed but dumped in this case because num_personnel isn't compatible with pernr (data type NUMC)
ENDIF.
‎2008 Dec 15 1:00 PM
I found like a big boy!!
I post my request :
IF num_personnel CN '0123456789'.
Is not a NUMC
ELSE.
Is a NUMC
ENDIF.
‎2008 Dec 15 1:01 PM
Use FM : NUMERIC_CHECK to find whether the PERNR has any char in it or not.