SAP ABAP Class CL_CCM_HOLE_DB (Class for Maintaining Structure Gap Objects in DB Layer)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PM-EQM-CC (Application Component) Configuration Control
     DI_CCM (Package) Configuration Control
Properties
Class CL_CCM_HOLE_DB  
Short Description Class for Maintaining Structure Gap Objects in DB Layer    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DI_CCM   Configuration Control 
Created 20010628   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CCM_HOLE_DB has no forward declaration.
Interfaces
Class CL_CCM_HOLE_DB has no interface implemented.
Friends
Class CL_CCM_HOLE_DB has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 LT_CURRENT_BUFFER Static Attribute Private Type reference (TYPE) LTT_CCMHOLE 20010628
2 LT_LOCK_BUFFER Static Attribute Private Type reference (TYPE) LTT_CCMLOCK 20010628
3 LT_LOCK_PARENT Static Attribute Private Type reference (TYPE) LTT_PO_LOCK 20061103
4 LT_ORIGINAL_BUFFER Static Attribute Private Type reference (TYPE) LTT_CCMHOLE 20010628
Methods
# Method Level Visibility Method type Description Created on
1 COMPARE_BUFFERS Static method Public Method 20010801
2 CREATE_HOLE_SINGLE Static method Public Method 20010628
3 DELETE_HOLE_SINGLE Static method Public Method 20010628
4 DELTA_MNG Static method Private Method 20010629
5 INITIALIZATION Static method Public Method 20010628
6 LOCK_PARENT Static method Private Method 20061103
7 MODIFY_HOLE_SINGLE Static method Public Method 20010628
8 READ_BOM_HOLES Static method Public Method 20060228
9 READ_HOLE_ARRAY Static method Public Method 20010628
10 READ_HOLE_COBJNR_ARRAY Static method Public Method 20010807
11 READ_HOLE_SINGLE Static method Public Method 20010628
12 SAVE_HOLES Static method Public Method 20010719
13 UNLOCK_HOLES Static method Public Method 20010704
14 UPDATE_BUFFERS Static method Private Method 20021011
Events
Class CL_CCM_HOLE_DB has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LST_CCMLOCK Private See coding 20010628 BEGIN OF lst_ccmlock, mandt TYPE mandt, hlguid TYPE ccm_hlguid, lock TYPE xfeld, chngdat TYPE ccm_aedat, END OF lst_ccmlock
2 LST_PO_LOCK Private See coding 20061103 BEGIN OF lst_po_lock, mandt TYPE mandt, pobjnr TYPE ccm_superior_object, equnr TYPE equnr, tplnr TYPE tplnr, END OF lst_po_lock
3 LTT_CCMHOLE Private See coding 20010628 ltt_ccmhole TYPE TABLE OF ccmhole
4 LTT_CCMLOCK Private See coding 20010628 ltt_ccmlock TYPE SORTED TABLE OF lst_ccmlock WITH UNIQUE KEY mandt hlguid
5 LTT_PO_LOCK Private See coding 20061103 ltt_po_lock TYPE SORTED TABLE OF lst_po_lock WITH UNIQUE KEY mandt pobjnr
Method Signatures

Method COMPARE_BUFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHANGE Call by reference Type reference (TYPE) XFELD Checkbox 20010801

Method COMPARE_BUFFERS on class CL_CCM_HOLE_DB has no exception.

Method CREATE_HOLE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HOLE Call by reference Type reference (TYPE) CCMHOLE CCM : Hole Table 20010807
2 Importing IS_HOLE Call by reference Type reference (TYPE) CCMHOLE CCM : Hole Table 20010628
# Exception Resumable Description Created on
1 LOCK_NOT_SET hole can't be created, lock wasn't set 20010709

Method DELETE_HOLE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HOLE Call by reference Type reference (TYPE) CCMHOLE CCM : Hole Table 20010628
2 Importing IV_NO_PARENT_LOCK Call by reference Type reference (TYPE) XFELD SPACE Kein Parent-Lock 20070427
# Exception Resumable Description Created on
1 HOLE_DOES_NOT_EXIST hole does not exist 20010710
2 UNABLE_LOCK_HOLE reading of hole with lock failed 20010710

Method DELTA_MNG Signature

Method DELTA_MNG on class CL_CCM_HOLE_DB has no parameter.
Method DELTA_MNG on class CL_CCM_HOLE_DB has no exception.

Method INITIALIZATION Signature

Method INITIALIZATION on class CL_CCM_HOLE_DB has no parameter.
Method INITIALIZATION on class CL_CCM_HOLE_DB has no exception.

Method LOCK_PARENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_POBJNR Value transfer Type reference (TYPE) CCM_SUPERIOR_OBJECT Superordinate Object 20061103
# Exception Resumable Description Created on
1 LOCK_NOT_SET 20061103

Method MODIFY_HOLE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HOLE Call by reference Type reference (TYPE) CCMHOLE CCM : Hole Table 20010628
# Exception Resumable Description Created on
1 HOLE_DOES_NOT_EXIST hole does not exist 20010710
2 UNABLE_LOCK_HOLE reading of hole with lock failed 20010710

