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 DATA 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 ADD_TABLE Instance method Public Method Adds a table to the data 20110809
2 DISPLAY Instance method Public Method Displays the data from the selected table 20110811
3 GET_CLIENT_FIELD Static method Protected Method Returns the name of the client field 20111118
4 GET_TABLE Instance method Public Method Returns a table from the data 20110809
5 GET_TABLE_NAMES Instance method Public Method Returns the table names contained in data 20110811
6 IS_WRITEABLE Static method Protected Method Checks whether table can be written to 20111118
7 LOAD Static method Public Method Loads the data from the database 20110809
8 READ_DB Static method Public Method Reads the entries from given DB tables 20110811
9 STORE Instance method Public Method Stores the data in the database 20110809
10 WRITE_DB 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 Importing DATA Call by reference Type reference (TYPE) STANDARD TABLE Table of data 20110809
2 Importing 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 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20110811
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DATA_NOT_FOUND 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 Returning CLFNAME Value transfer Type reference (TYPE) FIELDNAME Field Name 20111118
2 Importing 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 Exporting DATA Call by reference Type reference (TYPE) ANY 20110809
2 Exporting DATAREF Call by reference Object reference (TYPE REF TO) DATA 20110809
3 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20110809
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DATA_NOT_FOUND 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 Returning 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 Returning RESULT Value transfer Type reference (TYPE) FLAG whether table can be written to 20111118
2 Importing 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 Returning DATA Value transfer Object reference (TYPE REF TO) CL_CNV_DEMO_DATA Demo data representation 20110809
2 Importing PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20110809
3 Importing VARIANT Call by reference Type reference (TYPE) CNV_DEMO_DATA_VARIANT Variant of the demo data 20110809
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DB_ERROR Database error (store / load) 20110809

Method READ_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT Client 20111118
2 Returning DATA Value transfer Object reference (TYPE REF TO) CL_CNV_DEMO_DATA Demo data representation 20110811
3 Importing TABLES Call by reference Type reference (TYPE) TTTABNAME Number of Tables 20110811
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DATA_NOT_FOUND Data is not found 20110811

Method STORE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PACKID Call by reference Type reference (TYPE) CNV_PACK Conversion: Conversion package number 20110809
2 Importing VARIANT Call by reference Type reference (TYPE) CNV_DEMO_DATA_VARIANT Variant of the demo data 20110809
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DB_ERROR Database error (store / load) 20110809

Method WRITE_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLIENT Call by reference Type reference (TYPE) MANDT SY-MANDT Client 20111118
# Exception Resumable Description Created on
1 CX_CNV_DEMO_DB_ERROR Database error (store / load) 20110809
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_620