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 | Constant | Public | Type reference (TYPE) | OBJFUNC | 'K' | Object function | 20110603 | ||
| 2 | Constant | Public | Type reference (TYPE) | TROBJTYPE | 'TABU' | Object type | 20110603 | ||
| 3 | Constant | Public | Type reference (TYPE) | TROBJTYPE | 'VDAT' | Object type | 20110603 | ||
| 4 | Constant | Public | Type reference (TYPE) | PGMID | 'R3TR' | Program ID in requests and tasks | 20110603 | ||
| 5 | Instance attribute | Protected | Type reference (TYPE) | TY_HT_TABLE | List of held tables | 20110318 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Adds all tables from another data pack | 20110418 | |
| 2 | Instance method | Public | Method | Adds data of a given type | 20110318 | |
| 3 | Instance method | Public | Method | Clears selected table or the whole data pack | 20110318 | |
| 4 | Instance method | Protected | Method | Clears the given reference | 20110318 | |
| 5 | Instance method | Protected | Method | Creates the table reference | 20110318 | |
| 6 | Instance method | Public | Method | Deletes the entries from the database | 20110418 | |
| 7 | Instance method | Protected | Method | Deletes the entries from the given itab from database | 20110418 | |
| 8 | Instance method | Protected | Method | Returns Request objects for a single structure | 20110603 | |
| 9 | Instance method | Protected | Method | Inserts into the db table from the given itab | 20110322 | |
| 10 | Instance method | Protected | Method | Updates the db table from the given itab | 20110321 | |
| 11 | Instance method | Public | Method | Returns the table corresponding to the given structure | 20110318 | |
| 12 | Instance method | Public | Method | Returns Request objects | 20110603 | |
| 13 | Static method | Protected | Method | Returns the key part from the given row of data | 20110603 | |
| 14 | Instance method | Protected | Method | Returns the reference to table of given type | 20110318 | |
| 15 | Instance method | Public | Method | Inserts the given itab to the database | 20110318 | |
| 16 | Instance method | Public | Method | Modifies the db table from the given itab | 20110318 | |
| 17 | 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 | 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 | DATA | Call by reference | Type reference (TYPE) | ANY | Line of data | 20110322 | |||
| 2 | FIELDS | Call by reference | Type reference (TYPE) | TTFIELDNAME | fields to modify | 20110322 | |||
| 3 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Structure of data | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Structure not found | 20110318 |
Method CLEAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20110318 | ||||
| 2 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception Creating Data | 20110318 |
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IGNORE_NOT_FOUND | Call by reference | Type reference (TYPE) | FLAG | 'X' | Ignore if some rows have not been found | 20110418 | ||
| 2 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110418 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Delete operation failed | 20110418 | ||
| 2 | Table not found | 20110418 |
Method DO_DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IGNORE_NOT_FOUND | Call by reference | Type reference (TYPE) | FLAG | 'X' | Ignore if some rows have not been found | 20110418 | ||
| 2 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110418 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Delete operation failed | 20110418 | ||
| 2 | Table not found | 20110418 |
Method DO_GET_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KEYS | Call by reference | Type reference (TYPE) | TREDT_KEYS | Table Keys for Processing (Correction Interface) | 20110603 | |||
| 2 | OBJECTS | Call by reference | Type reference (TYPE) | TREDT_OBJECTS | Objects for Processing (Correction Interface) | 20110603 | |||
| 3 | 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 | ACCEPTING_DUPLICATES | Call by reference | Type reference (TYPE) | FLAG | SPACE | Whether to accept duplicates | 20110322 | ||
| 2 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110322 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Insert operation failed | 20110322 | ||
| 2 | Table not found | 20110322 |
Method DO_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110321 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Update operation failed | 20110321 | ||
| 2 | Table not found | 20110321 |
Method GET_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | REF | Call by reference | Object reference (TYPE REF TO) | DATA | Reference to table of data | 20110318 | |||
| 2 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Structure of data | 20110318 | |||
| 3 | TABLE | Call by reference | Type reference (TYPE) | TABLE | Table of data | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | KEYS | Call by reference | Type reference (TYPE) | TREDT_KEYS | Table Keys for Processing (Correction Interface) | 20110603 | |||
| 2 | OBJECTS | Call by reference | Type reference (TYPE) | TREDT_OBJECTS | Objects for Processing (Correction Interface) | 20110603 | |||
| 3 | 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 | CLPOS | Call by reference | Type reference (TYPE) | X030L-CLPOS | '0' | Position number of the client field in the table | 20110603 | ||
| 2 | DDFIELDS | Call by reference | Type reference (TYPE) | DDFIELDS | Key Fields | 20110603 | |||
| 3 | KEY | Value transfer | Type reference (TYPE) | STRING | 20110603 | ||||
| 4 | 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 | ONLY_EXISTING | Call by reference | Type reference (TYPE) | FLAG | SPACE | Only return reference if table already exists | 20110318 | ||
| 2 | REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20110318 | ||||
| 3 | TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System-Exception Creating Data | 20110318 |
Method INSERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACCEPTING_DUPLICATES | Call by reference | Type reference (TYPE) | FLAG | SPACE | Whether to accept duplicates | 20110318 | ||
| 2 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Insert operation failed | 20110318 | ||
| 2 | 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 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Modify operation failed | 20110318 | ||
| 2 | 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 | STRUCTURE | Call by reference | Type reference (TYPE) | TABNAME | Table Name | 20110318 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Update operation failed | 20110318 | ||
| 2 | Table not found | 20110318 |
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 2010_1_620 |