SAP ABAP Class /TDAG/CP_IMDSCL_CRUD_SUPMDS (CRUD functionality 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_CRUD_BASIC | IMDS: Basic CRUD class for MDS | 20100721 |
Properties
| Class | /TDAG/CP_IMDSCL_CRUD_SUPMDS | |
| Short Description | CRUD functionality for Supplier MDS | |
| Super Class | /TDAG/CP_IMDSCL_CRUD_BASIC | IMDS: Basic CRUD class for MDS |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /TDAG/CP_IMDS | IMDS Advanced Interface Integration |
| Created | 20100719 | 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_CRUD_SUPMDS has no interface implemented.
Friends
Class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no friend class.
Attributes
Class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no attribute.
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Protected | Method | Deletes mds records with predecessor versions | 20100817 | |
| 2 | Static method | Public | Method | Delete Supplier MDS data | 20100719 | |
| 3 | Static method | Public | Method | Create/Update Supplier MDS data | 20100719 | |
| 4 | Static method | Public | Method | Search for Supplier MDS data | 20100719 | |
| 5 | Static method | Public | Method | Read Supplier MDS data | 20100719 | |
| 6 | Static method | Public | Method | Resets the Supplier MDS buffer | 20101102 | |
| 7 | Static method | Public | Method | Save the Supplier MDS data | 20100719 | |
| 8 | Static method | Public | Method | Unlocks the Supplier MDS data in the buffer | 20100719 |
Events
Class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no event.
Types
Class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no local type.
Method Signatures
Method CALC_MOST_RECENT_VERSIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XT_MDS | Call by reference | Type reference (TYPE) | /TDAG/CPY_MDS_KEY | MDS Key Table Type | 20100817 |
Method CALC_MOST_RECENT_VERSIONS on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
Method DELETE 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 | list of errors which occured during delete | 20100719 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | delete finished with errors? | 20100719 | |||
| 3 | IT_CH4_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | chapter 4 records to be deleted | 20100719 | |||
| 4 | IT_MDS_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | mds records to be deleted | 20100719 |
Method DELETE on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
Method MODIFY 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 | Message table with errors occured during modify | 20100719 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | modify finished with errors? | 20100719 | |||
| 3 | IT_CH4 | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4 | Chapter 4 records to be modified | 20100719 | |||
| 4 | IT_CH4AD | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4AD | Chapter 4 Company specific records to be modified | 20100719 | |||
| 5 | IT_CH4MP | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4MP | Chapter 4 Multiple Parts records to be modified | 20100719 | |||
| 6 | IT_CH4TX | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4TX | Chapter 4 text records to be modified | 20100719 | |||
| 7 | IT_SUPMDS | Call by reference | Type reference (TYPE) | /TDAG/CPY_ISMDS | Supplier MDS records to be modified | 20100719 |
Method MODIFY on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
Method QUERY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MDS_RESULT | Call by reference | Type reference (TYPE) | /TDAG/CPY_VDM_SUPC_REF | Found MDS records | 20100721 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAL_T_MSG | Message Table | 20100719 | |||
| 3 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100719 | |||
| 4 | EV_RESULT_RECORDS_NO | Call by reference | Type reference (TYPE) | INT4 | Total number of result records | 20100720 | |||
| 5 | IT_CH4_MATNAME | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_CH4_PARTNAME | Range Structure for CH4 Part Names | 20100810 | |||
| 6 | IT_CH4_MATNO | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_PARTNO | Range for CH4 material numbers | 20100810 | |||
| 7 | IT_CHECK_STATUS | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_CHECK_STATUS | IMDS: Range Table Type for Check Status | 20100720 | |||
| 8 | IT_COMMST | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_COMM_STATUS | IMDS: Range table type for Communication Status | 20101012 | |||
| 9 | IT_DELIVERY_SLIP_NO | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_DELIVERYSLIPNO | IMDS: Range table type for Bill of Delivery Number | 20100720 | |||
| 10 | IT_DRAWING_CHANGE_NO | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_DRAWING_CHG_NO | IMDS: Range table type for Drawing Change Level | 20100720 | |||
| 11 | IT_DRAWING_DATE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_DRAWING_DATE | IMDS: Range table type for Drawing Date | 20100720 | |||
| 12 | IT_DRAWING_NO | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_DRAWING_NO | IMDS: Range table type for Drawing Number | 20100720 | |||
| 13 | IT_IMPORT_STATUS | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_IMPORT_STATUS | IMDS: Range Table Type for Import Status | 20100720 | |||
| 14 | IT_MATERIAL | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_PARTNO | Range for material numbers | 20100719 | |||
| 15 | IT_MAT_NO | Call by reference | Type reference (TYPE) | /TDAG/RCSY_RANGE_MATNR | Range for material numbers | 20100722 | |||
| 16 | IT_MDSSTATUS | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_MDSSTATUS | IMDS: Range Table Type for MDS Status | 20101201 | |||
| 17 | IT_MDS_TYPE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_MDSTYPE | IMDS: Range Table Type for MDS Type | 20101207 | |||
| 18 | IT_MODULE_ID | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_MODULEID | CP: Range structure for Module ID | 20100719 | |||
| 19 | IT_MODULE_VERS | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_MODULEVERS | IMDS: Range Structure for Module Version | 20100719 | |||
| 20 | IT_NODE_ID | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_NODEID | Range table for NodeId | 20100817 | |||
| 21 | IT_PARTNAME | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_PARTNAME | Range Structure for Part Names | 20100719 | |||
| 22 | IT_PURCH_ORDER_NO | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_ORDER_NO | IMDS: Range table type for Order Number | 20100720 | |||
| 23 | IT_RECORGID | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_RECORGID | IMDS: Range Structure for Recipient OrgID | 20100719 | |||
| 24 | IT_RECSTATUS | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_RECSTATUS | IMDS: Range Structure for Recipient Status | 20100719 | |||
| 25 | IT_REQ_CHNGDATE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_REQ_CHNGDATE | IMDS: Range table type for Request Change Date | 20101006 | |||
| 26 | IT_REQ_DUEDATE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_REQ_DUEDATE | IMDS: Range table type for Request Due Date | 20101006 | |||
| 27 | IT_REQ_ID | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_REQ_ID | IMDS: Range table type for Request ID | 20101006 | |||
| 28 | IT_REQ_PROJ_NAME | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_REQ_PROJ_NAME | IMDS: Range table type for Request Project Name | 20101006 | |||
| 29 | IT_REQ_STATUS | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_REQ_STATUS | IMDS: Range table type for Request Status | 20101006 | |||
| 30 | IT_SAMPLE_REPORT_NO | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_SAMPLE_NO | IMDS: Range table type for Sample Report Number | 20100720 | |||
| 31 | IT_SPECID | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_SUBID | Range for substance IDs | 20100719 | |||
| 32 | IT_STATUS_CHANGE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_STATUS_CHANGE | IMDS: Range Table Type for Last Status Change Date | 20100720 | |||
| 33 | IT_SUPP_CODE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_SUPP_CODE | IMDS: Range Table Type for Supplier Code | 20100720 | |||
| 34 | IT_SUPP_ORG_ID | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_SUPP_ORG_ID | IMDS: Range Table Type for Supplier Org Unit | 20100720 | |||
| 35 | IT_TRANSM_DATE | Call by reference | Type reference (TYPE) | /TDAG/CPY_RANGE_TRANSM_DATE | IMDS: Range table type for Creation Date | 20100722 | |||
| 36 | IV_DEVSMPLREP | Call by reference | Type reference (TYPE) | /TDAG/RCSE_TRISTATE_VALUE | IMDS: Range Structure for Development Sample Report | 20100719 | |||
| 37 | IV_FLG_NEWEST | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Return only the newest version of mds record | 20100719 | ||
| 38 | IV_READ_DELETED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Also read entries marked as deleted | 20101122 |
Method QUERY on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
Method READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CH4 | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4 | read chapter 4 records | 20100719 | |||
| 2 | ET_CH4AD | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4AD | read 'chapter 4 company specific data' records | 20100719 | |||
| 3 | ET_CH4MP | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4MP | read 'chapter 4 multiple parts data' records | 20100719 | |||
| 4 | ET_CH4TX | Call by reference | Type reference (TYPE) | /TDAG/CPY_ICH4TX | read 'chapter 4 text data' records | 20100719 | |||
| 5 | ET_RETURN | Call by reference | Type reference (TYPE) | BAL_T_MSG | Message Table containing errors during read | 20100719 | |||
| 6 | ET_SUPMDS | Call by reference | Type reference (TYPE) | /TDAG/CPY_ISMDS | read supplier mds records | 20100719 | |||
| 7 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | reading data finished with errors? | 20100719 | |||
| 8 | IT_MDS_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | MDS records to be read | 20100719 | |||
| 9 | IV_FORCE_READ | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Force read from database | 20101027 | ||
| 10 | IV_READ_DELETED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Also read entries with delflg set | 20101029 | ||
| 11 | IV_REMOVE_OBS_LOCKS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Remove obsolete locks on read | 20101103 | ||
| 12 | IV_SCENARIO | Call by reference | Type reference (TYPE) | /TDAG/CPE_SCENARIO | Read/Write Scenario (locking mode) | 20100719 |
Method READ on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
Method RESET Signature
Method RESET on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no parameter.
Method RESET on class /TDAG/CP_IMDSCL_CRUD_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 | list of errors occured during save | 20100719 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | save finished with errors? | 20100719 | |||
| 3 | IV_FLG_COMMIT | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Execute commit / rollback? | 20100728 | ||
| 4 | IV_FLG_RELEASE_LOCKS | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Release all locks after save | 20101015 |
Method SAVE on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
Method UNLOCK 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 | 20100729 | |||
| 2 | EV_ERROR | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100729 | |||
| 3 | IT_MDS_GUID | Call by reference | Type reference (TYPE) | /TDAG/RCSY_GUID | Table of GUIDs | 20100719 |
Method UNLOCK on class /TDAG/CP_IMDSCL_CRUD_SUPMDS has no exception.
History
| Last changed by/on | SAP | 20141109 |
| SAP Release Created in | 200_600 |