Apart from predefined data types in SAP , ABAP also has the facility to define user-defined data types. The main keywords to define a user defined data type is TYPE and TYPES, DATA and LIKE. Here are some examples.
TYPES : EMPLOYEE_NO(10) TYPE I.
Now we can define further data types based on EMP_NO as shown below
TYPES: EMP_NO_A TYPE EMPOYEE_NO.
DATA : EMP_NO_B TYPE EMPLOYEE_NO
DATA :EMP_NO_C LIKE EMPNO_B
Click here for SAP Training