GET_RELEVANT_COLS_FOR_SEARCH SAP Method Removes columns which are not searchable
Below is documentation, parameters and attributes of ABAP Method GET_RELEVANT_COLS_FOR_SEARCH within SAP class CL_FPM_LIST_UTILS. 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 CL_FPM_LIST_UTILS into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method GET_RELEVANT_COLS_FOR_SEARCH can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_RELEVANT_COLS_FOR_SEARCH
.| Name | Type | Data Type | Description | Default Value |
| IO_FIELD_CATALOG | Importing | TYPE REF TO CL_ABAP_STRUCTDESCR | ||
| IO_PERSONALIZATION | Importing | TYPE REF TO IF_FPM_LIST_SETTINGS_CONTROL | ||
| IT_LIST_CONFIGURED_COLS | Importing | TYPE IF_FPM_LIST_TYPES=>YT_COLUMN | ||
| IT_TREE_CONFIGURED_COLS | Importing | TYPE CL_FPM_GUIBB_BASE_RENDER=>T_COLUMN | ||
| ET_COLS | Exporting | TYPE STRING_TABLE |
Exceptions of Method GET_RELEVANT_COLS_FOR_SEARCH
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_COLS TYPE STRING_TABLE,
lv_IO_FIELD_CATALOG TYPE CL_ABAP_STRUCTDESCR,
lv_IO_PERSONALIZATION TYPE IF_FPM_LIST_SETTINGS_CONTROL,
lv_IT_LIST_CONFIGURED_COLS TYPE IF_FPM_LIST_TYPES=>YT_COLUMN,
lv_IT_TREE_CONFIGURED_COLS TYPE CL_FPM_GUIBB_BASE_RENDER=>T_COLUMN,
lv_other TYPE c.
CALL METHOD CL_FPM_LIST_UTILS=>GET_RELEVANT_COLS_FOR_SEARCH(
EXPORTING
IO_FIELD_CATALOG = lv_IO_FIELD_CATALOG
IO_PERSONALIZATION = lv_IO_PERSONALIZATION
IT_LIST_CONFIGURED_COLS = lv_IT_LIST_CONFIGURED_COLS
IT_TREE_CONFIGURED_COLS = lv_IT_TREE_CONFIGURED_COLS
IMPORTING
ET_COLS = lv_ET_COLS ).
Links to Related Class(s)
CL_FPM_L...Full list of available SAP object classes
Search for further information about these or an SAP related objects