SAP ABAP Class CL_MDG_TRANSFORMATION_APPL (File Transformation application)
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_TRANSFORMATION_APPL | |
Short Description | File Transformation application | |
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 | 20090930 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_MDG_TRANSFORMATION_APPL has no forward declaration.
Interfaces
Class CL_MDG_TRANSFORMATION_APPL has no interface implemented.
Friends
Class CL_MDG_TRANSFORMATION_APPL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | 'C' | Single-Character Flag | 20091028 | |
2 | ![]() |
Constant | Private | Type reference (TYPE) | CHAR1 | 'M' | Single-Character Flag | 20091028 | |
3 | ![]() |
Instance attribute | Public | Object reference (TYPE REF TO) | CL_MDP_IL_LOG_HELPER | simplified logging support | 20101215 | ||
4 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_MDP_IL_LOG_HELPER | simplified logging support | 20091016 | ||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MDG_TT_EXTRACTED_FILE | MDG_TT_EXTRACTED_FILE | 20101216 | ||
6 | ![]() |
Instance attribute | Public | Type reference (TYPE) | MDG_DATALOAD_FILE_PREFIX | Filename Prefix | 20110323 | ||
7 | ![]() |
Instance attribute | Private | Type reference (TYPE) | MDP_FILE_SYSTEM | File system | 20091016 | ||
8 | ![]() |
Instance attribute | Public | Type reference (TYPE) | BALLOGHNDL | Application Log: Log Handle | 20091016 | ||
9 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20091016 | ||
10 | ![]() |
Instance attribute | Private | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20091016 | ||
11 | ![]() |
Instance attribute | Public | Type reference (TYPE) | INT4 | Natural number | 20100921 | ||
12 | ![]() |
Instance attribute | Public | Type reference (TYPE) | MDG_DATALOAD_OBJ_TYPE | Data Load Object Type | 20101228 | ||
13 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SPTA_RFCGR | Server Group for Parallel Processing | 20100921 | ||
14 | ![]() |
Static Attribute | Public | Type reference (TYPE) | EDI_PVRCVP | 'XML_PORT' | Port | 20091029 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Add message to log | 20091013 |
2 | ![]() |
Instance method | Public | Method | Convert the files | 20101215 |
3 | ![]() |
Instance method | Public | Method | File transformation | 20091022 |
4 | ![]() |
Instance method | Private | Method | Get file name | 20091028 |
5 | ![]() |
Instance method | Private | Method | Get the XString content of the file | 20101215 |
6 | ![]() |
Instance method | Public | Method | Get history logs | 20091013 |
7 | ![]() |
Instance method | Public | Method | Get message data type | 20091013 |
8 | ![]() |
Instance method | Private | Method | Get Message Data Type | 20101215 |
9 | ![]() |
Instance method | Public | Method | Create Log | 20091013 |
10 | ![]() |
Instance method | Private | Method | Move file to Archive directory after processing | 20110401 |
11 | ![]() |
Instance method | Private | Method | Prepare xml | 20091028 |
12 | ![]() |
Instance method | Private | Method | Remove Trailing Zeros from the end of the converted file | 20101220 |
13 | ![]() |
Instance method | Private | Method | Save the converted files | 20101216 |
14 | ![]() |
Instance method | Public | Method | Set attribute | 20091013 |
15 | ![]() |
Instance method | Public | Method | Upload file to xstring | 20091013 |
Events
Class CL_MDG_TRANSFORMATION_APPL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TS_IXML_DOCUMENT | Public | See coding | 20091028 | ts_ixml_document(255) TYPE x
|
||
2 | TS_MDT | Public | See coding | 20091016 | BEGIN OF ts_mdt,
mdt TYPE string,
namespace TYPE string,
END OF ts_mdt
|
||
3 | TS_MDT_HANDLER | Public | See coding | 20091016 | BEGIN OF ts_mdt_handler,
mdt TYPE string,
namespace TYPE string,
fileloader TYPE REF TO cl_mdg_fileloader,
END OF ts_mdt_handler
|
||
4 | TT_IXML_DOCUMENT | Public | See coding | 20091028 | tt_ixml_document TYPE STANDARD TABLE OF ts_ixml_document
|
||
5 | TT_MDT | Public | See coding | 20091016 | tt_mdt TYPE STANDARD TABLE OF ts_mdt
|
||
6 | TT_MDT_HANDLER | Public | See coding | 20091016 | tt_mdt_handler TYPE STANDARD TABLE OF ts_mdt_handler
|
Method Signatures
Method ADD_MESSAGE_TO_LOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_GEN_LOG | Call by reference | Object reference (TYPE REF TO) | CL_MDP_IL_LOG_HELPER | simplified logging support | 20091016 |
Method ADD_MESSAGE_TO_LOG on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method CONVERT_FILES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Type of messages encountered during Conversion | 20110602 | ||
2 | ![]() |
IT_FILE_TABLE | Call by reference | Type reference (TYPE) | FILETABLE | File name table | 20101215 | ||
3 | ![]() |
IV_ARCHIVE_DIR | Call by reference | Type reference (TYPE) | MDG_ARCHIVE_FILEPATH | Archive directory for processed files | 20110401 | ||
4 | ![]() |
IV_DESTINATION_DIR | Call by reference | Type reference (TYPE) | MDG_DATALOAD_FILEPATH | Data load file path | 20101216 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Exception class for Converter | 20101224 |
Method FILE_TRANSFORM Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_FILE_CONTENT | Call by reference | Type reference (TYPE) | MDG_FILECONTENT_T | File Content | 20100921 | ||
2 | ![]() |
ET_EXTRACTED_FILE | Call by reference | Type reference (TYPE) | MDG_TT_EXTRACTED_FILE | MDG_TT_EXTRACTED_FILE | 20091028 | ||
3 | ![]() |
ET_LOGS | Call by reference | Type reference (TYPE) | BAL_T_LOGH | Application Log: Log Handle Table | 20091022 | ||
4 | ![]() |
ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Return parameter table | 20091022 | ||
5 | ![]() |
IT_FILE | Call by reference | Type reference (TYPE) | FILETABLE | File name table | 20091022 | ||
6 | ![]() |
IT_FILE_CONTENT | Call by reference | Type reference (TYPE) | MDG_FILECONTENT_T | File Content | 20091022 | ||
7 | ![]() |
IV_REMARK | Call by reference | Type reference (TYPE) | TEXT60 | Text Field of Length 60 | 20091022 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
File Upload Exception | 20091023 |
Method GET_FILENAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_FILENAME | Call by reference | Type reference (TYPE) | STRING | 20091028 | |||
2 | ![]() |
IV_DT_NAME | Call by reference | Type reference (TYPE) | MDG_EXTR_DT_NAME | Data type in ESR (Message data type or GTD) | 20091028 | ||
3 | ![]() |
IV_FILE_TYPE | Call by reference | Type reference (TYPE) | CHAR1 | Single-Character Flag | 20091028 | ||
4 | ![]() |
IV_SEQUENCE_NO | Call by reference | Type reference (TYPE) | INT2 | 2 byte integer (signed) | 20091028 |
Method GET_FILENAME on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method GET_FILE_CONTENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20101215 | |||
2 | ![]() |
IV_FILE | Call by reference | Type reference (TYPE) | FILE_TABLE-FILENAME | File name | 20101215 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20101215 |
Method GET_HISTORICAL_LOGS Signature
Method GET_HISTORICAL_LOGS on class CL_MDG_TRANSFORMATION_APPL has no parameter.
Method GET_HISTORICAL_LOGS on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method GET_MDT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_MDT | Call by reference | Type reference (TYPE) | STRING | 20091016 | |||
2 | ![]() |
EV_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | 20091016 | |||
3 | ![]() |
IV_CONTENT | Call by reference | Type reference (TYPE) | MDG_FILECONTENT-FILECONTENT | 20091016 | |||
4 | ![]() |
IV_FILE | Call by reference | Type reference (TYPE) | FILE_TABLE-FILENAME | File name | 20091016 |
Method GET_MDT on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method GET_MESSAGE_DATA_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_MDT | Call by reference | Type reference (TYPE) | STRING | 20101215 | |||
2 | ![]() |
EV_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | 20101215 | |||
3 | ![]() |
IV_CONTENT | Call by reference | Type reference (TYPE) | MDG_FILECONTENT-FILECONTENT | 20101215 | |||
4 | ![]() |
IV_FILE | Call by reference | Type reference (TYPE) | FILE_TABLE-FILENAME | File name | 20101215 |
Method GET_MESSAGE_DATA_TYPE on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method LOG_CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_LOG_OBJ | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20091016 | ||
2 | ![]() |
IV_SUBOBJ | Call by reference | Type reference (TYPE) | BALSUBOBJ | Application Log: Subobject | 20091016 |
Method LOG_CREATE on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method MOVE_TO_ARCHIVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ARCHIVE_PATH | Call by reference | Type reference (TYPE) | FILE_TABLE-FILENAME | File name | 20110401 | ||
2 | ![]() |
IV_FILENAME | Call by reference | Type reference (TYPE) | FILE_TABLE-FILENAME | File name | 20110401 |
Method MOVE_TO_ARCHIVE on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method PREPARE_XML Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_EXTRACTED_FILE | Call by reference | Type reference (TYPE) | MDG_TT_EXTRACTED_FILE | MDG_TT_EXTRACTED_FILE | 20091028 | ||
2 | ![]() |
EV_NO_NEXT_OBJECTS | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20091028 | ||
3 | ![]() |
IT_OBJECTS_XML | Call by reference | Type reference (TYPE) | MDG_EXTR_TT_OBJECTS_XML | MDG Extractor: XML Data provided by the object impl. | 20091028 |
Method PREPARE_XML on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method REMOVE_TRAILING_ZEROS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_OUT_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20101220 | |||
2 | ![]() |
IV_IN_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20101220 |
Method REMOVE_TRAILING_ZEROS on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method SAVE_CONVERTED_FILES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DESTINATION_DIR | Call by reference | Type reference (TYPE) | MDG_DATALOAD_FILEPATH | Data load file path | 20101216 |
Method SAVE_CONVERTED_FILES on class CL_MDG_TRANSFORMATION_APPL has no exception.
Method SET_ATTRIBUTES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FILE_SYSTEM | Call by reference | Type reference (TYPE) | MDP_FILE_SYSTEM | File system | 20091029 | ||
2 | ![]() |
IV_MAX_PROCESSES | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20100921 | ||
3 | ![]() |
IV_PARALLEL_SRV_GROUP | Call by reference | Type reference (TYPE) | SPTA_RFCGR | Server Group for Parallel Processing | 20100921 | ||
4 | ![]() |
IV_XML_PORT | Call by reference | Type reference (TYPE) | EDI_PVRCVP | Port | 20091029 |
Method SET_ATTRIBUTES on class CL_MDG_TRANSFORMATION_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 | ![]() |
EV_CONTENT | Call by reference | Type reference (TYPE) | XSTRING | 20091016 | |||
2 | ![]() |
IV_FILE | Call by reference | Type reference (TYPE) | FILE_TABLE-FILENAME | File name | 20091016 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20100830 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 702 |