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 CL_WER_CONST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 IF_FDT_QUERY Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_FDT_TYPES 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 SR_CO Static Attribute Protected Object reference (TYPE REF TO) CL_WER_CONST_TEST Constants 20070307
2 SR_ERR_REPORTER Static Attribute Protected Object reference (TYPE REF TO) CL_WER_EXCEPTION_REPORTER Services for raising exceptions 20070307
3 SR_ME Static Attribute Protected Object reference (TYPE REF TO) CL_WER_STORAGE_TEST Singleton instance 20070307
4 SR_SERVICES Static Attribute Protected Object reference (TYPE REF TO) CL_WER_SERVICES_TEST Grouping of generic services 20070307
5 S_INTIAL_GUID 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 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20070307
2 GENERATE_ITEM_FIELDS Instance method Public Method Save meta data of an item structure in the database 20070307
3 GET_CONTEXT_MAPPING Instance method Public Method Returns the context mapping entries for rules 20070307
4 GET_GUID Static method Private Method 20070307
5 GET_INSTANCE Static method Public Method Returns the singleton object 20070307
6 GET_ITEM_FIELDS Instance method Public Method Loads meta data of an item structure from the database 20070307
7 GET_STRUCT_FIELDS Instance method Private Method Builds metadata for one level (structure) of a deep-struct 20070307
8 GET_TABLE_FIELDS 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 Exporting E_ROOT_ID Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID ID of the item saved (root) 20070307
2 Importing 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 Importing IT_RULES Call by reference Type reference (TYPE) WER_RS_LINE_TTY List of element identificators 20070307
2 Importing I_APPLICATION Call by reference Type reference (TYPE) WER_APPLICATION_ID Application identifier 20070307
3 Returning 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 CX_WER_DATA_NOT_FOUND Value does not exist 20070307

Method GET_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Returning 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 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Unique work item identifier (GUID) 20070307
2 Returning 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 CX_WER_DATA_INVALID No parent entry exists for the requested item structure 20070307
2 CX_WER_DATA_NOT_FOUND 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 Exporting E_ROOT_ID Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Root item field id 20070307
2 Importing I_ITEM Call by reference Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20070307
3 Importing I_LEVEL Call by reference Type reference (TYPE) I 1 Level 20070307
4 Importing I_PARENT_ID Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20070307
5 Importing I_PARENT_XPATH Call by reference Type reference (TYPE) WER_XPATH Field name including the parent structure names 20070307
6 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Field type 20070307
7 Changing 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 Importing I_ITEM Call by reference Type reference (TYPE) WER_ITEM_ID Unique work item identifier (GUID) 20070307
2 Importing I_LEVEL Call by reference Type reference (TYPE) I Level 20070307
3 Importing I_PARENT_ID Call by reference Type reference (TYPE) WER_ITEM_FIELD_ID Unique Item field identifier (GUID) 20070307
4 Importing I_PARENT_XPATH Call by reference Type reference (TYPE) WER_XPATH Field name including the parent structure names 20070307
5 Importing I_TYPE Call by reference Type reference (TYPE) FIELD_TYPE Field type 20070307
6 Changing 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