GET_FULL_NAME_FOR_POSITION SAP Method Specify Complete Technical Name for Position
Below is documentation, parameters and attributes of ABAP Method GET_FULL_NAME_FOR_POSITION within SAP class CL_ABAP_COMPILER. 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_COMPILER 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 GET_FULL_NAME_FOR_POSITION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_FULL_NAME_FOR_POSITION
.| Name | Type | Data Type | Description | Default Value |
| P_COLUMN | Importing | TYPE I | Column Number | |
| P_CREATE_INDEX | Importing | TYPE SYCHAR01 | CHAR01 Data Element for SYST | |
| P_INCLUDE | Importing | TYPE PROGRAM | Include Name | |
| P_LINE | Importing | TYPE I | Line number | |
| P_ABORT | Exporting | TYPE SYCHAR01 | Analysis Terminated Before End of Program | |
| P_ERROR | Exporting | TYPE SYCHAR01 | Syntax Error Occurred | |
| P_FULL_NAME | Exporting | TYPE STRING | Complete Technical Name of the Object | |
| P_GRADE | Exporting | TYPE SCR_GRADE | Level of Use for Object | |
| P_TAG | Exporting | TYPE SCR_TAG | Object Type | |
| P_FULL_NAME | Exporting | TYPE STRING | Full technical name of the object | |
| P_FULL_NAME_2 | Exporting | TYPE STRING | Full technical name of the object | |
| P_GRADE_2 | Exporting | TYPE SCR_GRADE | Level of use for object | |
| P_TAG_2 | Exporting | TYPE SCR_TAG | Object Type |
Exceptions of Method GET_FULL_NAME_FOR_POSITION
PROGRAM_FATAL_SYNTAX_ERROR - The program contains a serious syntax errorExample ABAP coding
DATA: lo_class TYPE REF TO CL_ABAP_COMPILER.
DATA: lv_P_ABORT TYPE SYCHAR01,
lv_P_COLUMN TYPE I,
lv_P_CREATE_INDEX TYPE SYCHAR01,
lv_P_ERROR TYPE SYCHAR01,
lv_P_FULL_NAME TYPE STRING,
lv_P_GRADE TYPE SCR_GRADE,
lv_P_INCLUDE TYPE PROGRAM,
lv_P_LINE TYPE I,
lv_P_TAG TYPE SCR_TAG,
lv_P_FULL_NAME TYPE STRING,
lv_P_FULL_NAME_2 TYPE STRING,
lv_P_GRADE_2 TYPE SCR_GRADE,
lv_P_TAG_2 TYPE SCR_TAG,
lv_other TYPE c.
CALL METHOD lo_class=>GET_FULL_NAME_FOR_POSITION(
EXPORTING
P_COLUMN = lv_P_COLUMN
P_CREATE_INDEX = lv_P_CREATE_INDEX
P_INCLUDE = lv_P_INCLUDE
P_LINE = lv_P_LINE
IMPORTING
P_ABORT = lv_P_ABORT
P_ERROR = lv_P_ERROR
P_FULL_NAME = lv_P_FULL_NAME
P_GRADE = lv_P_GRADE
P_TAG = lv_P_TAG
P_FULL_NAME = lv_P_FULL_NAME
P_FULL_NAME_2 = lv_P_FULL_NAME_2
P_GRADE_2 = lv_P_GRADE_2
P_TAG_2 = lv_P_TAG_2 ).
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