SAP ABAP Class IF_FDT_WD_OBJECT_MENU (FDT WD: Object Menu)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_FDT_WD_OBJECT_MENU | FDT WD: Menu to select/create etc. FDT objects | 20090903 |
Properties
| Class | IF_FDT_WD_OBJECT_MENU | |
| Short Description | FDT WD: Object Menu | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20090901 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class IF_FDT_WD_OBJECT_MENU has no forward declaration.
Interfaces
Class IF_FDT_WD_OBJECT_MENU has no interface implemented.
Friends
Class IF_FDT_WD_OBJECT_MENU has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_ACTION' | Action | 20090903 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_CONTEXT_QUERY' | Action: Call Context (Query) | 20090903 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_OBJECT_CREATE' | Action: Create Object | 20090903 | ||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_OBJECT_ID' | Object ID | 20090903 | ||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_OBJECT_SELECTED' | Action: Object Selected | 20090903 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_OBJECT_TYPE' | Action: Object Type | 20090903 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_CALL_QUERY' | Action: Call Query | 20090903 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_OBJECT_REMOVE' | Action: Removes Object | 20090903 | ||
| 9 | Constant | Public | Type reference (TYPE) | I | 10 | Default number of quick selection items | 20090903 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_CONTEXT' | Context Menu Item | 20090903 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_CREATE' | Create Menu Item | 20090903 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_QUERY' | Query Menu Item | 20090903 | ||
| 13 | Constant | Public | Type reference (TYPE) | STRING | 'OBJECT_MENU_REMOVE' | Remove Menu Item | 20090903 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Returns the action parameter | 20090903 | |
| 2 | Instance method | Public | Method | Returns the menu item to alter its properties | 20090903 | |
| 3 | Instance method | Public | Method | Renders the menu | 20090903 | |
| 4 | Instance method | Public | Method | Renders the menu to enable standard binding (context+expr) | 20090903 | |
| 5 | Instance method | Public | Method | Sets the filter for data object types | 20090903 | |
| 6 | Instance method | Public | Method | Sets the filter for element types | 20090903 | |
| 7 | Instance method | Public | Method | Sets the filter for any FDT object (filter by ID) | 20090903 |
Events
Class IF_FDT_WD_OBJECT_MENU has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_ACTION_PARAMETER | Public | See coding | Object Types | 20090903 | BEGIN OF s_action_parameter,
action TYPE string,
object_id TYPE if_fdt_types=>id,
object_type TYPE if_fdt_types=>object_type,
END OF s_action_parameter
|
|
| 2 | S_CONFIGURATION | Public | See coding | Configuration | 20090903 | BEGIN OF s_configuration ,
hide_system_objects_menu TYPE boole_d, "true: hide system objects menu
hide_create_entry TYPE boole_d, "true: hide 'Create...' menu entry
hide_remove_entry TYPE boole_d, "true: hide 'Remove...' menu entry
hide_query_entry TYPE boole_d, "true: hide 'Select...' menu entry
hide_quicklinks TYPE boole_d, "true: hide quick links section
max_items TYPE i, "max menu items, default = 10, infinite = -1
END OF s_configuration
|
|
| 3 | T_DATA_OBJECT_TYPE | Public | See coding | Collection of data object types | 20090903 | t_data_object_type TYPE STANDARD TABLE OF if_fdt_types=>data_object_type
|
|
| 4 | T_ELEMENT_TYPE | Public | See coding | Collection of element types | 20090903 | t_element_type TYPE STANDARD TABLE OF if_fdt_types=>element_type
|
Method Signatures
Method GET_ACTION_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EVENT | Call by reference | Object reference (TYPE REF TO) | CL_WD_CUSTOM_EVENT | Web Dynpro: Event | 20090903 | |||
| 2 | RS_ACTION_PARAMETER | Value transfer | Type reference (TYPE) | S_ACTION_PARAMETER | Action Parameters | 20090903 |
Method GET_ACTION_PARAMETER on class IF_FDT_WD_OBJECT_MENU has no exception.
Method GET_MENU_ITEM_BY_ID 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 | Menu | 20090903 | |||
| 2 | IV_MENU_ITEM_ID | Call by reference | Type reference (TYPE) | STRING | ID of the menu item (->GC_MENU_ITEM...) | 20090903 | |||
| 3 | RO_MENU_ITEM | Value transfer | Object reference (TYPE REF TO) | CL_WD_MENU_ITEM | Perforce change= / 20050316-075430 | 20090903 |
Method GET_MENU_ITEM_BY_ID on class IF_FDT_WD_OBJECT_MENU has no exception.
Method RENDER_MENU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_STATE | Call by reference | Object reference (TYPE REF TO) | IF_FDT_WD_STATE | FDT WD: State | 20090903 | |||
| 2 | IO_VIEW | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW | View | 20090903 | |||
| 3 | IS_CONFIGURATION | Call by reference | Type reference (TYPE) | S_CONFIGURATION | Configuration, details see type S_CONFIGURATION | 20090903 | |||
| 4 | IS_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_WD_TYPES=>S_OBJECT_TYPE_EXTENDED | Object Type | 20090903 | |||
| 5 | IT_EVENT_PARAMETER | Call by reference | Type reference (TYPE) | WDR_NAME_VALUE_LIST | Application-specific event parameters | 20090903 | |||
| 6 | IV_ACTION_HANDLER | Call by reference | Type reference (TYPE) | STRING | Action Handler (View) | 20090903 | |||
| 7 | IV_BIND_ENABLED_PATH | Call by reference | Type reference (TYPE) | STRING | Path of enabled attribute | 20090903 | |||
| 8 | IV_BOUND_OBJECT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Object, which is currently bounded...initial is possible! | 20090903 | |||
| 9 | IV_MENU_ID | Call by reference | Type reference (TYPE) | STRING | ID of the menu element in the view | 20090903 |
Method RENDER_MENU on class IF_FDT_WD_OBJECT_MENU has no exception.
Method RENDER_MENU_DEFAULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_STATE | Call by reference | Object reference (TYPE REF TO) | IF_FDT_WD_STATE | FDT WD: State | 20090903 | |||
| 2 | IO_VIEW | Call by reference | Object reference (TYPE REF TO) | IF_WD_VIEW | View | 20090903 | |||
| 3 | IS_CONFIGURATION | Call by reference | Type reference (TYPE) | S_CONFIGURATION | Configuration, details see type S_CONFIGURATION | 20090903 | |||
| 4 | IT_EVENT_PARAMETER | Call by reference | Type reference (TYPE) | WDR_NAME_VALUE_LIST | Application-specific event parameters | 20090903 | |||
| 5 | IV_ACTION_HANDLER | Call by reference | Type reference (TYPE) | STRING | Action Handler | 20090903 | |||
| 6 | IV_ACTION_MODE | Call by reference | Type reference (TYPE) | BOOLE_D | Bind (FDT) Actions instead of expressions | 20090903 | |||
| 7 | IV_BIND_ENABLED_PATH | Call by reference | Type reference (TYPE) | STRING | Path of enabled attribute | 20090903 | |||
| 8 | IV_BOUND_OBJECT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | Object, which is currently bounded...initial is possible! | 20090903 | |||
| 9 | IV_MENU_ID | Call by reference | Type reference (TYPE) | STRING | ID of the menu element in the view | 20090903 |
Method RENDER_MENU_DEFAULT on class IF_FDT_WD_OBJECT_MENU has no exception.
Method SET_FILTER_DATA_OBJECT_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA_OBJECT_TYPES | Call by reference | Type reference (TYPE) | T_DATA_OBJECT_TYPE | Data Object Types | 20090903 |
Method SET_FILTER_DATA_OBJECT_TYPES on class IF_FDT_WD_OBJECT_MENU has no exception.
Method SET_FILTER_ELEMENT_TYPES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ELEMENT_TYPES | Call by reference | Type reference (TYPE) | T_ELEMENT_TYPE | Element Types | 20090903 |
Method SET_FILTER_ELEMENT_TYPES on class IF_FDT_WD_OBJECT_MENU has no exception.
Method SET_FILTER_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ITH_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TH_OBJECT_ID | Objects, which have to be filtered out | 20090903 |
Method SET_FILTER_OBJECTS on class IF_FDT_WD_OBJECT_MENU has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |