GET_FULL_NAME_FOR_ID SAP Method Get full name for name









Below is documentation, parameters and attributes of ABAP Method GET_FULL_NAME_FOR_ID 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_ID can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method GET_FULL_NAME_FOR_ID

.

NameTypeData TypeDescriptionDefault Value
P_COLUMNImportingTYPE
I
P_CREATE_INDEXImportingTYPE
SYCHAR01
P_IDImportingTYPE
STRING
P_INCLUDEImportingTYPE
PROGRAM
P_LINEImportingTYPE
I
P_TAGImportingTYPE
SCR_TAG
P_ABORTExportingTYPE
ABAP_BOOL
P_ERRORExportingTYPE
ABAP_BOOL
P_FULL_NAMEExportingTYPE
STRING



Exceptions of Method GET_FULL_NAME_FOR_ID

PROGRAM_FATAL_SYNTAX_ERROR - Fatal syntax error

Example ABAP coding


DATA: lo_class TYPE REF TO CL_ABAP_COMPILER.
DATA: lv_P_ABORT TYPE ABAP_BOOL,
lv_P_COLUMN TYPE I,
lv_P_CREATE_INDEX TYPE SYCHAR01,
lv_P_ERROR TYPE ABAP_BOOL,
lv_P_FULL_NAME TYPE STRING,
lv_P_ID TYPE STRING,
lv_P_INCLUDE TYPE PROGRAM,
lv_P_LINE TYPE I,
lv_P_TAG TYPE SCR_TAG,
lv_other TYPE c.

CALL METHOD lo_class=>GET_FULL_NAME_FOR_ID(
EXPORTING
P_COLUMN = lv_P_COLUMN
P_CREATE_INDEX = lv_P_CREATE_INDEX
P_ID = lv_P_ID
P_INCLUDE = lv_P_INCLUDE
P_LINE = lv_P_LINE
P_TAG = lv_P_TAG
IMPORTING
P_ABORT = lv_P_ABORT
P_ERROR = lv_P_ERROR
P_FULL_NAME = lv_P_FULL_NAME ).

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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!