SAP ABAP Class CL_UID_IUID (IUID Engine Class)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-UID (Application Component) Unique Identification
     IUID (Package) Item Unique Identification
Properties
Class CL_UID_IUID  
Short Description IUID Engine Class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package IUID   Item Unique Identification 
Created 20070627   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_UID_IUID has no interface implemented.
Friends
Class CL_UID_IUID has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_IAC_ID Static Attribute Private Type reference (TYPE) FIELDNAME 'UID_IAC_ID' Constant: IAC Data Element 20070914
2 GC_IDENT Static Attribute Private Type reference (TYPE) FIELDNAME 'IDENT' Constant: Ident 20070914
3 GC_IUID Constant Private Type reference (TYPE) UID_TYPE 'IUID' Constant Value 'IUID' 20070627
4 GC_M Constant Private Type reference (TYPE) FLAG 'M' Constant Value 'M' 20070627
5 GC_MATNR_DE Static Attribute Private Type reference (TYPE) FIELDNAME 'MATNR' Constant: MATNR Data Element 20070914
6 GC_S Constant Private Type reference (TYPE) FLAG 'S' Constant Value 'S' 20070627
7 GC_SERNR_DE Static Attribute Private Type reference (TYPE) FIELDNAME 'SERNR' Constant: SERNR Data Element 20070914
8 GC_UID1 Constant Private Type reference (TYPE) IUID_TYPE 'UID1' Constant Value 'UID1' 20070710
9 GC_UID2 Constant Private Type reference (TYPE) IUID_TYPE 'UID2' Constant Value 'UID2' 20070710
10 GC_UID_EID Static Attribute Private Type reference (TYPE) FIELDNAME 'UID_EID' Constant: EID Data Element 20070914
11 GC_UII Static Attribute Public Type reference (TYPE) CHAR10 'UII' Screen Group Ctrl. Fld. 20070730
12 GC_VALID_CHARACTERS Constant Private Type reference (TYPE) CHAR50 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/-' Valid Characters for Building a UII 20080226
13 GC_X Constant Private Type reference (TYPE) FLAG 'X' Constant Value 'X' 20070627
14 GR_BADI_IUID Static Attribute Private Object reference (TYPE REF TO) BADI_IUID 20080509
15 GS_BAPIRETURN_IN Static Attribute Private Type reference (TYPE) BAPIRET2 Message containing structure 20080509
16 GS_IUID_EQUI_DATA Static Attribute Private Type reference (TYPE) IUID_EQUI Structure containing IUID Data of Database Table EQUI 20080509
17 GS_IUID_EQUI_TEMP Static Attribute Private Type reference (TYPE) IUID_EQUI Structure with IUID Related Fields of Database Table EQUI 20080509
18 GS_IUID_MAT_DATA Static Attribute Private Type reference (TYPE) IUID_MATERIAL IUID Structure for CL_UID_IUID 20080509
19 GS_TUID_EID Static Attribute Private Type reference (TYPE) TUID_EID Item Unique Identification Enterprise Identifier 20080509
20 GT_BAPIRETURN_OUT Static Attribute Private Type reference (TYPE) BAPIRET2_T Message containing table 20080509
21 GT_TIUID_TYPE Static Attribute Private Type reference (TYPE) IUID_TYPE_TAB Table Containing Valid IUID Types 20080509
22 GT_TIUID_TYPE_T Static Attribute Private Type reference (TYPE) IUID_TYPE_DESC_TAB Table Containing Descriptions of Valid IUID Types 20080509
23 GT_TUID_EID Static Attribute Private Type reference (TYPE) TUID_EID_TAB Table Type of Database Table TUID_EID 20080509
24 GT_UII Static Attribute Private Type reference (TYPE) UII_CHAR72_TAB Table of Unique Item Identifiers (SSTRING) 20080509
25 GT_UII_GENERATED Static Attribute Private Type reference (TYPE) TTY_UII_SORTED Table of generated UIIs 20080617
26 GV_UII Static Attribute Private Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20080509
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_UII Static method Public Method Checks Consistency of the given Unique Item Identifier 20070905
2 CHECK_UII_CHARACTERS Static method Public Method Check for Validity of the Characters the UII is Build with 20080318
3 CHECK_UII_LENGTH Static method Private Method Check for Valid Length of Given Unique Item Identifier 20070628
4 CLASS_CONSTRUCTOR Static method Public Constructor 20080509
5 CREATE_UII Static method Public Method Create New Unique Item Identifier 20070627
6 EXISTS_UII Static method Public Method Checks if given Unique Item Identifier exists on the databas 20070905
7 GET_COMPONENTS_OF_UII Static method Public Method Get Components of Given Unique Item Identifier or Equipment 20070628
8 GET_EID_IAC Static method Private Method Get Issuing Agency Code and Enterprise ID for Given Plant 20070709
9 GET_EQUNR_OF_UII Static method Public Method Get Equipment Number of given UII 20070806
10 GET_EQUNR_OF_UII_BY_DB Static method Public Method Get Equipment Number Referring to Given UII from Database 20080527
11 GET_IUID_MAT_DATA Static method Private Method Get IUID Information of Given Material 20070629
12 GET_IUID_TYPE Static method Public Method Get IUID Type of Given Material or Equipment 20070629
13 GET_IUID_TYPE_DESC Static method Public Method Get Description of IUID Type 20070713
14 GET_MATNR_SERNR_OF_UII Static method Public Method Get Material Number and Serial Number of given UII 20070731
15 GET_RETURN_TAB Static method Public Method Get Return Table of Executed Method of Class CL_UID_IUID 20070628
16 GET_SERNR_OF_UII Static method Public Method Get Serial Number of given Unique Item Identifier 20070628
17 GET_SUPERIOREQUI_OF_EQUNR Static method Public Method Get equnr of parent equipment by given child equnr 20080429
18 GET_UII_OF_EQUNR Static method Public Method Get UII of given Equipment Number 20070808
19 GET_UII_OF_MATNR_SERNR Static method Public Method Get UII and EQUNR of given Material Number and Serial Number 20070801
20 INIT_RETURN_TAB Static method Public Method Initializes the global Attribute MT_BAPIRETURN_OUT 20071114
21 IS_MATERIAL_IUID_RELEVANT Static method Public Method Check for IUID Relevance of Given Material 20070628
22 IS_UII_GENERATED Static method Public Method Check if UII has been generated 20080617
23 IS_UII_INTERNAL Static method Public Method Check if UII is internally created 20070918
24 REFRESH Static method Public Method Refresh internal buffers 20080617
25 UPDATE_LOG Static method Private Method Update Application Log 20070628
Events
Class CL_UID_IUID has no event.
Types
Class CL_UID_IUID has no local type.
Method Signatures

