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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 ADBC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 CL_DB4_QUERY_BUILDER Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 CL_DB4_VIRTUAL_TABLE_ACCESSOR 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
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 P_ACCESS_METHODS_TAB Instance attribute Protected Attribute reference (LIKE) 20121102
2 P_ALIASES_TAB Instance attribute Protected Type reference (TYPE) DB4BD_ENTRIES_TAB 20121123
3 P_DDIC_FIELDS_TAB Instance attribute Protected Attribute reference (LIKE) 20121102
4 P_FIELDS_TAB Instance attribute Protected Attribute reference (LIKE) 20121102
5 P_FILTER Instance attribute Protected Attribute reference (LIKE) 20121102
6 P_NAME Instance attribute Protected Attribute reference (LIKE) 20121102
7 P_NOTFOUND_FIELDS_TAB Instance attribute Protected Type reference (TYPE) TY_SELECTED_COLUMNS_TAB Columns configured, but not found 20121102
8 P_R_ACCESSOR Instance attribute Protected Object reference (TYPE REF TO) CL_DB4_VIRTUAL_TABLE_ACCESSOR DB4: Backend virtual table accessor 20121102
9 P_R_VT_ACCESS Instance attribute Protected Object reference (TYPE REF TO) CL_DB4_VIRTUAL_TABLE_ACCESS DB4: Backend virtual table access 20121102
10 P_R_VT_PARSER Instance attribute Protected Object reference (TYPE REF TO) CL_DB4_VIRTUAL_TABLE_PARSER DB4: Parser helper for Virtual Talbe info 20121102
11 P_SRC_EXPRESSION Instance attribute Protected Type reference (TYPE) TY_SRC_EXPRESSION 20121102
12 P_TEXTS_TAB Instance attribute Protected Attribute reference (LIKE) 20121102
13 P_VALIDATED Instance attribute Protected Attribute reference (LIKE) 20121102
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ACCESS_METHOD Instance method Protected Method Add an access method 20121102
2 ADD_COMMON_FILTER Instance method Protected Method Add a common filter 20121102
3 ADD_DDIC_FIELD Instance method Protected Method Add the DDIC information for a field 20121102
4 ADD_FIELD Instance method Protected Method Add a new field to the virtual table 20121102
5 ADD_UIDESCR_FIELD Instance method Protected Method Add the textual information for a field 20121102
6 ADJUST_SELECT_LIST_DB Instance method Protected Method Adjust the selected fields depending on its DB availability 20121102
7 CLONE Instance method Protected Method Clone this object 20121102
8 CONSTRUCTOR Instance method Public Constructor Constructor 20121102
9 FIELDS2ADBC_COLUMNS Instance method Private Method Converts the fields to the ADBC_COLUMN datatype 20121102
10 FREE_OBJECT_REF Instance method Private Method Release the created object 20121102
11 GET_OBJECT_REF Instance method Private Method Get the receiver object for subsequent messages 20121102
12 GET_SRC_EXPRESSION Instance method Protected Method Returns the expression used as source 20121102
13 GET_STATEMENT Instance method Private Method Get the statement to return data 20121102
14 GET_STRUCT_FOR_METHOD Instance method Private Method Get the structure description to access the data 20121102
15 SET_SOURCE_ALIASES Instance method Private Method Remind aliases of accessed virtual tables 20121102
16 VALIDATE_COLUMNS Instance method Protected Method Validate accessed database columns 20121122
17 VALIDATE_DEFINITION Instance method Private Method Validate virtual table definition 20121102
18 VALIDATE_TABLES 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 Importing I_CONDITION Call by reference Type reference (TYPE) CLIKE 20121102
2 Importing I_METHOD Call by reference Type reference (TYPE) CLIKE 20121102
3 Importing 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 Importing 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 Importing I_DB_LENGTH Call by reference Type reference (TYPE) I 20121123
2 Importing I_DB_PRECISION Call by reference Type reference (TYPE) I 20121123
3 Importing I_DB_TYPE Call by reference Type reference (TYPE) CLIKE 20121123
4 Importing I_DECIMALS Call by reference Type reference (TYPE) I 20121102
5 Importing I_FIELD_NAME Call by reference Type reference (TYPE) CLIKE 20121102
6 Importing I_LENGTH Call by reference Type reference (TYPE) I 20121102
7 Importing 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 Importing I_ALIAS Call by reference Type reference (TYPE) CLIKE Field name 20121102
2 Importing I_DEPENDENCIES Call by reference Type reference (TYPE) CLIKE 20121102
3 Importing I_EXPRESSION Call by reference Type reference (TYPE) CLIKE 20121102
4 Importing I_KIND Call by reference Type reference (TYPE) I 20121102
5 Importing 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 Importing I_FIELD_NAME Call by reference Type reference (TYPE) CLIKE 20121102
2 Importing I_LABEL Call by reference Type reference (TYPE) CLIKE 20121102
3 Importing 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 Changing C_FIELDS_TAB Call by reference Type reference (TYPE) DB4BD_ENTRIES_TAB DB4: Backend entries table 20121102
2 Importing I_FIELD_LIST Call by reference Type reference (TYPE) CLIKE 20121102
# Exception Resumable Description Created on
1 CX_DB4_BACKEND DB4: Backend exception class 20121102

