SAP ABAP Class CL_DB4_VIRTUAL_TABLE_GENERIC (DB4: Backend generic virtual table)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB-DB4 (Application Component) DB2 for AS/400
⤷
STU4 (Package) CCMS / AS/400

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DB4_VIRTUAL_TABLE | DB4: Backend virtual table | 20121102 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_DB4_VIRTUAL_TABLE_METADATA | DB4: Backend virtual table metadata | 20121102 |
Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_DB4_VIRTUAL_TABLE_DANSIJOIN | DB4: Backend ANSi SQL Join direct virtual tables | 20121114 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_DB4_VIRTUAL_TABLE_DIRECT | DB4: Backend direct access generic virtual table | 20121113 |
3 | Inheritance (c INHERITING FROM c_ref) | CL_DB4_VIRTUAL_TABLE_IANSIJOIN | DB4: Backend ANSi SQL Join indirect virtual tables | 20121114 |
4 | Inheritance (c INHERITING FROM c_ref) | CL_DB4_VIRTUAL_TABLE_INDIRECT | DB4: Backend indirect access generic virtual table | 20121113 |
5 | Inheritance (c INHERITING FROM c_ref) | CL_DB4_VIRTUAL_TABLE_ITAB | DB4: Backend Internal Table | 20130509 |
6 | Inheritance (c INHERITING FROM c_ref) | CL_DB4_VIRTUAL_TABLE_SET | DB4: Backend SET operation with indirect virtual tables | 20121114 |
Properties
Class | CL_DB4_VIRTUAL_TABLE_GENERIC | |
Short Description | DB4: Backend generic virtual table | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | D4 | |
Program status | ||
Category | 0 | |
Package | STU4 | CCMS / AS/400 |
Created | 20121102 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
4 | ![]() |
Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_DB4_VIRTUAL_TABLE | DB4: Backend virtual table | 20121102 | ||
2 | IF_DB4_VIRTUAL_TABLE_METADATA | DB4: Backend virtual table metadata | 20121102 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_DB4_VIRTUAL_TABLE_ACCESSOR | 20121102 | DB4: Backend virtual table accessor |
Attributes
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Protected | Method | Add an access method | 20121102 |
2 | ![]() |
Instance method | Protected | Method | Add a common filter | 20121102 |
3 | ![]() |
Instance method | Protected | Method | Add the DDIC information for a field | 20121102 |
4 | ![]() |
Instance method | Protected | Method | Add a new field to the virtual table | 20121102 |
5 | ![]() |
Instance method | Protected | Method | Add the textual information for a field | 20121102 |
6 | ![]() |
Instance method | Protected | Method | Adjust the selected fields depending on its DB availability | 20121102 |
7 | ![]() |
Instance method | Protected | Method | Clone this object | 20121102 |
8 | ![]() |
Instance method | Public | Constructor | Constructor | 20121102 |
9 | ![]() |
Instance method | Private | Method | Converts the fields to the ADBC_COLUMN datatype | 20121102 |
10 | ![]() |
Instance method | Private | Method | Release the created object | 20121102 |
11 | ![]() |
Instance method | Private | Method | Get the receiver object for subsequent messages | 20121102 |
12 | ![]() |
Instance method | Protected | Method | Returns the expression used as source | 20121102 |
13 | ![]() |
Instance method | Private | Method | Get the statement to return data | 20121102 |
14 | ![]() |
Instance method | Private | Method | Get the structure description to access the data | 20121102 |
15 | ![]() |
Instance method | Private | Method | Remind aliases of accessed virtual tables | 20121102 |
16 | ![]() |
Instance method | Protected | Method | Validate accessed database columns | 20121122 |
17 | ![]() |
Instance method | Private | Method | Validate virtual table definition | 20121102 |
18 | ![]() |
Instance method | Protected | Method | Validate accessed tables | 20121102 |
Events
Class CL_DB4_VIRTUAL_TABLE_GENERIC has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_ACCESS_METHOD | Public | Attribute reference (LIKE) | 20121102 |
|
||
2 | TY_ACCESS_METHODS_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
||
3 | TY_DBCATALOG | Protected | See coding | 20121102 | begin of ty_dbcatalog,
schema_name type adbc_table_descr-schema,
table_name type adbc_table_descr-table_name,
column_name type adbc_tabcol_descr-column_name,
data_type type adbc_tabcol_descr-data_type,
data_length type adbc_tabcol_descr-data_length,
data_precision type adbc_tabcol_descr-data_precision,
ddic_type type adbc_tabcol_descr-ddic_type,
ddic_length type adbc_tabcol_descr-ddic_length,
ddic_decimals type adbc_tabcol_descr-ddic_decimals,
end of ty_dbcatalog
|
||
4 | TY_DBCATALOGS_TAB | Protected | See coding | 20121102 | ty_dbcatalogs_tab type standard table of ty_dbcatalog with key schema_name table_name column_name
|
||
5 | TY_DDIC_COLUMN | Public | Attribute reference (LIKE) | 20121102 |
|
||
6 | TY_DDIC_COLUMNS_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
||
7 | TY_FROM_TABLE | Public | Attribute reference (LIKE) | 20121102 |
|
||
8 | TY_FROM_TABLES_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
||
9 | TY_JOIN | Public | Attribute reference (LIKE) | 20121102 |
|
||
10 | TY_JOINS_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
||
11 | TY_SELECTED_COLUMN | Public | Attribute reference (LIKE) | 20121102 |
|
||
12 | TY_SELECTED_COLUMNS_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
||
13 | TY_SET_OPERATION | Public | Attribute reference (LIKE) | 20121102 |
|
||
14 | TY_SET_OPERATIONS_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
||
15 | TY_SRC_EXPRESSION | Public | Attribute reference (LIKE) | 20121102 |
|
||
16 | TY_TXT_ELEMENT | Public | Attribute reference (LIKE) | 20121102 |
|
||
17 | TY_TXT_ELEMENTS_TAB | Public | Attribute reference (LIKE) | 20121102 |
|
Method Signatures
Method ADD_ACCESS_METHOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONDITION | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
2 | ![]() |
I_METHOD | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
3 | ![]() |
I_OPTIONS_TAB | Call by reference | Type reference (TYPE) | DB4BD_OPTIONS_TAB | DB4: Backend access options tab | 20121113 |
Method ADD_ACCESS_METHOD on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method ADD_COMMON_FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONDITION | Call by reference | Type reference (TYPE) | CLIKE | 20121102 |
Method ADD_COMMON_FILTER on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method ADD_DDIC_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_DB_LENGTH | Call by reference | Type reference (TYPE) | I | 20121123 | |||
2 | ![]() |
I_DB_PRECISION | Call by reference | Type reference (TYPE) | I | 20121123 | |||
3 | ![]() |
I_DB_TYPE | Call by reference | Type reference (TYPE) | CLIKE | 20121123 | |||
4 | ![]() |
I_DECIMALS | Call by reference | Type reference (TYPE) | I | 20121102 | |||
5 | ![]() |
I_FIELD_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
6 | ![]() |
I_LENGTH | Call by reference | Type reference (TYPE) | I | 20121102 | |||
7 | ![]() |
I_TYPE | Call by reference | Type reference (TYPE) | CLIKE | 20121102 |
Method ADD_DDIC_FIELD on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method ADD_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ALIAS | Call by reference | Type reference (TYPE) | CLIKE | Field name | 20121102 | ||
2 | ![]() |
I_DEPENDENCIES | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
3 | ![]() |
I_EXPRESSION | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
4 | ![]() |
I_KIND | Call by reference | Type reference (TYPE) | I | 20121102 | |||
5 | ![]() |
I_OPTIONS_TAB | Call by reference | Type reference (TYPE) | DB4BD_OPTIONS_TAB | DB4: Backend access options tab | 20121102 |
Method ADD_FIELD on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method ADD_UIDESCR_FIELD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_FIELD_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
2 | ![]() |
I_LABEL | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
3 | ![]() |
I_TOOLTIP | Call by reference | Type reference (TYPE) | CLIKE | 20121102 |
Method ADD_UIDESCR_FIELD on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method ADJUST_SELECT_LIST_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_FIELDS_TAB | Call by reference | Type reference (TYPE) | DB4BD_ENTRIES_TAB | DB4: Backend entries table | 20121102 | ||
2 | ![]() |
I_FIELD_LIST | Call by reference | Type reference (TYPE) | CLIKE | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121102 |
Method CLONE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_ALIASES_MAP_TAB | Call by reference | Type reference (TYPE) | CL_DB4_QUERY_BUILDER=>TY_PARAMS_MAP_TAB | 20121102 | |||
2 | ![]() |
R_R_REF | Value transfer | Object reference (TYPE REF TO) | CL_DB4_VIRTUAL_TABLE_GENERIC | DB4: Backend virtual table | 20121102 |
Method CLONE on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_NAME | Call by reference | Type reference (TYPE) | CLIKE | Virtual table name | 20121102 | ||
2 | ![]() |
I_R_ACCESSOR | Call by reference | Object reference (TYPE REF TO) | CL_DB4_VIRTUAL_TABLE_ACCESSOR | DB4: Backend virtual table accessor | 20121102 |
Method CONSTRUCTOR on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method FIELDS2ADBC_COLUMNS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_ADBC_COLS_TAB | Call by reference | Type reference (TYPE) | ADBC_COLUMN_TAB | 20121102 | |||
2 | ![]() |
I_FIELDS_TAB | Call by reference | Type reference (TYPE) | DB4BD_ENTRIES_TAB | DB4: Backend entries table | 20121102 |
Method FIELDS2ADBC_COLUMNS on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method FREE_OBJECT_REF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_R_REF | Call by reference | Object reference (TYPE REF TO) | CL_DB4_VIRTUAL_TABLE_GENERIC | DB4: Backend generic virtual table | 20121102 |
Method FREE_OBJECT_REF on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method GET_OBJECT_REF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_OPTIONS_TAB | Call by reference | Type reference (TYPE) | DB4BD_OPTIONS_TAB | DB4: Backend access options tab | 20121102 | ||
2 | ![]() |
R_R_REF | Value transfer | Object reference (TYPE REF TO) | CL_DB4_VIRTUAL_TABLE_GENERIC | DB4: Backend generic virtual table | 20121102 |
Method GET_OBJECT_REF on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method GET_SRC_EXPRESSION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_PARAMS_TAB | Call by reference | Type reference (TYPE) | CL_DB4_VIRTUAL_TABLE_ACCESSOR=>TY_PARAMS_TAB | Virtual table parameters table | 20121102 | ||
2 | ![]() |
E_EXPR | Call by reference | Type reference (TYPE) | TY_SRC_EXPRESSION | 20121113 | |||
3 | ![]() |
I_MODE | Call by reference | Type reference (TYPE) | STRING | `RUN` | DB4: Execution mode | 20121102 | |
4 | ![]() |
I_OPTIONS_TAB | Call by reference | Type reference (TYPE) | DB4BD_OPTIONS_TAB | DB4: Backend access options tab | 20121102 | ||
5 | ![]() |
I_USE_CTE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Use common table expressions | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121102 |
Method GET_STATEMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_OUTPUT | Call by reference | Type reference (TYPE) | ANY | 20121102 | |||
2 | ![]() |
C_PARAMS_TAB | Call by reference | Type reference (TYPE) | CL_DB4_VIRTUAL_TABLE_ACCESSOR=>TY_PARAMS_TAB | Virtual table parameters table | 20121102 | ||
3 | ![]() |
E_FIELDS_TAB | Call by reference | Type reference (TYPE) | ADBC_COLUMN_TAB | 20121102 | |||
4 | ![]() |
E_SEL_STMT | Call by reference | Type reference (TYPE) | CLIKE | 20121102 | |||
5 | ![]() |
I_COLUMNS_MAP_TAB | Call by reference | Type reference (TYPE) | DB4BD_COLUMNS_MAP_TAB | DB4: Backend columns mapping table | 20121102 | ||
6 | ![]() |
I_CONDENSE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | DB4: Remove leading blanks | 20121102 | |
7 | ![]() |
I_METHOD | Call by reference | Type reference (TYPE) | CLIKE | DB4: Virtual table access method | 20121102 | ||
8 | ![]() |
I_MODE | Call by reference | Type reference (TYPE) | STRING | 'RUN' | DB4: Execution mode | 20121102 | |
9 | ![]() |
I_OPTIONS_TAB | Call by reference | Type reference (TYPE) | DB4BD_OPTIONS_TAB | DB4: Backend access options tab | 20121102 | ||
10 | ![]() |
I_R_ACCESSOR | Call by reference | Object reference (TYPE REF TO) | CL_DB4_VIRTUAL_TABLE_ACCESSOR | DB4: Backend virtual table accessor | 20121102 | ||
11 | ![]() |
I_USE_CTE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | DB4: Use common table expressions | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121102 |
Method GET_STRUCT_FOR_METHOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_FIELDCAT_TAB | Call by reference | Type reference (TYPE) | LVC_T_FCAT | Field Catalog for List Viewer Control | 20121102 | ||
2 | ![]() |
E_R_STRUCT | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Runtime Type Services | 20121102 | ||
3 | ![]() |
I_FIELDS_TAB | Call by reference | Type reference (TYPE) | ADBC_COLUMN_TAB | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121102 |
Method SET_SOURCE_ALIASES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
C_OPTIONS_TAB | Call by reference | Type reference (TYPE) | DB4BD_OPTIONS_TAB | DB4: Backend access options tab | 20121102 |
Method SET_SOURCE_ALIASES on class CL_DB4_VIRTUAL_TABLE_GENERIC has no exception.
Method VALIDATE_COLUMNS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONSTVARS_TAB | Call by reference | Type reference (TYPE) | DB4BD_CONSTANTS_TAB | DB4: Backend constants table | 20121122 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121122 |
Method VALIDATE_DEFINITION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONSTVARS_TAB | Call by reference | Type reference (TYPE) | DB4BD_CONSTANTS_TAB | DB4: Backend constants table | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121102 |
Method VALIDATE_TABLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
I_CONSTVARS_TAB | Call by reference | Type reference (TYPE) | DB4BD_CONSTANTS_TAB | DB4: Backend constants table | 20121102 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB4: Backend exception class | 20121102 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 740 |