SAP ABAP Class CL_SEDI_ADT_RES_SOURCE (Root class for program and include resouce controller)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-AIE-SRC (Application Component) ABAP Source Code editors in ABAP in Eclipse
⤷
SEDI_ADT (Package) Service Enabeling Navigation
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_SEDI_ADT_RES_SOURCE_BASE | Base class for FUGR include, normal includes and programs | 20130311 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_FB_ADT_RES_FUGR | Resource controller for programs and includes | 20130314 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_SEDI_ADT_RES_INCLUDE | handle sub includes (which are not main) | 20130312 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_SEDI_ADT_RES_PROGRAM | Resource controller for programs and includes | 20130312 |
Properties
| Class | CL_SEDI_ADT_RES_SOURCE | |
| Short Description | Root class for program and include resouce controller | |
| Super Class | CL_SEDI_ADT_RES_SOURCE_BASE | Base class for FUGR include, normal includes and programs |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEDI_ADT | Service Enabeling Navigation |
| Created | 20100730 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SEDI_ADT_RES_SOURCE has no forward declaration.
Interfaces
Class CL_SEDI_ADT_RES_SOURCE has no interface implemented.
Friends
Class CL_SEDI_ADT_RES_SOURCE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'includename' | 20130311 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'MAIN' | 20130311 | |||
| 3 | Constant | Private | Type reference (TYPE) | PGMID | 'PROG' | 20130311 | |||
| 4 | Constant | Private | Type reference (TYPE) | PGMID | 'R3TR' | 20130311 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'programname' | 20130311 | |||
| 6 | Constant | Public | Type reference (TYPE) | SUBC | 'I' | 20130311 | |||
| 7 | Constant | Public | Type reference (TYPE) | SUBC | 'M' | 20130311 | |||
| 8 | Constant | Public | Type reference (TYPE) | SUBC | '1' | 20130311 | |||
| 9 | Constant | Public | Type reference (TYPE) | SUBC | 'S' | 20130311 | |||
| 10 | Constant | Private | Type reference (TYPE) | STRING | 'sourcename' | 20130311 | |||
| 11 | Constant | Public | Type reference (TYPE) | WBOBJTYPE | 'PROG/I' | 20130311 | |||
| 12 | Constant | Public | Type reference (TYPE) | WBOBJTYPE | 'PROG/P' | 20130311 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | STRING | 'PROGRAM' | 20130311 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20130311 | ||
| 2 | Instance method | Protected | Method | checks description length for include | 20130311 | |
| 3 | Instance method | Private | Method | 20130801 | ||
| 4 | Instance method | Protected | Method | create program or include | 20130311 | |
| 5 | Instance method | Protected | Method | used in check - prepares include table for syntax check | 20130311 | |
| 6 | Instance method | Public | Method | called in create to fill default source code for program | 20130311 | |
| 7 | Instance method | Public | Method | Returns content handler for data conversion | 20130311 | |
| 8 | Instance method | Public | Method | Returns the id of the source object e.g. class name | 20130311 | |
| 9 | Instance method | Private | Method | 20130618 | ||
| 10 | Instance method | Public | Method | Returns the source type which the controller supports | 20130311 | |
| 11 | Instance method | Public | Method | Returns the wb type which the controller supports | 20130311 | |
| 12 | Instance method | Public | Method | checks for supported program type | 20130311 | |
| 13 | Instance method | Public | Method | 20130311 | ||
| 14 | Instance method | Private | Method | read program/include lifecycle properties | 20130311 | |
| 15 | Instance method | Public | Method | 20130311 | ||
| 16 | Instance method | Protected | Method | Update object description | 20130311 |
Events
Class CL_SEDI_ADT_RES_SOURCE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_ABAP_SOURCE_TAB | Public | See coding | 20130311 | ty_abap_source_tab type standard table of abapsource
|
||
| 2 | TY_PROG_DATA | Public | See coding | 20130311 | begin of ty_prog_data.
include type if_adt_tools_core_source_types=>ty_abap_source_main_object as source_object.
types:
prog_type type subc,
main_program type if_adt_object_reference_ch=>ty_object_reference,
main_program_count type i,
end of ty_prog_data
|
Method Signatures
Method ADD_ATOM_LINKS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGRAM_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20130311 | ||||
| 2 | PROG_DATA | Call by reference | Type reference (TYPE) | CL_SEDI_ADT_RES_SOURCE=>TY_PROG_DATA | 20130311 |
Method ADD_ATOM_LINKS on class CL_SEDI_ADT_RES_SOURCE has no exception.
Method CHECK_DESCRIPTION_LENGTH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DESCRIPTION | Call by reference | Type reference (TYPE) | STRING | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 |
Method COPY_REPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CORRNR | Value transfer | Type reference (TYPE) | TRKORR | 20130801 | ||||
| 2 | DATA | Call by reference | Type reference (TYPE) | TY_PROG_DATA | 20130801 | ||||
| 3 | LIFECYCLE_MANAGER | Call by reference | Object reference (TYPE REF TO) | IF_ADT_LIFECYCLE_MANAGER | Lifecycle manager | 20130801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130801 | |||
| 2 | 20130801 |
Method CREATE_SOURCE_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PATH_SEGMENT_SOURCE_MAIN | Call by reference | Type reference (TYPE) | STRING | 20130311 | ||||
| 2 | REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | 20130311 | ||||
| 3 | RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_RESPONSE | 20130312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 | |||
| 2 | 20130311 |
Method FILL_INCLUDE_TAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Object reference (TYPE REF TO) | IF_ADT_SRL_METHOD_INPUT_DATA | 20130311 | ||||
| 2 | INCLUDE_TAB | Call by reference | Type reference (TYPE) | SREPTAB | 20130311 | ||||
| 3 | RAHMEN_PROGRAM | Call by reference | Type reference (TYPE) | PROGRAM | 20130311 | ||||
| 4 | RESOURCE_ID | Call by reference | Type reference (TYPE) | STRING | 20130311 | ||||
| 5 | URI | Call by reference | Object reference (TYPE REF TO) | IF_ADT_RES_URI | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 | |||
| 2 | 20130311 |
Method FILL_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESOURCE_ID | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130311 | ||||
| 2 | SOURCE | Call by reference | Type reference (TYPE) | TY_ABAP_SOURCE_TAB | 20130311 |
Method FILL_SOURCE on class CL_SEDI_ADT_RES_SOURCE has no exception.
Method GET_CONTENT_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Object reference (TYPE REF TO) | IF_ADT_REST_CONTENT_HANDLER | 20130311 |
Method GET_CONTENT_HANDLER on class CL_SEDI_ADT_RES_SOURCE has no exception.
Method GET_ID_FROM_URI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | 20130311 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 |
Method GET_MAIN_PROGRAM_REFERENCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INCLUDE_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | 20130618 | ||||
| 2 | OBJECT_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130618 | ||||
| 3 | PROGRAM_COUNT | Call by reference | Type reference (TYPE) | I | 20130620 | ||||
| 4 | PROGRAM_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20130618 | ||||
| 5 | PROGRAM_REF | Call by reference | Type reference (TYPE) | IF_ADT_OBJECT_REFERENCE_CH=>TY_OBJECT_REFERENCE | 20130618 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130618 |
Method GET_SOURCE_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | SUBC | 20130311 |
Method GET_SOURCE_TYPE on class CL_SEDI_ADT_RES_SOURCE has no exception.
Method GET_WB_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | STRING | 20130311 |
Method GET_WB_TYPE on class CL_SEDI_ADT_RES_SOURCE has no exception.
Method IS_SOURCE_TYPE_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20130311 | ||||
| 2 | SOURCE_TYPE | Call by reference | Type reference (TYPE) | SUBC | 20130311 |
Method IS_SOURCE_TYPE_VALID on class CL_SEDI_ADT_RES_SOURCE has no exception.
Method LOCK_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | 20130311 | ||||
| 2 | RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_RESPONSE | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 |
Method READ_PROG_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJECT_TYPE | Call by reference | Type reference (TYPE) | WBOBJTYPE | 20130311 | ||||
| 2 | RESOURCE_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130311 | ||||
| 3 | RESULT | Value transfer | Type reference (TYPE) | TY_PROG_DATA | 20130311 | ||||
| 4 | VERSION | Value transfer | Type reference (TYPE) | R3STATE | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 | |||
| 2 | 20130311 |
Method UNLOCK_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REQUEST | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_REQUEST | 20130311 | ||||
| 2 | RESPONSE | Call by reference | Object reference (TYPE REF TO) | IF_ADT_REST_RESPONSE | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 |
Method UPDATE_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CORRNR | Value transfer | Type reference (TYPE) | TRKORR | 20130311 | ||||
| 2 | PROG_NAME | Value transfer | Type reference (TYPE) | CSEQUENCE | 20130311 | ||||
| 3 | TITLE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130311 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130311 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |