SAP ABAP Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS (Process 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_PROC_BASE Process base class 20100714
Properties
Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS  
Short Description Process Class for Supplier MDS    
Super Class /TDAG/CP_IMDSCL_PROC_BASE Process base class 
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)
2 ESPRH Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no interface implemented.
Friends
Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no friend class.
Attributes
Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 ACCEPT_REJECT_MDS Instance method Public Method Accept / Reject MDS 20100820
2 ADD_MESSAGES_TO_APPL_LOG Instance method Public Method Writes messages to the application log of the given MDS 20100929
3 CHECK_ACTIVITY Instance method Public Method Checks if activity is allowed in current Recipient status 20100820
4 CHECK_REQ_EXISTS Instance method Public Method Checks if a request exists at an MDS exists 20101207
5 CONVERT_XSTRING_TO_FILE Instance method Protected Method Converts a XSTRING value to a file table 20101109
6 CREATE_REQUEST Instance method Public Method Creates a supplier request 20101022
7 DELETE_REQUEST Instance method Public Method Deletes a supplier request 20101104
8 IMPORT_MDS Instance method Public Method Imports a supplier MDS record (creates no product structure) 20100816
9 IMPORT_MDS_STRUCTURE Instance method Public Method Imports the MDS product structure 20101007
10 IMPORT_MDS_STRUCT_INTERN Instance method Public Method Imports the MDS product structure 20101007
11 IMPORT_MDS_STRUCT_LOG Instance method Protected Method MDS Structure data import - postproc: write message to log 20101215
12 IMPORT_REQUEST Instance method Public Method Imports a supplier Request record 20101109
13 OPEN_VALIDATION Instance method Public Method Open the simulation mode to validate the MDS 20100908
14 POST_IMDS_COMM Instance method Public Method Process supplier IMDS communication post activities 20101015
15 PROCESS_REQ_UPLOAD Instance method Public Method Process the request upload for mulitple mds 20101109
16 PROCESS_STATUS_UPLOAD Instance method Public Method Process the IMDS upload of updated status for mulitple mds 20100823
17 RESULT_SUPMDS Instance method Public Method Process result file supplier MDS 20100930
18 SEND_REQUEST Instance method Public Method Send a supplier request 20101105
19 SHOW_REJECT_REASON_POPUP Instance method Public Method Show reject reason popup if necessary + process popup output 20100827
20 VALIDATE_SPEC_CHANGE Instance method Public Method Validate the change of a specification assignment 20100817
Events
Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no event.
Types
Class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no local type.
Method Signatures

Method ACCEPT_REJECT_MDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_CANCELED Call by reference Type reference (TYPE) BOOLEAN flag indicating if execution was canceled 20101001
2 Importing IT_MDS_REF Call by reference Type reference (TYPE) /TDAG/CPY_VDM_SUPC_REF Supplier MDS record key fields 20100820
3 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL Accept or Reject MDS 20100823
4 Importing IV_FLG_DIALOG_MODE Call by reference Type reference (TYPE) BOOLE_D Flag indicating if program is executed with UI (->popups) 20100930

Method ACCEPT_REJECT_MDS on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method ADD_MESSAGES_TO_APPL_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MSG_MDS Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20100929
2 Importing IT_SUPMDS Call by reference Type reference (TYPE) /TDAG/CPY_ISMDS currently processed supplier mds records 20100930
3 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL Supplier MDS Center Process Activity 20100929
4 Importing IV_HEAD_MSG_NO Call by reference Type reference (TYPE) SYMSGNO Headline Message Number 20100929

Method ADD_MESSAGES_TO_APPL_LOG on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method CHECK_ACTIVITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_MDS Call by reference Object reference (TYPE REF TO) /TDAG/CPS_ISMDS Current MDS to process 20130412
2 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL requested activity 20100820
3 Importing IV_REC_STATUS Call by reference Type reference (TYPE) /TDAG/CPE_REC_STATUS Recipient Status 20100827
4 Importing IV_REQ_STATUS Call by reference Type reference (TYPE) /TDAG/CPE_REQ_STATUS Request Status 20101104
5 Returning RV_FLG_ALLOWED Value transfer Type reference (TYPE) BOOLE_D Flag: activity allowed 20100827

Method CHECK_ACTIVITY on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method CHECK_REQ_EXISTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20101207
2 Exporting EV_EXISTS Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20101207
3 Importing IV_SPECID Call by reference Type reference (TYPE) ESESUBID Specification 20101207

Method CHECK_REQ_EXISTS on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method CONVERT_XSTRING_TO_FILE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FILE Call by reference Type reference (TYPE) /TDAG/CPY_RCGREPFILE CP: Table for binary data 20101109
2 Exporting EV_FILESIZE Call by reference Type reference (TYPE) ESENUMBYTE Size of a document in bytes 20101109
3 Importing IV_XSTRING Call by reference Type reference (TYPE) XSTRING 20101109

