SAP ABAP Class CL_ESH_CO_UNIQUE_ID (Dynamic Unique IDs)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-EIM-ESH (Application Component) NetWeaver Enterprise Search
     S_ESH_ENG_COMMON (Package) Common
Properties
Class CL_ESH_CO_UNIQUE_ID  
Short Description Dynamic Unique IDs    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status     
Category 0   
Package S_ESH_ENG_COMMON   Common 
Created 20070410   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)
2 CL_ESH_CO_UNIQUE_ID Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_ESH_CO_UNIQUE_ID has no interface implemented.
Friends
Class CL_ESH_CO_UNIQUE_ID has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MV_ALTER_AT_FRONT Instance attribute Protected Type reference (TYPE) ABAP_BOOL 20080119
2 MV_ALTER_AT_FRONT_FIRST_SIGN Instance attribute Protected Type reference (TYPE) C 20080119
3 MV_ALTER_LENGTH Instance attribute Protected Type reference (TYPE) INT2 2-byte integer (signed) 20080119
4 MV_ALTER_POSITION Instance attribute Protected Type reference (TYPE) INT2 2-byte integer (signed) 20080119
5 MV_COUNTER Instance attribute Protected Type reference (TYPE) INT4 Natural number 20080119
6 MV_LIMIT Instance attribute Protected Type reference (TYPE) INT4 Natural number 20080119
7 MV_PATTERN Instance attribute Protected Type reference (TYPE) CHAR32 Character field, length 32 20080119
8 SC_DEFAULT_FIRST_SIGN Constant Public Type reference (TYPE) C '#' 20080119
9 SC_INITIAL_PATTERN Constant Protected Type reference (TYPE) CHAR32 '00000000000000000000000000000000' Character field, length 32 20080119
10 SO_ID_INSTANCE Static Attribute Protected Object reference (TYPE REF TO) CL_ESH_CO_UNIQUE_ID Dynamic unique IDs 20080120
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Protected Constructor Constructor 20080119
2 GET_GUID_ANY Static method Public Method Get a GUID of variable length 20070410
3 GET_GUID_C22 Static method Public Method Get a GUID of length character 22 20070410
4 GET_GUID_C32 Static method Public Method Get a GUID of length character 32 20070410
5 GET_GUID_X16 Static method Public Method Get a GUID of length raw 16 20070410
6 GET_HASH_ANY Static method Public Method Get character hash code of dynamic length 20070410
7 GET_HASH_ANY_V2 Static method Public Method Get character hash code of dynamic length 20080730
8 GET_HASH_ANY_V3 Static method Public Method Get character hash code of dynamic length 20090423
9 GET_HASH_C32 Static method Public Method Get a hash code of length character 32 20070410
10 GET_HASH_C32_V2 Static method Public Method Get a hash code of length character 32 20080730
11 GET_HASH_C32_V3 Static method Public Method Get a hash code of length character 32 20090423
12 GET_HASH_C40 Static method Public Method Get a hash code of length character 40 20070410
13 GET_HASH_C40_V2 Static method Public Method Get a hash code of length character 40 20080730
14 GET_HASH_C40_V3 Static method Public Method Get a hash code of length character 40 20090423
15 GET_HASH_X20 Static method Public Method Get a hash code of length raw 20 20070410
16 GET_HASH_X20_V2 Static method Public Method Get a hash code of length raw 20 20080730
17 GET_HASH_X20_V3 Static method Public Method Get a hash code of length raw 20 20090423
18 GET_HASH_X20_V4 Static method Public Method Get a hash code of length raw 20 [input xstring] 20091008
19 GET_ID_C32 Static method Public Method Get an ID of length character 32 (case-sensitive) 20080120
20 GET_ID_C32_I Instance method Public Method Get an ID of length character 32 (case-sensitive) 20080120
21 GET_ID_INSTANCE Static method Public Method Get instance for fast unique IDs of length 32 (case-sens.) 20080119
22 INITIALIZE Instance method Protected Method Initialize instance 20080119
Events
Class CL_ESH_CO_UNIQUE_ID has no event.
Types
Class CL_ESH_CO_UNIQUE_ID has no local type.
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALTER_AT_FRONT Call by reference Type reference (TYPE) ABAP_BOOL 20080119
2 Importing IV_ALTER_AT_FRONT_FIRST_SIGN Call by reference Type reference (TYPE) C 20080119

Method CONSTRUCTOR on class CL_ESH_CO_UNIQUE_ID has no exception.

Method GET_GUID_ANY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_GUID_ANY Value transfer Type reference (TYPE) ANY Must be character-like! 20070410
2 Importing I_LOWERCASE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Lowercase IDs allowed 20080805
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20070410

