SAP ABAP Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO (Spreadsheet table I/O for SAPGUI)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_MBT_MAIN_620 (Package) DMIS objects for release starting with 620

⤷

⤷

Properties
Class | CL_CNV_MBT_620_SPRD_DYN_TAB_IO | |
Short Description | Spreadsheet table I/O for SAPGUI | |
Super Class | ||
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | CNV_MBT_MAIN_620 | DMIS objects for release starting with 620 |
Created | 20120112 | SAP |
Last change | 20141030 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no forward declaration.
Interfaces
Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no interface implemented.
Friends
Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no friend class.
Attributes
Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no attribute.
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Private | Method | Create the file extension from a file type | 20120307 |
2 | ![]() |
Static method | Private | Method | Create the file filter from the list of allowed file types | 20120307 |
3 | ![]() |
Static method | Private | Method | Create the file filter entry for the file type | 20120307 |
4 | ![]() |
Static method | Private | Method | Extract the file extension from a file path | 20120307 |
5 | ![]() |
Static method | Private | Method | Filters the list of file types to retain only allowed ones | 20120307 |
6 | ![]() |
Static method | Private | Method | Returns all technically possible file types | 20120307 |
7 | ![]() |
Static method | Private | Method | Build the field catalog for the given table | 20120307 |
8 | ![]() |
Static method | Public | Method | Load the table from file on the local machine (via SAPGUI) | 20120307 |
9 | ![]() |
Static method | Public | Method | Read a file from the client's hard disk | 20120307 |
10 | ![]() |
Static method | Private | Method | Read Excel file from disk | 20120307 |
11 | ![]() |
Static method | Private | Method | Read ODS file from disk | 20120307 |
12 | ![]() |
Static method | Public | Method | Read table from disk according to its file type | 20120307 |
13 | ![]() |
Static method | Public | Method | Save the table to a file on the local machine (via SAPGUI) | 20120307 |
14 | ![]() |
Static method | Public | Method | Writes a file to the client's hard disk | 20120307 |
15 | ![]() |
Static method | Public | Method | Write table to disk according to file type | 20120307 |
16 | ![]() |
Static method | Private | Method | Write table to disk as an Excel file | 20120307 |
17 | ![]() |
Static method | Private | Method | Write table to disk as an ODS file | 20120307 |
Events
Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no event.
Types
Class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no local type.
Method Signatures
Method BUILD_FILE_EXTENSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FILE_TYPE | Call by reference | Type reference (TYPE) | STRING | File type | 20120307 | ||
2 | ![]() |
RV_FILE_EXTENSION | Value transfer | Type reference (TYPE) | STRING | File extension | 20120307 |
Method BUILD_FILE_EXTENSION on class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no exception.
Method BUILD_FILE_FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FILE_TYPES | Call by reference | Type reference (TYPE) | STRING_TABLE | List of file types | 20120307 | ||
2 | ![]() |
RV_FILE_FILTER | Value transfer | Type reference (TYPE) | STRING | File filter for dialog | 20120307 |
Method BUILD_FILE_FILTER on class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no exception.
Method BUILD_FILE_FILTER_ENTRY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FILE_TYPE | Call by reference | Type reference (TYPE) | STRING | File type | 20120307 | ||
2 | ![]() |
RV_FILE_FILTER_ENTRY | Value transfer | Type reference (TYPE) | STRING | File filter entry | 20120307 |
Method BUILD_FILE_FILTER_ENTRY on class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no exception.
Method EXTRACT_FILE_EXTENSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | 20120307 | |||
2 | ![]() |
RV_FILE_EXTENSION | Value transfer | Type reference (TYPE) | STRING | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 |
Method FILTER_ALLOWED_FILE_TYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XT_FILE_TYPES | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120307 |
Method FILTER_ALLOWED_FILE_TYPES on class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no exception.
Method GET_ALL_FILE_TYPES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RT_FILE_TYPES | Value transfer | Type reference (TYPE) | STRING_TABLE | Table of Strings | 20120307 |
Method GET_ALL_FILE_TYPES on class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no exception.
Method GET_FIELD_CATALOG Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20120307 | |||
2 | ![]() |
RT_FIELD_CATALOG | Value transfer | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 |
Method GET_FIELD_CATALOG on class CL_CNV_MBT_620_SPRD_DYN_TAB_IO has no exception.
Method LOAD_FROM_LOCAL_MACHINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ALLOWED_FILE_TYPES | Value transfer | Type reference (TYPE) | STRING_TABLE | List of all allowed file types (if available) | 20120307 | ||
2 | ![]() |
IT_FIELD_CATALOG | Value transfer | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
3 | ![]() |
IV_DEFAULT_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | Default file name | 20120307 | ||
4 | ![]() |
IV_DEFAULT_FILE_TYPE | Value transfer | Type reference (TYPE) | STRING | 'ODS' | Default file type (if available) | 20120307 | |
5 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | 8 | Header Length | 20120307 | |
6 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | 'Sheet1' | Worksheet name | 20120307 | |
7 | ![]() |
XT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table read from the file | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Spreadsheet load error | 20120307 | |
3 | ![]() |
Not supported | 20120307 | |
4 | ![]() |
Action was canceled by the user | 20120307 |
Method READ_FILE_FROM_DISK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
2 | ![]() |
XV_FILE | Call by reference | Type reference (TYPE) | XSTRING | Binary file | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 |
Method READ_FROM_EXCEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FIELD_CATALOG | Value transfer | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
2 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
3 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | Header Length | 20120307 | ||
4 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | Worksheet name | 20120307 | ||
5 | ![]() |
XT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to be written to the file | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Spreadsheet load error | 20120307 | |
3 | ![]() |
Not supported | 20120307 |
Method READ_FROM_ODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
2 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
3 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | Header Length | 20120307 | ||
4 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | Worksheet name | 20120307 | ||
5 | ![]() |
XT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to be written to the file | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Spreadsheet load error | 20120307 | |
3 | ![]() |
Not supported | 20120307 |
Method READ_TABLE_FROM_DISK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
2 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
3 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | 8 | Header Length | 20120307 | |
4 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | 'Sheet1' | Worksheet name | 20120307 | |
5 | ![]() |
XT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table read from the file | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Spreadsheet load error | 20120307 | |
3 | ![]() |
Not supported | 20120307 |
Method SAVE_TO_LOCAL_MACHINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ALLOWED_FILE_TYPES | Value transfer | Type reference (TYPE) | STRING_TABLE | List of all allowed file types (if available) | 20120307 | ||
2 | ![]() |
IT_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
3 | ![]() |
IT_HEADER | Call by reference | Type reference (TYPE) | STRING_TABLE | Header lines | 20120307 | ||
4 | ![]() |
IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to be written to the file | 20120307 | ||
5 | ![]() |
IV_DEFAULT_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | Default file name | 20120307 | ||
6 | ![]() |
IV_DEFAULT_FILE_TYPE | Value transfer | Type reference (TYPE) | STRING | 'ODS' | Default file type (if available) | 20120307 | |
7 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | 8 | Header Length | 20120307 | |
8 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | 'Sheet1' | Worksheet name | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Not supported | 20120307 | |
3 | ![]() |
Error saving spreadsheet | 20120307 | |
4 | ![]() |
Action was canceled by the user | 20120307 |
Method WRITE_FILE_TO_DISK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_FILE | Value transfer | Type reference (TYPE) | XSTRING | Binary file | 20120307 | ||
2 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 |
Method WRITE_TABLE_TO_DISK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
2 | ![]() |
IT_HEADER | Call by reference | Type reference (TYPE) | STRING_TABLE | Header lines | 20120307 | ||
3 | ![]() |
IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to be written to the file | 20120307 | ||
4 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
5 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | 8 | Header Length | 20120307 | |
6 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | 'Sheet1' | Worksheet name | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Not supported | 20120307 | |
3 | ![]() |
Error saving spreadsheet | 20120307 |
Method WRITE_TO_EXCEL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FIELD_CATALOG | Value transfer | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
2 | ![]() |
IT_HEADER | Call by reference | Type reference (TYPE) | STRING_TABLE | Header lines | 20120307 | ||
3 | ![]() |
IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to be written to the file | 20120307 | ||
4 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
5 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | Header Length | 20120307 | ||
6 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | Worksheet name | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Not supported | 20120307 | |
2 | ![]() |
Error saving spreadsheet | 20120307 |
Method WRITE_TO_ODS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_FIELD_CATALOG | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20120307 | ||
2 | ![]() |
IT_HEADER | Call by reference | Type reference (TYPE) | STRING_TABLE | Header lines | 20120307 | ||
3 | ![]() |
IT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table to be written to the file | 20120307 | ||
4 | ![]() |
IV_FILE_PATH | Call by reference | Type reference (TYPE) | STRING | Absolute file path | 20120307 | ||
5 | ![]() |
IV_HEADER_LENGTH | Call by reference | Type reference (TYPE) | I | Header Length | 20120307 | ||
6 | ![]() |
IV_WORKSHEET_NAME | Call by reference | Type reference (TYPE) | STRING | Worksheet name | 20120307 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
General I/O error | 20120307 | |
2 | ![]() |
Not supported | 20120307 | |
3 | ![]() |
Error saving spreadsheet | 20120307 |
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in |