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 | 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 | Constant | Private | Type reference (TYPE) | SYCHAR01 | SPACE | False | 19990326 | ||
| 2 | Constant | Private | Type reference (TYPE) | SYCHAR02 | 'SL' | Single-Byte Language | 19990318 | ||
| 3 | Constant | Private | Type reference (TYPE) | SYCHAR30 | 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | Constant Single-Byte Characters for Double-Byte Languages | 19990318 | ||
| 4 | Constant | Private | Type reference (TYPE) | SYCHAR01 | 'X' | True | 19990326 | ||
| 5 | Instance attribute | Public | Type reference (TYPE) | UI_FUNC | Default Function | 19990416 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SCTX_ENTRYTAB | Context Menu | 19981127 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | LASPEZ | Language Type (Double-/Single-Byte) | 19990318 | |||
| 8 | Static Attribute | Private | See coding | Load References | 19990119 | ||||
| 9 | Instance attribute | Private | See coding | Modified Attributes | 19981127 | ||||
| 10 | Static Attribute | Private | See coding | Source References | 19981127 |
Methods
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 | ACCELERATOR | Call by reference | Type reference (TYPE) | CUA_PATH | Direktanwahl | 19990312 | |||
| 2 | CHECKED | Call by reference | Type reference (TYPE) | CUA_ACTIVE | Ausgewählt | 19981127 | |||
| 3 | DISABLED | Call by reference | Type reference (TYPE) | CUA_ACTIVE | Inaktiv | 19981127 | |||
| 4 | FCODE | Call by reference | Type reference (TYPE) | UI_FUNC | Funktionscode | 19981127 | |||
| 5 | FTYPE | Call by reference | Type reference (TYPE) | CUA_FTYP | Funktionstyp | 19981127 | |||
| 6 | HIDDEN | Call by reference | Type reference (TYPE) | CUA_ACTIVE | Unsichtbar | 19981127 | |||
| 7 | ICON | Call by reference | Type reference (TYPE) | ICON_D | Ikonen | 19981127 | |||
| 8 | INSERT_AT_THE_TOP | Call by reference | Type reference (TYPE) | FLAG | SPACE | An erster Stelle einfügen (Default: an letzter Stelle einfg) | 20100713 | ||
| 9 | 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 | 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 | ACCELERATOR | Call by reference | Type reference (TYPE) | CUA_PATH | Direktanwahl | 19990312 | |||
| 2 | DISABLED | Call by reference | Type reference (TYPE) | CUA_ACTIVE | Inaktiv | 19981127 | |||
| 3 | HIDDEN | Call by reference | Type reference (TYPE) | CUA_ACTIVE | Unsichtbar | 19981127 | |||
| 4 | ICON | Call by reference | Type reference (TYPE) | ICON_D | Ikonenstring | 19981127 | |||
| 5 | MENU | Call by reference | Object reference (TYPE REF TO) | CL_CTMENU | Submenü | 19981127 | |||
| 6 | 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 | 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 | 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 | 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 | 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 | ACCELERATOR | Call by reference | Type reference (TYPE) | CUA_PATH | Direktanwahl | 19990318 | |||
| 2 | S_BYTE_CHAR | Call by reference | Type reference (TYPE) | SYCHAR30 | String für Direktanwahl in Double Byte Sprachen | 19990318 | |||
| 3 | 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 | 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 | MENUS | Call by reference | Type reference (TYPE) | UI_MENUS | Kontext Menü: Submenüs | 20000628 | |||
| 2 | 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 | 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 | 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 | DISABLE | Call by reference | Type reference (TYPE) | UI_FUNCTIONS | Inaktive Funktionen | 19981204 | |||
| 2 | MENU | Call by reference | Object reference (TYPE REF TO) | CL_CTMENU | Menüreferenz | 19981127 | |||
| 3 | PROGRAM | Call by reference | Type reference (TYPE) | PROGRAM | Programmname | 19981127 | |||
| 4 | STATUS | Call by reference | Type reference (TYPE) | CUA_STATUS | Status | 19981127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Lesefehler | 19981127 |
Method MODIFY_FUNCTION_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACCELERATOR | Call by reference | Type reference (TYPE) | CUA_PATH | Direktanwahl | 19990511 | |||
| 2 | FCODE | Call by reference | Type reference (TYPE) | UI_FUNC | Funktionscode | 19990511 | |||
| 3 | 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 | 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 | 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 |