GET_SOURCE_CODE_OBJECT SAP Method Get development object from location









Below is documentation, parameters and attributes of ABAP Method GET_SOURCE_CODE_OBJECT within SAP class CL_STCTM_UTILITIES. 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_STCTM_UTILITIES into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method GET_SOURCE_CODE_OBJECT can also be found below:

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


Parameters of Method GET_SOURCE_CODE_OBJECT

.

NameTypeData TypeDescriptionDefault Value
IV_BLOCKNAMEImportingTYPE
ABAP_CALLSTACK_LINE-BLOCKNAME
Name des Verarbeitungsblocks
IV_BLOCKTYPEImportingTYPE
ABAP_CALLSTACK_LINE-BLOCKTYPE
Typ des Verarbeitungsblocks (Prozedur, Modul, Ereignisblock)
IV_INCLUDEImportingTYPE
ABAP_CALLSTACK_LINE-INCLUDE
INCLUDE used
IV_PROGRAMImportingTYPE
ABAP_CALLSTACK_LINE-MAINPROGRAM
ABAP Program Name
EV_OBJECTExportingTYPE
SEU_OBJKEY
WB Request: Key for Object in Development Environment
EV_OBJTYPExportingTYPE
SEU_OBJTYP
WB Request: Type of an ABAP Workbench Object



Exceptions of Method GET_SOURCE_CODE_OBJECT

This method does not have any exceptions

Example ABAP coding


DATA: lv_EV_OBJECT TYPE SEU_OBJKEY,
lv_EV_OBJTYP TYPE SEU_OBJTYP,
lv_IV_BLOCKNAME TYPE ABAP_CALLSTACK_LINE-BLOCKNAME,
lv_IV_BLOCKTYPE TYPE ABAP_CALLSTACK_LINE-BLOCKTYPE,
lv_IV_INCLUDE TYPE ABAP_CALLSTACK_LINE-INCLUDE,
lv_IV_PROGRAM TYPE ABAP_CALLSTACK_LINE-MAINPROGRAM,
lv_other TYPE c.

CALL METHOD CL_STCTM_UTILITIES=>GET_SOURCE_CODE_OBJECT(
EXPORTING
IV_BLOCKNAME = lv_IV_BLOCKNAME
IV_BLOCKTYPE = lv_IV_BLOCKTYPE
IV_INCLUDE = lv_IV_INCLUDE
IV_PROGRAM = lv_IV_PROGRAM
IMPORTING
EV_OBJECT = lv_EV_OBJECT
EV_OBJTYP = lv_EV_OBJTYP ).

Links to Related Class(s)

CL_STCTM...
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!