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

.

NameTypeData TypeDescriptionDefault Value
IT_SCREEN_STRUCTUREImportingTYPE
ANY
IV_ALL_VALUESImportingTYPE
ABAP_BOOL
IV_ECM_ACTIVEImportingTYPE
COMT_BOOLEAN
Logical Variable
IV_OBJECT_KEYImportingTYPE
CRMT_BSP_OBJECTKEY
Object Key
IV_SCREEN_STRUCTURE_NAMEImportingTYPE
CRMT_BSP_SCRSTRUCNAME
Structure Name of Display Field
ET_FIELD_CATALOGExportingTYPE
CRMT_BSP_VALUELIST_FIELD_CAT_T
Field Catalog for Basic F4 (Value Table)
CT_DROPDOWNLB_DATAChangingTYPE
CRMT_DROPDOWNLISTBOX_DATA_TAB
Table with Entries for Dropdown List Box



Exceptions of Method FILL_DROPDOWN_LISTBOX

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!