Method CHECK_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IUID_TYPE Call by reference Type reference (TYPE) IUID_TYPE Structure Type of UII 20070905
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070905
3 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier 20070905
4 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070905
5 Returning RV_UII_OK Value transfer Type reference (TYPE) FLAG Indicating Consistency of Checked Unique Item Identifier 20070905

Method CHECK_UII on class CL_UID_IUID has no exception.

Method CHECK_UII_CHARACTERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier 20080318
2 Returning RV_UII_OK Value transfer Type reference (TYPE) XFELD UII is build with valid characters 20080318

Method CHECK_UII_CHARACTERS on class CL_UID_IUID has no exception.

Method CHECK_UII_LENGTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_UII_LENGTH_OK Value transfer Type reference (TYPE) FLAG Flag indicating valid length of given UII 20070628

Method CHECK_UII_LENGTH on class CL_UID_IUID has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_UID_IUID has no parameter.
Method CLASS_CONSTRUCTOR on class CL_UID_IUID has no exception.

Method CREATE_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IUID_RELEVANT Call by reference Type reference (TYPE) IUID_RELEVANT Force/Overwrite IUID Relevance 20070713
2 Importing IV_IUID_TYPE Call by reference Type reference (TYPE) IUID_TYPE SPACE Force/Overwrite IUID Type 20081219
3 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070712
4 Importing IV_SERNR Call by reference Type reference (TYPE) GERNR Serial Number 20070712
5 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070712
6 Importing IV_WITH_POPUP Call by reference Type reference (TYPE) XFELD SPACE Show Popup? 20081219
7 Returning RV_CREATED_UII Value transfer Type reference (TYPE) UII_CHAR72 Newly created Unique Item Identifier 20070712
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070713

Method EXISTS_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20070905
2 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070905
3 Returning RV_UII_EXISTS Value transfer Type reference (TYPE) FLAG Flag Indicating Existence of Checked Unique Item Identif. 20070907
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070905

Method GET_COMPONENTS_OF_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20070628
2 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070628
3 Returning RT_COMPONENTS Value transfer Type reference (TYPE) UID_NAME_VAL_TAB Selected Components of Given UII/Equipment 20070628
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070702

Method GET_EID_IAC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070709
# Exception Resumable Description Created on
1 CX_TUID_EID_NOT_FOUND No IAC and EID could be found by given Plant 20070709

Method GET_EQUNR_OF_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070920
2 Returning RV_EQUNR Value transfer Type reference (TYPE) EQUNR Equipment Number 20070920

Method GET_EQUNR_OF_UII on class CL_UID_IUID has no exception.

Method GET_EQUNR_OF_UII_BY_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20080527
2 Returning RV_EQUNR Value transfer Type reference (TYPE) EQUNR Equipment Number 20080527

Method GET_EQUNR_OF_UII_BY_DB on class CL_UID_IUID has no exception.

Method GET_IUID_MAT_DATA 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) MATNR Material Number 20070629
2 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070629
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070702
2 CX_IUID_MAT_DATA_NOT_FOUND No material data could be selected to given UII 20070702

