GET_COMPLETION_RESULT SAP Method Calculate ABAP code completion suggestions
Below is documentation, parameters and attributes of ABAP Method GET_COMPLETION_RESULT 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 GET_COMPLETION_RESULT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_COMPLETION_RESULT
.| Name | Type | Data Type | Description | Default Value |
| COLUMN | Importing | TYPE I | Completion column | |
| INCLUDE | Importing | TYPE SYREPID | Name of current include | |
| INCL_SRC | Importing | TYPE STRING | Soruce code of current include | |
| PROGRAM | Importing | TYPE SYREPID | Main program name | |
| PROG_SRC | Importing | TYPE STRING | Main program source code | |
| ROW | Importing | TYPE I | Completion row | |
| INCL_SRC | Importing | TYPE STRING | Source code of current include | |
| MODE | Importing | TYPE I | Completion mode | |
| COMPL_RESULT | Exporting | TYPE SCC_COMPLETIONS | Completion result | |
| EXTERN_REQS | Exporting | TYPE SCC_REPOSITORY_REQUESTS | External repository requests | |
| PREFIX | Exporting | TYPE STRING | Prefix of identifier at completion position | |
| PREFIX_LENGTH | Exporting | TYPE I | Number of characters to be replaced | |
| SYMTAB_NEEDED | Exporting | TYPE SAP_BOOL | Detailed source code evaluation necessary | |
| MAINPRG_NEEDED | Exporting | TYPE SAP_BOOL | Determination of main program necessary |
Exceptions of Method GET_COMPLETION_RESULT
This method does not have any exceptionsExample ABAP coding
DATA: lv_COLUMN TYPE I,
lv_COMPL_RESULT TYPE SCC_COMPLETIONS,
lv_EXTERN_REQS TYPE SCC_REPOSITORY_REQUESTS,
lv_INCLUDE TYPE SYREPID,
lv_INCL_SRC TYPE STRING,
lv_PREFIX TYPE STRING,
lv_PREFIX_LENGTH TYPE I,
lv_PROGRAM TYPE SYREPID,
lv_PROG_SRC TYPE STRING,
lv_ROW TYPE I,
lv_SYMTAB_NEEDED TYPE SAP_BOOL,
lv_INCL_SRC TYPE STRING,
lv_MAINPRG_NEEDED TYPE SAP_BOOL,
lv_MODE TYPE I,
lv_other TYPE c.
CALL METHOD CL_ABAP_PARSER=>GET_COMPLETION_RESULT(
EXPORTING
COLUMN = lv_COLUMN
INCLUDE = lv_INCLUDE
INCL_SRC = lv_INCL_SRC
PROGRAM = lv_PROGRAM
PROG_SRC = lv_PROG_SRC
ROW = lv_ROW
INCL_SRC = lv_INCL_SRC
MODE = lv_MODE
IMPORTING
COMPL_RESULT = lv_COMPL_RESULT
EXTERN_REQS = lv_EXTERN_REQS
PREFIX = lv_PREFIX
PREFIX_LENGTH = lv_PREFIX_LENGTH
SYMTAB_NEEDED = lv_SYMTAB_NEEDED
MAINPRG_NEEDED = lv_MAINPRG_NEEDED ).
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