Method READ_BOM_HOLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HOLE Call by reference Type reference (TYPE) TT_CCM_CCMHOLE 20060228
2 Importing IV_FUNCID Call by reference Type reference (TYPE) CCM_FUNCID 20060228
3 Importing IV_LOCK Call by reference Type reference (TYPE) XFELD 20060228
4 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR 20060228
5 Importing IV_NO_PARENT_LOCK Call by reference Type reference (TYPE) XFELD SPACE Kein Parent-Lock 20070427
6 Importing IV_POBJ Call by reference Type reference (TYPE) CCM_SUPERIOR_OBJECT 20060228
7 Importing IV_POS Call by reference Type reference (TYPE) SPOSN 20060228
# Exception Resumable Description Created on
1 HOLE_MARKED_FOR_DELETION 20060228
2 NO_HOLE_FOR_THIS_SELECTION 20060228
3 UNABLE_READ_HOLE_WITH_LOCK 20060228

Method READ_HOLE_ARRAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HOLE Call by reference Type reference (TYPE) TT_CCM_CCMHOLE Table type for CCMHOLE 20010720
2 Importing IV_LOCK Call by reference Type reference (TYPE) XFELD Checkbox 20010720
3 Importing IV_NO_PARENT_LOCK Call by reference Type reference (TYPE) XFELD Kein Parent-Lock 20070427
4 Importing IV_POBJ Call by reference Type reference (TYPE) CCM_SUPERIOR_OBJECT CCM : Object Nr. of Superior (Parent) object 20010720
5 Importing IV_POS Call by reference Type reference (TYPE) HEQNR Equipment position at InstallLoc (Superior Equip./FunctLoc) 20010720
6 Importing IV_POS_INITIAL Call by reference Type reference (TYPE) XFELD Checkbox 20021011
7 Importing IV_READ_DB Call by reference Type reference (TYPE) XFELD Checkbox 20011018
# Exception Resumable Description Created on
1 HOLE_MARKED_FOR_DELETION hole marked for deletion 20010720
2 NO_HOLE_FOR_THIS_SELECTION no holes for this seletion criteria 20010720
3 UNABLE_READ_HOLE_WITH_LOCK unable read hole with lock 20010720

Method READ_HOLE_COBJNR_ARRAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_HOLE Call by reference Type reference (TYPE) TT_CCM_CCMHOLE Table type for CCMHOLE 20010807
2 Importing IV_COBJ Call by reference Type reference (TYPE) CCM_REMOVED_OBJECT CCM : Object nr. of removed technical obj. (e.g. Equipment) 20010807
3 Importing IV_FID Call by reference Type reference (TYPE) CCM_FUNCID FID (Function Identifier) 20011019
4 Importing IV_LOCK Call by reference Type reference (TYPE) XFELD ' ' Checkbox 20010807
5 Importing IV_NO_PARENT_LOCK Call by reference Type reference (TYPE) XFELD SPACE Kein Parent-Lock 20070427
6 Importing IV_READ_DB Call by reference Type reference (TYPE) XFELD Checkbox 20011018
# Exception Resumable Description Created on
1 HOLE_MARKED_FOR_DELETION hole marked for deletion 20010807
2 NO_HOLE_FOR_THIS_SELECTION no holes for this seletion criteria 20010807
3 UNABLE_READ_HOLE_WITH_LOCK unable read hole with lock 20010807

Method READ_HOLE_SINGLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_HOLE Call by reference Type reference (TYPE) CCMHOLE CCM : Hole Table 20010720
2 Importing IV_HLGUID Call by reference Type reference (TYPE) CCM_HLGUID CCM : Hole GUID 20010719
3 Importing IV_LOCK Call by reference Type reference (TYPE) XFELD ' ' Checkbox 20010628
4 Importing IV_NO_PARENT_LOCK Call by reference Type reference (TYPE) XFELD SPACE Kein Parent-Lock 20070427
# Exception Resumable Description Created on
1 HOLE_DOES_NOT_EXIST hole doesn't exist in database 20010628
2 HOLE_MARKED_FOR_DELETION hole is in original buffer and isn't in current buffer 20010628
3 UNABLE_READ_HOLE_WITH_LOCK locking mechanismus wasn't successfull 20010709

Method SAVE_HOLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EXECUTE_COMMIT Call by reference Type reference (TYPE) XFELD Checkbox 20010802

Method SAVE_HOLES on class CL_CCM_HOLE_DB has no exception.

Method UNLOCK_HOLES Signature

Method UNLOCK_HOLES on class CL_CCM_HOLE_DB has no parameter.
Method UNLOCK_HOLES on class CL_CCM_HOLE_DB has no exception.

Method UPDATE_BUFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_HOLE Call by reference Type reference (TYPE) TT_CCM_CCMHOLE Table Type for CCMHOLE 20021011
2 Importing IV_MULTI_UPDATE Call by reference Type reference (TYPE) XFELD Checkbox 20021011

Method UPDATE_BUFFERS on class CL_CCM_HOLE_DB has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 46C2