Method GET_IUID_TYPE 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) MATNR Material Number 20070629
2 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070629
3 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070629
4 Returning RV_IUID_TYPE Value transfer Type reference (TYPE) IUID_TYPE Structure Type of UII 20070629
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070702
2 CX_IUID_MAT_DATA_NOT_FOUND No material data could be selected to given UII 20070702
3 CX_UII_NOT_EXISTING UII not existing 20070702

Method GET_IUID_TYPE_DESC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_IUID_TYPE Call by reference Type reference (TYPE) IUID_TYPE Structure Type of UII 20070713
2 Returning RV_IUID_TYPE_DESC Value transfer Type reference (TYPE) UID_TEXT IUID Type Text 20070713
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070713

Method GET_MATNR_SERNR_OF_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20070802
2 Exporting EP_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070731
3 Exporting EP_SERNR Call by reference Type reference (TYPE) GERNR Serial number 20070731
4 Exporting EV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070918
5 Importing IP_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070731

Method GET_MATNR_SERNR_OF_UII on class CL_UID_IUID has no exception.

Method GET_RETURN_TAB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_BAPIRETURN Value transfer Type reference (TYPE) BAPIRET2_T Return Message Log 20070628

Method GET_RETURN_TAB on class CL_UID_IUID has no exception.

Method GET_SERNR_OF_UII Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_INTERNAL_SERNR Call by reference Type reference (TYPE) FLAG 'X' 'X' means SERNR of EQUI, space means subpart of UII 20070628
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070628
3 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070628
4 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070709
5 Returning RV_SERNR Value transfer Type reference (TYPE) GERNR Serial Number 20070628
# Exception Resumable Description Created on
1 CX_IUID_IMPORT_PARAM_MISSING Mandantory importing parameter is missing 20070713
2 CX_UII_NO_SERNR_FOUND No UII Related Serial Number Found 20070713

Method GET_SUPERIOREQUI_OF_EQUNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATBI Call by reference Type reference (TYPE) DATBI Valid To Date 20080429
2 Importing IV_EQUNR Call by reference Type reference (TYPE) EQUNR Equipment Number 20080429
3 Returning RS_HEQUI_UII Value transfer Type reference (TYPE) UII_STR_EQUNR PM: Table Structure for Equipment Numbers with UIIs 20080507

Method GET_SUPERIOREQUI_OF_EQUNR on class CL_UID_IUID has no exception.

Method GET_UII_OF_EQUNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_UII Call by reference Type reference (TYPE) EQUI-UII Unique Item Identifier (CHAR72) 20070808
2 Importing IP_EQUNR Call by reference Type reference (TYPE) EQUI-EQUNR Equipment Number 20070808

Method GET_UII_OF_EQUNR on class CL_UID_IUID has no exception.

Method GET_UII_OF_MATNR_SERNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EP_EQUNR Call by reference Type reference (TYPE) EQUI-EQUNR Equipment Number 20070815
2 Exporting EP_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier (CHAR72) 20070801
3 Importing IP_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20070801
4 Importing IP_SERNR Call by reference Type reference (TYPE) GERNR Serial number 20070801

Method GET_UII_OF_MATNR_SERNR on class CL_UID_IUID has no exception.

Method INIT_RETURN_TAB Signature

Method INIT_RETURN_TAB on class CL_UID_IUID has no parameter.
Method INIT_RETURN_TAB on class CL_UID_IUID has no exception.

Method IS_MATERIAL_IUID_RELEVANT 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) MATNR Material Number 20070628
2 Importing IV_UII_PLANT Call by reference Type reference (TYPE) UII_PLANT Plant Responsible for UII 20070628
3 Returning RV_IUID_RELEVANT Value transfer Type reference (TYPE) IUID_RELEVANT Flag indicating IUID Relevance 20070628

Method IS_MATERIAL_IUID_RELEVANT on class CL_UID_IUID has no exception.

Method IS_UII_GENERATED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier 20080617
2 Returning RV_UII_GENERATED Value transfer Type reference (TYPE) FLAG 20080617

Method IS_UII_GENERATED on class CL_UID_IUID has no exception.

Method IS_UII_INTERNAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_UII Call by reference Type reference (TYPE) UII_CHAR72 Unique Item Identifier 20070918
2 Returning RV_UII_INTERNAL Value transfer Type reference (TYPE) FLAG 'X' = internal created UII otherwise external 20070918

Method IS_UII_INTERNAL on class CL_UID_IUID has no exception.

Method REFRESH Signature

Method REFRESH on class CL_UID_IUID has no parameter.
Method REFRESH on class CL_UID_IUID has no exception.

Method UPDATE_LOG Signature

Method UPDATE_LOG on class CL_UID_IUID has no parameter.
Method UPDATE_LOG on class CL_UID_IUID has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 603