SAP ABAP Class CL_CNV_00001_DATAPACK (Data package)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-GTF-BS (Application Component) Business Application Support
     CNV_BASIS (Package) Conversion: Basis functions
Properties
Class CL_CNV_00001_DATAPACK  
Short Description Data package    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_BASIS   Conversion: Basis functions 
Created 20110318   SAP 
Last change 20141030    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_CNV_00001_DATAPACK has no forward declaration.
Interfaces
Class CL_CNV_00001_DATAPACK has no interface implemented.
Friends
Class CL_CNV_00001_DATAPACK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 OBJFUNC_KEYS Constant Public Type reference (TYPE) OBJFUNC 'K' Object function 20110603
2 OBJTYPE_TABU Constant Public Type reference (TYPE) TROBJTYPE 'TABU' Object type 20110603
3 OBJTYPE_VDAT Constant Public Type reference (TYPE) TROBJTYPE 'VDAT' Object type 20110603
4 PGMID_R3TR Constant Public Type reference (TYPE) PGMID 'R3TR' Program ID in requests and tasks 20110603
5 TABLES Instance attribute Protected Type reference (TYPE) TY_HT_TABLE List of held tables 20110318
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ALL Instance method Public Method Adds all tables from another data pack 20110418
2 ADD_DATA Instance method Public Method Adds data of a given type 20110318
3 CLEAR Instance method Public Method Clears selected table or the whole data pack 20110318
4 CLEAR_REF Instance method Protected Method Clears the given reference 20110318
5 CREATE_TABLE_REF Instance method Protected Method Creates the table reference 20110318
6 DELETE Instance method Public Method Deletes the entries from the database 20110418
7 DO_DELETE Instance method Protected Method Deletes the entries from the given itab from database 20110418
8 DO_GET_OBJECTS Instance method Protected Method Returns Request objects for a single structure 20110603
9 DO_INSERT Instance method Protected Method Inserts into the db table from the given itab 20110322
10 DO_UPDATE Instance method Protected Method Updates the db table from the given itab 20110321
11 GET_DATA Instance method Public Method Returns the table corresponding to the given structure 20110318
12 GET_OBJECTS Instance method Public Method Returns Request objects 20110603
13 GET_ROW_KEY Static method Protected Method Returns the key part from the given row of data 20110603
14 GET_TABLE_REF Instance method Protected Method Returns the reference to table of given type 20110318
15 INSERT Instance method Public Method Inserts the given itab to the database 20110318
16 MODIFY Instance method Public Method Modifies the db table from the given itab 20110318
17 UPDATE Instance method Public Method Updates the db tables 20110318
Events
Class CL_CNV_00001_DATAPACK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_HT_TABLE Protected See coding Table of internal tables of data 20110318
2 TY_TABLE Protected See coding Structure for holding internal tables of data 20110318
Method Signatures

Method ADD_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATAPACK Call by reference Object reference (TYPE REF TO) CL_CNV_00001_DATAPACK Data package 20110418

Method ADD_ALL on class CL_CNV_00001_DATAPACK has no exception.

Method ADD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA Call by reference Type reference (TYPE) ANY Line of data 20110322
2 Importing FIELDS Call by reference Type reference (TYPE) TTFIELDNAME fields to modify 20110322
3 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Structure of data 20110318
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TAB_NOT_FOUND Structure not found 20110318

Method CLEAR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110318

Method CLEAR on class CL_CNV_00001_DATAPACK has no exception.

Method CLEAR_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing REF Call by reference Object reference (TYPE REF TO) DATA 20110318

Method CLEAR_REF on class CL_CNV_00001_DATAPACK has no exception.

Method CREATE_TABLE_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning REF Value transfer Object reference (TYPE REF TO) DATA 20110318
2 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20110318
# Exception Resumable Description Created on
1 CX_SY_CREATE_DATA_ERROR System-Exception Creating Data 20110318

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IGNORE_NOT_FOUND Call by reference Type reference (TYPE) FLAG 'X' Ignore if some rows have not been found 20110418
2 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110418
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_DEL_FAILED Delete operation failed 20110418
2 CX_CNV_00001_API_TAB_NOT_FOUND Table not found 20110418