Method GET_GUID_C22 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_GUID_C22 Value transfer Type reference (TYPE) GUID_22 GUID in 'CHAR' format with upper-/lowercase (!) 20070410

Method GET_GUID_C22 on class CL_ESH_CO_UNIQUE_ID has no exception.

Method GET_GUID_C32 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_GUID_C32 Value transfer Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20070410

Method GET_GUID_C32 on class CL_ESH_CO_UNIQUE_ID has no exception.

Method GET_GUID_X16 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_GUID_X16 Value transfer Type reference (TYPE) GUID_16 GUID in 'RAW' format 20070410

Method GET_GUID_X16 on class CL_ESH_CO_UNIQUE_ID has no exception.

Method GET_HASH_ANY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HASH_ANY Call by reference Type reference (TYPE) ANY Must be character-like! 20070410
2 Importing I_DATA Call by reference Type reference (TYPE) ANY 20070410
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20070410

Method GET_HASH_ANY_V2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HASH_ANY Call by reference Type reference (TYPE) ANY Must be character-like! 20080730
2 Importing I_DATA Call by reference Type reference (TYPE) ANY 20080730
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20080730

Method GET_HASH_ANY_V3 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_HASH_ANY Call by reference Type reference (TYPE) ANY Must be character-like! 20090423
2 Importing I_DATA Call by reference Type reference (TYPE) ANY 20090423
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20090423

Method GET_HASH_C32 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20070410
2 Returning R_HASH_C32 Value transfer Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20070410
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20070410

Method GET_HASH_C32_V2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20080730
2 Returning R_HASH_C32 Value transfer Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20080730
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20080730

Method GET_HASH_C32_V3 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20090423
2 Returning R_HASH_C32 Value transfer Type reference (TYPE) GUID_32 GUID in 'CHAR' Format in Uppercase 20090423
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20090423

Method GET_HASH_C40 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20070410
2 Returning R_HASH_C40 Value transfer Type reference (TYPE) CHAR40 Character field of length 40 20070410
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20070410

Method GET_HASH_C40_V2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20080730
2 Returning R_HASH_C40 Value transfer Type reference (TYPE) CHAR40 Character field of length 40 20080730
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20080730

Method GET_HASH_C40_V3 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20090423
2 Returning R_HASH_C40 Value transfer Type reference (TYPE) CHAR40 Character field of length 40 20090423
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20090423

Method GET_HASH_X20 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20070410
2 Returning R_HASH_X20 Value transfer Type reference (TYPE) RSMDS_HASHX 20070410
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20070410

Method GET_HASH_X20_V2 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20080730
2 Returning R_HASH_X20 Value transfer Type reference (TYPE) RSMDS_HASHX 20080730
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20080730

Method GET_HASH_X20_V3 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) ANY 20090423
2 Returning R_HASH_X20 Value transfer Type reference (TYPE) RSMDS_HASHX 20090423
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20090423

Method GET_HASH_X20_V4 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_XSTRING Call by reference Type reference (TYPE) XSTRING Rawstring 20091008
2 Returning R_HASH_X20 Value transfer Type reference (TYPE) RSMDS_HASHX Binary Hash Value 20091008
# Exception Resumable Description Created on
1 CX_ESH_CO_ENGINE Common ESH Engine Exception 20091008

Method GET_ID_C32 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ID_C32 Value transfer Type reference (TYPE) CHAR32 ID in 'CHAR' Format, case sensitive 20080120

Method GET_ID_C32 on class CL_ESH_CO_UNIQUE_ID has no exception.

Method GET_ID_C32_I Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_ID_C32 Value transfer Type reference (TYPE) CHAR32 ID in 'CHAR' Format, case sensitive 20080120

Method GET_ID_C32_I on class CL_ESH_CO_UNIQUE_ID has no exception.

Method GET_ID_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALTER_AT_FRONT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20080119
2 Importing IV_ALTER_AT_FRONT_FIRST_SIGN Call by reference Type reference (TYPE) C CL_ESH_CO_UNIQUE_ID=>SC_DEFAULT_FIRST_SIGN 20080119
3 Returning RO_ID_INSTANCE Value transfer Object reference (TYPE REF TO) CL_ESH_CO_UNIQUE_ID Dynamic Unique IDs 20080119

Method GET_ID_INSTANCE on class CL_ESH_CO_UNIQUE_ID has no exception.

Method INITIALIZE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ALTER_AT_FRONT Call by reference Type reference (TYPE) ABAP_BOOL 20080119
2 Importing IV_ALTER_AT_FRONT_FIRST_SIGN Call by reference Type reference (TYPE) C 20080119

Method INITIALIZE on class CL_ESH_CO_UNIQUE_ID has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 100