SAP ABAP Class CL_MDG_UPLOAD_APPL (Upload Application class)
Hierarchy
SAP_BS_FND (Software Component) SAP Business Suite Foundation
   CA-MDG-ML (Application Component) Mass Load
     MDG_BS_FILE_UPLOAD (Package) Master Data Processes Service Based File Upload
Properties
Class CL_MDG_UPLOAD_APPL  
Short Description Upload Application class    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package MDG_BS_FILE_UPLOAD   Master Data Processes Service Based File Upload 
Created 20090203   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_MDG_FILELOADER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_MDG_UPLOAD_APPL has no interface implemented.
Friends
Class CL_MDG_UPLOAD_APPL has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GV_RUN_NUMBER Static Attribute Public Type reference (TYPE) MDG_RUN_NUMBER Data Load Run Number 20130315
2 MO_GENERAL_LOG_INSTANCE Static Attribute Public Object reference (TYPE REF TO) CL_MDP_IL_LOG_HELPER simplified logging support 20110213
3 MO_LOG_INSTANCE Instance attribute Public Object reference (TYPE REF TO) CL_MDP_IL_LOG_HELPER simplified logging support 20090223
4 MS_SETTING_UI_INPUT Instance attribute Private Type reference (TYPE) MDG_UPLOAD_SETTING_FIELDS To create the setting fields of the file uploader. 20101221
5 MT_FIELD_RANGES Instance attribute Public Type reference (TYPE) GTYT_RANGE 20110804
6 MV_ASYNC_FLAG Instance attribute Private Type reference (TYPE) FLAG General Flag 20110105
7 MV_CONVERTER_TYPE Instance attribute Private Type reference (TYPE) MDG_FILECONVERTER_TYP File Converter Type 20090224
8 MV_FILE_SYSTEM Instance attribute Private Type reference (TYPE) MDP_FILE_SYSTEM File system 20090306
9 MV_LOG_EXTERNAL_NUM Instance attribute Private Type reference (TYPE) BALNREXT Application Log: External ID 20101218
10 MV_LOG_HANDLE Instance attribute Private Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090203
11 MV_MAX_PROCESSES Instance attribute Private Type reference (TYPE) INT4 Natural number 20100624
12 MV_PARALLEL_SRV_GROUP Instance attribute Private Type reference (TYPE) SPTA_RFCGR Server Group for Parallel Processing 20100624
13 MV_RUN_NUMBER Instance attribute Private Type reference (TYPE) MDG_RUN_NUMBER Data Load Run Number 20101230
14 MV_SUCCESS_OBJ_LOGHANDLE Instance attribute Private Type reference (TYPE) I 20110329
Methods
# Method Level Visibility Method type Description Created on
1 ADD_MESSAGE_TO_LOG Instance method Private Method Add message to log 20090702
2 GET_HISTORICAL_LOGS Instance method Public Method Get file load application log 20090508
3 GET_MDT Instance method Private Method Get message data types 20090203
4 LOAD Instance method Public Method perform File load 20090203
5 LOG_CREATE Instance method Public Method Create log and obtain log handle 20090203
6 PERFORM_ASYNC_LOAD Instance method Public Method perform File load 20101020
7 PROCESS_KEYS_INTO_DB Instance method Public Method 20110111
8 SET_ATTRIBUTES Instance method Public Method Set attributes 20090306
9 UPLOAD_FILE_TO_XSTRING Instance method Private Method Read file to XSTRING 20090203
Events
Class CL_MDG_UPLOAD_APPL has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTYS_RANGE_ROW Public See coding 20110804 BEGIN OF gtys_range_row, id TYPE string, tablename TYPE tabname, fieldname TYPE fieldname, description TYPE string, range TYPE REF TO data, END OF gtys_range_row
2 GTYT_RANGE Public See coding 20110804 gtyt_range TYPE TABLE OF gtys_range_row
3 TV_MSG_MODE Private See coding 20090203 tv_msg_mode(1) TYPE c
Method Signatures

Method ADD_MESSAGE_TO_LOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_GEN_LOG Call by reference Object reference (TYPE REF TO) CL_MDP_IL_LOG_HELPER simplified logging support 20090702

Method ADD_MESSAGE_TO_LOG on class CL_MDG_UPLOAD_APPL has no exception.

Method GET_HISTORICAL_LOGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOGS Call by reference Type reference (TYPE) BAL_T_LOGH Application Log: Log Handle Table 20090508
2 Importing IS_DATE_TIME Call by reference Type reference (TYPE) BAL_S_DTTM Application Log: Date and time interval 20090605
3 Importing IV_CONVERTER_TYPE Call by reference Type reference (TYPE) MDG_FILECONVERTER_TYP File Converter Type 20090528
4 Importing IV_SUBOBJECT Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20090528
5 Importing IV_USER Call by reference Type reference (TYPE) BALUSER Application log: user name 20090528

Method GET_HISTORICAL_LOGS on class CL_MDG_UPLOAD_APPL has no exception.

Method GET_MDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_MDT Call by reference Type reference (TYPE) STRING 20090210
2 Exporting EV_NAMESPACE Call by reference Type reference (TYPE) STRING 20090210
3 Importing IV_CONTENT Call by reference Type reference (TYPE) MDG_FILECONTENT-FILECONTENT 20090702
4 Importing IV_FILE Call by reference Type reference (TYPE) FILE_TABLE-FILENAME File name 20090210

Method GET_MDT on class CL_MDG_UPLOAD_APPL has no exception.

