FIND_CLAUSE SAP Method of class CL_ABAP_CALLED_PROGRAMS_E
Below is documentation, parameters and attributes of ABAP Method FIND_CLAUSE within SAP class CL_ABAP_CALLED_PROGRAMS_E. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.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_ABAP_CALLED_PROGRAMS_E 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 FIND_CLAUSE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FIND_CLAUSE
.| Name | Type | Data Type | Description | Default Value |
| P_START_INDEX | Importing | TYPE I | ||
| P_TOKENS | Importing | TYPE CL_ABAP_COMP_PROCS_E=>T_TOKENS | ||
| P_WORD_1 | Importing | TYPE STRING | ||
| P_WORD_2 | Importing | TYPE STRING | ||
| P_WORD_3 | Importing | TYPE STRING | ||
| P_WORD_4 | Importing | TYPE STRING | ||
| P_WORD_5 | Importing | TYPE STRING | ||
| P_TOKEN | Returning | TYPE CL_ABAP_COMP_PROCS_E=>T_TOKEN |
Exceptions of Method FIND_CLAUSE
This method does not have any exceptionsExample ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lv_P_START_INDEX TYPE I,
lv_P_TOKEN TYPE CL_ABAP_COMP_PROCS_E=>T_TOKEN,
lv_P_TOKENS TYPE CL_ABAP_COMP_PROCS_E=>T_TOKENS,
lv_P_WORD_1 TYPE STRING,
lv_P_WORD_2 TYPE STRING,
lv_P_WORD_3 TYPE STRING,
lv_P_WORD_4 TYPE STRING,
lv_P_WORD_5 TYPE STRING,
lv_other TYPE c.
CALL METHOD CL_ABAP_CALLED_PROGRAMS_E=>FIND_CLAUSE(
EXPORTING
P_START_INDEX = lv_P_START_INDEX
P_TOKENS = lv_P_TOKENS
P_WORD_1 = lv_P_WORD_1
P_WORD_2 = lv_P_WORD_2
P_WORD_3 = lv_P_WORD_3
P_WORD_4 = lv_P_WORD_4
P_WORD_5 = lv_P_WORD_5
RECEIVING
P_TOKEN = lv_P_TOKEN )
"Alternate coding for Method Call with returning parameter
lv_P_TOKEN = CL_ABAP_CALLED_PROGRAMS_E=>FIND_CLAUSE(
EXPORTING
P_START_INDEX = lv_P_START_INDEX
P_TOKENS = lv_P_TOKENS
P_WORD_1 = lv_P_WORD_1
P_WORD_2 = lv_P_WORD_2
P_WORD_3 = lv_P_WORD_3
P_WORD_4 = lv_P_WORD_4
P_WORD_5 = lv_P_WORD_5 ).
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects