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 directlyThe 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
.| Name | Type | Data Type | Description | Default Value |
| IV_BLOCKNAME | Importing | TYPE ABAP_CALLSTACK_LINE-BLOCKNAME | Name des Verarbeitungsblocks | |
| IV_BLOCKTYPE | Importing | TYPE ABAP_CALLSTACK_LINE-BLOCKTYPE | Typ des Verarbeitungsblocks (Prozedur, Modul, Ereignisblock) | |
| IV_INCLUDE | Importing | TYPE ABAP_CALLSTACK_LINE-INCLUDE | INCLUDE used | |
| IV_PROGRAM | Importing | TYPE ABAP_CALLSTACK_LINE-MAINPROGRAM | ABAP Program Name | |
| EV_OBJECT | Exporting | TYPE SEU_OBJKEY | WB Request: Key for Object in Development Environment | |
| EV_OBJTYP | Exporting | TYPE SEU_OBJTYP | WB Request: Type of an ABAP Workbench Object |
Exceptions of Method GET_SOURCE_CODE_OBJECT
This method does not have any exceptionsExample 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