SAP Function UNIT_COMPARE_WITH_DAY - Is a time unit smaller than the unit day?

Parameter Reference Type Length Default Optional Text
I_FLG_UNIT_CHECK 0 'X' X
I_UNIT T006-MSEHI C 3 Time unit which is compared with 'day'

Parameter Reference Type Length Text
E_FLG_UNIT_EQ_DAY C C 0

Exception Text
DIMENSION_NOT_TIME Unit is no time unit
UNIT_IN_T006_MISSING Unit does not exist in T006
UNIT_LT_DAY
UNIT_MISSING No unit specified