CLASS {{p}}cx_duty_too_long DEFINITION PUBLIC INHERITING FROM cx_static_check FINAL CREATE PUBLIC. PUBLIC SECTION. TYPES ty_hours TYPE p LENGTH 4 DECIMALS 1. DATA mv_duty_hours TYPE ty_hours READ-ONLY. METHODS constructor IMPORTING iv_duty_hours TYPE ty_hours. ENDCLASS. CLASS {{p}}cx_duty_too_long IMPLEMENTATION. METHOD constructor. super->constructor( ). mv_duty_hours = iv_duty_hours. ENDMETHOD. ENDCLASS.