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 | 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 | 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 | Static method | Public | Method | Check if the buffer has some changes | 20100714 | |
| 2 | Static method | Public | Method | Deletes Supplier MDS data from the buffer | 20100714 | |
| 3 | Static method | Private | Method | Initialize MDS buffer record by reseting scenario + buf-mode | 20100726 | |
| 4 | Static method | Protected | Method | Clean up activities after save | 20100726 | |
| 5 | Static method | Public | Method | Reads Supplier MDS data from the buffer | 20100714 | |
| 6 | Static method | Private | Method | Remove locks of all buffered mds records | 20100726 | |
| 7 | Static method | Private | Method | Remove obsolete Locks | 20100714 | |
| 8 | Static method | Public | Method | Clears all the buffer tables and removes all the locks | 20100714 | |
| 9 | Static method | Public | Method | Save the Supplier MDS data | 20100714 | |
| 10 | Static method | Private | Method | Set Lock for requested mds entry | 20100715 | |
| 11 | Static method | Public | Method | Unlocks the Supplier MDS data in the buffer | 20100714 | |
| 12 | Static method | Public | Method | Validate the buffer data | 20100714 | |
| 13 | 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 | 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 | IT_CH4_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | List of chapter4 entries to be deleted | 20100715 | |||
| 2 | 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 | 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 | IV_FLG_MODE | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100906 | |||
| 2 | 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 | IT_MDS_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | Table of GUIDs | 20100726 | |||
| 2 | IV_FLG_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | Execute commit / rollback? | 20100726 | |||
| 3 | IV_FLG_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100726 | |||
| 4 | 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 | ETS_BUF_CH4 | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4 | Table type for Chapter 4 data | 20100714 | |||
| 2 | ETS_BUF_CH4AD | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4AD | Table type for Chapter 4 Company specific data | 20100714 | |||
| 3 | ETS_BUF_CH4MP | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4MP | Table type for Chapter 4 Multiple Parts data | 20100714 | |||
| 4 | ETS_BUF_CH4TX | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4TX | Table Type for Chapter 4 text data | 20100714 | |||
| 5 | ETS_BUF_SUPMDS | Call by reference | Type reference (TYPE) | /TDAG/CPY_ISMDS | Structure for Supplier MDS | 20100715 | |||
| 6 | IT_MDS_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | Table of GUIDs | 20100714 | |||
| 7 | IV_FORCE_READ | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Force read from database | 20100714 | ||
| 8 | IV_READ_DELETED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Also read entries with delflg set | 20101029 | ||
| 9 | IV_REMOVE_OBS_LOCKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Remove obsolete locks on read | 20101103 | ||
| 10 | IV_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIO | Read/Write Scenario | 20100714 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Thrown if a not existing GUID was requested | 20100728 | ||
| 2 | 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 | 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 | ET_RETURN | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20100721 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Error Flag | 20100721 | |||
| 3 | IV_FLG_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | Execute commit / rollback? | 20100726 | |||
| 4 | IV_FLG_RELEASE_LOCKS | Call by reference | Type reference (TYPE) | BOOLEAN | Release all locks after save | 20101015 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_GUID | Call by reference | Type reference (TYPE) | GUID | Globally Unique Identifier | 20100715 | |||
| 2 | IV_REMOVE_OBS_LOCKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Remove obsolete locks | 20101103 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IT_MDS_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | Table of GUIDs | 20100715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | ET_RETURN | Call by reference | Type reference (TYPE) | BAL_T_MSG | Application Log: Table with Messages | 20100715 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100715 | |||
| 3 | IT_CH4 | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4 | Table type for Chapter 4 data | 20100719 | |||
| 4 | IT_CH4AD | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4AD | Table type for Chapter 4 Company specific data | 20100719 | |||
| 5 | IT_CH4MP | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4MP | Table type for Chapter 4 Multiple Parts data | 20100719 | |||
| 6 | IT_CH4TX | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4TX | Table Type for Chapter 4 text data | 20100719 | |||
| 7 | 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 | IT_CH4 | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4 | 20100715 | ||||
| 2 | IT_CH4AD | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4AD | 20100715 | ||||
| 3 | IT_CH4MP | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4MP | 20100715 | ||||
| 4 | IT_CH4TX | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4TX | 20100715 | ||||
| 5 | IT_SUPMDS | Call by reference | Type reference (TYPE) | /TDAG/CPY_ISMDS | 20100715 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception for inconsistent persistance | 20100719 | ||
| 2 | Thrown if changes of unlocked record are detected | 20100719 | ||
| 3 | Exceptions for Logging | 20100727 |
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 200_600 |