Method DO_DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IGNORE_NOT_FOUND Call by reference Type reference (TYPE) FLAG 'X' Ignore if some rows have not been found 20110418
2 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110418
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_DEL_FAILED Delete operation failed 20110418
2 CX_CNV_00001_API_TAB_NOT_FOUND Table not found 20110418

Method DO_GET_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing KEYS Call by reference Type reference (TYPE) TREDT_KEYS Table Keys for Processing (Correction Interface) 20110603
2 Changing OBJECTS Call by reference Type reference (TYPE) TREDT_OBJECTS Objects for Processing (Correction Interface) 20110603
3 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110603

Method DO_GET_OBJECTS on class CL_CNV_00001_DATAPACK has no exception.

Method DO_INSERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCEPTING_DUPLICATES Call by reference Type reference (TYPE) FLAG SPACE Whether to accept duplicates 20110322
2 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110322
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_INS_FAILED Insert operation failed 20110322
2 CX_CNV_00001_API_TAB_NOT_FOUND Table not found 20110322

Method DO_UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110321
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_UPD_FAILED Update operation failed 20110321
2 CX_CNV_00001_API_TAB_NOT_FOUND Table not found 20110321

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting REF Call by reference Object reference (TYPE REF TO) DATA Reference to table of data 20110318
2 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Structure of data 20110318
3 Exporting TABLE Call by reference Type reference (TYPE) TABLE Table of data 20110318
# Exception Resumable Description Created on
1 CX_CNV_00001_API_TAB_NOT_FOUND Data with structure of given type not found 20110318

Method GET_OBJECTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting KEYS Call by reference Type reference (TYPE) TREDT_KEYS Table Keys for Processing (Correction Interface) 20110603
2 Exporting OBJECTS Call by reference Type reference (TYPE) TREDT_OBJECTS Objects for Processing (Correction Interface) 20110603
3 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110603

Method GET_OBJECTS on class CL_CNV_00001_DATAPACK has no exception.

Method GET_ROW_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLPOS Call by reference Type reference (TYPE) X030L-CLPOS '0' Position number of the client field in the table 20110603
2 Importing DDFIELDS Call by reference Type reference (TYPE) DDFIELDS Key Fields 20110603
3 Returning KEY Value transfer Type reference (TYPE) STRING 20110603
4 Importing ROW Call by reference Type reference (TYPE) ANY 20110603

Method GET_ROW_KEY on class CL_CNV_00001_DATAPACK has no exception.

Method GET_TABLE_REF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ONLY_EXISTING Call by reference Type reference (TYPE) FLAG SPACE Only return reference if table already exists 20110318
2 Returning REF Value transfer Object reference (TYPE REF TO) DATA 20110318
3 Importing TABNAME Call by reference Type reference (TYPE) TABNAME Table Name 20110318
# Exception Resumable Description Created on
1 CX_SY_CREATE_DATA_ERROR System-Exception Creating Data 20110318

Method INSERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACCEPTING_DUPLICATES Call by reference Type reference (TYPE) FLAG SPACE Whether to accept duplicates 20110318
2 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110318
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_INS_FAILED Insert operation failed 20110318
2 CX_CNV_00001_API_TAB_NOT_FOUND Data with structure of given type not found 20110318

Method MODIFY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110318
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_MOD_FAILED Modify operation failed 20110318
2 CX_CNV_00001_API_TAB_NOT_FOUND Data with structure of given type not found 20110318

Method UPDATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing STRUCTURE Call by reference Type reference (TYPE) TABNAME Table Name 20110318
# Exception Resumable Description Created on
1 CX_CNV_00001_API_DB_UPD_FAILED Update operation failed 20110318
2 CX_CNV_00001_API_TAB_NOT_FOUND Table not found 20110318
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_620