SAP ABAP Class CL_CTMENU (Context Menu)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-FES-GUI (Application Component) Graphical User Interface
     SGUI (Package) GUI Objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CTXMNU_INTERNAL Internal trace 19981127
Properties
Class CL_CTMENU  
Short Description Context Menu    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SGUI   GUI Objects 
Created 19981127   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 SCTX Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_CTXMNU_INTERNAL Internal trace 19981127
Friends
Class CL_CTMENU has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FALSE Constant Private Type reference (TYPE) SYCHAR01 SPACE False 19990326
2 C_SINGLE_BYTE Constant Private Type reference (TYPE) SYCHAR02 'SL' Single-Byte Language 19990318
3 C_SINGLE_BYTE_CHAR Constant Private Type reference (TYPE) SYCHAR30 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' Constant Single-Byte Characters for Double-Byte Languages 19990318
4 C_TRUE Constant Private Type reference (TYPE) SYCHAR01 'X' True 19990326
5 DEFAULT_FUNCTION Instance attribute Public Type reference (TYPE) UI_FUNC Default Function 19990416
6 ENTRYTAB Instance attribute Private Type reference (TYPE) SCTX_ENTRYTAB Context Menu 19981127
7 LANGUAGE_TYPE Static Attribute Private Type reference (TYPE) LASPEZ Language Type (Double-/Single-Byte) 19990318
8 LOAD_OBJECTS Static Attribute Private See coding Load References 19990119
9 MODIFTAB Instance attribute Private See coding Modified Attributes 19981127
10 SOURCE_OBJECTS Static Attribute Private See coding Source References 19981127
Methods
# Method Level Visibility Method type Description Created on
1 ADD_FUNCTION Instance method Public Method Add a Function 19981127
2 ADD_MENU Instance method Public Method Add a Menu 19981127
3 ADD_SEPARATOR Instance method Public Method Add a Separator 19981127
4 ADD_SUBMENU Instance method Public Method Add a Submenu 19981127
5 CLEAR Instance method Public Method Delete All Menu Entries 19990312
6 DISABLE_FUNCTIONS Instance method Public Method Deactivate a Function 19981127
7 ENABLE_FUNCTIONS Instance method Public Method Activate a Function 19981127
8 GET_FUNCTIONS Instance method Public Method Returns all Functions With Attributes 19990326
9 GET_FUNCTIONS_INTERNAL Instance method Private Method List of Functions 19990326
10 GET_MENU_PATH Static method Public Method Fastpath 19990318
11 GET_SUBMENUS Instance method Public Method Returns All Submenus 20000628
12 GET_SUBMENUS_INTERNAL Instance method Private Method List of Submenus 20000628
13 HIDE_FUNCTIONS Instance method Public Method Hide Functions 19981127
14 INITIALIZE_FROM_SOURCE Instance method Public Method Internal Use 19981127
15 LOAD_GUI_STATUS Static method Public Method Load a Predefined Context Menu 19981127
16 MODIFY_FUNCTION_TEXT Instance method Public Method Change a function text 19990511
17 ON_SUBMENU_CHANGED Instance method Private Event handling method Internal Use (Toolbar Menus) 19990916
18 RESET Instance method Public Method Reset to Initial Value 19981127
19 SET_DEFAULT_FUNCTION Instance method Public Method Set Default Functions 19990416
20 SHOW_FUNCTIONS Instance method Public Method Show Functions 19981127
Events
# Event Type Visibility Description Created on
1 CHANGED Instance Event
(0)
Public
(2)
Internal use (Toolbar Control) 19990916
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 L_OBJECTS Private See coding L_OBJECTS 19990119
2 MODIF_ENTRY Private See coding Modified Codes 19981127
3 S_OBJECTS Private See coding Source Objects 19981127
Method Signatures

Method ADD_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCELERATOR Call by reference Type reference (TYPE) CUA_PATH Direktanwahl 19990312
2 Importing CHECKED Call by reference Type reference (TYPE) CUA_ACTIVE Ausgewählt 19981127
3 Importing DISABLED Call by reference Type reference (TYPE) CUA_ACTIVE Inaktiv 19981127
4 Importing FCODE Call by reference Type reference (TYPE) UI_FUNC Funktionscode 19981127
5 Importing FTYPE Call by reference Type reference (TYPE) CUA_FTYP Funktionstyp 19981127
6 Importing HIDDEN Call by reference Type reference (TYPE) CUA_ACTIVE Unsichtbar 19981127
7 Importing ICON Call by reference Type reference (TYPE) ICON_D Ikonen 19981127
8 Importing INSERT_AT_THE_TOP Call by reference Type reference (TYPE) FLAG SPACE An erster Stelle einfügen (Default: an letzter Stelle einfg) 20100713
9 Importing TEXT Call by reference Type reference (TYPE) GUI_TEXT Funktionstext 19981127

Method ADD_FUNCTION on class CL_CTMENU has no exception.

Method ADD_MENU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MENU Call by reference Object reference (TYPE REF TO) CL_CTMENU Einzubindendes Menü 19981127

Method ADD_MENU on class CL_CTMENU has no exception.

Method ADD_SEPARATOR Signature

Method ADD_SEPARATOR on class CL_CTMENU has no parameter.
Method ADD_SEPARATOR on class CL_CTMENU has no exception.

