SAP ABAP Class /AIN/CL_UTEST_MASTER_DATA (service class, crts and prvds AII master data for unit tests)
Hierarchy
AIN (Software Component) AIN 710: Add-On Installation
   AIE-AII (Application Component) Infrastructure
     /AIN/DM (Package) Auto-ID Data Management
Properties
Class /AIN/CL_UTEST_MASTER_DATA  
Short Description service class, crts and prvds AII master data for unit tests    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /AIN/DM   Auto-ID Data Management 
Created 20060118   SAP 
Last change 20141109   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class /AIN/CL_UTEST_MASTER_DATA has no forward declaration.
Interfaces
Class /AIN/CL_UTEST_MASTER_DATA has no interface implemented.
Friends
Class /AIN/CL_UTEST_MASTER_DATA has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_ASSET_TYPE Constant Private Type reference (TYPE) C 47 20060118
2 MC_COMPANY_PREFIX Constant Private Type reference (TYPE) /AIN/EPC_PREFIX '0037000' Company Prefix (Wirh Leading Zero) 20060118
3 MC_GRAI Constant Private Type reference (TYPE) /AIN/GRAI '00037000000471' Global Returnable Asset Identifier (GRAI) 20060118
4 MC_GTIN Constant Private Type reference (TYPE) /AIN/GTIN '00037000601234' Global Trade Item Number (GTIN) 20060118
5 MC_PROD_GRAI Constant Private Type reference (TYPE) AIN_PROD_GRAI '00037000000471' GRAI(w/o Serial No.) 20060118
6 MS_DEVCTR Instance attribute Private Type reference (TYPE) /AIN/DM_DEVCTR_STR Device controller 20060118
7 MS_DEVICEGROUP_FIXED Instance attribute Private Type reference (TYPE) /AIN/DM_DEVGRP_STR Device group 20060118
8 MS_DEVICEGROUP_MOBILE Instance attribute Private Type reference (TYPE) /AIN/DM_DEVGRP_STR Device group 20060118
9 MS_DEVICE_FIXED Instance attribute Private Type reference (TYPE) /AIN/DM_DEV_STR Device 20060118
10 MS_DEVICE_MOBILE Instance attribute Private Type reference (TYPE) /AIN/DM_DEV_STR Device 20060118
11 MS_LOCATION Instance attribute Private Type reference (TYPE) /AIN/DM_LOC_DATA_STR Nested structure for location data. 20060118
12 MS_MATERIAL_PRODUCT Instance attribute Private Type reference (TYPE) /AIN/DM_PROD_STR Product 20060118
13 MS_MATERIAL_PRODUCT2 Instance attribute Private Type reference (TYPE) /AIN/DM_PROD_STR Product2 20060310
14 MS_RETURNABLE_PRODUCT Instance attribute Private Type reference (TYPE) /AIN/DM_PROD_STR Product 20060118
15 MV_ID_TYPE Instance attribute Private Type reference (TYPE) /AIN/EPC_VERSION RFID Tag ID Version 20060920
16 MV_LOGSYS Instance attribute Private Type reference (TYPE) LOGSYS Logical system 20060925
17 MV_MATERIAL_CATEGORY_ID Instance attribute Private Type reference (TYPE) COMT_CATEGORY_ID 'AIN_MATERIAL' Material Category ID 20061005
18 MV_PRODUCT_HIERARCHY_ID Instance attribute Private Type reference (TYPE) COMT_HIERARCHY_ID 'AIN_BASE' Category Hierarchy ID 20060926
19 MV_RETURNABLE_CATEGORY_ID Instance attribute Private Type reference (TYPE) COMT_CATEGORY_ID 'AIN_RETURNABLE' Returnable Category ID 20061005
20 MV_VERBOSE Instance attribute Private Type reference (TYPE) BOOLE_D ' ' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20060118
Methods
# Method Level Visibility Method type Description Created on
1 CLEAR_BUFFERS_AND_ROLLBACK Instance method Public Method clears all affected buffers and executes a rollback 20060118
2 CONSTRUCTOR Instance method Public Constructor 20060118
3 CREATE Instance method Public Method creates a set of master data and writes it to the database 20060118
4 CREATE_BARCODE_ASSIGNMENT Instance method Private Method 20060118
5 CREATE_COMPANY_PREFIX Instance method Private Method 20060118
6 CREATE_DEVICE Instance method Private Method 20060118
7 CREATE_DEVICE_CONTROLLER Instance method Private Method 20060118
8 CREATE_DEVICE_GROUP Instance method Private Method 20060118
9 CREATE_GRAI_NUMBER_RANGE Instance method Private Method 20060118
10 CREATE_GTIN_NUMBER_RANGE Instance method Private Method 20060118
11 CREATE_ID_VERSION Instance method Private Method Sets EPC version in database from attribute MV_EPC_VERSION 20060925
12 CREATE_LOCATION Instance method Private Method 20060118
13 CREATE_LOGSYS Instance method Private Method Creates the logical system name in the TBDLS table 20060925
14 CREATE_PRODUCT Instance method Private Method 20060118
15 CREATE_PRODUCT_CATEGORY Instance method Private Method Creates Product category 20060928
16 CREATE_PRODUCT_HIERARCHY Instance method Private Method Creates Product hierarchy 20060925
17 CREATE_SSCC_NUMBER_RANGE Instance method Private Method 20060118
18 GET_COMPANY_PREFIX Static method Public Method returns the company prefix 20060118
19 GET_DEVICE_CONTROLLER Instance method Public Method returns a device controller 20060118
20 GET_DEVICE_FIXED Instance method Public Method returns a fixed device 20060118
21 GET_DEVICE_GROUP_FIXED Instance method Public Method returns a fixed device group 20060118
22 GET_DEVICE_GROUP_MOBILE Instance method Public Method returns a mobile device group 20060118
23 GET_DEVICE_MOBILE Instance method Public Method returns a mobile device 20060118
24 GET_GRAI Static method Public Method returns the grai 20060118
25 GET_GTIN Static method Public Method returns the gtin 20060118
26 GET_ID_TYPE Instance method Public Method Returns the EPC version from attribute MV_EPC_VERSION 20060921
27 GET_LOCATION Instance method Public Method returns a location 20060118
28 GET_LOGSYS Instance method Public Method Gets the logical system 20060925
29 GET_MATERIAL_PRODUCT Instance method Public Method returns a material product (with a GTIN) 20060118
30 GET_PRODUCT_CATEGORY Instance method Public Method Gets Product Category id and guid 20061005
31 GET_PRODUCT_HIERARCHY Instance method Public Method Gets the product hierarchy 20060926
32 GET_RETURNABLE_PRODUCT Instance method Public Method returns a returnable product (with a GRAI) 20060118
33 UPDATE_PRODUCT_HIERARCHY Instance method Private Method Update Product Hierarchy AIN_BASE with Root Category data 20061009
Events
Class /AIN/CL_UTEST_MASTER_DATA has no event.
Types
Class /AIN/CL_UTEST_MASTER_DATA has no local type.
Method Signatures

