SET_FOCUS SAP Method of class CL_FPM_SEARCH_UIBB_SELOPT









Below is documentation, parameters and attributes of ABAP Method SET_FOCUS within SAP class CL_FPM_SEARCH_UIBB_SELOPT. 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_SEARCH_UIBB_SELOPT 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 SET_FOCUS can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SET_FOCUS

.

NameTypeData TypeDescriptionDefault Value
IV_COLUMNImportingTYPE
FPMGB_SEARCH_FOCUS_COLUMN
Column for focus (not used for filter bar)
IV_HIGHImportingTYPE
BOOLE_D
Indicator for HIGH Field
IV_INDEXImportingTYPE
I
Index of search attribute in table FPM_SEARCH_CRITERIA
IV_SEARCH_ATTRImportingTYPE
NAME_KOMP
Name of search attribute
IV_SEARCH_STD_FUNCTIONImportingTYPE
FPMGB_SEARCH_STD_FUNCT
Constants in IF_FPM_GUIBB_CONSTANTS=>GC_SEARCH_STD_FUNCT
RV_IS_FOCUS_POSSIBLEReturningTYPE
BOOLE_D
Indicator: Search Criteria are collapsed



Exceptions of Method SET_FOCUS

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO CL_FPM_SEARCH_UIBB_SELOPT.
DATA: lv_IV_COLUMN TYPE FPMGB_SEARCH_FOCUS_COLUMN,
lv_IV_HIGH TYPE BOOLE_D,
lv_IV_INDEX TYPE I,
lv_IV_SEARCH_ATTR TYPE NAME_KOMP,
lv_IV_SEARCH_STD_FUNCTION TYPE FPMGB_SEARCH_STD_FUNCT,
lv_RV_IS_FOCUS_POSSIBLE TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD lo_class=>SET_FOCUS(
EXPORTING
IV_COLUMN = lv_IV_COLUMN
IV_HIGH = lv_IV_HIGH
IV_INDEX = lv_IV_INDEX
IV_SEARCH_ATTR = lv_IV_SEARCH_ATTR
IV_SEARCH_STD_FUNCTION = lv_IV_SEARCH_STD_FUNCTION
RECEIVING
RV_IS_FOCUS_POSSIBLE = lv_RV_IS_FOCUS_POSSIBLE )



"Alternate coding for Method Call with returning parameter
lv_RV_IS_FOCUS_POSSIBLE = lo_class=>SET_FOCUS(
EXPORTING
IV_COLUMN = lv_IV_COLUMN
IV_HIGH = lv_IV_HIGH
IV_INDEX = lv_IV_INDEX
IV_SEARCH_ATTR = lv_IV_SEARCH_ATTR
IV_SEARCH_STD_FUNCTION = lv_IV_SEARCH_STD_FUNCTION ).

Links to Related Class(s)

CL_FPM_S...
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!