SAP ABAP Class CL_WER_STORAGE_TEST (For saving and loading from test database tables)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
LO-MD-MM (Application Component) Material Master
⤷
WER_TEST (Package) Test
⤷
⤷
Properties
| Class | CL_WER_STORAGE_TEST | |
| Short Description | For saving and loading from test database tables | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | T | Test Program |
| Category | 0 | |
| Package | WER_TEST | Test |
| Created | 20070302 | SAP |
| Last change | 20100310 | SAP |
| 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 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_WER_STORAGE_TEST has no interface implemented.
Friends
Class CL_WER_STORAGE_TEST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WER_CONST_TEST | Constants | 20070307 | |||
| 2 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WER_EXCEPTION_REPORTER | Services for raising exceptions | 20070307 | |||
| 3 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WER_STORAGE_TEST | Singleton instance | 20070307 | |||
| 4 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WER_SERVICES_TEST | Grouping of generic services | 20070307 | |||
| 5 | Static Attribute | Protected | Type reference (TYPE) | WER_ELEMENT_ID | CL_WER_CONST_TEST=>C_DEEP_ITEM_TEST_3_LEVELS_ID | Element unique identifier | 20070307 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070307 | |
| 2 | Instance method | Public | Method | Save meta data of an item structure in the database | 20070307 | |
| 3 | Instance method | Public | Method | Returns the context mapping entries for rules | 20070307 | |
| 4 | Static method | Private | Method | 20070307 | ||
| 5 | Static method | Public | Method | Returns the singleton object | 20070307 | |
| 6 | Instance method | Public | Method | Loads meta data of an item structure from the database | 20070307 | |
| 7 | Instance method | Private | Method | Builds metadata for one level (structure) of a deep-struct | 20070307 | |
| 8 | Instance method | Private | Method | Builds metadata for one level (table) of a deep-struct | 20070307 |
Events
Class CL_WER_STORAGE_TEST has no event.
Types
Class CL_WER_STORAGE_TEST has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_WER_STORAGE_TEST has no parameter.
Method CLASS_CONSTRUCTOR on class CL_WER_STORAGE_TEST has no exception.
Method GENERATE_ITEM_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ROOT_ID | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | ID of the item saved (root) | 20070307 | |||
| 2 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Name of table type | 20070307 |
Method GENERATE_ITEM_FIELDS on class CL_WER_STORAGE_TEST has no exception.
Method GET_CONTEXT_MAPPING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RULES | Call by reference | Type reference (TYPE) | WER_RS_LINE_TTY | List of element identificators | 20070307 | |||
| 2 | I_APPLICATION | Call by reference | Type reference (TYPE) | WER_APPLICATION_ID | Application identifier | 20070307 | |||
| 3 | RR_CTX_MAPPING | Value transfer | Object reference (TYPE REF TO) | WER_CONTEXT_MAP_SRT_TTY | Context mapping of item fields againts data objects | 20070307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20070307 |
Method GET_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_GUID | Value transfer | Type reference (TYPE) | WER_ELEMENT_ID | Element unique identifier | 20070307 |
Method GET_GUID on class CL_WER_STORAGE_TEST has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_WER_STORAGE_TEST | Storage | 20070307 |
Method GET_INSTANCE on class CL_WER_STORAGE_TEST has no exception.
Method GET_ITEM_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Unique work item identifier (GUID) | 20070307 | |||
| 2 | RR_ITEM_FIELDS_MD | Value transfer | Object reference (TYPE REF TO) | WER_ITEM_FIELDS_TTY | Item field meta data object and field name | 20070307 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No parent entry exists for the requested item structure | 20070307 | ||
| 2 | No entry exists for the requested item structure | 20070307 |
Method GET_STRUCT_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ROOT_ID | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Root item field id | 20070307 | |||
| 2 | I_ITEM | Call by reference | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20070307 | |||
| 3 | I_LEVEL | Call by reference | Type reference (TYPE) | I | 1 | Level | 20070307 | ||
| 4 | I_PARENT_ID | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20070307 | |||
| 5 | I_PARENT_XPATH | Call by reference | Type reference (TYPE) | WER_XPATH | Field name including the parent structure names | 20070307 | |||
| 6 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Field type | 20070307 | |||
| 7 | XT_FIELDS_LIST | Call by reference | Type reference (TYPE) | WER_ITEM_FIELDS_TTY | Table type for the database table wer_item_fields. | 20070307 |
Method GET_STRUCT_FIELDS on class CL_WER_STORAGE_TEST has no exception.
Method GET_TABLE_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ITEM | Call by reference | Type reference (TYPE) | WER_ITEM_ID | Unique work item identifier (GUID) | 20070307 | |||
| 2 | I_LEVEL | Call by reference | Type reference (TYPE) | I | Level | 20070307 | |||
| 3 | I_PARENT_ID | Call by reference | Type reference (TYPE) | WER_ITEM_FIELD_ID | Unique Item field identifier (GUID) | 20070307 | |||
| 4 | I_PARENT_XPATH | Call by reference | Type reference (TYPE) | WER_XPATH | Field name including the parent structure names | 20070307 | |||
| 5 | I_TYPE | Call by reference | Type reference (TYPE) | FIELD_TYPE | Field type | 20070307 | |||
| 6 | XT_FIELDS_LIST | Call by reference | Type reference (TYPE) | WER_ITEM_FIELDS_TTY | Table type for the database table wer_item_fields. | 20070307 |
Method GET_TABLE_FIELDS on class CL_WER_STORAGE_TEST has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in |