SAP ABAP Class CL_CNV_MBT_EXCEL_DOCUMENT (Excel document for storing data)
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
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_CNV_MBT_PIFD_EXCEL_DOCUMENT | Excel document for storing PIFD data | 20110426 |
Properties
| Class | CL_CNV_MBT_EXCEL_DOCUMENT | |
| Short Description | Excel document for storing data | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_MBT_MAIN_620 | DMIS objects for release starting with 620 |
| Created | 20110426 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_CNV_MBT_EXCEL_DOCUMENT has no interface implemented.
Friends
Class CL_CNV_MBT_EXCEL_DOCUMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GUI_CUSTOM_CONTAINER | Container for Custom Controls in the Screen Area | 20110426 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | I_OI_CONTAINER_CONTROL | Document Container Control Interface | 20110426 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | I_OI_DOCUMENT_PROXY | General Document Interface | 20110426 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110426 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | CNV_MBT_EXCEL_T_SHEETS | List of Excel sheet objects | 20110426 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SOI_SHEETS_TABLE | Standard sheets in a new workbook | 20110426 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Closes and releases the Excel document | 20110426 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20110426 | |
| 3 | Static method | Public | Method | Creates a new Excel file | 20110426 | |
| 4 | Instance method | Public | Method | Creates a new sheet that can handle dynamic tables | 20110608 | |
| 5 | Instance method | Public | Method | Creates a new sheet in the workbook | 20110426 | |
| 6 | Instance method | Public | Method | Creates a new title sheet in the workbook | 20110509 | |
| 7 | Instance method | Public | Method | Deletes the standard sheets of a newly created workbook | 20110426 | |
| 8 | Instance method | Public | Method | Returns the sheets of the workbook | 20110426 | |
| 9 | Static method | Public | Method | Loads an Excel file | 20110426 | |
| 10 | Instance method | Public | Method | Saves the workbook | 20110426 |
Events
Class CL_CNV_MBT_EXCEL_DOCUMENT has no event.
Types
Class CL_CNV_MBT_EXCEL_DOCUMENT has no local type.
Method Signatures
Method CLOSE Signature
Method CLOSE on class CL_CNV_MBT_EXCEL_DOCUMENT has no parameter.
Method CLOSE on class CL_CNV_MBT_EXCEL_DOCUMENT has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_CNV_MBT_EXCEL_DOCUMENT has no parameter.
Method CONSTRUCTOR on class CL_CNV_MBT_EXCEL_DOCUMENT has no exception.
Method CREATE_NEW_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DOCUMENT_TITLE | Call by reference | Type reference (TYPE) | C | 20110426 | ||||
| 2 | RR_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_DOCUMENT | Excel document for storing PIFD data | 20110426 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Excel load error | 20120307 |
Method CREATE_NEW_DYNAMIC_SHEET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | C | 20110608 | ||||
| 2 | RR_SHEET | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_SHEET_DYNAMIC | Excel sheet that works with dynamic (deep) string tables | 20110608 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid Parameter | 20110608 |
Method CREATE_NEW_SHEET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | C | 20110426 | ||||
| 2 | RR_SHEET | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_SHEET | Excel sheet for storing a table | 20110426 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid Parameter | 20110509 |
Method CREATE_NEW_TITLE_SHEET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_SHEET | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_TITLE_SHEET | Title sheet for an Excel workbook | 20110509 |
Method CREATE_NEW_TITLE_SHEET on class CL_CNV_MBT_EXCEL_DOCUMENT has no exception.
Method DELETE_STANDARD_SHEETS Signature
Method DELETE_STANDARD_SHEETS on class CL_CNV_MBT_EXCEL_DOCUMENT has no parameter.
Method DELETE_STANDARD_SHEETS on class CL_CNV_MBT_EXCEL_DOCUMENT has no exception.
Method GET_SHEETS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_SHEETS | Value transfer | Type reference (TYPE) | CNV_MBT_EXCEL_T_SHEETS | List of Excel sheet objects | 20110426 |
Method GET_SHEETS on class CL_CNV_MBT_EXCEL_DOCUMENT has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SHEET_TABLES | Call by reference | Type reference (TYPE) | CNV_MBT_EXCEL_T_SHEET_TAB | Worksheets and the tables used to read their data | 20110426 | |||
| 2 | IV_FILE_URL | Value transfer | Type reference (TYPE) | STRING | 20110426 | ||||
| 3 | IV_IGNORE_INCONSISTENCIES | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Ignore inconsistencies like wrong worksheet count | 20110712 | ||
| 4 | RR_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_DOCUMENT | Excel document for storing PIFD data | 20110426 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Excel load error | 20110426 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | 20110426 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Excel manipulation error | 20110426 | ||
| 2 | Excel save error | 20110426 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |