SAP ABAP Class /TDAG/CP_IMDSCL_BUF_SUPMDS (Buffer Class for Supplier MDS)
Hierarchy
TDAGBCA (Software Component) TechniData Basic Components
   EHS (Application Component) Environment, Health and Safety
     /TDAG/CP_IMDS (Package) IMDS Advanced Interface Integration
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  /TDAG/CP_IMDSCL_BUF_BASE Buffer: Base Class for Chapter 4 data 20100714
Properties
Class /TDAG/CP_IMDSCL_BUF_SUPMDS  
Short Description Buffer Class for Supplier MDS    
Super Class /TDAG/CP_IMDSCL_BUF_BASE Buffer: Base Class for Chapter 4 data 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package /TDAG/CP_IMDS   IMDS Advanced Interface Integration 
Created 20100714   SAP 
Last change 20141109    
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 /TDAG/CP_IMDSCL_BUF_SUPMDS has no interface implemented.
Friends
Class /TDAG/CP_IMDSCL_BUF_SUPMDS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GT_BUF_SUPMDS Static Attribute Protected Type reference (TYPE) /TDAG/CPY_ISMDS_BUF Buffer Table Type for Supplier MDS 20100715
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_CHANGES Static method Public Method Check if the buffer has some changes 20100714
2 DELETE Static method Public Method Deletes Supplier MDS data from the buffer 20100714
3 INITIALIZE_BUFFER_RECORDS Static method Private Method Initialize MDS buffer record by reseting scenario + buf-mode 20100726
4 POST_SAVE Static method Protected Method Clean up activities after save 20100726
5 READ Static method Public Method Reads Supplier MDS data from the buffer 20100714
6 REMOVE_ALL_LOCKS Static method Private Method Remove locks of all buffered mds records 20100726
7 REMOVE_OBS_LOCKS Static method Private Method Remove obsolete Locks 20100714
8 RESET Static method Public Method Clears all the buffer tables and removes all the locks 20100714
9 SAVE Static method Public Method Save the Supplier MDS data 20100714
10 SET_LOCK Static method Private Method Set Lock for requested mds entry 20100715
11 UNLOCK Static method Public Method Unlocks the Supplier MDS data in the buffer 20100714
12 VALID_DATA Static method Public Method Validate the buffer data 20100714
13 WRITE Static method Public Method Writes Supplier MDS data into the buffer 20100714
Events
Class /TDAG/CP_IMDSCL_BUF_SUPMDS has no event.
Types
Class /TDAG/CP_IMDSCL_BUF_SUPMDS has no local type.
Method Signatures

Method CHECK_CHANGES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHANGES Call by reference Type reference (TYPE) BOOLEAN True if buffer contains at least one changed record 20100715

Method CHECK_CHANGES on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CH4_GUID Call by reference Type reference (TYPE) /TDAG/RCSY_GUID List of chapter4 entries to be deleted 20100715
2 Importing IT_MDS_GUID Call by reference Type reference (TYPE) /TDAG/RCSY_GUID List of mds entries to be deleted (incl. their ch4 entries) 20100715
# Exception Resumable Description Created on
1 /TDAG/CX_IMDS_NOT_LOCKED Exception for inconsistent persistance 20100716

Method INITIALIZE_BUFFER_RECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_FLG_MODE Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100906
2 Importing IV_FLG_SCENARIO Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100906

Method INITIALIZE_BUFFER_RECORDS on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method POST_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MDS_GUID Call by reference Type reference (TYPE) /TDAG/RCSY_GUID Table of GUIDs 20100726
2 Importing IV_FLG_COMMIT Call by reference Type reference (TYPE) BOOLEAN Execute commit / rollback? 20100726
3 Importing IV_FLG_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100726
4 Importing IV_FLG_RELEASE_LOCKS Call by reference Type reference (TYPE) BOOLEAN Release locks after commit 20101015

