SAP ABAP Class CL_CNV_DEMO_DATA (Demo data representation)
Hierarchy
☛
DMIS (Software Component) DMIS 2011_1
⤷
CA-EUR (Application Component) European Monetary Union: Euro
⤷
CNV_DEMO (Package) Dev. class for customer demo transformation packages
⤷
⤷
Properties
| Class | CL_CNV_DEMO_DATA | |
| Short Description | Demo data representation | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | CNV_DEMO | Dev. class for customer demo transformation packages |
| Created | 20110809 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_CNV_DEMO_DATA has no forward declaration.
Interfaces
Class CL_CNV_DEMO_DATA has no interface implemented.
Friends
Class CL_CNV_DEMO_DATA has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | CNV_DEMO_HT_TABLE_DATA | List of table data entries | 20110809 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds a table to the data | 20110809 | |
| 2 | Instance method | Public | Method | Displays the data from the selected table | 20110811 | |
| 3 | Static method | Protected | Method | Returns the name of the client field | 20111118 | |
| 4 | Instance method | Public | Method | Returns a table from the data | 20110809 | |
| 5 | Instance method | Public | Method | Returns the table names contained in data | 20110811 | |
| 6 | Static method | Protected | Method | Checks whether table can be written to | 20111118 | |
| 7 | Static method | Public | Method | Loads the data from the database | 20110809 | |
| 8 | Static method | Public | Method | Reads the entries from given DB tables | 20110811 | |
| 9 | Instance method | Public | Method | Stores the data in the database | 20110809 | |
| 10 | Instance method | Public | Method | Writes the entries into the DB tables | 20110809 |
Events
Class CL_CNV_DEMO_DATA has no event.
Types
Class CL_CNV_DEMO_DATA has no local type.
Method Signatures
Method ADD_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Table of data | 20110809 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110809 |
Method ADD_TABLE on class CL_CNV_DEMO_DATA has no exception.
Method DISPLAY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110811 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Data is not found | 20110811 |
Method GET_CLIENT_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLFNAME | Value transfer | Type reference (TYPE) | FIELDNAME | Field Name | 20111118 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20111118 |
Method GET_CLIENT_FIELD on class CL_CNV_DEMO_DATA has no exception.
Method GET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | ANY | 20110809 | ||||
| 2 | DATAREF | Call by reference | Object reference (TYPE REF TO) | DATA | 20110809 | ||||
| 3 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Data is not found | 20110809 |
Method GET_TABLE_NAMES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TABNAMES | Value transfer | Type reference (TYPE) | TTTABNAME | Number of Tables | 20110811 |
Method GET_TABLE_NAMES on class CL_CNV_DEMO_DATA has no exception.
Method IS_WRITEABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | FLAG | whether table can be written to | 20111118 | |||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20111118 |
Method IS_WRITEABLE on class CL_CNV_DEMO_DATA has no exception.
Method LOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Value transfer | Object reference (TYPE REF TO) | CL_CNV_DEMO_DATA | Demo data representation | 20110809 | |||
| 2 | PACKID | Call by reference | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20110809 | |||
| 3 | VARIANT | Call by reference | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | Variant of the demo data | 20110809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database error (store / load) | 20110809 |
Method READ_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Client | 20111118 | ||
| 2 | DATA | Value transfer | Object reference (TYPE REF TO) | CL_CNV_DEMO_DATA | Demo data representation | 20110811 | |||
| 3 | TABLES | Call by reference | Type reference (TYPE) | TTTABNAME | Number of Tables | 20110811 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Data is not found | 20110811 |
Method STORE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PACKID | Call by reference | Type reference (TYPE) | CNV_PACK | Conversion: Conversion package number | 20110809 | |||
| 2 | VARIANT | Call by reference | Type reference (TYPE) | CNV_DEMO_DATA_VARIANT | Variant of the demo data | 20110809 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database error (store / load) | 20110809 |
Method WRITE_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLIENT | Call by reference | Type reference (TYPE) | MANDT | SY-MANDT | Client | 20111118 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Database error (store / load) | 20110809 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |