SAP ABAP Class CL_ESD_LISTBOX (ESD: Listbox)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-WS-ABA (Application Component) Web Service Tools - ABAP
⤷
SESD_ESI_OBJECT_EDITORS_REUSE (Package) Unified Editors Reuse-Parts
⤷
⤷
Properties
| Class | CL_ESD_LISTBOX | |
| Short Description | ESD: Listbox | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SESD_ESI_OBJECT_EDITORS_REUSE | Unified Editors Reuse-Parts |
| Created | 20060214 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ESD_LISTBOX has no interface implemented.
Friends
Class CL_ESD_LISTBOX has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | ESD_LISTBOX_TYPE | 'AG' | Listbox type ALV grid | 20060214 | ||
| 2 | Constant | Public | Type reference (TYPE) | ESD_LISTBOX_TYPE | 'DY' | Listbox type dynpro | 20060214 | ||
| 3 | Constant | Public | Type reference (TYPE) | FLAG | SPACE | Off | 20060214 | ||
| 4 | Constant | Public | Type reference (TYPE) | FLAG | 'X' | On | 20060214 | ||
| 5 | Static Attribute | Protected | Type reference (TYPE) | ESD_LISTBOX_OBJECTS_T | Table with listbox objects | 20060214 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | VRM_VALUES | 20060214 | ||||
| 7 | Instance attribute | Protected | Type reference (TYPE) | INT4 | Handle (for listbox in ALV-Grids) | 20060214 | |||
| 8 | Static Attribute | Protected | Type reference (TYPE) | INT4 | Handle counter (for Handle-usage in listboxes) | 20060214 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Creates a key string | 20060214 | |
| 2 | Instance method | Protected | Method | Fills a list box with key/value pairs | 20060214 | |
| 3 | Instance method | Public | Method | DESTRUCTOR | 20060214 | |
| 4 | Instance method | Protected | Method | Generates the data for the list box | 20060214 | |
| 5 | Instance method | Public | Method | Return List Box Values (e.g. for an ALV Grid) | 20060214 | |
| 6 | Instance method | Public | Method | Returns the key of the first entry | 20060214 | |
| 7 | Instance method | Public | Method | Returns the handle | 20060214 | |
| 8 | Instance method | Public | Method | Returns a code for a text | 20060214 | |
| 9 | Instance method | Public | Method | Returns a text for a code | 20060214 | |
| 10 | Instance method | Public | Method | Returns the list box entries | 20060214 | |
| 11 | Instance method | Public | Method | Reports if list box contains supplied key | 20060214 |
Events
Class CL_ESD_LISTBOX has no event.
Types
Class CL_ESD_LISTBOX has no local type.
Method Signatures
Method BUILD_OBJECT_KEY Signature
Method BUILD_OBJECT_KEY on class CL_ESD_LISTBOX has no exception.
Method FILL_LISTBOX_INTERNAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DROP_DOWN_ALIAS | Call by reference | Type reference (TYPE) | LVC_T_DRAL | Table for Drop Down Handles with Aliases | 20060214 | |||
| 2 | EV_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Code | 20060214 | |||
| 3 | IV_FIELDNAME | Call by reference | Type reference (TYPE) | VRM_ID | Dynpro Feldname | 20060214 | |||
| 4 | IV_LISTBOX_TYPE | Call by reference | Type reference (TYPE) | ESD_LISTBOX_TYPE | CL_ESD_LISTBOX=>C_LISTBOX_TYPE_DYNPRO | Type of Listbox | 20060214 | ||
| 5 | IV_REFRESH | Call by reference | Type reference (TYPE) | FLAG | SPACE | Refresh | 20060214 |
Method FILL_LISTBOX_INTERNAL on class CL_ESD_LISTBOX has no exception.
Method FREE Signature
Method FREE on class CL_ESD_LISTBOX has no parameter.
Method FREE on class CL_ESD_LISTBOX has no exception.
Method GENERATE_VRM_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_REFRESH | Call by reference | Type reference (TYPE) | FLAG | '' | General Flag | 20060214 | ||
| 2 | RV_RC | Value transfer | Type reference (TYPE) | SYSUBRC | Return Code | 20060214 |
Method GENERATE_VRM_VALUES on class CL_ESD_LISTBOX has no exception.
Method GET_DROP_DOWN_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DROP_DOWN_ALIAS | Call by reference | Type reference (TYPE) | LVC_T_DRAL | Table for Drop Down Handles with Aliases | 20060214 | |||
| 2 | EV_HANDLE | Call by reference | Type reference (TYPE) | INT4 | Listbox Handle | 20060214 | |||
| 3 | EV_RC | Call by reference | Type reference (TYPE) | SYSUBRC | Return Code | 20060214 |
Method GET_DROP_DOWN_VALUES on class CL_ESD_LISTBOX has no exception.
Method GET_FIRST_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_KEY | Value transfer | Type reference (TYPE) | VRM_VALUE-KEY | 20060214 |
Method GET_FIRST_KEY on class CL_ESD_LISTBOX has no exception.
Method GET_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_HANDLE | Value transfer | Type reference (TYPE) | INT4 | Handle | 20060214 |
Method GET_HANDLE on class CL_ESD_LISTBOX has no exception.
Method GET_VRM_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VRM_TEXT | Call by reference | Type reference (TYPE) | VRM_VALUE-TEXT | 20060214 | ||||
| 2 | RV_VRM_KEY | Value transfer | Type reference (TYPE) | VRM_VALUE-KEY | 20060214 |
Method GET_VRM_KEY on class CL_ESD_LISTBOX has no exception.
Method GET_VRM_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VRM_KEY | Call by reference | Type reference (TYPE) | VRM_VALUE-KEY | 20060214 | ||||
| 2 | RV_VRM_TEXT | Value transfer | Type reference (TYPE) | VRM_VALUE-TEXT | 20060214 |
Method GET_VRM_TEXT on class CL_ESD_LISTBOX has no exception.
Method GET_VRM_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_VRM_VALUES | Value transfer | Type reference (TYPE) | VRM_VALUES | Listbox values | 20060214 |
Method GET_VRM_VALUES on class CL_ESD_LISTBOX has no exception.
Method HAS_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_KEY | Call by reference | Type reference (TYPE) | VRM_VALUE-KEY | Key of a listbox entry | 20060214 | |||
| 2 | RV_HAS_KEY | Value transfer | Type reference (TYPE) | FLAG | Key exists | 20060214 |
Method HAS_KEY on class CL_ESD_LISTBOX has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |