AFTER_SELECTION SAP Method After Data Selection
Below is documentation, parameters and attributes of ABAP Method AFTER_SELECTION within SAP class IF_EX_SN_LIST_CUSTSEL. 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_EX_SN_LIST_CUSTSEL 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 AFTER_SELECTION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method AFTER_SELECTION
.| Name | Type | Data Type | Description | Default Value |
| I_CONTAINER | Importing | TYPE XSTRING | Container with Selection Options | |
| I_F4HELP | Importing | TYPE CHAR1 | S or M: List Used as F4 Help | |
| I_ORIGIN | Importing | TYPE COCF_SRN_ORIGIN | Origin or Use of Shift Note or Report | |
| I_SEARCH_MODE | Importing | TYPE CHAR1 | B = Basic, A = Advanced, C = Comprehensive Search | |
| CT_SNOTE | Changing | TYPE COCF_T_SN_LIST | Shift Notes |
Exceptions of Method AFTER_SELECTION
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_SN_LIST_CUSTSEL.
DATA: lv_CT_SNOTE TYPE COCF_T_SN_LIST,
lv_I_CONTAINER TYPE XSTRING,
lv_I_F4HELP TYPE CHAR1,
lv_I_ORIGIN TYPE COCF_SRN_ORIGIN,
lv_I_SEARCH_MODE TYPE CHAR1,
lv_other TYPE c.
CALL METHOD lo_class=>AFTER_SELECTION(
EXPORTING
I_CONTAINER = lv_I_CONTAINER
I_F4HELP = lv_I_F4HELP
I_ORIGIN = lv_I_ORIGIN
I_SEARCH_MODE = lv_I_SEARCH_MODE
CHANGING
CT_SNOTE = lv_CT_SNOTE ).
Links to Related Class(s)
IF_EX_SN...Full list of available SAP object classes
Search for further information about these or an SAP related objects