Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_OS_CA_COMMON | Superclass of the Object Services Class Actors | 20130830 |
Properties
| Class | CL_TUT_AGENT | |
| Short Description | Unit Test Class Agent | |
| Super Class | CL_OS_CA_COMMON | Superclass of the Object Services Class Actors |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | FTR_UTILS_CORE | Utilities: Treasury and Risk Management |
| Created | 20130830 | SAP |
| Last change | 20131127 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 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_TUT_AGENT has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_TUT_TEST | 20130830 | Treasury Unit Test Utility |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | TABNAME | 'OS_OID' | Key of OS Data | 20130830 | ||
| 2 | Static Attribute | Protected | Type reference (TYPE) | TY_T_FIELDNAME | Field Names for Last Change Data | 20130830 | |||
| 3 | Static Attribute | Protected | Type reference (TYPE) | TY_T_FIELDNAME | Field Names for Creation Data | 20130830 | |||
| 4 | Static Attribute | Protected | Type reference (TYPE) | TY_T_FIELDNAME | Possible Name of Key Fields | 20130830 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_OS_CA_COMMON | Superclass of the Object Services Class Actors | 20130830 | |||
| 6 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_OS_CA_COMMON | Temporary Store for Real Agent | 20130914 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_OS_CA_COMMON | Local Child of Agent | 20130914 | |||
| 8 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_APL_ECATT_TDC_API | Test Data Container Object | 20130830 | |||
| 9 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Reference of Type 'TYP_OBJECT_REF' | 20130830 | |||
| 10 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | OS Internal Data Structure | 20130830 | |||
| 11 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | DB Data | 20130830 | |||
| 12 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Reference of Type 'typ_object_ref_tab' | 20130830 | |||
| 13 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Table of OS Internal Structure | 20130830 | |||
| 14 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Changed Objects in OS Format | 20130830 | |||
| 15 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Created Objects in OS Format | 20130830 | |||
| 16 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | Unchanged Objects in OS Format | 20130830 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | TY_T_FIELDNAME | Fields to be Excluded from Comparison | 20130830 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | SEOCLSNAME | Agent Name | 20130830 | |||
| 19 | Instance attribute | Protected | Type reference (TYPE) | SEOCLSNAME | Class Name | 20130830 | |||
| 20 | Instance attribute | Protected | Type reference (TYPE) | TABNAME | Key of DB Data | 20130830 | |||
| 21 | Instance attribute | Protected | Type reference (TYPE) | ETOBJ_NAME | Test Data Container (for trace) | 20130830 | |||
| 22 | Instance attribute | Protected | Type reference (TYPE) | ETVAR_ID | Variant (for trace) | 20130830 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | converts objects to OS data format | 20130830 | |
| 2 | Static method | Public | Constructor | Adds DB Data BKey and OID | 20130830 | |
| 3 | Instance method | Protected | Method | release all instances | 20130830 | |
| 4 | Instance method | Public | Method | casts object references from generic to specific ones | 20130830 | |
| 5 | Instance method | Public | Method | CLASS_CONSTRUCTOR | 20130830 | |
| 6 | Instance method | Protected | Method | sets test data container to trace results | 20130830 | |
| 7 | Instance method | Protected | Method | compares changed instances | 20130830 | |
| 8 | Instance method | Protected | Constructor | creates representants for TDC objects | 20130830 | |
| 9 | Instance method | Protected | Method | reads TDC and creates representants | 20130830 | |
| 10 | Instance method | Protected | Method | determines name of key component | 20130830 | |
| 11 | Instance method | Public | Method | clears the fields, if available in the structure | 20130830 | |
| 12 | Instance method | Protected | Method | maps data from DB into OS internal format | 20130830 | |
| 13 | Instance method | Protected | Method | finds a local child of the agent | 20130914 | |
| 14 | Instance method | Public | Method | gets all objects | 20130917 | |
| 15 | Instance method | Protected | Method | compares created instances | 20130830 | |
| 16 | Instance method | Protected | Method | maps data from OS internal to DB format | 20130830 | |
| 17 | Instance method | Protected | Method | read access to a TDC object | 20130830 | |
| 18 | Instance method | Protected | Method | compares actual with expected data | 20130830 | |
| 19 | Instance method | Protected | Event handling method | sets attributes of class | 20130830 | |
| 20 | Instance method | Public | Method | collects actual data | 20130830 | |
| 21 | Instance method | Protected | Method | resets the agent | 20130914 | |
| 22 | Instance method | Protected | Method | sets the local agent, if necessary | 20130914 | |
| 23 | Instance method | Protected | Method | splits expected data into created and changed ones | 20130830 | |
| 24 | Instance method | Public | Method | CONSTRUCTOR | 20130830 |
Events
Class CL_TUT_AGENT has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_T_FIELDNAME | Protected | See coding | Field Names | 20130830 | TY_T_FIELDNAME TYPE TABLE OF TABNAME WITH DEFAULT KEY
|
|
| 2 | TY_T_OS_GUID | Protected | See coding | GUIDs (RAW16) | 20130830 | TY_T_OS_GUID TYPE STANDARD TABLE OF os_guid
WITH DEFAULT KEY
|
Method Signatures
Method CAST_GENERIC_2_SPECIFIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT | Call by reference | Type reference (TYPE) | INDEX TABLE | Specific Object References | 20130830 | |||
| 2 | ET_OS_OID | Call by reference | Type reference (TYPE) | TY_T_OS_GUID | Table of GUIDs | 20130830 | |||
| 3 | IT_OBJECT | Call by reference | Type reference (TYPE) | OSTYP_REF_TAB | Generiic Object References | 20130830 |
Method CAST_GENERIC_2_SPECIFIC on class CL_TUT_AGENT has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_TUT_AGENT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_TUT_AGENT has no exception.
Method CLEAR_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DATA | Call by reference | Type reference (TYPE) | ANY | Structure with Data | 20130830 | |||
| 2 | IT_FIELDNAME | Call by reference | Type reference (TYPE) | TY_T_FIELDNAME | Field Names | 20130830 |
Method CLEAR_FIELDS on class CL_TUT_AGENT has no exception.
Method COLLECT_ACTUAL_DATA Signature
Method COLLECT_ACTUAL_DATA on class CL_TUT_AGENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130830 |
Method COMPARE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DB_DATA_EXP | Call by reference | Type reference (TYPE) | INDEX TABLE | Expected Data | 20130830 |
Method COMPARE on class CL_TUT_AGENT has no exception.
Method COMPARE_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA_ACT | Call by reference | Type reference (TYPE) | INDEX TABLE | Actual Data | 20130830 | |||
| 2 | CT_DATA_EXP | Call by reference | Type reference (TYPE) | INDEX TABLE | Expected Data | 20130830 |
Method COMPARE_CHANGED on class CL_TUT_AGENT has no exception.
Method COMPARE_CREATED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA_ACT | Call by reference | Type reference (TYPE) | INDEX TABLE | Actual Data | 20130830 | |||
| 2 | CT_DATA_EXP | Call by reference | Type reference (TYPE) | INDEX TABLE | Expected Data | 20130830 |
Method COMPARE_CREATED on class CL_TUT_AGENT has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLSNAME | Name of Persistent Class | 20130830 |
Method CONSTRUCTOR on class CL_TUT_AGENT has no exception.
Method CONVERT_OBJECTS_2_OS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OS_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | Objects in OS Internal Format | 20130830 | |||
| 2 | IT_OBJECT | Call by reference | Type reference (TYPE) | OSTYP_REF_TAB | Objects | 20130830 |
Method CONVERT_OBJECTS_2_OS_DATA on class CL_TUT_AGENT has no exception.
Method CREATE_REPRESENTANTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_OS_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | Objects' Data in OS Format | 20130830 |
Method CREATE_REPRESENTANTS on class CL_TUT_AGENT has no exception.
Method DESTROY_INSTANCES Signature
Method DESTROY_INSTANCES on class CL_TUT_AGENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130830 |
Method DETERMINE_KEY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | ANY | Data Structure | 20130830 | |||
| 2 | RV_KEY_NAME | Value transfer | Type reference (TYPE) | TABNAME | Name of Key Field | 20130830 |
Method DETERMINE_KEY_NAME on class CL_TUT_AGENT has no exception.
Method FIND_LOCAL_AGENT Signature
Method FIND_LOCAL_AGENT on class CL_TUT_AGENT has no parameter.
Method FIND_LOCAL_AGENT on class CL_TUT_AGENT has no exception.
Method GET_ALL_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_OBJECT | Call by reference | Type reference (TYPE) | INDEX TABLE | Objects | 20130917 |
Method GET_ALL_OBJECTS on class CL_TUT_AGENT has no exception.
Method INTERPRET_EXPECTED_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA_BEFORE | Call by reference | Type reference (TYPE) | INDEX TABLE | Before Image | 20130830 | |||
| 2 | ET_DATA_CHANGED | Call by reference | Type reference (TYPE) | INDEX TABLE | Changed Objects | 20130830 | |||
| 3 | ET_DATA_CREATED | Call by reference | Type reference (TYPE) | INDEX TABLE | Created Objects | 20130830 | |||
| 4 | IT_DATA_AFTER | Call by reference | Type reference (TYPE) | INDEX TABLE | After Image | 20130830 |
Method INTERPRET_EXPECTED_DATA on class CL_TUT_AGENT has no exception.
Method MAP_DATA_DB2OS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_OS_GUID | Call by reference | Type reference (TYPE) | TY_T_OS_GUID | Object Keys | 20130830 | |||
| 2 | ET_OS_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | Data in OS Internal Format | 20130830 | |||
| 3 | IT_DB_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | Data in DB Format | 20130830 |
Method MAP_DATA_DB2OS on class CL_TUT_AGENT has no exception.
Method MAP_DATA_OS2DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DB_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | Data in DB Format | 20130830 | |||
| 2 | IT_OS_DATA | Call by reference | Type reference (TYPE) | INDEX TABLE | Data in OS Internal Format | 20130830 | |||
| 3 | IV_FLG_CREATED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Map Created Data | 20130830 |
Method MAP_DATA_OS2DB on class CL_TUT_AGENT has no exception.
Method MAP_MERGE_IDENTIFIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_DB_DATA_TAB | Call by reference | Type reference (TYPE) | INDEX TABLE | Object Data in Which Identifiers Are to Be Mixed | 20130830 | |||
| 2 | I_OID_TAB | Call by reference | Type reference (TYPE) | TY_T_OS_GUID | List of OIDs | 20130830 |
Method MAP_MERGE_IDENTIFIER on class CL_TUT_AGENT has no exception.
Method ON_READ_ACCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SENDER | Value transfer | Attribute reference (LIKE) | 20130830 |
Method ON_READ_ACCESS on class CL_TUT_AGENT has no exception.
Method PRELOAD_OBJECTS_FROM_TDC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DB_GUID | Call by reference | Type reference (TYPE) | CL_TUT_TEST=>TY_T_OS_OID | Desired Subset of Object Keys | 20130830 | |||
| 2 | IV_TDC_ID | Call by reference | Type reference (TYPE) | ETOBJ_NAME | TDC Representing DB Image | 20130830 | |||
| 3 | IV_VARIANT | Call by reference | Type reference (TYPE) | ETVAR_ID | Variant Representing DB Image | 20130830 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130830 | |||
| 2 | 20130830 |
Method RESET_AGENT Signature
Method RESET_AGENT on class CL_TUT_AGENT has no parameter.
Method RESET_AGENT on class CL_TUT_AGENT has no exception.
Method SET_AGENT Signature
Method SET_AGENT on class CL_TUT_AGENT has no parameter.
Method SET_AGENT on class CL_TUT_AGENT has no exception.
Method SET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_OBJECT_INFO | Call by reference | Attribute reference (LIKE) | CURRENT_OBJECT_INFO | Object Info | 20130830 | |||
| 2 | IV_OS_OID | Call by reference | Type reference (TYPE) | OS_GUID | Globally Unique Identifier | 20130830 |
Method SET_ATTRIBUTES on class CL_TUT_AGENT has no exception.
Method SET_TRACE_TDC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_TDC | Call by reference | Object reference (TYPE REF TO) | CL_APL_ECATT_TDC_API | Test Data Container Access Class | 20130830 | |||
| 2 | IV_TDC_ID | Call by reference | Type reference (TYPE) | ETOBJ_NAME | Test Data Container | 20130830 | |||
| 3 | IV_VARIANT | Call by reference | Type reference (TYPE) | ETVAR_ID | Variant Name | 20130830 |
Method SET_TRACE_TDC on class CL_TUT_AGENT has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |