SAP CL_GUI_CFW OO Class - Control Framework Basic Class









CL_GUI_CFW is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_GUI_CFW including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_GUI_CFW SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADD_OBJECTInternal Use! Registration of CL_GUI_OBJECT for CFWPublic
CALL METHOD cl_gui_cfw=>ADD_OBJECT...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD cl_gui_cfw=>CLASS_CONSTRUCTOR...more details

CLEANUP_EVENT_STACKClean Up Event StackPrivate
CALL METHOD cl_gui_cfw=>CLEANUP_EVENT_STACK...more details

COMPUTE_DYNP_FROM_PIXELSInternal Use! Calculates Lines/Columns from PixelsPublic
CALL METHOD cl_gui_cfw=>COMPUTE_DYNP_FROM_PIXELS...more details

COMPUTE_EXTENSION_FROM_RATIOCalculates Extensions from RatiosPrivate
CALL METHOD cl_gui_cfw=>COMPUTE_EXTENSION_FROM_RATIO...more details

COMPUTE_METRIC_FROM_DYNPInternal Use! Calculates Screen Metric from OthersPublic
CALL METHOD cl_gui_cfw=>COMPUTE_METRIC_FROM_DYNP...more details

COMPUTE_METRIC_FROM_PIXELInternal Use! Calculates Metric Extension from PixelsPrivate
CALL METHOD cl_gui_cfw=>COMPUTE_METRIC_FROM_PIXEL...more details

COMPUTE_PIXEL_FROM_METRICInternal Use! Calculates Pixel Extension from Other MetricsPublic
CALL METHOD cl_gui_cfw=>COMPUTE_PIXEL_FROM_METRIC...more details

COMPUTE_RATIO_FROM_EXTENSIONCalculates Ratio from ExtensionPrivate
CALL METHOD cl_gui_cfw=>COMPUTE_RATIO_FROM_EXTENSION...more details

DISPATCHForward a GUI Event to Proxy ObjectPublic
CALL METHOD cl_gui_cfw=>DISPATCH...more details

DISPATCH_SYSTEM_EVENTSDo not use! Forward a GUI Event to a Proxy ObjectPublic
CALL METHOD cl_gui_cfw=>DISPATCH_SYSTEM_EVENTS...more details

DOCKING_CHANGE_NOTIFYInternal Use! Docking Handle (Re)LinksPublic
CALL METHOD cl_gui_cfw=>DOCKING_CHANGE_NOTIFY...more details

DOCKING_EXTENSIONSCalculates the Docking ExtensionsPrivate
CALL METHOD cl_gui_cfw=>DOCKING_EXTENSIONS...more details

DYNP_DOCKINGS_INITInternal Use Only! Notify Screen of Docking SizesPublic
CALL METHOD cl_gui_cfw=>DYNP_DOCKINGS_INIT...more details

END_OF_DYNPRO_NOTIFICATIONOnly for Kernal!Public
CALL METHOD cl_gui_cfw=>END_OF_DYNPRO_NOTIFICATION...more details

END_OF_IMODE_NOTIFICATIONOnly for Kernal!Public
CALL METHOD cl_gui_cfw=>END_OF_IMODE_NOTIFICATION...more details

FIRE_CC_CLEANUPInternal use! Triggers CC-EventPublic
CALL METHOD cl_gui_cfw=>FIRE_CC_CLEANUP...more details

FIRE_CC_INITInternal use! Triggers CC-EventPublic
CALL METHOD cl_gui_cfw=>FIRE_CC_INIT...more details

FIRE_FLUSH_ERRORDo not use! Internal use only!Public
CALL METHOD cl_gui_cfw=>FIRE_FLUSH_ERROR...more details

FLUSHSend Buffered Automation Queue to FrontendPublic
CALL METHOD cl_gui_cfw=>FLUSH...more details

GET_CURRENT_EVENTReturns Current Event ObjectPrivate
CALL METHOD cl_gui_cfw=>GET_CURRENT_EVENT...more details

GET_CURRENT_EVENT_OBJECTInternal Use! Get Event ObjectPublic
CALL METHOD cl_gui_cfw=>GET_CURRENT_EVENT_OBJECT...more details

GET_DOCKING_RATIOInternal Use! Returns RatioPublic
CALL METHOD cl_gui_cfw=>GET_DOCKING_RATIO...more details

GET_LAST_FOCUS_SHELLGet Last Focus ShellPublic
CALL METHOD cl_gui_cfw=>GET_LAST_FOCUS_SHELL...more details

GET_LIFETIME_INFOInternal Use! Returns Lifetime InformationPublic
CALL METHOD cl_gui_cfw=>GET_LIFETIME_INFO...more details

GET_LIVING_CONTROL_COUNTInternal use: Number of controls that call SUBSCRIBEPublic
CALL METHOD cl_gui_cfw=>GET_LIVING_CONTROL_COUNT...more details

GET_LIVING_DYNPRO_CONTROLSTable of Screen-Specific Controls on Current ScreenPublic
CALL METHOD cl_gui_cfw=>GET_LIVING_DYNPRO_CONTROLS...more details

GET_METRIC_FACTORSInternal Use! Returns Conversion FactorsPublic
CALL METHOD cl_gui_cfw=>GET_METRIC_FACTORS...more details

GET_SUBSCRIBER_BY_IDInternal Use! Shell ID -> CL_GUI_CONTROLPublic
CALL METHOD cl_gui_cfw=>GET_SUBSCRIBER_BY_ID...more details

GUI_DATA_REQUESTInternal use: GUI data to be sent from frontendPublic
CALL METHOD cl_gui_cfw=>GUI_DATA_REQUEST...more details

HANDLE_DRAGDROP_EVENTSpecial Drag&Drop HandlingPrivate
CALL METHOD cl_gui_cfw=>HANDLE_DRAGDROP_EVENT...more details

HANDLE_FRAMEWORK_EVENTNon-Control-Related Framework EventsPrivate
CALL METHOD cl_gui_cfw=>HANDLE_FRAMEWORK_EVENT...more details

HORIZONTAL_RESIZEHorizontal Resize EventPrivate
CALL METHOD cl_gui_cfw=>HORIZONTAL_RESIZE...more details

INVALIDATE_CACHEInternal Use! Invalidates Cache for Control and Its SubnodesPublic
CALL METHOD cl_gui_cfw=>INVALIDATE_CACHE...more details

IS_ALIVEOnly for Kernal!Public
CALL METHOD cl_gui_cfw=>IS_ALIVE...more details

IS_CACHE_VALIDInternal Use! Is Cache of Control Valid?Public
CALL METHOD cl_gui_cfw=>IS_CACHE_VALID...more details

MANAGE_VISIBILITYOnly for Kernal!Public
CALL METHOD cl_gui_cfw=>MANAGE_VISIBILITY...more details

NOTIFY_BEFORE_FLUSHInternal Use: Notify Flush Listeners!Public
CALL METHOD cl_gui_cfw=>NOTIFY_BEFORE_FLUSH...more details

POP_EVENTRemoves an Event from the Event Stack and Sets SYSTEM_STATEPrivate
CALL METHOD cl_gui_cfw=>POP_EVENT...more details

PUSH_EVENTInserts an Event object into the StackPrivate
CALL METHOD cl_gui_cfw=>PUSH_EVENT...more details

REGISTER_CACHED_CONTROLInternal Use: Registers a Control to be CachedPublic
CALL METHOD cl_gui_cfw=>REGISTER_CACHED_CONTROL...more details

REGISTER_FLUSH_NOTIFYRegister Flush NotificationPublic
CALL METHOD cl_gui_cfw=>REGISTER_FLUSH_NOTIFY...more details

REGISTER_LIFETIMEInternal Use! Registration for Lifetime ManagementPublic
CALL METHOD cl_gui_cfw=>REGISTER_LIFETIME...more details

REGISTER_SYSTEMEVENTSInternal Use! Short Cut for System EventsPublic
CALL METHOD cl_gui_cfw=>REGISTER_SYSTEMEVENTS...more details

REMOVE_OBJECTInternal Use! Deregistration of CL_GUI_OBJET in CFWPublic
CALL METHOD cl_gui_cfw=>REMOVE_OBJECT...more details

SET_NEW_OK_CODEBe Careful: This Sets a new Fcode in Event Handler for PAIPublic
CALL METHOD cl_gui_cfw=>SET_NEW_OK_CODE...more details

SET_VISIBLE_NOTIFICATIONOnly for Kernal!Public
CALL METHOD cl_gui_cfw=>SET_VISIBLE_NOTIFICATION...more details

STARTDo Not Use! Framework InitializationPublic
CALL METHOD cl_gui_cfw=>START...more details

STOPDo Not Use! End FrameworkPublic
CALL METHOD cl_gui_cfw=>STOP...more details

SUBSCRIBEInternal Use! Registration of CL_GUI_CONTROL at CFWPublic
CALL METHOD cl_gui_cfw=>SUBSCRIBE...more details

