SAP ABAP Class CL_ESH_CREATE_TEST_MODEL_DATA (Helper class for test data creation)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_TEST (Package) Test (Search Hub + Appliance), Smoke Test, Unit Test, EPM
Properties
Class CL_ESH_CREATE_TEST_MODEL_DATA  
Short Description Helper class for test data creation    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status T  Test Program 
Category 0   
Package S_ESH_TEST   Test (Search Hub + Appliance), Smoke Test, Unit Test, EPM 
Created 20080410   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_ESH_CREATE_TEST_MODEL_DATA has no forward declaration.
Interfaces
Class CL_ESH_CREATE_TEST_MODEL_DATA has no interface implemented.
Friends
Class CL_ESH_CREATE_TEST_MODEL_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONTEXT Instance attribute Private Type reference (TYPE) ESH_E_TST_CONTEXT test context for this instance 20080410
Methods
# Method Level Visibility Method type Description Created on
1 CLEANUP Instance method Public Method Clean up all tables for the current context 20080410
2 CONSTRUCTOR Instance method Public Constructor 20080410
3 CREATE_ACL_SWITCH Instance method Public Method Create an ACL switch entry 20080410
4 CREATE_ACL_USR_GRP_NEG Instance method Public Method create a user within a access denied group 20080410
5 CREATE_ACL_USR_GRP_POS Instance method Public Method create a user within a access allowed group 20080410
6 CREATE_CUSTOMER Instance method Public Method Create a customer 20080410
7 CREATE_EMP2MART Instance method Public Method create employee to material assignement 20080410
8 CREATE_EMP2USER Instance method Public Method Create employee to user assignement 20080410
9 CREATE_EMPLOYEE_DATA Instance method Public Method Create an employee 20080410
10 CREATE_LANGUAGE Instance method Public Method create language entry 20080410
11 CREATE_MATERIAL Instance method Public Method Create a material 20080410
12 CREATE_MATERIAL_PRICE Instance method Public Method Create an price for a material 20080410
13 CREATE_MATERIAL_TEXT Instance method Public Method Create a material text 20080410
14 CREATE_MAT_ACL_GRP_NEG Instance method Public Method create group,which has no access rights for a material 20080410
15 CREATE_MAT_ACL_GRP_POS Instance method Public Method create group,which has access rights for a material 20080410
16 CREATE_SCHEDULE_LINE Instance method Public Method Create a schedule line for ordered items 20080410
17 CREATE_SO_HEADER Instance method Public Method Create header data for sales order 20080410
18 CREATE_SO_ITEM Instance method Public Method Create SO item 20080410
19 CREATE_T134 Instance method Public Method create a t134 entry 20080410
Events
Class CL_ESH_CREATE_TEST_MODEL_DATA has no event.
Types
Class CL_ESH_CREATE_TEST_MODEL_DATA has no local type.
Method Signatures

Method CLEANUP Signature

Method CLEANUP on class CL_ESH_CREATE_TEST_MODEL_DATA has no parameter.
Method CLEANUP on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CONTEXT Call by reference Type reference (TYPE) ESH_E_TST_CONTEXT default context for this instance 20080410

Method CONSTRUCTOR on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_ACL_SWITCH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJ_TYPE Call by reference Type reference (TYPE) ESH_E_TST_ACL_OBJ_TYPE Object type for ACL access 20080410
2 Importing IV_UNAME Call by reference Type reference (TYPE) SYUNAME User Name 20080410

Method CREATE_ACL_SWITCH on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_ACL_USR_GRP_NEG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LV_ACLGROUP Call by reference Type reference (TYPE) ESH_E_TST_ACLGROUP ACL Group ID 20080410
2 Importing LV_UNAME Call by reference Type reference (TYPE) SYUNAME User Name 20080410

Method CREATE_ACL_USR_GRP_NEG on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_ACL_USR_GRP_POS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LV_ACLGROUP Call by reference Type reference (TYPE) ESH_E_TST_ACLGROUP ACL Group ID 20080410
2 Importing LV_UNAME Call by reference Type reference (TYPE) SYUNAME User Name 20080410

Method CREATE_ACL_USR_GRP_POS on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_CUSTOMER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CUSTOMER_ID Call by reference Type reference (TYPE) ESH_E_TST_CUSTOMER_ID ES Test object - Internal Customer ID 20080410
2 Importing IV_CUSTOMER_ID_EXT Call by reference Type reference (TYPE) ESH_E_TST_CUST_ID_EXT ES test object - customer ID external 20080410
3 Importing IV_CUSTOMER_NAME Call by reference Type reference (TYPE) ESH_E_TST_CUST_NAME ES test object - customer name 20080410

Method CREATE_CUSTOMER on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_EMP2MART Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMPLOYEENR Call by reference Type reference (TYPE) ESH_E_TST_EMPLOYEENR Employee identification number 20080410
2 Importing IV_MTART Call by reference Type reference (TYPE) ESH_E_TST_MTART Material type 20080410

Method CREATE_EMP2MART on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_EMP2USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMPLOYEENR Call by reference Type reference (TYPE) ESH_E_TST_EMPLOYEENR Employee identification number 20080410

