class ZCX_EXCEL definition public inheriting from CX_STATIC_CHECK final create public . *"* public components of class ZCX_EXCEL *"* do not include other source files here!!! public section. constants ZCX_EXCEL type SOTR_CONC value 'E21BC660E7235AF1B7380050568C0F65'. "#EC NOTEXT data ERROR type STRING . methods CONSTRUCTOR importing !TEXTID like TEXTID optional !PREVIOUS like PREVIOUS optional !ERROR type STRING optional . methods IF_MESSAGE~GET_TEXT redefinition . *"* protected components of class ZCX_EXCEL *"* do not include other source files here!!! protected section. *"* private components of class ZCX_EXCEL *"* do not include other source files here!!! private section. *"* local class implementation for public class *"* use this source file for the implementation part of *"* local helper classes *"* use this source file for any type declarations (class *"* definitions, interfaces or data types) you need for method *"* implementation or private method's signature *"* use this source file for any macro definitions you need *"* in the implementation part of the class METHOD if_message~get_text. IF me->ERROR IS NOT INITIAL. result = me->ERROR . ELSE. CALL METHOD super->if_message~get_text RECEIVING result = result. ENDIF. ENDMETHOD. method CONSTRUCTOR. CALL METHOD SUPER->CONSTRUCTOR EXPORTING TEXTID = TEXTID PREVIOUS = PREVIOUS . IF textid IS INITIAL. me->textid = ZCX_EXCEL . ENDIF. me->ERROR = ERROR . endmethod.