SAP ABAP Class CL_RSSDA_FEDERATION_SERVICES (BW HANA SDA: Federation Services)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-BEX-OT (Application Component) OLAP Technology
⤷ RSSDA (Package) Datamanager: BW HANA Smart Data Access
⤷ BW-BEX-OT (Application Component) OLAP Technology
⤷ RSSDA (Package) Datamanager: BW HANA Smart Data Access
Properties
Class | CL_RSSDA_FEDERATION_SERVICES | |
Short Description | BW HANA SDA: Federation Services | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | RSSDA | Datamanager: BW HANA Smart Data Access |
Created | 20130729 | SAP |
Last change | 20140121 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | RS | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSSDA_FEDERATION_SERVICES has no interface implemented.
Friends
Class CL_RSSDA_FEDERATION_SERVICES has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | P_C_MAXROWS | Constant | Private | Type reference (TYPE) | I | 2000000000 | 20130729 | ||
2 | P_DB_SCHEMA | Instance attribute | Private | Type reference (TYPE) | DB_SCHEMA | 20130729 | |||
3 | P_R_FED_SVCS | Static Attribute | Private | Object reference (TYPE REF TO) | CL_RSSDA_FEDERATION_SERVICES | 20130729 | |||
4 | P_T_DATA_SOURCES | Instance attribute | Private | Type reference (TYPE) | TP_T_DATA_SOURCES_INT | 20130729 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_EXIST_VIRTUAL_TABLE | Instance method | Public | Method | Check if virtual table exists | 20130729 |
2 | CHECK_REMOTE_SOURCE | Instance method | Public | Method | Check remote source status | 20130821 |
3 | CONSTRUCTOR | Instance method | Public | Constructor | constructor | 20130729 |
4 | CREATE_REMOTE_SOURCE | Instance method | Public | Method | Create Remote Source | 20130729 |
5 | CREATE_VIRTUAL_TABLE | Instance method | Public | Method | DDL Create Statement for Virtual Table | 20130729 |
6 | DROP_VIRTUAL_TABLE | Instance method | Public | Method | DDL Drop Statement to drop a Virtual Table | 20130729 |
7 | FACTORY | Static method | Public | Method | Factory method to get singleton object | 20130729 |
8 | GET_REMOTE_DATASOURCE_INFO | Instance method | Public | Method | Get Information on remote DataSources | 20130729 |
9 | GET_REMOTE_FIELDS | Instance method | Public | Method | Get Fields of Remote Database Tables | 20130729 |
10 | GET_REMOTE_OBJECTS | Instance method | Public | Method | Get Database Tables for a Remote Source | 20130729 |
11 | GET_REMOTE_OWNERS | Instance method | Public | Method | Get owners / schemas of remote source | 20130729 |
12 | GET_TABLE_FIELDS | Instance method | Public | Method | Get List of fields of a Virtual Table | 20130729 |
13 | GET_VIRTUAL_TABLES | Instance method | Public | Method | Get List of Virtual Tables | 20130729 |
14 | _CREATE_DDIC_OBJ | Instance method | Private | Method | Create DDIC Object on Virtual Table | 20130729 |
15 | _DELETE_DDIC_OBJ | Instance method | Private | Method | Delete DDIC Object on Virtual Table | 20130729 |
16 | _REF | Instance method | Private | Method | Get data reference | 20130729 |
Events
Class CL_RSSDA_FEDERATION_SERVICES has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TN_DATA_TYPE_NM | Public | See coding | 20130729 | tn_data_type_nm TYPE c LENGTH 32
|
||
2 | TN_FIELD_NM | Public | Type reference (TYPE) | T_VARCHAR | 20130729 |
|
|
3 | TN_REMOTE_DB_NM | Public | See coding | 20130729 | tn_remote_db_nm TYPE c LENGTH 30
|
||
4 | TN_REMOTE_OWNER_NM | Public | See coding | 20130729 | tn_remote_owner_nm TYPE c LENGTH 30
|
||
5 | TN_REMOTE_SOURCE_NM | Public | See coding | 20130729 | tn_remote_source_nm TYPE c LENGTH 30
|
||
6 | TN_S_FIELDS_EXT | Public | See coding | 20130729 | BEGIN OF tn_s_fields_ext,
field_nm TYPE tn_field_nm,
data_type_nm TYPE tn_data_type_nm,
length TYPE i,
scale TYPE i,
END OF tn_s_fields_ext
|
||
7 | TN_S_REMOTE_OWNERS_EXT | Public | See coding | 20130729 | BEGIN OF TN_S_REMOTE_OWNERS_EXT,
remote_db_nm TYPE tn_remote_db_nm,
remote_owner_nm TYPE tn_remote_owner_nm,
END OF TN_S_REMOTE_OWNERS_EXT
|
||
8 | TN_S_REMOTE_SOURCES_EXT | Public | See coding | 20130729 | BEGIN OF tn_s_remote_sources_ext,
remote_source_nm TYPE tn_remote_source_nm,
adapter_nm TYPE t_varchar,
connection_info TYPE t_varchar,
END OF tn_s_remote_sources_ext
|
||
9 | TN_S_REMOTE_SOURCE_DEF | Public | See coding | 20130729 | BEGIN OF tn_s_remote_source_def,
remote_source_nm TYPE tn_remote_source_nm,
adapter_nm TYPE string,
configuration TYPE string,
credential_type TYPE string,
credentials TYPE string,
END OF tn_s_remote_source_def
|
||
10 | TN_S_REMOTE_TABLES_EXT | Public | See coding | 20130729 | BEGIN OF tn_s_remote_tables_ext,
remote_db_nm TYPE tn_remote_db_nm,
remote_owner_nm TYPE tn_remote_owner_nm,
remote_table_nm TYPE tn_table_nm_remote,
END OF tn_s_remote_tables_ext
|
||
11 | TN_S_VIRTUAL_TABLES_EXT | Public | See coding | 20130729 | BEGIN OF tn_s_virtual_tables_ext,
table_nm TYPE tn_table_nm,
remote_source_nm TYPE tn_remote_source_nm,
remote_db_nm TYPE tn_remote_db_nm,
remote_owner_nm TYPE tn_remote_owner_nm,
remote_table_nm TYPE tn_table_nm_remote,
END OF tn_s_virtual_tables_ext
|
||
12 | TN_TABLE_NM | Public | See coding | 20130729 | tn_table_nm TYPE c LENGTH 30
|
||
13 | TN_TABLE_NM_REMOTE | Public | Type reference (TYPE) | T_VARCHAR | 20130729 |
|
|
14 | TN_TH_REMOTE_OWNERS_EXT | Public | See coding | 20130729 | TN_TH_REMOTE_OWNERS_EXT TYPE HASHED TABLE OF tn_s_remote_owners_ext WITH UNIQUE key remote_db_nm remote_owner_nm
|
||
15 | TN_TH_REMOTE_TABLES_EXT | Public | See coding | 20130729 | tn_th_remote_tables_ext TYPE HASHED TABLE OF tn_s_remote_tables_ext WITH UNIQUE KEY remote_db_nm remote_owner_nm remote_table_nm
|
||
16 | TN_T_FIELDS_EXT | Public | See coding | 20130729 | tn_t_fields_ext TYPE STANDARD TABLE OF tn_s_fields_ext WITH KEY field_nm
|
||
17 | TN_T_REMOTE_SOURCES_EXT | Public | See coding | 20130729 | tn_t_remote_sources_ext TYPE STANDARD TABLE OF tn_s_remote_sources_ext WITH KEY remote_source_nm
|
||
18 | TN_T_VIRTUAL_TABLES_EXT | Public | See coding | 20130729 | tn_t_virtual_tables_ext TYPE STANDARD TABLE OF tn_s_virtual_tables_ext WITH KEY table_nm
|
||
19 | TP_S_DATA_SOURCES_INT | Private | See coding | 20130729 | BEGIN OF tp_s_data_sources_int, "PUBLIC"."REMOTE_SOURCES"
remote_source_name TYPE t_varchar,
adapter_name TYPE t_varchar,
connection_info TYPE t_varchar,
END OF tp_s_data_sources_int
|
||
20 | TP_S_FIELDS_INT | Private | See coding | 20130729 | BEGIN OF tp_s_fields_int, "PUBLIC"."VIRTUAL_COLUMNS"
column_name TYPE t_varchar,
data_type_name TYPE t_varchar,
* length: Number of chars for char types, number of max digits for numeric types;
* Number of chars for datetime types, number of bytes for LOB types
length TYPE i,
* scale: Numeric types: the maximum number of digits to the right of the decimal point;
* time, timestamp: the decimal digits are defined as the number of digits to the right of the decimal point in the second's component of the data
scale TYPE i,
END OF tp_s_fields_int
|
||
21 | TP_S_REMOTE_COLUMNS_INT | Private | See coding | 20130729 | BEGIN OF TP_S_REMOTE_COLUMNS_INT,
column_name TYPE t_varchar,
data_type_name TYPE t_varchar,
length TYPE i,
is_nullable TYPE c LENGTH 5,
remote_data_type_name TYPE c LENGTH 32,
is_unsigned TYPE c LENGTH 5,
END OF TP_S_REMOTE_COLUMNS_INT
|
||
22 | TP_S_REMOTE_OBJECTS_INT | Private | See coding | 20130729 | BEGIN OF TP_S_REMOTE_OBJECTS_INT,
remote_database_name TYPE t_varchar,
remote_owner_name TYPE t_varchar,
remote_object_name TYPE t_varchar,
END OF TP_S_REMOTE_OBJECTS_INT
|
||
23 | TP_S_VIRTUAL_TABLES_INT | Private | See coding | 20130729 | BEGIN OF tp_s_virtual_tables_int, "PUBLIC"."VIRTUAL_TABLES"
schema_name TYPE t_varchar,
table_name TYPE t_varchar,
remote_source_name TYPE t_varchar,
remote_db_name TYPE t_varchar,
remote_owner_name TYPE t_varchar,
remote_object_name TYPE t_varchar,
END OF tp_s_virtual_tables_int
|
||
24 | TP_T_DATA_SOURCES_INT | Private | See coding | 20130729 | tp_t_data_sources_int TYPE STANDARD TABLE OF tp_s_data_sources_int WITH KEY remote_source_name
|
||
25 | TP_T_FIELDS_INT | Private | See coding | 20130729 | tp_t_fields_int TYPE STANDARD TABLE OF tp_s_fields_int
|
||
26 | TP_T_REMOTE_COLUMNS_INT | Private | See coding | 20130729 | TP_t_REMOTE_COLUMNS_INT TYPE STANDARD TABLE OF TP_S_REMOTE_COLUMNS_INT
|
||
27 | TP_T_REMOTE_OBJECTS_INT | Private | See coding | 20130729 | TP_t_REMOTE_OBJECTS_INT TYPE STANDARD TABLE OF TP_S_REMOTE_OBJECTS_INT
|
||
28 | TP_T_VIRTUAL_TABLES_INT | Private | See coding | 20130729 | tp_t_virtual_tables_int TYPE STANDARD TABLE OF tp_s_virtual_tables_int
|
||
29 | T_VARCHAR | Public | See coding | 20130729 | t_varchar(256) TYPE c
|
Method Signatures
Method CHECK_EXIST_VIRTUAL_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_VIRTUAL_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM | 20130729 | |||
2 | Returning | R_TAB_EXISTS | Value transfer | Type reference (TYPE) | RS_BOOL | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method CHECK_REMOTE_SOURCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_SQL_ERR_MSG | Call by reference | Type reference (TYPE) | STRING | 20130821 | |||
2 | Exporting | E_STATUS_OK | Call by reference | Type reference (TYPE) | RS_BOOL | Boolean | 20130821 | ||
3 | Importing | I_REMOTE_SOURCE_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_SOURCE_NM | 20130821 |
Method CHECK_REMOTE_SOURCE on class CL_RSSDA_FEDERATION_SERVICES has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_RSSDA_FEDERATION_SERVICES has no parameter.
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method CREATE_REMOTE_SOURCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_REMOTE_SOURCE_DEF | Call by reference | Type reference (TYPE) | TN_S_REMOTE_SOURCE_DEF | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method CREATE_VIRTUAL_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CREATE_DDIC_OBJ | Value transfer | Type reference (TYPE) | RS_BOOL | RS_C_FALSE | 20130729 | ||
2 | Importing | I_REMOTE_DB_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_DB_NM | 20130729 | |||
3 | Importing | I_REMOTE_OWNER_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_OWNER_NM | 20130729 | |||
4 | Importing | I_REMOTE_SOURCE_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_SOURCE_NM | 20130729 | |||
5 | Importing | I_REMOTE_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM_REMOTE | 20130729 | |||
6 | Importing | I_VIRTUAL_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method DROP_VIRTUAL_TABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_VIRTUAL_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method FACTORY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_R_FED_SVCS | Value transfer | Object reference (TYPE REF TO) | CL_RSSDA_FEDERATION_SERVICES | BW HANA SDA: Federation Services | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method GET_REMOTE_DATASOURCE_INFO Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_T_DATASOURCES | Value transfer | Type reference (TYPE) | TN_T_REMOTE_SOURCES_EXT | 20130729 |
Method GET_REMOTE_DATASOURCE_INFO on class CL_RSSDA_FEDERATION_SERVICES has no exception.
Method GET_REMOTE_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_REMOTE_DB_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_DB_NM | 20130729 | |||
2 | Importing | I_REMOTE_OWNER_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_OWNER_NM | 20130729 | |||
3 | Importing | I_REMOTE_SOURCE_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_SOURCE_NM | 20130729 | |||
4 | Importing | I_REMOTE_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM_REMOTE | 20130729 | |||
5 | Returning | R_T_FIELDS | Value transfer | Type reference (TYPE) | TN_T_FIELDS_EXT | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method GET_REMOTE_OBJECTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_REMOTE_DB_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_DB_NM | 20130730 | |||
2 | Importing | I_REMOTE_OWNER_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_OWNER_NM | 20130730 | |||
3 | Importing | I_REMOTE_SOURCE_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_SOURCE_NM | 20130729 | |||
4 | Returning | R_TH_REMOTE_OBJECTS | Value transfer | Type reference (TYPE) | TN_TH_REMOTE_TABLES_EXT | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method GET_REMOTE_OWNERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_REMOTE_SOURCE_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_SOURCE_NM | 20130729 | |||
2 | Returning | R_TH_REMOTE_OWNERS | Value transfer | Type reference (TYPE) | TN_TH_REMOTE_OWNERS_EXT | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | BW HANA SDA: Federation Errors | 20130729 |
Method GET_TABLE_FIELDS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM | 20130729 | |||
2 | Returning | R_T_FIELDS | Value transfer | Type reference (TYPE) | TN_T_FIELDS_EXT | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method GET_VIRTUAL_TABLES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_T_VIRTUAL_TABLES | Value transfer | Type reference (TYPE) | TN_T_VIRTUAL_TABLES_EXT | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method _CREATE_DDIC_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SYST-SUBRC | 20130729 | |||
2 | Importing | I_REMOTE_DB_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_DB_NM | 20130729 | |||
3 | Importing | I_REMOTE_OWNER_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_OWNER_NM | 20130729 | |||
4 | Importing | I_REMOTE_SOURCE_NM | Call by reference | Type reference (TYPE) | TN_REMOTE_SOURCE_NM | 20130729 | |||
5 | Importing | I_REMOTE_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM_REMOTE | 20130729 | |||
6 | Importing | I_VIRTUAL_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM | 20130729 |
Method _CREATE_DDIC_OBJ on class CL_RSSDA_FEDERATION_SERVICES has no exception.
Method _DELETE_DDIC_OBJ Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_SUBRC | Call by reference | Type reference (TYPE) | SYST-SUBRC | 20130729 | |||
2 | Importing | I_VIRTUAL_TABLE_NM | Call by reference | Type reference (TYPE) | TN_TABLE_NM | 20130729 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_RSSDA_FEDERATION_ERROR | 20130729 |
Method _REF Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_R_ANY | Call by reference | Type reference (TYPE) | ANY | 20130729 | |||
2 | Returning | R_R_REF | Value transfer | Object reference (TYPE REF TO) | DATA | 20130729 |
Method _REF on class CL_RSSDA_FEDERATION_SERVICES has no exception.
History
Last changed by/on | SAP | 20140121 |
SAP Release Created in | 740 |