Method CONVERT_XSTRING_TO_FILE on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method CREATE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_MDSREF Call by reference Type reference (TYPE) /TDAG/CPS_VDM_SUPC_REF Boolean Variable (X=True, -=False, Space=Unknown) 20101025
2 Exporting ET_RETURN Call by reference Type reference (TYPE) BAL_T_MSG Application Log: Table with Messages 20101022
3 Importing IV_SPECID Call by reference Type reference (TYPE) ESESUBID Structure to describe a reference to supplier MDS record 20101022
# Exception Resumable Description Created on
1 FAILED The request creation has failed 20101026
2 INVALID_MATCAT The specification has an invalid material category 20101109
3 REQ_EXISTS A request for this specification already exists 20101109

Method DELETE_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_CANCELED Call by reference Type reference (TYPE) BOOLEAN Flag indicating if execution was canceled 20101104
2 Importing IT_MDS_REF Call by reference Type reference (TYPE) /TDAG/CPY_VDM_SUPC_REF Supplier MDS record key fields 20101104
3 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL Supplier MDS Center Process Activity 20101104
4 Importing IV_FLG_DIALOG_MODE Call by reference Type reference (TYPE) BOOLE_D Flag indicating if program is executed with UI 20101104

Method DELETE_REQUEST on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method IMPORT_MDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHANGE_MODE Call by reference Type reference (TYPE) /TDAG/CPE_BUFMODE Change mode of record ('U' updated, 'C' created, '' no) 20101029
2 Exporting EV_RESULT_GUID Call by reference Type reference (TYPE) GUID16 GUID of created or updated MDS record 20100929
3 Importing IS_SUPMDS Call by reference Type reference (TYPE) /TDAG/CPS_ISMDS Structure for Supplier MDS 20100816
4 Importing IT_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 Table type for Chapter 4 data 20100816
5 Importing IT_CH4TX Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX Table Type for Chapter 4 text data 20100816
6 Importing IT_SOURCE Call by reference Type reference (TYPE) /TDAG/CPY_STRING Source File as table of strings 20100817
7 Importing IV_DOKAPPL Call by reference Type reference (TYPE) DAPPL Document Application 20100819
8 Importing IV_DOKAR Call by reference Type reference (TYPE) DOKAR Document Type 20100819
9 Importing IV_DO_COMMIT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Perform commit true/false 20100818
10 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING Filename of document 20100819
# Exception Resumable Description Created on
1 FAILED Import failed 20100818

Method IMPORT_MDS_STRUCTURE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MDS_REF Call by reference Type reference (TYPE) /TDAG/CPY_VDM_SUPC_REF Table of record reference descriptors 20101007
2 Importing IV_FLG_ASYNCHRON Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Asynchron import processing 20101007
3 Importing IV_FLG_CHECK_PLAUSIBLE Call by reference Type reference (TYPE) ABAP_BOOL Check if import is plausible 20101007
4 Importing IV_FLG_NO_CONFIRM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Surpress confirmation dialogs (true/false) 20101007
5 Importing IV_FLG_SIMULATION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Simulation mode true / false (no final commit) 20101008
# Exception Resumable Description Created on
1 FAILED The MDS Validation or Import failed 20101011
2 NOTHING_TO_IMPORT No MDS are selected to be imported 20101015

Method IMPORT_MDS_STRUCT_INTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MDS_REF Call by reference Type reference (TYPE) /TDAG/CPY_VDM_SUPC_REF Table of record reference descriptors 20101007
2 Importing IV_FLG_ASYNCHRON Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Asynchron import processing 20101007
3 Importing IV_FLG_SIMULATION Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Simulation mode true/false (no final commit) 20101008
# Exception Resumable Description Created on
1 FAILED Import failed 20101007

Method IMPORT_MDS_STRUCT_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Converted result Message table 20101215
2 Importing IT_BAL_MSG Call by reference Type reference (TYPE) BAL_T_MSG Additional Message table 20101215
3 Importing IT_IMP_MSG Call by reference Type reference (TYPE) /TDAG/CPY_IMERROR Import Message table 20101215
4 Importing IV_MDS_GUID Call by reference Type reference (TYPE) GUID MDS Guid 20101215
5 Importing IV_NO_LOG_OUTPUT Call by reference Type reference (TYPE) ABAP_BOOL Prohibit log output 20101216
6 Importing IV_NO_STATUS_CHANGE Call by reference Type reference (TYPE) ABAP_BOOL Final import status change 20101216
# Exception Resumable Description Created on
1 FAILED Failed to log the messages 20101215

Method IMPORT_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CHANGE_MODE Call by reference Type reference (TYPE) /TDAG/CPE_BUFMODE Change mode of record ('U' updated, 'C' created, '' no) 20101109
2 Exporting EV_RESULT_GUID Call by reference Type reference (TYPE) GUID16 GUID of created or updated MDS record 20101109
3 Importing IS_SUPMDS Call by reference Type reference (TYPE) /TDAG/CPS_ISMDS Structure for Supplier MDS 20101109
4 Importing IT_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 Table type for Chapter 4 data 20101109
5 Importing IT_CH4TX Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX Table Type for Chapter 4 text data 20101109
6 Importing IT_SOURCE Call by reference Type reference (TYPE) /TDAG/CPY_STRING Source File as table of strings 20101109
7 Importing IV_DOKAPPL Call by reference Type reference (TYPE) DAPPL Document Application 20101109
8 Importing IV_DOKAR Call by reference Type reference (TYPE) DOKAR Document Type 20101109
9 Importing IV_DO_COMMIT Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Perform commit true/false 20101109
10 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING Filename of document 20101109
# Exception Resumable Description Created on
1 FAILED Import failed 20101109

