SAP CL_ABAP_PARSER OO Class - ABAP code completion









CL_ABAP_PARSER is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class CL_ABAP_PARSER including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of CL_ABAP_PARSER SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ADD_DOCUMENTED_EXCEPTIONSAdd documented class-base exceptionsPrivate
CALL METHOD cl_abap_parser=>ADD_DOCUMENTED_EXCEPTIONS...more details

CALCULATE_COMPLETION_RESULTSCalculate completion resultsPublic
CALL METHOD cl_abap_parser=>CALCULATE_COMPLETION_RESULTS...more details

CALCULATE_ELEMENT_INFOCalculate element infoPublic
CALL METHOD cl_abap_parser=>CALCULATE_ELEMENT_INFO...more details

CALCULATE_ELEMENT_INFO_BY_NAMECalculate element info for definition specified by fullnamePublic
CALL METHOD cl_abap_parser=>CALCULATE_ELEMENT_INFO_BY_NAME...more details

CALCULATE_INSERTION_RESULTCalculate source code fragmentsPublic
CALL METHOD cl_abap_parser=>CALCULATE_INSERTION_RESULT...more details

CALCULATE_QUICKINFO_RESULTCalculate quick info textsPublic
CALL METHOD cl_abap_parser=>CALCULATE_QUICKINFO_RESULT...more details

CLASS_CONSTRUCTORInitialize keyword filterPublic
CALL METHOD cl_abap_parser=>CLASS_CONSTRUCTOR...more details

COMPOSE_INCLUDESCompose includes to scanPrivate
CALL METHOD cl_abap_parser=>COMPOSE_INCLUDES...more details

CONSTRUCTORCONSTRUCTORPublic
CALL METHOD cl_abap_parser=>CONSTRUCTOR...more details

GET_ABAP_PAD_FILEGet the ABAP grammar's PAD filePublic
CALL METHOD cl_abap_parser=>GET_ABAP_PAD_FILE...more details

GET_BASICTYPE_TEXTGet name of basic type according to basic type indexPublic
CALL METHOD cl_abap_parser=>GET_BASICTYPE_TEXT...more details

GET_BUILTIN_PARAMETER_TEXTGet text for parameter of builtin functionPublic
CALL METHOD cl_abap_parser=>GET_BUILTIN_PARAMETER_TEXT...more details

GET_COMPLETION_DETAILSRetrieve details of completion entryPublic
CALL METHOD cl_abap_parser=>GET_COMPLETION_DETAILS...more details

GET_COMPLETION_RESULTCalculate ABAP code completion suggestionsPublic
CALL METHOD cl_abap_parser=>GET_COMPLETION_RESULT...more details

GET_CONTEXT_INFOEvaluate context information stringPrivate
CALL METHOD cl_abap_parser=>GET_CONTEXT_INFO...more details

GET_DATA_INFOGet detailed properties of data object definitionPrivate
CALL METHOD cl_abap_parser=>GET_DATA_INFO...more details

GET_DB_PROCEDURE_INFOGet detailed properties of database procedure definitionPrivate
CALL METHOD cl_abap_parser=>GET_DB_PROCEDURE_INFO...more details

GET_ELEMENT_INFOGet detailed properties of program object (element)Public
CALL METHOD cl_abap_parser=>GET_ELEMENT_INFO...more details

GET_EVENT_INFOGet detailed properties of event definitionPrivate
CALL METHOD cl_abap_parser=>GET_EVENT_INFO...more details

GET_EXCEPTION_INFOGet detailed properties of exception definitionPrivate
CALL METHOD cl_abap_parser=>GET_EXCEPTION_INFO...more details

GET_FORM_INFOGet detailed properties of form definitionPrivate
CALL METHOD cl_abap_parser=>GET_FORM_INFO...more details

GET_FUNCTION_INFOGet detailed properties of function module definitionPrivate
CALL METHOD cl_abap_parser=>GET_FUNCTION_INFO...more details

GET_IMPLEMENTATION_STARTGet start line of implementation partPrivate
CALL METHOD cl_abap_parser=>GET_IMPLEMENTATION_START...more details

GET_MAIN_PROGRAMGet main program name for include namePrivate
CALL METHOD cl_abap_parser=>GET_MAIN_PROGRAM...more details

GET_MESSAGE_CLASSGet message class instancePrivate
CALL METHOD cl_abap_parser=>GET_MESSAGE_CLASS...more details

GET_METHOD_INFOGet detailed properties of method definitionPrivate
CALL METHOD cl_abap_parser=>GET_METHOD_INFO...more details

GET_NORMED_SOURCEPreprocess source code and compose normed sourcePrivate
CALL METHOD cl_abap_parser=>GET_NORMED_SOURCE...more details

