RETRIEVE_CUSTOM_VALUES SAP Method Returns an internal table of key/pair values
Below is documentation, parameters and attributes of ABAP Method RETRIEVE_CUSTOM_VALUES within SAP class IF_BSP_WD_CUSTOM_F4_CALLBACK. 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_WD_CUSTOM_F4_CALLBACK 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 RETRIEVE_CUSTOM_VALUES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method RETRIEVE_CUSTOM_VALUES
.| Name | Type | Data Type | Description | Default Value |
| IR_CUSTOM_REF | Importing | TYPE REF TO OBJECT | Custom help object reference | |
| IS_SEARCH_HELP | Importing | TYPE SHLP_DESCR | Selection Options for Search Helps | |
| EV_KEY_TITLE | Exporting | TYPE STRING | Key column header title | |
| EV_KEY_TITLE_LENGTH | Exporting | TYPE DDLENG | Overwrite default column lenght for key column | |
| EV_VALUE_TITLE | Exporting | TYPE STRING | Value column header title | |
| EV_VALUE_TITLE_LENGTH | Exporting | TYPE DDLENG | Overwrite default column lenght for value column | |
| CT_RESULTS_TAB | Changing | TYPE SHSVALTAB | Business Server Pages (BSP) Value List Search Help |
Exceptions of Method RETRIEVE_CUSTOM_VALUES
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_BSP_WD_CUSTOM_F4_CALLBACK.
DATA: lv_CT_RESULTS_TAB TYPE SHSVALTAB,
lv_EV_KEY_TITLE TYPE STRING,
lv_EV_KEY_TITLE_LENGTH TYPE DDLENG,
lv_EV_VALUE_TITLE TYPE STRING,
lv_EV_VALUE_TITLE_LENGTH TYPE DDLENG,
lv_IR_CUSTOM_REF TYPE OBJECT,
lv_IS_SEARCH_HELP TYPE SHLP_DESCR,
lv_other TYPE c.
CALL METHOD lo_class=>RETRIEVE_CUSTOM_VALUES(
EXPORTING
IR_CUSTOM_REF = lv_IR_CUSTOM_REF
IS_SEARCH_HELP = lv_IS_SEARCH_HELP
IMPORTING
EV_KEY_TITLE = lv_EV_KEY_TITLE
EV_KEY_TITLE_LENGTH = lv_EV_KEY_TITLE_LENGTH
EV_VALUE_TITLE = lv_EV_VALUE_TITLE
EV_VALUE_TITLE_LENGTH = lv_EV_VALUE_TITLE_LENGTH
CHANGING
CT_RESULTS_TAB = lv_CT_RESULTS_TAB ).
Links to Related Class(s)
IF_BSP_W...Full list of available SAP object classes
Search for further information about these or an SAP related objects