QUALIFY_TOKENS SAP Method Qualify token stream received from SCAN ABAP-SOURCE
Below is documentation, parameters and attributes of ABAP Method QUALIFY_TOKENS within SAP class CL_ABAP_PARSER. 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_ABAP_PARSER 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 QUALIFY_TOKENS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method QUALIFY_TOKENS
.| Name | Type | Data Type | Description | Default Value |
| INDEX_FROM | Importing | TYPE SSTMNT-FROM | Index of first token of statement in token table | |
| INDEX_TO | Importing | TYPE SSTMNT-TO | Index of last token of statement in token table | |
| OVERFLOW | Importing | TYPE C | ||
| SIMPLIFIED | Importing | TYPE CHAR1 | Single-Character Flag | |
| STATEMENT_TYPE | Importing | TYPE SSTMNT-TYPE | Type of statement (EXEC SQL, INCLUDE, macro, ..., rest) | |
| SIMPLIFIED | Importing | TYPE CHAR1 | -- obsolete -- | |
| STOKESX_TAB | Changing | TYPE SANA_STOKESX_TAB | ||
| STOKEX_TAB | Changing | TYPE SANA_STOKEX_TAB |
Exceptions of Method QUALIFY_TOKENS
CX_ABAP_PARSER - Exception while parsing ABAPExample ABAP coding
DATA: lv_INDEX_FROM TYPE SSTMNT-FROM,
lv_INDEX_TO TYPE SSTMNT-TO,
lv_OVERFLOW TYPE C,
lv_SIMPLIFIED TYPE CHAR1,
lv_STATEMENT_TYPE TYPE SSTMNT-TYPE,
lv_STOKESX_TAB TYPE SANA_STOKESX_TAB,
lv_STOKEX_TAB TYPE SANA_STOKEX_TAB,
lv_SIMPLIFIED TYPE CHAR1,
lv_other TYPE c.
CALL METHOD CL_ABAP_PARSER=>QUALIFY_TOKENS(
EXPORTING
INDEX_FROM = lv_INDEX_FROM
INDEX_TO = lv_INDEX_TO
OVERFLOW = lv_OVERFLOW
SIMPLIFIED = lv_SIMPLIFIED
STATEMENT_TYPE = lv_STATEMENT_TYPE
SIMPLIFIED = lv_SIMPLIFIED
CHANGING
STOKESX_TAB = lv_STOKESX_TAB
STOKEX_TAB = lv_STOKEX_TAB ).
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