Use constants instead of magic numbers
IF abap_type = cl_abap_typedescr=>typekind_date.is clearer than
" anti-pattern
IF abap_type = 'D'.Read more in Chapter 17: Smells and Heuristics: G25: Replace Magic Numbers with Named Constants of Robert C. Martin’s Clean Code.