ADD_SELECT_OPTION SAP Method add select option to selection table
Below is documentation, parameters and attributes of ABAP Method ADD_SELECT_OPTION within SAP class CL_IQAPIX_CHECK. 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_IQAPIX_CHECK 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 ADD_SELECT_OPTION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ADD_SELECT_OPTION
.| Name | Type | Data Type | Description | Default Value |
| I_HIGH | Importing | TYPE ANY | high value | |
| I_LOW | Importing | TYPE ANY | low value | |
| I_NAME | Importing | TYPE RSSCR_NAME | ABAP/4: Name of SELECT-OPTION / PARAMETER | |
| I_OPTION | Importing | TYPE TVARV_OPTI | ABAP: Selection option (EQ/BT/CP/...) | |
| I_SIGN | Importing | TYPE TVARV_SIGN | ABAP: ID: I/E (include/exclude values) | |
| C_SELTAB | Changing | TYPE RSPARAMS_TT | rsparams Table |
Exceptions of Method ADD_SELECT_OPTION
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_IQAPIX_CHECK.
DATA: lv_C_SELTAB TYPE RSPARAMS_TT,
lv_I_HIGH TYPE ANY,
lv_I_LOW TYPE ANY,
lv_I_NAME TYPE RSSCR_NAME,
lv_I_OPTION TYPE TVARV_OPTI,
lv_I_SIGN TYPE TVARV_SIGN,
lv_other TYPE c.
CALL METHOD lo_class=>ADD_SELECT_OPTION(
EXPORTING
I_HIGH = lv_I_HIGH
I_LOW = lv_I_LOW
I_NAME = lv_I_NAME
I_OPTION = lv_I_OPTION
I_SIGN = lv_I_SIGN
CHANGING
C_SELTAB = lv_C_SELTAB ).
Links to Related Class(s)
CL_IQAPI...Full list of available SAP object classes
Search for further information about these or an SAP related objects