AFTER_CHECK SAP Method of class CL_ABAP_SYNTAX_CHECK_KRN









Below is documentation, parameters and attributes of ABAP Method AFTER_CHECK within SAP class CL_ABAP_SYNTAX_CHECK_KRN. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_SYNTAX_CHECK_KRN 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 AFTER_CHECK can also be found below:

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


Parameters of Method AFTER_CHECK

.

NameTypeData TypeDescriptionDefault Value
IM_FILTERImportingTYPE
DATA
IM_FOR_ITABImportingTYPE
STANDARD TABLE
IM_FOR_ITAB_DIRECTORY_ENTRYImportingTYPE
DATA
IM_FOR_ITAB_FRAME_ENTRYImportingTYPE
DATA
IM_FOR_ITAB_PROGNAMEImportingTYPE
CLIKE
IM_FOR_ITAB_REPLImportingTYPE
CLIKE
IM_FOR_PROGImportingTYPE
CLIKE
IM_FOR_PROG_REPLImportingTYPE
SREPTAB
Table Type for SYNTAX-CHECK REPLACING
IM_SYCH_TABLESImportingTYPE
SYCH_TABLES
IM_WITH_CURRENT_SWITCHSTATESImportingTYPE
CLIKE
IM_SYCH_SUBRCImportingTYPE
SY-SUBRC
CH_ERRORSChangingTYPE
STANDARD TABLE
CH_ERR_INCLUDEChangingTYPE
CLIKE
CH_ERR_LINEChangingTYPE
SIMPLE
CH_ERR_MESSAGEChangingTYPE
CLIKE
CH_ERR_MSGIDChangingTYPE
DATA
CH_ERR_OFFSETChangingTYPE
SIMPLE
CH_ERR_SHORTDUMP_IDChangingTYPE
DATA
CH_ERR_WORDChangingTYPE
CLIKE
CH_SUBRCChangingTYPE
SY-SUBRC
CH_WARNINGSChangingTYPE
STANDARD TABLE



Exceptions of Method AFTER_CHECK

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_ABAP_SYNTAX_CHECK_KRN.
DATA: lv_CH_ERRORS TYPE STANDARD TABLE,
lv_CH_ERR_INCLUDE TYPE CLIKE,
lv_CH_ERR_LINE TYPE SIMPLE,
lv_CH_ERR_MESSAGE TYPE CLIKE,
lv_CH_ERR_MSGID TYPE DATA,
lv_CH_ERR_OFFSET TYPE SIMPLE,
lv_CH_ERR_SHORTDUMP_ID TYPE DATA,
lv_CH_ERR_WORD TYPE CLIKE,
lv_CH_SUBRC TYPE SY-SUBRC,
lv_CH_WARNINGS TYPE STANDARD TABLE,
lv_IM_FILTER TYPE DATA,
lv_IM_FOR_ITAB TYPE STANDARD TABLE,
lv_IM_FOR_ITAB_DIRECTORY_ENTRY TYPE DATA,
lv_IM_FOR_ITAB_FRAME_ENTRY TYPE DATA,
lv_IM_FOR_ITAB_PROGNAME TYPE CLIKE,
lv_IM_FOR_ITAB_REPL TYPE CLIKE,
lv_IM_FOR_PROG TYPE CLIKE,
lv_IM_FOR_PROG_REPL TYPE SREPTAB,
lv_IM_SYCH_TABLES TYPE SYCH_TABLES,
lv_IM_WITH_CURRENT_SWITCHSTATES TYPE CLIKE,
lv_IM_SYCH_SUBRC TYPE SY-SUBRC,
lv_other TYPE c.

CALL METHOD lo_class=>AFTER_CHECK(
EXPORTING
IM_FILTER = lv_IM_FILTER
IM_FOR_ITAB = lv_IM_FOR_ITAB
IM_FOR_ITAB_DIRECTORY_ENTRY = lv_IM_FOR_ITAB_DIRECTORY_ENTRY
IM_FOR_ITAB_FRAME_ENTRY = lv_IM_FOR_ITAB_FRAME_ENTRY
IM_FOR_ITAB_PROGNAME = lv_IM_FOR_ITAB_PROGNAME
IM_FOR_ITAB_REPL = lv_IM_FOR_ITAB_REPL
IM_FOR_PROG = lv_IM_FOR_PROG
IM_FOR_PROG_REPL = lv_IM_FOR_PROG_REPL
IM_SYCH_TABLES = lv_IM_SYCH_TABLES
IM_WITH_CURRENT_SWITCHSTATES = lv_IM_WITH_CURRENT_SWITCHSTATES
IM_SYCH_SUBRC = lv_IM_SYCH_SUBRC
CHANGING
CH_ERRORS = lv_CH_ERRORS
CH_ERR_INCLUDE = lv_CH_ERR_INCLUDE
CH_ERR_LINE = lv_CH_ERR_LINE
CH_ERR_MESSAGE = lv_CH_ERR_MESSAGE
CH_ERR_MSGID = lv_CH_ERR_MSGID
CH_ERR_OFFSET = lv_CH_ERR_OFFSET
CH_ERR_SHORTDUMP_ID = lv_CH_ERR_SHORTDUMP_ID
CH_ERR_WORD = lv_CH_ERR_WORD
CH_SUBRC = lv_CH_SUBRC
CH_WARNINGS = lv_CH_WARNINGS ).

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!