Method POST_SAVE on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method READ Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_BUF_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 Table type for Chapter 4 data 20100714
2 Exporting ETS_BUF_CH4AD Call by reference Type reference (TYPE) /TDAG/CPY_ICH4AD Table type for Chapter 4 Company specific data 20100714
3 Exporting ETS_BUF_CH4MP Call by reference Type reference (TYPE) /TDAG/CPY_ICH4MP Table type for Chapter 4 Multiple Parts data 20100714
4 Exporting ETS_BUF_CH4TX Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX Table Type for Chapter 4 text data 20100714
5 Exporting ETS_BUF_SUPMDS Call by reference Type reference (TYPE) /TDAG/CPY_ISMDS Structure for Supplier MDS 20100715
6 Importing IT_MDS_GUID Call by reference Type reference (TYPE) /TDAG/RCSY_GUID Table of GUIDs 20100714
7 Importing IV_FORCE_READ Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Force read from database 20100714
8 Importing IV_READ_DELETED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Also read entries with delflg set 20101029
9 Importing IV_REMOVE_OBS_LOCKS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Remove obsolete locks on read 20101103
10 Importing IV_SCENARIO Call by reference Type reference (TYPE) /TDAG/CPE_SCENARIO Read/Write Scenario 20100714
# Exception Resumable Description Created on
1 /TDAG/CX_IMDS_INVALID_GUID Thrown if a not existing GUID was requested 20100728
2 /TDAG/CX_IMDS_LOCKED Exception for locked by another user 20100721

Method REMOVE_ALL_LOCKS Signature

Method REMOVE_ALL_LOCKS on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no parameter.
Method REMOVE_ALL_LOCKS on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method REMOVE_OBS_LOCKS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MDS_GUID Call by reference Type reference (TYPE) /TDAG/RCSY_GUID Table of GUIDs 20100715

Method REMOVE_OBS_LOCKS on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method RESET Signature

Method RESET on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no parameter.
Method RESET on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20100721
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLEAN Error Flag 20100721
3 Importing IV_FLG_COMMIT Call by reference Type reference (TYPE) BOOLEAN Execute commit / rollback? 20100726
4 Importing IV_FLG_RELEASE_LOCKS Call by reference Type reference (TYPE) BOOLEAN Release all locks after save 20101015
# Exception Resumable Description Created on
1 /TDAG/CX_IMDS_NOT_LOCKED Thrown if changes of unlocked record are detected 20100721

Method SET_LOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_GUID Call by reference Type reference (TYPE) GUID Globally Unique Identifier 20100715
2 Importing IV_REMOVE_OBS_LOCKS Call by reference Type reference (TYPE) ABAP_BOOL Remove obsolete locks 20101103
# Exception Resumable Description Created on
1 /TDAG/CX_IMDS_LOCKED Exception for locked by another user 20100715

Method UNLOCK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MDS_GUID Call by reference Type reference (TYPE) /TDAG/RCSY_GUID Table of GUIDs 20100715
# Exception Resumable Description Created on
1 /TDAG/CX_IMDS_INVALID_GUID Thrown if a not existing GUID was requested 20100729

Method VALID_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RETURN Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20100715
2 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20100715
3 Importing IT_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 Table type for Chapter 4 data 20100719
4 Importing IT_CH4AD Call by reference Type reference (TYPE) /TDAG/CPY_ICH4AD Table type for Chapter 4 Company specific data 20100719
5 Importing IT_CH4MP Call by reference Type reference (TYPE) /TDAG/CPY_ICH4MP Table type for Chapter 4 Multiple Parts data 20100719
6 Importing IT_CH4TX Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX Table Type for Chapter 4 text data 20100719
7 Importing IT_SUPMDS Call by reference Type reference (TYPE) /TDAG/CPY_ISMDS Table Type for Supplier MDS 20100719

Method VALID_DATA on class /TDAG/CP_IMDSCL_BUF_SUPMDS has no exception.

Method WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 20100715
2 Importing IT_CH4AD Call by reference Type reference (TYPE) /TDAG/CPY_ICH4AD 20100715
3 Importing IT_CH4MP Call by reference Type reference (TYPE) /TDAG/CPY_ICH4MP 20100715
4 Importing IT_CH4TX Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX 20100715
5 Importing IT_SUPMDS Call by reference Type reference (TYPE) /TDAG/CPY_ISMDS 20100715
# Exception Resumable Description Created on
1 /TDAG/CX_IMDS_INCONS_PERS Exception for inconsistent persistance 20100719
2 /TDAG/CX_IMDS_NOT_LOCKED Thrown if changes of unlocked record are detected 20100719
3 /TDAG/CX_LOG Exceptions for Logging 20100727
History
Last changed by/on SAP  20141109 
SAP Release Created in 200_600