Method ADD_SUBMENU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCELERATOR Call by reference Type reference (TYPE) CUA_PATH Direktanwahl 19990312
2 Importing DISABLED Call by reference Type reference (TYPE) CUA_ACTIVE Inaktiv 19981127
3 Importing HIDDEN Call by reference Type reference (TYPE) CUA_ACTIVE Unsichtbar 19981127
4 Importing ICON Call by reference Type reference (TYPE) ICON_D Ikonenstring 19981127
5 Importing MENU Call by reference Object reference (TYPE REF TO) CL_CTMENU Submenü 19981127
6 Importing TEXT Call by reference Type reference (TYPE) GUI_TEXT Text 19981127

Method ADD_SUBMENU on class CL_CTMENU has no exception.

Method CLEAR Signature

Method CLEAR on class CL_CTMENU has no parameter.
Method CLEAR on class CL_CTMENU has no exception.

Method DISABLE_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODES Call by reference Type reference (TYPE) UI_FUNCTIONS Funktionscodes 19981127

Method DISABLE_FUNCTIONS on class CL_CTMENU has no exception.

Method ENABLE_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODES Call by reference Type reference (TYPE) UI_FUNCTIONS Funktionscodes 19981127

Method ENABLE_FUNCTIONS on class CL_CTMENU has no exception.

Method GET_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting FCODES Call by reference Type reference (TYPE) UI_FUNCATTR Funktionsliste 19990326

Method GET_FUNCTIONS on class CL_CTMENU has no exception.

Method GET_FUNCTIONS_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing FCODES Call by reference Type reference (TYPE) UI_FUNCATTR Funktionsliste 19990326

Method GET_FUNCTIONS_INTERNAL on class CL_CTMENU has no exception.

Method GET_MENU_PATH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ACCELERATOR Call by reference Type reference (TYPE) CUA_PATH Direktanwahl 19990318
2 Changing S_BYTE_CHAR Call by reference Type reference (TYPE) SYCHAR30 String für Direktanwahl in Double Byte Sprachen 19990318
3 Importing TEXT Call by reference Type reference (TYPE) GUI_TEXT Text des Menüeintrags 19990318

Method GET_MENU_PATH on class CL_CTMENU has no exception.

Method GET_SUBMENUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting MENUS Call by reference Type reference (TYPE) UI_MENUS Submenus 20000628

Method GET_SUBMENUS on class CL_CTMENU has no exception.

Method GET_SUBMENUS_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing MENUS Call by reference Type reference (TYPE) UI_MENUS Kontext Menü: Submenüs 20000628
2 Importing PAR_POS Value transfer Type reference (TYPE) STRING Position des übergeodrneten Menüs 20000628

Method GET_SUBMENUS_INTERNAL on class CL_CTMENU has no exception.

Method HIDE_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODES Call by reference Type reference (TYPE) UI_FUNCTIONS Funktionscode 19981127

Method HIDE_FUNCTIONS on class CL_CTMENU has no exception.

Method INITIALIZE_FROM_SOURCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SOURCE_MENU Call by reference Type reference (TYPE) SCTX_ENTRYTAB Menü 19981127

Method INITIALIZE_FROM_SOURCE on class CL_CTMENU has no exception.

Method LOAD_GUI_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DISABLE Call by reference Type reference (TYPE) UI_FUNCTIONS Inaktive Funktionen 19981204
2 Importing MENU Call by reference Object reference (TYPE REF TO) CL_CTMENU Menüreferenz 19981127
3 Importing PROGRAM Call by reference Type reference (TYPE) PROGRAM Programmname 19981127
4 Importing STATUS Call by reference Type reference (TYPE) CUA_STATUS Status 19981127
# Exception Resumable Description Created on
1 READ_ERROR Lesefehler 19981127

Method MODIFY_FUNCTION_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCELERATOR Call by reference Type reference (TYPE) CUA_PATH Direktanwahl 19990511
2 Importing FCODE Call by reference Type reference (TYPE) UI_FUNC Funktionscode 19990511
3 Importing TEXT Call by reference Type reference (TYPE) GUI_TEXT Funktionstext 19990511

Method MODIFY_FUNCTION_TEXT on class CL_CTMENU has no exception.

Method ON_SUBMENU_CHANGED Signature

Method ON_SUBMENU_CHANGED on class CL_CTMENU has no parameter.
Method ON_SUBMENU_CHANGED on class CL_CTMENU has no exception.

Method RESET Signature

Method RESET on class CL_CTMENU has no parameter.
Method RESET on class CL_CTMENU has no exception.

Method SET_DEFAULT_FUNCTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODE Call by reference Type reference (TYPE) UI_FUNC Default Funktionscode 19990416

Method SET_DEFAULT_FUNCTION on class CL_CTMENU has no exception.

Method SHOW_FUNCTIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FCODES Call by reference Type reference (TYPE) UI_FUNCTIONS Funktionscodes 19981127

Method SHOW_FUNCTIONS on class CL_CTMENU has no exception.
Event Signatures

Event CHANGED Signature
Event CHANGED on class CL_CTMENU has no parameter.
History
Last changed by/on SAP  20110908 
SAP Release Created in