SAP ABAP Class CL_CNV_MBT_EXCEL_SHEET (Excel sheet for storing a table)
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_EXCEL_SHEET_DYNAMIC | Excel sheet that works with dynamic (deep) string tables | 20110608 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_CNV_MBT_EXCEL_TITLE_SHEET | Title sheet for an Excel workbook | 20110509 |
3 | Inheritance (c INHERITING FROM c_ref) | CL_CNV_MBT_PIFD_EXCEL_SHEET | Excel sheet for storing a table | 20110426 |
Properties
Class | CL_CNV_MBT_EXCEL_SHEET | |
Short Description | Excel sheet for storing a table | |
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 | 20110426 | SAP |
Last change | 20141030 | |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_CNV_MBT_EXCEL_SHEET has no forward declaration.
Interfaces
Class CL_CNV_MBT_EXCEL_SHEET has no interface implemented.
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_CNV_MBT_EXCEL_DOCUMENT | 20110426 | Excel document for storing data |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 10 | First line to be used for data | 20110608 | |
2 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 1048576 | Maximum rows in the excel sheet | 20110614 | |
3 | ![]() |
Constant | Protected | Type reference (TYPE) | I | 10 | Number of lines to read in one batch | 20110614 | |
4 | ![]() |
Constant | Protected | See coding | 'READ_RANGE_01' | Name of the range for reading | 20110614 | ||
5 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20110509 | |||
6 | ![]() |
Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20110509 | |||
7 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_EXCEL_T_TABLE_HEADER | Table Header Line Description | 20110607 | ||
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_EXCEL_SHEET_NAME | Name of an Excel worksheet | 20110608 | ||
9 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_DOCUMENT | Excel document for storing PIFD data | 20110426 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20110426 |
2 | ![]() |
Instance method | Protected | Method | Formats an area on the current sheet | 20110509 |
3 | ![]() |
Instance method | Protected | Method | Formats the header area | 20110509 |
4 | ![]() |
Instance method | Public | Method | Returns the data table displayed on this sheet | 20110426 |
5 | ![]() |
Instance method | Public | Method | Returns the offset of the data table (first data line - 1) | 20121113 |
6 | ![]() |
Instance method | Public | Method | Returns the sheet's name | 20110426 |
7 | ![]() |
Instance method | Protected | Method | Reads from a spreadsheet object (internal) | 20110426 |
8 | ![]() |
Instance method | Public | Method | Sets the data table to be displayed on this sheet | 20110426 |
9 | ![]() |
Instance method | Public | Method | Sets the header for the sheet | 20110428 |
10 | ![]() |
Instance method | Public | Method | Sets the table header line | 20110607 |
11 | ![]() |
Instance method | Protected | Method | Writes the table header line to the worksheet | 20110607 |
12 | ![]() |
Instance method | Protected | Method | Write a table to a sheet | 20110428 |
13 | ![]() |
Instance method | Protected | Method | Writes to a spreadsheet object (internal) | 20110426 |
Events
Class CL_CNV_MBT_EXCEL_SHEET has no event.
Types
Class CL_CNV_MBT_EXCEL_SHEET has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_CONTAINING_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | CL_CNV_MBT_EXCEL_DOCUMENT | Excel document for storing PIFD data | 20110426 | ||
2 | ![]() |
IV_NAME | Call by reference | Type reference (TYPE) | C | Name of the worksheet | 20110426 |
Method CONSTRUCTOR on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method FORMAT_AREA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_BACKGROUND_COLOR | Call by reference | Type reference (TYPE) | I | 20110509 | |||
2 | ![]() |
IV_COLUMNS | Call by reference | Type reference (TYPE) | I | 20110509 | |||
3 | ![]() |
IV_FRONT_COLOR | Call by reference | Type reference (TYPE) | I | 20110509 | |||
4 | ![]() |
IV_LEFT | Call by reference | Type reference (TYPE) | I | 20110509 | |||
5 | ![]() |
IV_ROWS | Call by reference | Type reference (TYPE) | I | 20110509 | |||
6 | ![]() |
IV_TOP | Call by reference | Type reference (TYPE) | I | 20110509 | |||
7 | ![]() |
XR_SPREADSHEET | Call by reference | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110509 |
Method FORMAT_AREA on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method FORMAT_HEADER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XR_SPREADSHEET | Call by reference | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110509 |
Method FORMAT_HEADER on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method GET_DATA_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XT_DATA_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20110426 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Invalid Parameter | 20110509 |
Method GET_DATA_TABLE_OFFSET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_DATA_OFFSET | Value transfer | Type reference (TYPE) | CNV_MBT_EXCEL_DATA_OFFSET | Offset of Data Table in Excel Spreadsheet | 20121113 |
Method GET_DATA_TABLE_OFFSET on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method GET_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RV_NAME | Value transfer | Type reference (TYPE) | CNV_MBT_EXCEL_SHEET_NAME | Name of an Excel worksheet | 20110426 |
Method GET_NAME on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method READ_FROM_SHEET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | 20110426 | |||
2 | ![]() |
IR_SPREADSHEET | Call by reference | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110426 | ||
3 | ![]() |
IV_DYNAMIC_COLUMNS | Call by reference | Type reference (TYPE) | CNV_MBT_EXCEL_DYN_CLMN_COUNT | Number of dynamic columns | 20110614 |
Method READ_FROM_SHEET on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method SET_DATA_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_DATA_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20110426 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Invalid Parameter | 20110428 |
Method SET_HEADER_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_HEADER_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20110428 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Invalid Parameter | 20110428 |
Method SET_TABLE_HEADER_LINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_TABLE_HEADER_LINE | Call by reference | Type reference (TYPE) | CNV_MBT_EXCEL_T_TABLE_HEADER | Table Header Line Description | 20110607 |
Method SET_TABLE_HEADER_LINE on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method WRITE_TABLE_HEADER_TO_SHEET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XR_SPREADSHEET | Call by reference | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110607 |
Method WRITE_TABLE_HEADER_TO_SHEET on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method WRITE_TABLE_TO_SHEET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IR_TABLE_REF | Call by reference | Object reference (TYPE REF TO) | DATA | 20110428 | |||
2 | ![]() |
IV_FIRST_ROW | Call by reference | Type reference (TYPE) | I | 20110428 | |||
3 | ![]() |
XR_SPREADSHEET | Call by reference | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110428 |
Method WRITE_TABLE_TO_SHEET on class CL_CNV_MBT_EXCEL_SHEET has no exception.
Method WRITE_TO_SHEET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
XR_SPREADSHEET | Call by reference | Object reference (TYPE REF TO) | I_OI_SPREADSHEET | Table interface | 20110426 |
Method WRITE_TO_SHEET on class CL_CNV_MBT_EXCEL_SHEET has no exception.
History
Last changed by/on | SAP | 20141030 |
SAP Release Created in | 2010_1_620 |