SAP ABAP Class CL_FPM_CTXT_MENU (Context Menu)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
⤷
APB_FPM_CORE (Package) Floorplan Manager (Framework)
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FPM_CTXT_MENU | Context Menu | 20110606 |
Properties
| Class | CL_FPM_CTXT_MENU | |
| Short Description | Context Menu | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | APB_FPM_CORE | Floorplan Manager (Framework) |
| Created | 20110606 | SAP |
| Last change | 20141120 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_FPM_CTXT_MENU | Context Menu | 20110606 |
Friends
Class CL_FPM_CTXT_MENU has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_WD_MENU | 20110608 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_WD_CONTEXT_MENU_EVENT | 20110608 | ||||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_WD_CONTEXT_MENU_MANAGER | 20110608 | ||||
| 4 | Static Attribute | Public | Type reference (TYPE) | TY_T_CTXT_MENU_EVENT | 20110608 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | 20110607 | ||
| 2 | Static method | Private | Method | 20140107 | ||
| 3 | Static method | Public | Method | 20111107 | ||
| 4 | Instance method | Public | Constructor | CONSTRUCTOR | 20110608 | |
| 5 | Static method | Public | Method | Creates a Context Menu from the CTXT_MENU configuration node | 20110607 | |
| 6 | Static method | Public | Method | Creates a Context Menu from a table | 20140107 | |
| 7 | Static method | Public | Method | Determines the context menu ID for a given view element | 20110607 | |
| 8 | Instance method | Public | Method | 20110608 | ||
| 9 | Static method | Public | Method | 20111031 |
Events
Class CL_FPM_CTXT_MENU has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_CTXT_MENU | Public | See coding | 20111031 | begin of ty_s_ctxt_menu,
id type fpm_ctxt_menu_id,
items type ty_t_ctxt_menu_item,
end of ty_s_ctxt_menu
|
||
| 2 | TY_S_CTXT_MENU_EVENT | Public | See coding | 20110608 | begin of ty_s_ctxt_menu_event,
id type string,
event type ref to cl_fpm_event,
end of ty_s_ctxt_menu_event
|
||
| 3 | TY_S_CTXT_MENU_ITEM | Public | See coding | 20110609 | begin of ty_s_ctxt_menu_item,
id type fpm_element_id,
type type fpm_ctxt_menu_item_type,
text type fpm_ctxt_menu_item_text,
add_separator type fpm_add_separator,
image_source type fpmgb_image_src,
submenu_id type fpm_ctxt_menu_id,
event_id type fpm_event_id,
event_parameters type string,
index type fpm_index,
action_type type fpm_action_type,
needs_more_info type wdy_boolean,
end of ty_s_ctxt_menu_item
|
||
| 4 | TY_T_CTXT_MENU | Public | See coding | 20111031 | ty_t_ctxt_menu type hashed table of ty_s_ctxt_menu with unique key id
|
||
| 5 | TY_T_CTXT_MENU_EVENT | Public | See coding | 20110608 | ty_t_ctxt_menu_event type hashed table of ty_s_ctxt_menu_event with unique key id
|
||
| 6 | TY_T_CTXT_MENU_ITEM | Public | See coding | 20110609 | ty_t_ctxt_menu_item type standard table of ty_s_ctxt_menu_item with key id
|
Method Signatures
Method ADD_MENU_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MENU | Call by reference | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20110607 | |||
| 2 | IO_VIEW | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW | Web Dynpro: API of a View | 20110607 | |||
| 3 | IT_ITEM | Call by reference | Type reference (TYPE) | TY_T_CTXT_MENU_ITEM | Web Dynpro: Number of Context Node Elements | 20110607 | |||
| 4 | IT_MENU | Call by reference | Type reference (TYPE) | WDR_CONTEXT_ELEMENT_SET | Web Dynpro: Number of Context Node Elements | 20110607 | |||
| 5 | ON_ACTION | Call by reference | Type reference (TYPE) | STRING | 20110617 | ||||
| 6 | ON_ACTION_NV | Call by reference | Type reference (TYPE) | STRING | 20110617 | ||||
| 7 | PATH | Call by reference | Type reference (TYPE) | STRING | 20110617 |
Method ADD_MENU_ITEMS on class CL_FPM_CTXT_MENU has no exception.
Method ADD_MENU_ITEMS_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MENU | Call by reference | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20140107 | |||
| 2 | IO_VIEW | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW | Web Dynpro: API of a View | 20140107 | |||
| 3 | IT_ITEM | Call by reference | Type reference (TYPE) | TY_T_CTXT_MENU_ITEM | Web Dynpro: Number of Context Node Elements | 20140107 | |||
| 4 | IT_MENU | Call by reference | Type reference (TYPE) | TY_T_CTXT_MENU | Web Dynpro: Number of Context Node Elements | 20140107 | |||
| 5 | ON_ACTION | Call by reference | Type reference (TYPE) | STRING | 20140107 | ||||
| 6 | ON_ACTION_NV | Call by reference | Type reference (TYPE) | STRING | 20140107 | ||||
| 7 | PATH | Call by reference | Type reference (TYPE) | STRING | 20140107 |
Method ADD_MENU_ITEMS_FROM_TABLE on class CL_FPM_CTXT_MENU has no exception.
Method ADD_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MENU | Call by reference | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20111107 | |||
| 2 | IT_PARAMETER | Call by reference | Type reference (TYPE) | WDR_NAME_VALUE_LIST | Table of Name/Value Pairs | 20111107 |
Method ADD_PARAMETER on class CL_FPM_CTXT_MENU has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTEXT_MENU_EVENT | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_MENU_EVENT | 20110608 | ||||
| 2 | CONTEXT_MENU_MANAGER | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_MENU_MANAGER | 20110608 | ||||
| 3 | IV_MENU_ID | Call by reference | Type reference (TYPE) | FPM_CTXT_MENU_ID | Context Menu ID | 20110608 | |||
| 4 | MENU | Call by reference | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20110608 |
Method CONSTRUCTOR on class CL_FPM_CTXT_MENU has no exception.
Method CREATE_MENU_FROM_CONFIG_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NODE_CTXT_MENU | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20110607 | |||
| 2 | IO_VIEW | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW | Web Dynpro: API of a View | 20110607 | |||
| 3 | IV_MENU_ID | Call by reference | Type reference (TYPE) | FPM_CTXT_MENU_ID | Context Menu ID | 20110607 | |||
| 4 | ON_ACTION | Call by reference | Type reference (TYPE) | STRING | 20110617 | ||||
| 5 | ON_ACTION_NV | Call by reference | Type reference (TYPE) | STRING | 20110617 | ||||
| 6 | PATH | Call by reference | Type reference (TYPE) | STRING | 20110617 | ||||
| 7 | RO_MENU | Value transfer | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20110607 |
Method CREATE_MENU_FROM_CONFIG_NODE on class CL_FPM_CTXT_MENU has no exception.
Method CREATE_MENU_FROM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_VIEW | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW | Web Dynpro: API of a View | 20140107 | |||
| 2 | IT_MENU | Call by reference | Type reference (TYPE) | TY_T_CTXT_MENU | Web Dynpro: Interface for Context Nodes | 20140107 | |||
| 3 | IV_MENU_ID | Call by reference | Type reference (TYPE) | FPM_CTXT_MENU_ID | Context Menu ID | 20140107 | |||
| 4 | ON_ACTION | Call by reference | Type reference (TYPE) | STRING | 20140107 | ||||
| 5 | ON_ACTION_NV | Call by reference | Type reference (TYPE) | STRING | 20140107 | ||||
| 6 | PATH | Call by reference | Type reference (TYPE) | STRING | 20140107 | ||||
| 7 | RO_MENU | Value transfer | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20140107 |
Method CREATE_MENU_FROM_TABLE on class CL_FPM_CTXT_MENU has no exception.
Method GET_CTXT_MENU_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_VIEW_ELEMENT | Call by reference | Object reference (TYPE REF TO) | CL_WDR_VIEW_ELEMENT | Web Dynpro View Element | 20110607 | |||
| 2 | RV_CTXT_MENU_ID | Value transfer | Type reference (TYPE) | FPM_CTXT_MENU_ID | Context Menu ID | 20110607 |
Method GET_CTXT_MENU_ID on class CL_FPM_CTXT_MENU has no exception.
Method GET_MENU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RO_MENU | Value transfer | Object reference (TYPE REF TO) | CL_WD_MENU | Perforce change= / 20051117-120623 | 20110608 |
Method GET_MENU on class CL_FPM_CTXT_MENU has no exception.
Method READ_FROM_CONTEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NODE | Call by reference | Object reference (TYPE REF TO) | IF_WD_CONTEXT_NODE | Web Dynpro: Interface for Context Nodes | 20111031 | |||
| 2 | RT_MENU | Value transfer | Type reference (TYPE) | TY_T_CTXT_MENU | 20111031 |
Method READ_FROM_CONTEXT on class CL_FPM_CTXT_MENU has no exception.
History
| Last changed by/on | SAP | 20141120 |
| SAP Release Created in | 731 |