SYNC_DOCKERSInternal Use! Maintain User Changes to Docker SizesPublic
CALL METHOD cl_gui_cfw=>SYNC_DOCKERS...more details

UNREGISTER_CACHED_CONTROLInternal Use! Removes Control from Cache RegistrationPublic
CALL METHOD cl_gui_cfw=>UNREGISTER_CACHED_CONTROL...more details

UNREGISTER_FLUSH_NOTIFYDeregister Flush NotificationPublic
CALL METHOD cl_gui_cfw=>UNREGISTER_FLUSH_NOTIFY...more details

UNREGISTER_LIFETIMECalled by FreePublic
CALL METHOD cl_gui_cfw=>UNREGISTER_LIFETIME...more details

UNSUBSCRIBEInternal Use! Deregistration of CL_GUI_COTNROL at CFWPublic
CALL METHOD cl_gui_cfw=>UNSUBSCRIBE...more details

UPDATE_VIEWUse This Method to Update the View of Your ControlsPublic
CALL METHOD cl_gui_cfw=>UPDATE_VIEW...more details

VALIDATE_ALL_CACHESInternal Use! Validates all CachesPublic
CALL METHOD cl_gui_cfw=>VALIDATE_ALL_CACHES...more details



CL_GUI_CFW attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
CACHED_PROPS_CNTLSStatic AttributeControls with Cached PropertiesLIKE
CACHED_PROPS_TYPE
Private
CFW_EVENT_ERRORStatic AttributeFramework Force a Message2LIKE
I
Private
CFW_EVENT_GENERALStatic AttributeFramework Data Request Event1LIKE
I
Private
CFW_EVENT_HORIZONTAL_RESIZEConstantFramework: Resize Handle (Horizontal)3LIKE
I
Private
CFW_EVENT_PERSONASStatic AttributeFlavor select event4LIKE
I
Private
CFW_LIFETIMELISTStatic AttributeCFW_LIFETIMELISTLIKE
Private
CFW_MEMBERStatic AttributeCFW_MEMBERLIKE
TY_CFW_MEMBER
Private
CFW_MEMBERLISTStatic AttributeCFW_MEMBERLISTLIKE
Private
CFW_SUBSCRIBERStatic AttributeCFW_SUBSCRIBERLIKE
TY_CFW_SUBSCRIBER
Private
CFW_SUBSCRIBERLISTStatic AttributeCFW_SUBSCRIBERLISTLIKE
Private
CFW_SYSTEMEVENTSStatic AttributeCFW_SYSTEMEVENTSLIKE
CNTL_EVENTS
Private
DESKTOP_WINDOWConstantDesktop99LIKE
I
Public
DOCKINGSStatic AttributeDocking ListLIKE
DOCKING_TABLE_TYPE
Private
DOCK_CHANGE_CREATEConstantDocking Modification: Create1LIKE
I
Public
DOCK_CHANGE_DOCKConstantDocking Modification: (Re)Dock3LIKE
I
Public
DOCK_CHANGE_EXTENSIONConstantDocking Modification: Extension7LIKE
I
Public
DOCK_CHANGE_FREEConstantDocking Modification: Free4LIKE
I
Public
DOCK_CHANGE_INVISIBLEConstantDocking Modification: Invisible5LIKE
I
Public
DOCK_CHANGE_LINKConstantDocking Modification: (Re)Link2LIKE
I
Public
DOCK_CHANGE_METRICConstantDocking Modification: Metrics8LIKE
I
Public
DOCK_CHANGE_VISIBLEConstantDocking Modification: Visible6LIKE
I
Public
DYNPRO_0ConstantScreen 010LIKE
I
Public
DYNPRO_1ConstantScreen 111LIKE
I
Public
DYNPRO_2ConstantScreen 212LIKE
I
Public
DYNPRO_3ConstantScreen 313LIKE
I
Public
DYNPRO_4ConstantScreen 414LIKE
I
Public
DYNPRO_5ConstantScreen 515LIKE
I
Public
DYNPRO_6ConstantScreen 616LIKE
I
Public
DYNPRO_7ConstantScreen 717LIKE
I
Public
DYNPRO_8ConstantScreen 818LIKE
I
Public
DYNPRO_9ConstantScreen 919LIKE
I
Public
DYNPRO_DEFAULTConstantDefault Screen-1LIKE
I
Public
EVENT_STACKStatic AttributeEvent StackLIKE
EVENT_STCK_TYPE
Private
FALSEConstantBoolean ConstantSPACELIKE
CHAR1
Public
FLUSH_LISTENERSStatic AttributeFlush ListenerLIKE
FLUSH_LISTENERS_TYPE
Private
FLUSH_NOTIFICATION_RUNNINGStatic AttributeStatus: Flush Notification Being SentLIKE
SYCHAR01
Private
FLUSH_SITUATION_INPUTSTREAMConstantError During Data Input2LIKE
I
Public
FLUSH_SITUATION_PBOConstantFlush in PBO0LIKE
I
Public
FLUSH_SITUATION_SYSTEM_EVENTSConstantFlush After System Events1LIKE
I
Public
FREE_INTERNAL_CALLStatic AttributeInternal CommunicationLIKE
CHAR1
Private
GUI_DATA_CONSUMERStatic AttributeReceives Global GUI DataLIKE
CL_GUI_PROPS_CONSUMER
Private
IS_INITIALIZEDStatic AttributeInitial FlagLIKE
CHAR1
Private
MAIN_WINDOWConstantMain Window0LIKE
I
Public
MSG_ERRConstantConstant999LIKE
SYMSGNO
Public
MSG_OKConstantConstant000LIKE
SYMSGNO
Public
NEW_OK_CODEStatic Attributeinternal field for new_ok_CodeLIKE
SYUCOMM
Private
PROPERTY_ALL_PROPSConstantDummy Property: Force Global Properties Being Sent1000LIKE
I
Public
RC_FCODEConstantdispatchobject new fcode2LIKE
I
Public
RC_FOUNDConstantdispatchobject found0LIKE
I
Public
RC_INVALIDConstantInvalid-100LIKE
I
Public
RC_NODISPATCHConstantdispachtobject not called (wrong time)3LIKE
I
Public
RC_NOEVENTConstantdispatchobject no event-1LIKE
I
Public
RC_POSTEDConstantPosted-101LIKE
I
Public
RC_UNKNOWNConstantdispatchobject unknown1LIKE
I
Public
RC_WRONG_STATEConstantwrong state-102LIKE
I
Public
REASON_NO_BATCHConstantReason For Not Working5LIKE
I
Public
REASON_NO_GUIConstantReason For Not Working6LIKE
I
Public
REASON_NO_INITStatic AttributeReason For Not WorkingLIKE
I
Public
REDOCK_INITIAL_PIXELSConstantPixel For Horizontal <-> Vertical Redocking32LIKE
I
Private
SAVE_OK_CODEStatic AttributeInternal Field for OK_CODELIKE
SYUCOMM
Private
SUPP_AREA_SIZEStatic AttributeSet Support Bit?LIKE
SYCHAR01
Private
SUPP_XML_BLOBSStatic AttributeSet Support Bit?LIKE
SYCHAR01
Private
SYSTEM_STATEStatic AttributeSystem_stateLIKE
CHAR1
Public
TOP_WINDOWConstantTop33LIKE
I
Public
TRUEConstantBoolean Constant'X'LIKE
CHAR1
Public
VISIBLE_INTERNAL_CALLStatic AttributeInternal CommunicationLIKE
CHAR1
Private