Method CLONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ALIASES_MAP_TAB Call by reference Type reference (TYPE) CL_DB4_QUERY_BUILDER=>TY_PARAMS_MAP_TAB 20121102
2 Returning 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 Importing I_NAME Call by reference Type reference (TYPE) CLIKE Virtual table name 20121102
2 Importing 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 Changing C_ADBC_COLS_TAB Call by reference Type reference (TYPE) ADBC_COLUMN_TAB 20121102
2 Importing 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 Changing 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 Importing I_OPTIONS_TAB Call by reference Type reference (TYPE) DB4BD_OPTIONS_TAB DB4: Backend access options tab 20121102
2 Returning 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 Changing C_PARAMS_TAB Call by reference Type reference (TYPE) CL_DB4_VIRTUAL_TABLE_ACCESSOR=>TY_PARAMS_TAB Virtual table parameters table 20121102
2 Changing E_EXPR Call by reference Type reference (TYPE) TY_SRC_EXPRESSION 20121113
3 Importing I_MODE Call by reference Type reference (TYPE) STRING `RUN` DB4: Execution mode 20121102
4 Importing I_OPTIONS_TAB Call by reference Type reference (TYPE) DB4BD_OPTIONS_TAB DB4: Backend access options tab 20121102
5 Importing I_USE_CTE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Use common table expressions 20121102
# Exception Resumable Description Created on
1 CX_DB4_BACKEND DB4: Backend exception class 20121102

Method GET_STATEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing C_OUTPUT Call by reference Type reference (TYPE) ANY 20121102
2 Changing C_PARAMS_TAB Call by reference Type reference (TYPE) CL_DB4_VIRTUAL_TABLE_ACCESSOR=>TY_PARAMS_TAB Virtual table parameters table 20121102
3 Exporting E_FIELDS_TAB Call by reference Type reference (TYPE) ADBC_COLUMN_TAB 20121102
4 Exporting E_SEL_STMT Call by reference Type reference (TYPE) CLIKE 20121102
5 Importing I_COLUMNS_MAP_TAB Call by reference Type reference (TYPE) DB4BD_COLUMNS_MAP_TAB DB4: Backend columns mapping table 20121102
6 Importing I_CONDENSE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE DB4: Remove leading blanks 20121102
7 Importing I_METHOD Call by reference Type reference (TYPE) CLIKE DB4: Virtual table access method 20121102
8 Importing I_MODE Call by reference Type reference (TYPE) STRING 'RUN' DB4: Execution mode 20121102
9 Importing I_OPTIONS_TAB Call by reference Type reference (TYPE) DB4BD_OPTIONS_TAB DB4: Backend access options tab 20121102
10 Importing I_R_ACCESSOR Call by reference Object reference (TYPE REF TO) CL_DB4_VIRTUAL_TABLE_ACCESSOR DB4: Backend virtual table accessor 20121102
11 Importing 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 CX_DB4_BACKEND 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 Changing C_FIELDCAT_TAB Call by reference Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20121102
2 Exporting E_R_STRUCT Call by reference Object reference (TYPE REF TO) CL_ABAP_STRUCTDESCR Runtime Type Services 20121102
3 Importing I_FIELDS_TAB Call by reference Type reference (TYPE) ADBC_COLUMN_TAB 20121102
# Exception Resumable Description Created on
1 CX_DB4_BACKEND 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 Changing 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 Importing I_CONSTVARS_TAB Call by reference Type reference (TYPE) DB4BD_CONSTANTS_TAB DB4: Backend constants table 20121122
# Exception Resumable Description Created on
1 CX_DB4_BACKEND DB4: Backend exception class 20121122

Method VALIDATE_DEFINITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONSTVARS_TAB Call by reference Type reference (TYPE) DB4BD_CONSTANTS_TAB DB4: Backend constants table 20121102
# Exception Resumable Description Created on
1 CX_DB4_BACKEND DB4: Backend exception class 20121102

Method VALIDATE_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONSTVARS_TAB Call by reference Type reference (TYPE) DB4BD_CONSTANTS_TAB DB4: Backend constants table 20121102
# Exception Resumable Description Created on
1 CX_DB4_BACKEND DB4: Backend exception class 20121102
History
Last changed by/on SAP  20130531 
SAP Release Created in 740