Method CLEAR_BUFFERS_AND_ROLLBACK Signature

Method CLEAR_BUFFERS_AND_ROLLBACK on class /AIN/CL_UTEST_MASTER_DATA has no parameter.
Method CLEAR_BUFFERS_AND_ROLLBACK on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ID_TYPE Call by reference Type reference (TYPE) /AIN/EPC_VERSION 'EPC_1.30' RFID Tag ID Version 20060920
2 Importing IV_VERBOSE Call by reference Type reference (TYPE) BOOLE_D ' ' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20060118

Method CONSTRUCTOR on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE Signature

Method CREATE on class /AIN/CL_UTEST_MASTER_DATA has no parameter.
Method CREATE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_BARCODE_ASSIGNMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_BARCODE Call by reference Type reference (TYPE) /AIN/TBC_AIASSG Barcode Customizing: Assignment of Applic. Identifier Type 20060118

Method CREATE_BARCODE_ASSIGNMENT on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_COMPANY_PREFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_COMP_PREFIX Call by reference Type reference (TYPE) /AIN/TEPC_PREFIX Company Prefix 20060118

Method CREATE_COMPANY_PREFIX on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_DEVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DEV Call by reference Type reference (TYPE) /AIN/DM_DEV_STR Device 20060118

Method CREATE_DEVICE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_DEVICE_CONTROLLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DEVCTR Call by reference Type reference (TYPE) /AIN/DM_DEVCTR_STR Device controller 20060118

Method CREATE_DEVICE_CONTROLLER on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_DEVICE_GROUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DEVGRP Call by reference Type reference (TYPE) /AIN/DM_DEVGRP_STR Device group 20060118

Method CREATE_DEVICE_GROUP on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_GRAI_NUMBER_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_GRAI_NRRANG Call by reference Type reference (TYPE) /AIN/GRAI_NRRANG_STR GRAI Nmber Range Data Structure 20060118

Method CREATE_GRAI_NUMBER_RANGE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_GTIN_NUMBER_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_GTIN_NRRANG Call by reference Type reference (TYPE) /AIN/GTIN_NRRANG_STR GTIN Nmber Range Data Structure 20060118

Method CREATE_GTIN_NUMBER_RANGE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_ID_VERSION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_EPC_VERSION Call by reference Type reference (TYPE) /AIN/TEPC_ACTVER EPC version 20060925

Method CREATE_ID_VERSION on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_LOCATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_LOC Call by reference Type reference (TYPE) /AIN/DM_LOC_DATA_STR Nested structure for location data. 20060118

Method CREATE_LOCATION on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_LOGSYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Importing LOGSYS value for creating it in TBDLS table 20060925
2 Exporting RV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Returns LOGSYS value from TBDLS table 20060925

Method CREATE_LOGSYS on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_PRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_PROD Call by reference Type reference (TYPE) /AIN/DM_PROD_STR Product 20060118

