class ZCL_EXCEL_SECURITY definition public final create public . *"* public components of class ZCL_EXCEL_SECURITY *"* do not include other source files here!!! public section. type-pools ABAP . data LOCKREVISION type FLAG . data LOCKSTRUCTURE type FLAG . data LOCKWINDOWS type FLAG . data REVISIONSPASSWORD type ZEXCEL_REVISIONSPASSWORD . data WORKBOOKPASSWORD type ZEXCEL_WORKBOOKPASSWORD . methods CONSTRUCTOR . methods IS_SECURITY_ENABLED returning value(EP_SECURITY_ENABLED) type FLAG . *"* protected components of class ZABAP_EXCEL_SECURITY *"* do not include other source files here!!! protected section. *"* private components of class ZABAP_EXCEL_SECURITY *"* 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 ABAP method CONSTRUCTOR. endmethod. method IS_SECURITY_ENABLED. IF lockrevision EQ abap_true OR lockstructure EQ abap_true OR lockwindows EQ abap_true. ep_security_enabled = abap_true. ENDIF. endmethod.