SAP ABAP Class CL_ECATT_APL_GENERATE_CLASSES (Generates the access classes for an OData service object)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TWB-TST-ECA (Application Component) eCATT Extended Computer Aided Test Tool
⤷
SECATT_CLASS_GENERATION (Package) eCATT - Generation of Classes, Source Code, and WB Objects
⤷
⤷
Properties
| Class | CL_ECATT_APL_GENERATE_CLASSES | |
| Short Description | Generates the access classes for an OData service object | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECATT_CLASS_GENERATION | eCATT - Generation of Classes, Source Code, and WB Objects |
| Created | 20131008 | SAP |
| Last change | 20141121 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_ECATT_APL_GENERATE_CLASSES has no interface implemented.
Friends
Class CL_ECATT_APL_GENERATE_CLASSES has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | SEOO_ATTRIBUTES_R | Attributes of classes | 20131021 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | SEO_CLASSES | Class informations | 20131021 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | SEOO_METHODS_R | Methods informations | 20131021 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | SEOS_PARAMETERS_R | Parameters informations | 20131021 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | SEOO_TYPES_R | Types informations | 20131021 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | ETONOFF | Delete the classes before generating new ones | 20131120 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'eCATTClassGe' | Autor für generierte Klasse | 20131112 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Checks the existence of: Class, Attribute, Method ... | 20131021 | |
| 2 | Static method | Private | Method | Retrieves the buffer info for a class | 20131028 | |
| 3 | Static method | Public | Method | Creates a new class | 20131021 | |
| 4 | Static method | Private | Method | Pufferinformation für eine Klasse abfragen | 20131112 | |
| 5 | Static method | Public | Method | Information über eine Klasse abfragen | 20131112 | |
| 6 | Static method | Private | Method | Retrieves the buffer info for a class | 20131021 | |
| 7 | Static method | Public | Method | Gets the info about an attribute | 20131021 | |
| 8 | Static method | Public | Method | Gets the info about a class | 20131021 | |
| 9 | Static method | Public | Method | Holt Text zur Exception aus cx_ecatt_apl_class_generation | 20131120 | |
| 10 | Static method | Public | Method | Gets the info about a method | 20131021 | |
| 11 | Static method | Public | Method | Gets the info about an attribute | 20131028 | |
| 12 | Static method | Public | Method | Erzeuge eindeutigen Namen aus Präfix+Namen mit geg. Länge | 20131104 |
Events
Class CL_ECATT_APL_GENERATE_CLASSES has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYS_ATTRIBUTE_INFO | Public | See coding | 20131028 | BEGIN OF tys_attribute_info,
name TYPE string,
description TYPE string,
visibility type char1, " P = Public, R = Protected, L = Private
decl_type TYPE char1, " I = Instance, S = Static, C = Constant
typ_type TYPE string, " |
||
| 2 | TYS_CLASSGEN_ERROR | Public | See coding | 20131120 | BEGIN OF tys_classgen_error,
classname TYPE string,
text TYPE string,
severity TYPE etonoff, "E=Error, W=Warning
END OF tys_classgen_error
|
||
| 3 | TYS_CLASS_INFO | Public | See coding | 20131028 | BEGIN OF tys_class_info,
name TYPE string,
description TYPE string,
superclass TYPE string,
unittests_sources type tyt_strings,
END OF tys_class_info
|
||
| 4 | TYS_EXCEPTION_INFO | Public | See coding | 20131120 | BEGIN OF tys_exception_info,
name TYPE string,
description TYPE string,
resumeable TYPE etonoff,
END OF tys_exception_info
|
||
| 5 | TYS_METHOD_INFO | Public | See coding | 20131028 | BEGIN OF tys_method_info,
name TYPE string,
description TYPE string,
redefinition TYPE etonoff,
visibility TYPE char1, " P(ublic) = Public, R(estricted) = Protected, L(ocal) = Private
parameters TYPE tyt_parameters_info ,
exceptions TYPE tyt_exceptions_info ,
sources TYPE tyt_strings,
END OF tys_method_info
|
||
| 6 | TYS_PARAMETER_INFO | Public | See coding | 20131028 | BEGIN OF tys_parameter_info,
name TYPE string,
description TYPE string,
param_direction type char1, "I(mport),E(xport),C(hanging),R(eturning)
typ_type type string, " |
||
| 7 | TYS_TYPE_INFO | Public | See coding | 20131028 | BEGIN OF tys_type_info,
name TYPE string,
description TYPE string,
visibility type char1, " P = Public, R = Protected, L = Private
typ_type type string, " |
||
| 8 | TYT_ATTRIBUTES_INFO | Public | See coding | 20131028 | tyt_attributes_info TYPE STANDARD TABLE OF tys_attribute_info WITH DEFAULT KEY
|
||
| 9 | TYT_CLASSGEN_ERRORS | Public | See coding | 20131120 | tyt_classgen_errors TYPE STANDARD TABLE OF tys_classgen_error WITH DEFAULT KEY
|
||
| 10 | TYT_EXCEPTIONS_INFO | Public | See coding | 20131120 | tyt_exceptions_info TYPE STANDARD TABLE OF tys_exception_info WITH DEFAULT KEY
|
||
| 11 | TYT_METHODS_INFO | Public | See coding | 20131028 | tyt_methods_info TYPE STANDARD TABLE OF tys_method_info WITH DEFAULT KEY
|
||
| 12 | TYT_PARAMETERS_INFO | Public | See coding | 20131028 | tyt_parameters_info TYPE STANDARD TABLE OF tys_parameter_info WITH DEFAULT KEY
|
||
| 13 | TYT_STRINGS | Public | See coding | 20131028 | tyt_strings TYPE STANDARD TABLE OF string WITH DEFAULT KEY
|
||
| 14 | TYT_TYPES_INFO | Public | See coding | 20131028 | tyt_types_info TYPE STANDARD TABLE OF tys_type_info WITH DEFAULT KEY
|
Method Signatures
Method CHECK_CLASS_OBJECT_EXISTENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ERROR | Call by reference | Type reference (TYPE) | CL_ECATT_APL_GENERATE_CLASSES=>TYS_CLASSGEN_ERROR | 20131204 | ||||
| 2 | E_CLASS_CHANGED_BY_USER | Call by reference | Type reference (TYPE) | STRING | Blank=not changed, else Username | 20131120 | |||
| 3 | E_CLASS_GENERATED_BY_ECATT | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131120 | |||
| 4 | I_ATTRIBUTENAME | Call by reference | Type reference (TYPE) | STRING | 20131021 | ||||
| 5 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | 20131021 | ||||
| 6 | I_METHODNAME | Call by reference | Type reference (TYPE) | STRING | 20131021 | ||||
| 7 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | 20131028 | ||||
| 8 | I_USE_BUFFER | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131112 | |||
| 9 | R_EXIST | Value transfer | Type reference (TYPE) | ETONOFF | eCATT Switch On/Off | 20131021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method CREATE_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_CLASS | Call by reference | Type reference (TYPE) | VSEOCLASS | Class library Repository API: Object type (Class/interface) | 20131028 | |||
| 2 | CS_INHERITANCE | Call by reference | Type reference (TYPE) | VSEOEXTEND | Generated Table for View | 20131028 | |||
| 3 | CT_ATTRIBUTES | Call by reference | Type reference (TYPE) | SEOO_ATTRIBUTES_R | Class library Repository API: Attribute | 20131028 | |||
| 4 | CT_EXCEPTIONS | Call by reference | Type reference (TYPE) | SEOS_EXCEPTIONS_R | 20131120 | ||||
| 5 | CT_METHODS | Call by reference | Type reference (TYPE) | SEOO_METHODS_R | Class library Repository API: Method | 20131028 | |||
| 6 | CT_PARAMETERS | Call by reference | Type reference (TYPE) | SEOS_PARAMETERS_R | Class library Repository API: Parameters | 20131028 | |||
| 7 | CT_TYPES | Call by reference | Type reference (TYPE) | SEOO_TYPES_R | Class library Repository API: Types | 20131028 | |||
| 8 | CT_TYPES_SOURCES | Call by reference | Type reference (TYPE) | SEOP_SOURCE | ABAP Source | 20131028 | |||
| 9 | C_KORRNUMBER | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20131028 | |||
| 10 | IP_PREVIOUS_EX | Call by reference | Object reference (TYPE REF TO) | CX_ECATT | Basisklasse für eCATT - Ausnahmen | 20131104 | |||
| 11 | IT_METHODS_SOURCES | Call by reference | Type reference (TYPE) | SEO_METHOD_SOURCE_TABLE | SE24: Method Sources | 20131028 | |||
| 12 | IT_UNITTESTS_SOURCES | Call by reference | Type reference (TYPE) | RSWSOURCET | ABAP Source | 20131028 | |||
| 13 | I_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20131028 | |||
| 14 | I_OVERWRITE | Call by reference | Type reference (TYPE) | ETONOFF | SPACE | Objekt überschreiben falls schon vorhanden? | 20131120 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131104 |
Method CREATE_COMPLETE_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_KORRNUMBER | Call by reference | Type reference (TYPE) | TRKORR | Request/Task | 20131028 | |||
| 2 | IP_PREVIOUS_EX | Call by reference | Object reference (TYPE REF TO) | CX_ECATT | Basisklasse für eCATT - Ausnahmen | 20131104 | |||
| 3 | IS_CLASS_INFO | Call by reference | Type reference (TYPE) | TYS_CLASS_INFO | Class information | 20131028 | |||
| 4 | IT_ATTRIBUTES_INFO | Call by reference | Type reference (TYPE) | TYT_ATTRIBUTES_INFO | Attributes in class | 20131028 | |||
| 5 | IT_METHODS_INFO | Call by reference | Type reference (TYPE) | TYT_METHODS_INFO | Methods in class | 20131028 | |||
| 6 | IT_TYPES_INFO | Call by reference | Type reference (TYPE) | TYT_TYPES_INFO | Typedefs in class | 20131028 | |||
| 7 | I_DELETE_BEFORE_CREATION | Call by reference | Type reference (TYPE) | ETONOFF | SPACE | eCATT Schalter Ein/Aus | 20131120 | ||
| 8 | I_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Package | 20131028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131104 |
Method DELETE_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_KORRNUMBER | Call by reference | Type reference (TYPE) | TRKORR | Auftrag/Aufgabe | 20131112 | |||
| 2 | IP_PREVIOUS_EX | Call by reference | Object reference (TYPE REF TO) | CX_ECATT | Basisklasse für eCATT - Ausnahmen | 20131112 | |||
| 3 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | 20131112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method DELETE_GENERATED_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_KORRNUMBER | Call by reference | Type reference (TYPE) | TRKORR | 20131112 | ||||
| 2 | IP_PREVIOUS_EX | Call by reference | Object reference (TYPE REF TO) | CX_ECATT | Basisklasse für eCATT - Ausnahmen | 20131112 | |||
| 3 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Name des Objekttyps | 20131112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method GET_ALL_CLASS_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CLASS | Call by reference | Type reference (TYPE) | VSEOCLASS | Class library Repository API: Object type (Class/interface) | 20131021 | |||
| 2 | ET_ATTRIBUTES | Call by reference | Type reference (TYPE) | SEOO_ATTRIBUTES_R | Class libary Repository API: Attribute | 20131021 | |||
| 3 | ET_METHODS | Call by reference | Type reference (TYPE) | SEOO_METHODS_R | Class library Repository API: Method | 20131021 | |||
| 4 | ET_PARAMETERS | Call by reference | Type reference (TYPE) | SEOS_PARAMETERS_R | Class library Repository API: Parameters | 20131021 | |||
| 5 | ET_TYPES | Call by reference | Type reference (TYPE) | SEOO_TYPES_R | Class library Repository API: Exceptions | 20131021 | |||
| 6 | IP_PREVIOUS_EX | Call by reference | Object reference (TYPE REF TO) | CX_ECATT | Basisklasse für eCATT - Ausnahmen | 20131112 | |||
| 7 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | 20131021 | ||||
| 8 | I_USE_BUFFER | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131112 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method GET_ATTRIBUTE_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ATTRIBUTE | Call by reference | Type reference (TYPE) | SEOO_ATTRIBUTE_R | Class library Repository API: Method | 20131021 | |||
| 2 | I_ATTRIBUTENAME | Call by reference | Type reference (TYPE) | STRING | Component name | 20131021 | |||
| 3 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Object Type Name | 20131021 | |||
| 4 | I_USE_BUFFER | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131112 | |||
| 5 | R_EXIST | Value transfer | Type reference (TYPE) | ETONOFF | eCATT Switch On/Off | 20131021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method GET_CLASS_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CLASS | Call by reference | Type reference (TYPE) | VSEOCLASS | Class library Repository API: Method | 20131021 | |||
| 2 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Object Type Name | 20131021 | |||
| 3 | I_USE_BUFFER | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131112 | |||
| 4 | R_EXIST | Value transfer | Type reference (TYPE) | ETONOFF | eCATT Switch On/Off | 20131021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method GET_EXCEPTION_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_EXCP_TEXT | Value transfer | Type reference (TYPE) | STRING | 20131120 | ||||
| 2 | I_CLASS_NAME | Call by reference | Type reference (TYPE) | STRING | 20131120 | ||||
| 3 | I_TEXT_ID | Call by reference | Type reference (TYPE) | SOTR_CONC | Schlüssel zum logischen Objekt im OTR | 20131120 | |||
| 4 | I_USER_NAME | Call by reference | Type reference (TYPE) | STRING | 20131120 |
Method GET_EXCEPTION_TEXT on class CL_ECATT_APL_GENERATE_CLASSES has no exception.
Method GET_METHOD_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_METHOD | Call by reference | Type reference (TYPE) | SEOO_METHOD_R | Class library Repository API: Method | 20131021 | |||
| 2 | ET_PARAMETERS | Call by reference | Type reference (TYPE) | SEOS_PARAMETERS_R | Class library Repository API: Parameters | 20131021 | |||
| 3 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Object Type Name | 20131021 | |||
| 4 | I_METHODNAME | Call by reference | Type reference (TYPE) | STRING | Component name | 20131021 | |||
| 5 | I_USE_BUFFER | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131112 | |||
| 6 | R_EXIST | Value transfer | Type reference (TYPE) | ETONOFF | eCATT Switch On/Off | 20131021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method GET_TYPE_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_TYPE | Call by reference | Type reference (TYPE) | SEOO_TYPE_R | Class library Repository API: Method | 20131028 | |||
| 2 | I_CLASSNAME | Call by reference | Type reference (TYPE) | STRING | Object Type Name | 20131028 | |||
| 3 | I_TYPENAME | Call by reference | Type reference (TYPE) | STRING | Component name | 20131028 | |||
| 4 | I_USE_BUFFER | Call by reference | Type reference (TYPE) | ETONOFF | eCATT Schalter Ein/Aus | 20131112 | |||
| 5 | R_EXIST | Value transfer | Type reference (TYPE) | ETONOFF | eCATT Switch On/Off | 20131028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131112 |
Method MAKE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_GENERATED_NAMES | Call by reference | Type reference (TYPE) | CL_ECATT_APL_GENERATE_CLASSES=>TYT_STRINGS | Tabelle bereits generierter Namen | 20131104 | |||
| 2 | E_NAME | Value transfer | Type reference (TYPE) | STRING | Generierter Name | 20131104 | |||
| 3 | I_BASENAME | Call by reference | Type reference (TYPE) | STRING | Name | 20131104 | |||
| 4 | I_LENGTH | Call by reference | Type reference (TYPE) | INT4 | 30 | Maximale Länge | 20131104 | ||
| 5 | I_PREFIX | Call by reference | Type reference (TYPE) | STRING | Prefix | 20131104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | eCATT Exception bei Generierung von Testsourcen | 20131104 |
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 740 |