FILL_DROPDOWN_LISTBOX SAP Method Read Dropdown Listbox Values
Below is documentation, parameters and attributes of ABAP Method FILL_DROPDOWN_LISTBOX within SAP class IF_BSP_DIFF_KEY_ADAPTER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_BSP_DIFF_KEY_ADAPTER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method FILL_DROPDOWN_LISTBOX can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FILL_DROPDOWN_LISTBOX
.| Name | Type | Data Type | Description | Default Value |
| IT_SCREEN_STRUCTURE | Importing | TYPE ANY | ||
| IV_ALL_VALUES | Importing | TYPE ABAP_BOOL | ||
| IV_ECM_ACTIVE | Importing | TYPE COMT_BOOLEAN | Logical Variable | |
| IV_OBJECT_KEY | Importing | TYPE CRMT_BSP_OBJECTKEY | Object Key | |
| IV_SCREEN_STRUCTURE_NAME | Importing | TYPE CRMT_BSP_SCRSTRUCNAME | Structure Name of Display Field | |
| ET_FIELD_CATALOG | Exporting | TYPE CRMT_BSP_VALUELIST_FIELD_CAT_T | Field Catalog for Basic F4 (Value Table) | |
| CT_DROPDOWNLB_DATA | Changing | TYPE CRMT_DROPDOWNLISTBOX_DATA_TAB | Table with Entries for Dropdown List Box |
Exceptions of Method FILL_DROPDOWN_LISTBOX
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_BSP_DIFF_KEY_ADAPTER.
DATA: lv_CT_DROPDOWNLB_DATA TYPE CRMT_DROPDOWNLISTBOX_DATA_TAB,
lv_ET_FIELD_CATALOG TYPE CRMT_BSP_VALUELIST_FIELD_CAT_T,
lv_IT_SCREEN_STRUCTURE TYPE ANY,
lv_IV_ALL_VALUES TYPE ABAP_BOOL,
lv_IV_ECM_ACTIVE TYPE COMT_BOOLEAN,
lv_IV_OBJECT_KEY TYPE CRMT_BSP_OBJECTKEY,
lv_IV_SCREEN_STRUCTURE_NAME TYPE CRMT_BSP_SCRSTRUCNAME,
lv_other TYPE c.
CALL METHOD lo_class=>FILL_DROPDOWN_LISTBOX(
EXPORTING
IT_SCREEN_STRUCTURE = lv_IT_SCREEN_STRUCTURE
IV_ALL_VALUES = lv_IV_ALL_VALUES
IV_ECM_ACTIVE = lv_IV_ECM_ACTIVE
IV_OBJECT_KEY = lv_IV_OBJECT_KEY
IV_SCREEN_STRUCTURE_NAME = lv_IV_SCREEN_STRUCTURE_NAME
IMPORTING
ET_FIELD_CATALOG = lv_ET_FIELD_CATALOG
CHANGING
CT_DROPDOWNLB_DATA = lv_CT_DROPDOWNLB_DATA ).
Links to Related Class(s)
IF_BSP_D...Full list of available SAP object classes
Search for further information about these or an SAP related objects