GET_SYCH_SETTINGS SAP Method of class CL_ABAP_SYNTAX_CHECK_KRN









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

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


Parameters of Method GET_SYCH_SETTINGS

.

NameTypeData TypeDescriptionDefault Value
IM_FOR_ITABImportingTYPE
STANDARD TABLE
IM_FOR_ITAB_DIRECTORY_ENTRYImportingTYPE
DATA
IM_FOR_ITAB_FRAME_ENTRYImportingTYPE
DATA
IM_FOR_ITAB_PROGNAMEImportingTYPE
DATA
IM_FOR_ITAB_REPLImportingTYPE
CLIKE
IM_FOR_PROGImportingTYPE
CLIKE
IM_FOR_PROG_REPLImportingTYPE
SREPTAB
IM_SYCH_TABLESImportingTYPE
SYCH_TABLES
IM_WITH_CURRENT_SWITCHSTATESImportingTYPE
CLIKE
EX_SETTINGSExportingTYPE
IF_AMDP_COMPILER=>TY_SYCH_SETTINGS



Exceptions of Method GET_SYCH_SETTINGS

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_EX_SETTINGS TYPE IF_AMDP_COMPILER=>TY_SYCH_SETTINGS,
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 DATA,
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_other TYPE c.

CALL METHOD lo_class=>GET_SYCH_SETTINGS(
EXPORTING
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
IMPORTING
EX_SETTINGS = lv_EX_SETTINGS ).

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!