Method CREATE_EMP2USER on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_EMPLOYEE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMP_LANGU Call by reference Type reference (TYPE) SPRAS 'E' primary language of employee 20080410
2 Importing IV_EMP_NAME Call by reference Type reference (TYPE) ESH_E_TST_NAME 'NO NAME' Employee name 20080410
3 Importing IV_EMP_NO_INT Call by reference Type reference (TYPE) ESH_E_TST_EMPLOYEENR Employee identification number 20080410
4 Importing IV_UNAME Call by reference Type reference (TYPE) SYUNAME 'NO USERNAME' User Name 20080410

Method CREATE_EMPLOYEE_DATA on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_LANGUAGE Signature

Method CREATE_LANGUAGE on class CL_ESH_CREATE_TEST_MODEL_DATA has no parameter.
Method CREATE_LANGUAGE on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_MATERIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BEGRU Call by reference Type reference (TYPE) ESH_E_TST_BEGRU Authorization Group 20080410
2 Importing IV_CREATED_BY Call by reference Type reference (TYPE) SYUNAME User Name 20080410
3 Importing IV_MATART Call by reference Type reference (TYPE) STRING 'FERT' Type of material 20080410
4 Importing IV_MATNO_EXT Call by reference Type reference (TYPE) ESH_E_TST_MATNR Material number 20080410
5 Importing IV_MATNO_INT Call by reference Type reference (TYPE) ESH_E_TST_MATNR Material Number 20080410
6 Importing IV_MEINS Call by reference Type reference (TYPE) ESH_E_TST_MEINS Base Unit of Measure 20080410

Method CREATE_MATERIAL on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_MATERIAL_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MATNR Call by reference Type reference (TYPE) ESH_E_TST_MATNR ES Test Object Material - Material Number 20080410
2 Importing IV_MAT_PRICE_AMT Call by reference Type reference (TYPE) ESH_E_TST_AMOUNT Amount of money 20080410
3 Importing IV_MAT_PRICE_CUR Call by reference Type reference (TYPE) ESH_E_TST_CURRENCY Currency of money 20080410

Method CREATE_MATERIAL_PRICE on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_MATERIAL_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LANGUAGE Call by reference Type reference (TYPE) SPRAS Lanugate to create short text for 20080410
2 Importing IV_MATNR Call by reference Type reference (TYPE) ESH_E_TST_MATNR Material number to create text for 20080410
3 Importing IV_TEXT Call by reference Type reference (TYPE) TEXT80 Text for specified language 20080410

Method CREATE_MATERIAL_TEXT on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_MAT_ACL_GRP_NEG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACLGROUP Call by reference Type reference (TYPE) ESH_E_TST_ACLGROUP ACL Group ID 20080410
2 Importing IV_MATNR Call by reference Type reference (TYPE) ESH_E_TST_MATNR ES Test Object Material - Material Number 20080410

Method CREATE_MAT_ACL_GRP_NEG on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_MAT_ACL_GRP_POS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACLGROUP Call by reference Type reference (TYPE) ESH_E_TST_ACLGROUP ACL Group ID 20080410
2 Importing IV_MATNR Call by reference Type reference (TYPE) ESH_E_TST_MATNR ES Test Object Material - Material Number 20080410

Method CREATE_MAT_ACL_GRP_POS on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_SCHEDULE_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_QUANTITY Call by reference Type reference (TYPE) ESH_E_TST_ITM_QTY ES Test object - Sales order item shipment schedule id 20080410
2 Importing IV_SALES_ORDER_ID Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_ID ES Test Objects - Data Context ID 20080410
3 Importing IV_SALES_ORDER_POS_ Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_POS_ID_E ES test object - Sales Order ID 20080410
4 Importing IV_SCHEDULE_LINE_ID Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_SCHED_ID ES test object - Sales Order position ID 20080410
5 Importing IV_SHP_DATE Call by reference Type reference (TYPE) ESH_E_TEST_SCHED_DATE 20080410

Method CREATE_SCHEDULE_LINE on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_SO_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CUSTOMER_ID Call by reference Type reference (TYPE) ESH_E_TST_CUSTOMER_ID ES Test object - Internal Customer ID 20080410
2 Importing IV_SO_ID Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_ID ES test object - Sales Order ID 20080410
3 Importing IV_SO_ID_EXT Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_ID_EXT ES test object - external Sales Order ID 20080410

Method CREATE_SO_HEADER on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_SO_ITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ITM_QUANTITY Call by reference Type reference (TYPE) ESH_E_TST_ITM_QTY Quantity of material to be ordered 20080410
2 Importing IV_MATNR Call by reference Type reference (TYPE) ESH_E_TST_MATNR Number of ordered material 20080410
3 Importing IV_SO_ID Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_ID SO id 20080410
4 Importing IV_SO_POS_ID Call by reference Type reference (TYPE) ESH_E_TST_SALES_ORDER_POS_ID_E Position within SO 20080410

Method CREATE_SO_ITEM on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.

Method CREATE_T134 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_BEGRU Call by reference Type reference (TYPE) ESH_E_TST_BEGRU Authorization Group 20080410
2 Importing IV_MTART Call by reference Type reference (TYPE) ESH_E_TST_MTART Material type 20080410

Method CREATE_T134 on class CL_ESH_CREATE_TEST_MODEL_DATA has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 711