GET_NORMED_SOURCE_FOR_ANALYSISPreprocess source code and compose normed source to analyzePrivate
CALL METHOD cl_abap_parser=>GET_NORMED_SOURCE_FOR_ANALYSIS...more details

GET_REPOSITORY_RESULTGet code completion suggestions read from repositoriesPrivate
CALL METHOD cl_abap_parser=>GET_REPOSITORY_RESULT...more details

GET_ROLE_TEXTMaps number of role to textelementPrivate
CALL METHOD cl_abap_parser=>GET_ROLE_TEXT...more details

GET_SETTINGSGet User Settings for Insert PatternPrivate
CALL METHOD cl_abap_parser=>GET_SETTINGS...more details

GET_TEXT_OF_BEHV_TYPE_INFOGet ABAP text for a behavior derived typePublic
CALL METHOD cl_abap_parser=>GET_TEXT_OF_BEHV_TYPE_INFO...more details

GET_TEXT_OF_TYPE_INFOGet source text of type additionPublic
CALL METHOD cl_abap_parser=>GET_TEXT_OF_TYPE_INFO...more details

GET_TEXT_OF_VALUE_INFOGet source text of value additionPublic
CALL METHOD cl_abap_parser=>GET_TEXT_OF_VALUE_INFO...more details

GET_TOKENSTokenize ABAP SourcePublic
CALL METHOD cl_abap_parser=>GET_TOKENS...more details

GET_TYPE_INFOGet detailed properties of type definitionPrivate
CALL METHOD cl_abap_parser=>GET_TYPE_INFO...more details

GET_TYPE_INFO_AS_TEXTGet element info of type addition as textPublic
CALL METHOD cl_abap_parser=>GET_TYPE_INFO_AS_TEXT...more details

GET_TYPING_TEXTGet text of type usagePublic
CALL METHOD cl_abap_parser=>GET_TYPING_TEXT...more details

GET_VALUE_INFOGet detailed properties of value propertyPrivate
CALL METHOD cl_abap_parser=>GET_VALUE_INFO...more details

GET_VALUE_INFO_AS_TEXTGet element info of value addition as textPublic
CALL METHOD cl_abap_parser=>GET_VALUE_INFO_AS_TEXT...more details

HANDLE_COMPLETION_REQUESTCalculate completion results and display themPublic
CALL METHOD cl_abap_parser=>HANDLE_COMPLETION_REQUEST...more details

HANDLE_INSERTION_REQUESTCalculate source code fragments and insert themPublic
CALL METHOD cl_abap_parser=>HANDLE_INSERTION_REQUEST...more details

HANDLE_QUICKINFO_REQUESTCalculate quick info texts and display themPublic
CALL METHOD cl_abap_parser=>HANDLE_QUICKINFO_REQUEST...more details

INSERT_AS_PATTERNDelivers ABAP_TRUE if Pattern Insertion is activatedPrivate
CALL METHOD cl_abap_parser=>INSERT_AS_PATTERN...more details

INTERNAL_RESETReset instance to initial statePublic
CALL METHOD cl_abap_parser=>INTERNAL_RESET...more details

LOAD_MESSAGESLoad messages of message classPrivate
CALL METHOD cl_abap_parser=>LOAD_MESSAGES...more details

LOAD_TEXTPOOLLoad texts of text poolPrivate
CALL METHOD cl_abap_parser=>LOAD_TEXTPOOL...more details

MAP_COMPLETION_RESULTSMap results to structure for edit controlPrivate
CALL METHOD cl_abap_parser=>MAP_COMPLETION_RESULTS...more details

PARSE_FORM_PARAMETERSParse the completion details into Form parametersPrivate
CALL METHOD cl_abap_parser=>PARSE_FORM_PARAMETERS...more details

PARSE_FUNCTION_PARAMETERSParse the completion details into Function Module parametersPrivate
CALL METHOD cl_abap_parser=>PARSE_FUNCTION_PARAMETERS...more details

PARSE_METHOD_PARAMETERSParse the completion details into Method parametersPrivate
CALL METHOD cl_abap_parser=>PARSE_METHOD_PARAMETERS...more details

PROCESS_CLASS_INCLUDESRemove implementation of local classesPrivate
CALL METHOD cl_abap_parser=>PROCESS_CLASS_INCLUDES...more details

PROCESS_FORM_INCLUDERemove the operative coding of form implementationsPrivate
CALL METHOD cl_abap_parser=>PROCESS_FORM_INCLUDE...more details

QUALIFY_TOKENSQualify token stream received from SCAN ABAP-SOURCEPublic
CALL METHOD cl_abap_parser=>QUALIFY_TOKENS...more details

READ_MESSAGE_PROPERTIESRead message content or description from repositoryPrivate
CALL METHOD cl_abap_parser=>READ_MESSAGE_PROPERTIES...more details

READ_TEXTELEMENTRead text of text elementPublic
CALL METHOD cl_abap_parser=>READ_TEXTELEMENT...more details

RESETRe-initialize ABAP parser instancePublic
CALL METHOD cl_abap_parser=>RESET...more details

RESTRICT_PADCreate restricted padPublic
CALL METHOD cl_abap_parser=>RESTRICT_PAD...more details

SET_REPOSITORY_ACCESSSet user-defined repository access strategyPublic
CALL METHOD cl_abap_parser=>SET_REPOSITORY_ACCESS...more details

SPLIT_FULLNAMESplit fullname into object kind and object namePrivate
CALL METHOD cl_abap_parser=>SPLIT_FULLNAME...more details

X_TABLE_TO_STRINGUnpack table of X into a stringPublic
CALL METHOD cl_abap_parser=>X_TABLE_TO_STRING...more details

X_TABLE_TO_S_TABLEUnpack table of X into a table of stringPublic
CALL METHOD cl_abap_parser=>X_TABLE_TO_S_TABLE...more details



CL_ABAP_PARSER attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
C_ALL_COMPONENTSConstantAll componentsCL_ABAP_MATH=>MAX_INT4LIKE
I
Public
C_COMPL_MODEConstantLIKE
Public
C_DEFAULT_SPACER_FOR_COMMENTInstance AttributeLIKE
Private
C_MAXGRADE_FOR_SHORTTEXTInstance AttributeMaximal grade to read shorttext1LIKE
I
Private
C_MAXHITS_FIRST_LEVELConstantMaximal number of selected repository entries10LIKE
I
Private
C_MAXHITS_SECOND_LEVELConstantMaximal number of selected repository entries5LIKE
I
Private
C_MAX_COMPONENTSConstantMaximal number of components30LIKE
I
Private
C_MESSAGE_KEY_LENGTHConstantMaximal lenght of message key3LIKE
I
Private
C_STMT_TERMINATORConstantSingle-Character Flag'.'LIKE
CHAR1
Private
C_TEXTELEMENT_IDConstantABAP Text Pool ID (Selection Text/Numbered Text)'I'LIKE
TEXTPOOLID
Private
C_TEXT_KEY_LENGTHConstantMaximal lenght of text element key3LIKE
I
Private
KIND2TAGStatic AttributeMap fullname object kind to tagLIKE
TT_KIND2TAG
Public
M_BASICTYPE_NAMESStatic AttributeAll names of built-in typesLIKE
BASICTYPE_NAMES
Private
M_BEG_TOKEN_XPOSInstance AttributeColumn of completion token beginningLIKE
I
Private
M_BEG_XPOSInstance AttributeColumn of completion context beginningLIKE
I
Private
M_BEHVTYPE_TEXTSStatic AttributeTable of behavior type constructorsLIKE
TT_BEHVTYPE_TEXT
Private
M_BUILTIN_FUNCTIONSStatic AttributeSignatures of builtin functionsLIKE
TT_BUILTIN_FUNCTION
Private
M_BUILTIN_PARAMETERSStatic AttributeParameters of builtin functionsLIKE
TT_BUILTIN_PARAMETER
Private
M_CCIMP_REQUIREDInstance AttributeIncluding CCIMP required?LIKE
ABAP_BOOL
Private
M_COMPL_RESULTInstance AttributeResults of ABAP code completionLIKE
SCC_COMPLETIONS
Private
M_COMPL_RESULTSInstance AttributeResults of ABAP code completionLIKE
SCC_COMPLETIONS
Private
M_COMPL_VALUESInstance AttributeValues of Completion ItemsLIKE
TT_COMPLETION_VALUE
Private
M_CONTEXT_PROVIDERInstance AttributeContext provider for webDynpro, etc.LIKE
IF_ABAP_CONTEXT_PROVIDER
Public
M_DELIMITERInstance AttributeDelimiter at startLIKE
Private
M_FULLNAME_CONTEXTInstance AttributeFullname of current element info contextLIKE
STRING
Private
M_ICON_MAPPINGStatic AttributeTabletype for role to icon mappingLIKE
SCC_ICON_MAPPINGS
Private
M_INCLNAMEInstance AttributeABAP Program: Name of current IncludeLIKE
SYREPID
Private
M_INCLSRCInstance AttributeOriginal source code from current includeLIKE
SOURCETABLE
Private
M_MAINPROGInstance AttributeABAP Program: Name of current Main ProgramLIKE
SYREPID
Private
M_MAINSRCInstance AttributeComposed sourcecode of main programLIKE
SOURCETABLE
Private
M_MAIN_PROGRAMInstance AttributeMain programLIKE
CL_ABAP_CC_PROGRAM
Private
M_MASTERLANGInstance AttributeLanguage IDLIKE
LANG
Private
M_MAX_ITEMSInstance AttributeTable of Maximal Number of ItemsLIKE
TT_MAX_ITEMS
Private
M_MAX_ITEMS_PACKAGEInstance AttributeTable of maximal number of items read from packageLIKE
TT_MAX_ITEMS
Private
M_MAX_ITEMS_RESTRICTEDInstance AttributeTable of maximal number of items read for restricted versionLIKE
TT_MAX_ITEMS
Private
M_MESSAGESInstance AttributeMessages of given Message Class IDLIKE
TT_MESSAGE
Private
M_MESSAGE_CLASSInstance AttributeMessage class entryLIKE
CL_ABAP_CC_MESSAGE_CLASS=>TS_MESSAGE_CLASS
Private
M_MESSAGE_CLASSESInstance AttributeSet of message class entriesLIKE
CL_ABAP_CC_MESSAGE_CLASS=>TT_MESSAGE_CLASS
Private
M_MESSAGE_IDInstance AttributeMessage Class IDLIKE
ARBGB
Private
M_PACKAGEInstance AttributePackage of Main programLIKE
DEVCLASS
Private
M_PROGTYPEInstance AttributeProgram typeLIKE
SUBC
Private
M_REPL_SOURCEInstance AttributeReplacing source code (reduced due to performance)LIKE
SREPTAB
Private
M_REPOSITORYInstance AttributeRepository AccessLIKE
CL_ABAP_CC_REPOSITORY
Private
M_REPOSITORY_ACCESSInstance AttributeRepository access strategiesLIKE
TT_REPOSITORY_ACCESS
Private
M_REPOS_REQUESTSInstance AttributeABAP Code Completion: Repository requestsLIKE
SCC_REPOSITORY_REQUESTS
Private
M_REPO_REQUESTSInstance AttributeABAP Code Completion: Repository requestsLIKE
SCC_REPOSITORY_REQUESTS
Private
M_SRCDATEInstance AttributeOverall timestamp: DateLIKE
D
Private
M_SRCTIMEInstance AttributeOverall timestamp: TimeLIKE
T
Private
M_TEXTSInstance AttributeTexts of text poolLIKE
TT_TEXT_ELEMENT
Private
M_USERDEFINED_REPO_ACCESSInstance AttributeUser-defined repository access strategiesLIKE
TT_REPOSITORY_ACCESS
Private
M_VERSIONInstance AttributeABAP VersionLIKE
ABAPVRS
Private
M_XPOSInstance AttributeColumn of completion positionLIKE
I
Private
M_YPOSInstance AttributeLine of completion positionLIKE
I
Private
PROGTYPE_CLASSConstantProgram type: Classpool'K'LIKE
SUBC
Public
PROGTYPE_EXECConstantProgram type: Executable Program'1'LIKE
SUBC
Public
PROGTYPE_FUGRConstantProgram type: Function Group'F'LIKE
SUBC
Public
PROGTYPE_INCLUDEConstantProgram type: Include'I'LIKE
SUBC
Public
PROGTYPE_MODPOOLConstantProgram type: Module Pool'M'LIKE
SUBC
Public
PROGTYPE_SUBPOOLConstantProgram type: Subroutine Pool'S'LIKE
SUBC
Public
PROGTYPE_TYPEPOOLConstantProgram type: Type Pool'T'LIKE
SUBC
Public
TOKEN_CATConstantToken categoryLIKE
Public




CL_ABAP_PARSER types

BASICTYPE_NAME - Name of built-in type
BASICTYPE_NAMES - All names of built-in types
COMPLETION_RESULTS - Completion result table
TS_BUILTIN_FUNCTION -
TS_BUILTIN_PARAMETER -
TS_COMPLETION_VALUE - Value of Completion Item
TS_KIND2TAG - Mapping item for kind-to-tag (used in full names)
TS_MAX_ITEMS - Maximal Number of Items (depending on prefix length)
TS_MESSAGE - Message item (translation or original value)
TS_REPOSITORY_ACCESS - Repository access strategy
TS_TEXT_ELEMENT - Text element (value, translation and length)
TT_BEHVTYPE_TEXT - Text of behavior type constructors
TT_BUILTIN_FUNCTION -
TT_BUILTIN_PARAMETER -
TT_COMPLETION_VALUE - Table of Values of Completion Items
TT_KIND2TAG - Mappings of kind-to-tag (used in full names)
TT_MAX_ITEMS - Table of Maximal Number of Items
TT_MESSAGE - Table of Messages
TT_REPOSITORY_ACCESS - Table of repository access strategies
TT_TEXTPOOL - Content of Textpool
TT_TEXT_ELEMENT - Table of Text Elements
T_USER_SETTINGS - User settings for insertion of code patterns

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!