SAP ABAP Class CL_MDG_UPLOAD_ID_MAPPING (Upload class for Key Mapping internal)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-MDG-KM (Application Component) Key Mapping
     MDG_BS_ID_MATCHING_TOOLS (Package) MDG Key Mapping: Tools
Properties
Class CL_MDG_UPLOAD_ID_MAPPING  
Short Description Upload class for Key Mapping internal    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class MDG_IDM_TOOLS    
Program status     
Category 0   
Package MDG_BS_ID_MATCHING_TOOLS   MDG Key Mapping: Tools 
Created 20090511   SAP 
Last change 20110908   SAP 
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 IF_MDG_IDM_CONST_BS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_MDG_UPLOAD_ID_MAPPING has no interface implemented.
Friends
Class CL_MDG_UPLOAD_ID_MAPPING has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_FILETYPE_ASC Constant Private Type reference (TYPE) CHAR10 'ASC' Character Field Length = 10 20090512
2 GC_FILETYPE_BIN Constant Private Type reference (TYPE) CHAR10 'BIN' Character Field Length = 10 20090512
3 MV_BAL_EXTNR Instance attribute Private Type reference (TYPE) BALNREXT External BAL number 20090512
4 MV_BAL_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL BAL handle 20090512
5 MV_DETLEVEL Instance attribute Private Type reference (TYPE) INT4 Detail Level of BAL 20090512
Methods
# Method Level Visibility Method type Description Created on
1 ADD_EXC_TO_LOG Instance method Private Method Adds an exception to the BAL 20090513
2 ADD_MSG_TO_LOG Instance method Private Method Adds a message to the BAL 20090512
3 BAL_SAVE Instance method Private Method Save BAL 20090512
4 BUILD_UPLOAD_DATA_FROM_ASC Instance method Private Method Build IDM upload data from ASC File (CSV & Plain) 20090511
5 BUILD_UPLOAD_DATA_FROM_XML Instance method Private Method Build IDM upload_data from XML File 20090511
6 CHECK_FILETYPE Instance method Private Method Check passed Filetype flag with filename 20090518
7 CREATE_BAL Instance method Private Method Create an instance of the BAL 20090512
8 DECREASE_MSG_LEVEL Instance method Private Method Adds a message to the BAL 20090512
9 DISPLAY_UPLOAD_BAL Static method Public Method Display the Upload BAL 20090513
10 INCREASE_MSG_LEVEL Instance method Private Method Adds a message to the BAL 20090512
11 PROCESS_UPLOAD Instance method Private Method Processes the IDM Upload 20090512
12 UPLOAD_CONTROLLER Instance method Public Method Upload controller 20090512
Events
Class CL_MDG_UPLOAD_ID_MAPPING has no event.
Types
Class CL_MDG_UPLOAD_ID_MAPPING has no local type.
Method Signatures

Method ADD_EXC_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IX_EXCEPTION Call by reference Object reference (TYPE REF TO) CX_ROOT Abstract Superclass for All Global Exceptions 20090513

Method ADD_EXC_TO_LOG on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method ADD_MSG_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO System Message Number 20090512
2 Importing IV_MSGTYP Call by reference Type reference (TYPE) SYMSGTY IF_MDG_IDM_CONST_BS=>MSG_TYPE_INFO Message Type 20090512
3 Importing IV_MSGV1 Call by reference Type reference (TYPE) ANY Message Variable 20090512
4 Importing IV_MSGV2 Call by reference Type reference (TYPE) ANY Message Variable 20090512
5 Importing IV_MSGV3 Call by reference Type reference (TYPE) ANY Message Variable 20090512
6 Importing IV_MSGV4 Call by reference Type reference (TYPE) ANY Message Variable 20090512

Method ADD_MSG_TO_LOG on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method BAL_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090512

