SET_FOCUS_ON_INPUTFIELD SAP Method Set Focus on a Specific Input Field
Below is documentation, parameters and attributes of ABAP Method SET_FOCUS_ON_INPUTFIELD within SAP class CL_DPR_UI_SERVICES. 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_DPR_UI_SERVICES 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 SET_FOCUS_ON_INPUTFIELD can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_FOCUS_ON_INPUTFIELD
.| Name | Type | Data Type | Description | Default Value |
| IO_VIEW | Importing | TYPE REF TO IF_WD_VIEW | Web Dynpro: API of a View | |
| IV_FIELD_ID | Importing | TYPE STRING | The ID of a Specific Input Field |
Exceptions of Method SET_FOCUS_ON_INPUTFIELD
This method does not have any exceptionsExample ABAP coding
DATA: lv_IO_VIEW TYPE IF_WD_VIEW,
lv_IV_FIELD_ID TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_DPR_UI_SERVICES=>SET_FOCUS_ON_INPUTFIELD(
EXPORTING
IO_VIEW = lv_IO_VIEW
IV_FIELD_ID = lv_IV_FIELD_ID ).
Links to Related Class(s)
CL_DPR_U...Full list of available SAP object classes
Search for further information about these or an SAP related objects