Method LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FILE_CONTENT Call by reference Type reference (TYPE) MDG_FILECONTENT_T File Content 20091123
2 Changing CT_LOGS Call by reference Type reference (TYPE) BAL_T_LOGH 20091123
3 Exporting EV_LOG Call by reference Type reference (TYPE) BALLOGHNDL 20090210
4 Importing IO_CONVERTER Call by reference Object reference (TYPE REF TO) BADI_MDG_FILECONVERTER 20090210
5 Importing IO_UI_ASSIST Call by reference Object reference (TYPE REF TO) IF_MDG_UPLOAD_MESSAGES File transformation user interface assist 20091006
6 Importing IT_FILE Call by reference Type reference (TYPE) FILETABLE 20090210
7 Importing IT_OBJ_FOLDER Call by reference Type reference (TYPE) MDG_FILE_UPLOAD_FILES_T Data load file table 20101020
8 Importing IT_USER_SETTING Call by reference Type reference (TYPE) MDG_USER_PROXY_SETTING_T User proxy settings for file upload 20091007
9 Importing IV_REMARK Call by reference Type reference (TYPE) TEXT60 Text Field of Length 60 20090408

Method LOAD on class CL_MDG_UPLOAD_APPL has no exception.

Method LOG_CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LOG_OBJ Call by reference Type reference (TYPE) BALOBJ_D Application Log: Subobject 20090218
2 Importing IV_SUBOBJ Call by reference Type reference (TYPE) BALSUBOBJ Application Log: Subobject 20090210
3 Importing P_CONV Call by reference Type reference (TYPE) CHAR3 3-Byte field 20090210

Method LOG_CREATE on class CL_MDG_UPLOAD_APPL has no exception.

Method PERFORM_ASYNC_LOAD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_FILE_CONTENT Call by reference Type reference (TYPE) MDG_FILECONTENT_T File Content 20101020
2 Changing CT_LOGS Call by reference Type reference (TYPE) BAL_T_LOGH 20101020
3 Exporting EV_LOG Call by reference Type reference (TYPE) BALLOGHNDL 20101020
4 Importing IO_CONVERTER Call by reference Object reference (TYPE REF TO) BADI_MDG_FILECONVERTER 20101020
5 Importing IT_FILE Call by reference Type reference (TYPE) FILETABLE 20101020
6 Importing IT_OBJ_FOLDER Call by reference Type reference (TYPE) MDG_FILE_UPLOAD_FILES_T Data load file table 20101020
7 Importing IT_USER_SETTING Call by reference Type reference (TYPE) MDG_USER_PROXY_SETTING_T User proxy settings for file upload 20101020
8 Importing IV_QUEUE_NAME Call by reference Type reference (TYPE) TRFCQNAM Queue Name 20110208
9 Importing IV_REMARK Call by reference Type reference (TYPE) TEXT60 Text Field of Length 60 20101020

Method PERFORM_ASYNC_LOAD on class CL_MDG_UPLOAD_APPL has no exception.

Method PROCESS_KEYS_INTO_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OBJ_KEYS_STATUS Call by reference Type reference (TYPE) MDG_T_OBJ_STATUS Object status details 20110204
2 Importing IO_FILELOADER Call by reference Object reference (TYPE REF TO) CL_MDG_FILELOADER File loader 20110210
3 Importing IT_OBJECT_KEYS Call by reference Type reference (TYPE) CL_MDG_FILELOADER=>TT_OBJECT_KEYS_LOG 20110111
4 Importing IV_FILE_NUMBER Call by reference Type reference (TYPE) NUM8 Eight-digit numeric value 20110111
5 Importing IV_OITC Call by reference Type reference (TYPE) MDG_IDS_TYPE_CODE_BS Object Identifier Type 20110113
6 Importing IV_RUN_NUMBER Call by reference Type reference (TYPE) MDG_RUN_NUMBER Data Load Run Number 20110111

Method PROCESS_KEYS_INTO_DB on class CL_MDG_UPLOAD_APPL has no exception.

Method SET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_LOG_INSTANCE Call by reference Object reference (TYPE REF TO) CL_MDP_IL_LOG_HELPER simplified logging support 20090306
2 Importing IS_SETTING_UI_INPUT Call by reference Type reference (TYPE) MDG_UPLOAD_SETTING_FIELDS To create the setting fields of the file uploader. 20100714
3 Importing IV_ASYNC_FLAG Call by reference Type reference (TYPE) FLAG General Flag 20100714
4 Importing IV_CONVERTER_TYPE Call by reference Type reference (TYPE) MDG_FILECONVERTER_TYP File Converter Type 20090306
5 Importing IV_FILE_SYSTEM Call by reference Type reference (TYPE) MDP_FILE_SYSTEM File system 20090306
6 Importing IV_LOG_EXTERNAL_NUM Call by reference Type reference (TYPE) BALNREXT Application Log: External ID 20101218
7 Importing IV_LOG_HANDLE Call by reference Type reference (TYPE) BALLOGHNDL Application Log: Log Handle 20090306
8 Importing IV_MAX_PROCESSES Call by reference Type reference (TYPE) INT4 Natural number 20100624
9 Importing IV_PARALLEL_SRV_GROUP Call by reference Type reference (TYPE) SPTA_RFCGR Server Group for Parallel Processing 20100624
10 Importing IV_RUN_NUMBER Call by reference Type reference (TYPE) MDG_RUN_NUMBER Data Load Run Number 20101230

Method SET_ATTRIBUTES on class CL_MDG_UPLOAD_APPL has no exception.

Method UPLOAD_FILE_TO_XSTRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_CONTENT Call by reference Type reference (TYPE) XSTRING 20090210
2 Importing IV_FILE Call by reference Type reference (TYPE) FILE_TABLE-FILENAME File name 20090210
# Exception Resumable Description Created on
1 CX_MDG_UPLOAD Error occurred while file upload processing 20100827
History
Last changed by/on SAP  20130531 
SAP Release Created in 100