Events of Class CL_GUI_CFW

Events are created within your class using special event handler methods. These must be registered at runtime for the event and can then be triggered using the ABAP syntax: RAISE EVENT EXPOTING... CC_CLEANUP - Control Composites: Clean Up
CC_ON_DYNPRO_LOAD - Control Composites: Initialization
FLUSH_ERROR - Error in Automatic Flush: Handler Must Handle Error



CL_GUI_CFW types

CACHED_PROPS_TYPE - CACHED_PROPS_TYPE
CACHED_PROP_LINE_TYPE - CACHED_PROP_LINE_TYPE
DOCKING_LINE_TYPE - DOCKING_LINE_TYPE
DOCKING_TABLE_TYPE - DOCKING_TABLE_TYPE
EVENT_STCK_LINE_TYPE - EVENT_STCK_LINE_TYPE
EVENT_STCK_TYPE - EVENT_STCK_TYPE
FLUSH_LISTENERS_TYPE - FLUSH_LISTENERS_TYPE
FLUSH_LISTENER_TYPE - FLUSH_LISTENER_TYPE
TY_CFW_LIFETIME - TY_CFW_LIFETIME
TY_CFW_MEMBER - TY_CFW_MEMBER
TY_CFW_SUBSCRIBER - TY_CFW_SUBSCRIBER

Links to Related Class(s)

CL_GUI_C...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!