Method BAL_SAVE on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method BUILD_UPLOAD_DATA_FROM_ASC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COMPLEX_MAPPING_DATA Call by reference Type reference (TYPE) MDG_T_MATCHING_GRP_DATA_BS Table Type with several mapping objects 20090511
2 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING 20090511
3 Importing IV_HAS_FIELD_SEPARATOR Call by reference Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090511
4 Importing IV_READ_BY_LINE Call by reference Type reference (TYPE) BOOLE_D 'X' Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090511

Method BUILD_UPLOAD_DATA_FROM_ASC on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method BUILD_UPLOAD_DATA_FROM_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COMPLEX_MAPPING_DATA Call by reference Type reference (TYPE) MDG_T_MATCHING_GRP_DATA_BS Table Type with several mapping objects 20090512
2 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING 20090512

Method BUILD_UPLOAD_DATA_FROM_XML on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method CHECK_FILETYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090518
2 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING 20090518
3 Importing IV_FILETYPE Call by reference Type reference (TYPE) MDG_IDM_UPLOAD_FILE_EXT_BS Supported File Types for ID Mapping Upload 20090518

Method CHECK_FILETYPE on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method CREATE_BAL Signature

Method CREATE_BAL on class CL_MDG_UPLOAD_ID_MAPPING has no parameter.
Method CREATE_BAL on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method DECREASE_MSG_LEVEL Signature

Method DECREASE_MSG_LEVEL on class CL_MDG_UPLOAD_ID_MAPPING has no parameter.
Method DECREASE_MSG_LEVEL on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method DISPLAY_UPLOAD_BAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090513

Method DISPLAY_UPLOAD_BAL on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method INCREASE_MSG_LEVEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_MSGNO Call by reference Type reference (TYPE) SYMSGNO System Message Number 20090512
2 Importing IV_MSGTYP Call by reference Type reference (TYPE) SYMSGTY IF_MDG_IDM_CONST_BS=>MSG_TYPE_INFO Message Type 20090512
3 Importing IV_MSGV1 Call by reference Type reference (TYPE) ANY Message Variable 20090512
4 Importing IV_MSGV2 Call by reference Type reference (TYPE) ANY Message Variable 20090512
5 Importing IV_MSGV3 Call by reference Type reference (TYPE) ANY Message Variable 20090512
6 Importing IV_MSGV4 Call by reference Type reference (TYPE) ANY Message Variable 20090512
7 Importing IV_WITH_MSG Call by reference Type reference (TYPE) BOOLE_D ABAP_TRUE Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20090514

Method INCREASE_MSG_LEVEL on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method PROCESS_UPLOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_MAPPING_DATA Call by reference Type reference (TYPE) MDG_T_MATCHING_GRP_DATA_BS Table Type for several mapping groups 20090512
2 Importing IV_PROTOCOLL_TYPE Call by reference Type reference (TYPE) MDG_IDM_UPLOAD_PROTOCOL_TYPE IDM Upload: Protocol Type 20090512
3 Importing IV_SIMULATION Call by reference Type reference (TYPE) BOOLE_D 'X' Simulate ID Mapping 20090512

Method PROCESS_UPLOAD on class CL_MDG_UPLOAD_ID_MAPPING has no exception.

Method UPLOAD_CONTROLLER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_LOG_EXT_NR Call by reference Type reference (TYPE) BALNREXT Application Log: External ID 20090512
2 Exporting EV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090512
3 Importing IV_FILENAME Call by reference Type reference (TYPE) STRING Name of the Upload file 20090512
4 Importing IV_FILE_TYPE Call by reference Type reference (TYPE) MDG_IDM_UPLOAD_FILE_EXT_BS Supported File Types for ID Matching upload 20090512
5 Importing IV_PROTOCOL_TYPE Call by reference Type reference (TYPE) MDG_IDM_UPLOAD_PROTOCOL_TYPE IDM Upload: Protocol Type 20090512
6 Importing IV_SIMULATION Call by reference Type reference (TYPE) BOOLE_D 'X' Simulate ID Mapping 20090512

Method UPLOAD_CONTROLLER on class CL_MDG_UPLOAD_ID_MAPPING has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 702