Method CREATE_PRODUCT on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_PRODUCT_CATEGORY Signature

Method CREATE_PRODUCT_CATEGORY on class /AIN/CL_UTEST_MASTER_DATA has no parameter.
Method CREATE_PRODUCT_CATEGORY on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_PRODUCT_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PRODUCT_HIERARCHY_GUID Call by reference Type reference (TYPE) COMT_HIERARCHY_GUID Category Hierarchy GUID 20060926
2 Exporting EV_PRODUCT_HIERARCHY_ID Call by reference Type reference (TYPE) COMT_HIERARCHY_ID Category Hierarchy ID 20060926

Method CREATE_PRODUCT_HIERARCHY on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method CREATE_SSCC_NUMBER_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_SSCC_NRRANG Call by reference Type reference (TYPE) /AIN/SSCC_NRRANG_STR SSCC Nmber Range Data Structure 20060118

Method CREATE_SSCC_NUMBER_RANGE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_COMPANY_PREFIX Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_COMPANY_PREFIX Value transfer Type reference (TYPE) /AIN/EPC_PREFIX Company Prefix (Wirh Leading Zero) 20060118

Method GET_COMPANY_PREFIX on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_DEVICE_CONTROLLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_DEVCTR Value transfer Type reference (TYPE) /AIN/DM_DEVCTR_STR Device controller 20060118

Method GET_DEVICE_CONTROLLER on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_DEVICE_FIXED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_DEV Value transfer Type reference (TYPE) /AIN/DM_DEV_STR Device 20060118

Method GET_DEVICE_FIXED on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_DEVICE_GROUP_FIXED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_DEVGRP Value transfer Type reference (TYPE) /AIN/DM_DEVGRP_STR Device group 20060118

Method GET_DEVICE_GROUP_FIXED on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_DEVICE_GROUP_MOBILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_DEVGRP Value transfer Type reference (TYPE) /AIN/DM_DEVGRP_STR Device group 20060118

Method GET_DEVICE_GROUP_MOBILE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_DEVICE_MOBILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_DEV Value transfer Type reference (TYPE) /AIN/DM_DEV_STR Device 20060118

Method GET_DEVICE_MOBILE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_GRAI Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_GRAI Value transfer Type reference (TYPE) /AIN/GRAI Global Returnable Asset Identifier (GRAI) 20060118

Method GET_GRAI on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_GTIN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_GTIN Value transfer Type reference (TYPE) /AIN/GTIN Global Trade Item Number (GTIN) 20060118

Method GET_GTIN on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_ID_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_EPC_VERSION Value transfer Type reference (TYPE) /AIN/EPC_VERSION EPC Version 20060921

Method GET_ID_TYPE on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_LOCATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_LOC Value transfer Type reference (TYPE) /AIN/DM_LOC_DATA_STR Nested structure for location data. 20060118

Method GET_LOCATION on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_LOGSYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOGSYS Call by reference Type reference (TYPE) LOGSYS Logical system 20060926

Method GET_LOGSYS on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_MATERIAL_PRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLAG Call by reference Type reference (TYPE) NUM1 Numeric 1-character 20060310
2 Returning RS_PROD Value transfer Type reference (TYPE) /AIN/DM_PROD_STR Product 20060118

Method GET_MATERIAL_PRODUCT on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_PRODUCT_CATEGORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MATERIAL_CATEGORY_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Category GUID 20061005
2 Exporting EV_MATERIAL_CATEGORY_ID Call by reference Type reference (TYPE) COMT_CATEGORY_ID Category ID 20061005
3 Exporting EV_RETURNABLE_CATEGORY_GUID Call by reference Type reference (TYPE) COMT_CATEGORY_GUID Category GUID 20061005
4 Exporting EV_RETURNABLE_CATEGORY_ID Call by reference Type reference (TYPE) COMT_CATEGORY_ID Category ID 20061005

Method GET_PRODUCT_CATEGORY on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_PRODUCT_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PRODUCT_HIERARCHY_GUID Call by reference Type reference (TYPE) COMT_HIERARCHY_GUID Category Hierarchy GUID 20060926
2 Exporting EV_PRODUCT_HIERARCHY_ID Call by reference Type reference (TYPE) COMT_HIERARCHY_ID Category Hierarchy ID 20060926

Method GET_PRODUCT_HIERARCHY on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method GET_RETURNABLE_PRODUCT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RS_PROD Value transfer Type reference (TYPE) /AIN/DM_PROD_STR Product 20060118

Method GET_RETURNABLE_PRODUCT on class /AIN/CL_UTEST_MASTER_DATA has no exception.

Method UPDATE_PRODUCT_HIERARCHY Signature

Method UPDATE_PRODUCT_HIERARCHY on class /AIN/CL_UTEST_MASTER_DATA has no parameter.
Method UPDATE_PRODUCT_HIERARCHY on class /AIN/CL_UTEST_MASTER_DATA has no exception.
History
Last changed by/on SAP  20141109 
SAP Release Created in 400