GET_ABAP_ELEMENTS SAP Method Provides a List of ABAP Language Elements of ABAP Index
Below is documentation, parameters and attributes of ABAP Method GET_ABAP_ELEMENTS within SAP class CL_ABAP_DOCU. 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_DOCU 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 GET_ABAP_ELEMENTS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_ABAP_ELEMENTS
.| Name | Type | Data Type | Description | Default Value |
| LANGU | Importing | TYPE SY-LANGU | Language | |
| WITH_BUILTINS | Importing | TYPE ABAP_BOOL | Take Account of Predefined Types and Functions | |
| VERSION | Importing | TYPE CL_ABAP_DOCU=>VERSION | ABAP Language version | |
| WITH_BUILTINS | Importing | TYPE ABAP_BOOL | Consider built-in types and built-in functions | |
| WITH_DYNP | Importing | TYPE ABAP_BOOL | Consider dynpro language elements | |
| ELEMENT_TAB | Exporting | TYPE STANDARD TABLE | List of Language Elements |
Exceptions of Method GET_ABAP_ELEMENTS
This method does not have any exceptionsExample ABAP coding
DATA: lv_ELEMENT_TAB TYPE STANDARD TABLE,
lv_LANGU TYPE SY-LANGU,
lv_WITH_BUILTINS TYPE ABAP_BOOL,
lv_VERSION TYPE CL_ABAP_DOCU=>VERSION,
lv_WITH_BUILTINS TYPE ABAP_BOOL,
lv_WITH_DYNP TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD CL_ABAP_DOCU=>GET_ABAP_ELEMENTS(
EXPORTING
LANGU = lv_LANGU
WITH_BUILTINS = lv_WITH_BUILTINS
VERSION = lv_VERSION
WITH_BUILTINS = lv_WITH_BUILTINS
WITH_DYNP = lv_WITH_DYNP
IMPORTING
ELEMENT_TAB = lv_ELEMENT_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