SAP ABAP Class CL_TUT_CONFIG (Simulated Configuration for Unit Tests)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
TR (Application Component) Treasury
⤷
FTR_UTILS_CORE (Package) Utilities: Treasury and Risk Management
⤷
⤷
Properties
| Class | CL_TUT_CONFIG | |
| Short Description | Simulated Configuration for Unit Tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| 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) |
Interfaces
Class CL_TUT_CONFIG has no interface implemented.
Friends
Class CL_TUT_CONFIG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | See coding | Simulated Configuration | 20130830 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | gets data from buffer | 20130830 | |
| 2 | Instance method | Public | Method | handles error | 20130830 | |
| 3 | Instance method | Public | Method | sets table | 20130830 |
Events
Class CL_TUT_CONFIG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_SIM_CONFIG | Private | See coding | Simulated Configuration | 20130830 | BEGIN OF ty_s_sim_config,
table_name TYPE tabname,
config TYPE REF TO data,
END OF ty_s_sim_config
|
Method Signatures
Method GET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONFIG | Call by reference | Type reference (TYPE) | INDEX TABLE | Simulate Configuration | 20130830 | |||
| 2 | IV_FILTER_VALUE | Call by reference | Type reference (TYPE) | ANY | Filter value (Alternative To Where Clause) | 20130830 | |||
| 3 | IV_TABLE_NAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name (if not given, derived from ET_CONFIG) | 20130830 | |||
| 4 | IV_WHERE_CLAUSE | Call by reference | Type reference (TYPE) | STRING | Where Clause To Filter Output | 20130830 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130830 |
Method HANDLE_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_EXCEPTION | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20130830 |
Method HANDLE_ERROR on class CL_TUT_CONFIG has no exception.
Method SET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARNAME | Call by reference | Type reference (TYPE) | ETP_NAME | Parameter Name (= Table Name) | 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 | 20130830 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20130830 | |||
| 2 | Treasury Unit Test Exception | 20130912 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in |