Method OPEN_VALIDATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20101013
2 Importing IS_SMDS Call by reference Type reference (TYPE) /TDAG/CPS_VDM_SUPC_REF Structure for Supplier MDS 20100908
3 Importing IV_STATUS_UPLOAD Call by reference Type reference (TYPE) ABAP_BOOL 20101013
# Exception Resumable Description Created on
1 FAILED Opening the validation screen failed 20101013

Method POST_IMDS_COMM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20101015
2 Importing IV_FLG_DIALOG_MODE Call by reference Type reference (TYPE) BOOLE_D Execution in dialog mode? 20101018
3 Changing XT_RES_ENTRIES Call by reference Type reference (TYPE) /TDAG/CPY_IMDS_RES_MARK Entries for result download 20101018

Method POST_IMDS_COMM on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method PROCESS_REQ_UPLOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) BAL_T_MSG Messages 20101109
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) BOOLE_D error occured? 20101109
3 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL Send or delete request 20101109
4 Changing XT_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 Chapter 4 records 20101109
5 Changing XT_CH4TX Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX Table Type for Chapter 4 text data 20101109
6 Changing XT_MDS Call by reference Type reference (TYPE) /TDAG/CPY_ISMDS Supplier MDS records 20101109

Method PROCESS_REQ_UPLOAD on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method PROCESS_STATUS_UPLOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MSG Call by reference Type reference (TYPE) BAL_T_MSG Messages 20100823
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) BOOLE_D error occured? 20100905
3 Importing IT_CH4 Call by reference Type reference (TYPE) /TDAG/CPY_ICH4 Chapter 4 records 20100827
4 Importing IT_CH4_TEXT Call by reference Type reference (TYPE) /TDAG/CPY_ICH4TX chapter4 text table comprising rejection reasons 20100827
5 Importing IT_MDS Call by reference Type reference (TYPE) /TDAG/CPY_ISMDS Supplier MDS records 20100905
6 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL Accept or Reject MDS 20101001

Method PROCESS_STATUS_UPLOAD on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method RESULT_SUPMDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_CANCELED Call by reference Type reference (TYPE) BOOLE_D Flag: processing canceled 20101021
2 Exporting EV_FLG_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20100930
3 Importing IT_MDS Call by reference Type reference (TYPE) /TDAG/CPY_VDM_SUPC_REF Table of record reference descriptors 20100930

Method RESULT_SUPMDS on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method SEND_REQUEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLG_CANCELED Call by reference Type reference (TYPE) BOOLEAN Flag indicating if execution was canceled 20101105
2 Importing IT_MDS_REF Call by reference Type reference (TYPE) /TDAG/CPY_VDM_SUPC_REF Supplier MDS record key fields 20101105
3 Importing IV_ACTIVITY Call by reference Type reference (TYPE) /TDAG/CPE_PROC_ACTIVITY_SUPPL Supplier MDS Center Process Activity 20101105
4 Importing IV_FLG_DIALOG_MODE Call by reference Type reference (TYPE) BOOLE_D Flag indicating if program is executed with UI 20101105

Method SEND_REQUEST on class /TDAG/CP_IMDSCL_PROC_SUPPLMDS has no exception.

Method SHOW_REJECT_REASON_POPUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_EXECUTE_REJECT Call by reference Type reference (TYPE) BOOLE_D YES=execute, No=cancel reject 20100827
2 Changing XV_REJECT_REASON Call by reference Type reference (TYPE) /TDAG/CPE_REJECTION_REASON MDS Rejection Reason 20100827
# Exception Resumable Description Created on
1 FAILED 20100827

Method VALIDATE_SPEC_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_IMPORT_STATUS Call by reference Type reference (TYPE) /TDAG/CPE_IMPORT_STATUS Import status result 20100818
2 Exporting EV_SUB_ID Call by reference Type reference (TYPE) ESESUBID Specification 20100817
3 Importing IS_SUP_MDS Call by reference Type reference (TYPE) /TDAG/CPS_ISMDS Structure for Supplier MDS 20100818
4 Importing IV_NO_CONFIRM Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Surpress confirmation dialogs (true/false) 20100818
5 Importing IV_SUB_ID Call by reference Type reference (TYPE) ESESUBID Specification ID to validate 20100817
6 Importing IV_WRITE_TO_LOG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Write to MDS log true / false 20101006
7 Changing XT_MESSAGES Call by reference Type reference (TYPE) BAL_T_MSG Copy of logged messages 20101006
# Exception Resumable Description Created on
1 FAILED Validation failed 20100817
History
Last changed by/on SAP  20141109 
SAP Release Created in 200_600