SAP ABAP Class CL_RSDS_ACCESS_DBCONNECT (Access to DB Connect)
Hierarchy
SAP_BW (Software Component) SAP Business Warehouse
   BW-WHM-DST (Application Component) Data Staging
     RSDS_ACCESS (Package) Access methods Apollo DataSource
Properties
Class CL_RSDS_ACCESS_DBCONNECT  
Short Description Access to DB Connect    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package RSDS_ACCESS   Access methods Apollo DataSource 
Created 20130722   SAP 
Last change 20140121   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 RSDBC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_RSDS_ACCESS_DBCONNECT has no interface implemented.
Friends
Class CL_RSDS_ACCESS_DBCONNECT has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 PR_ACCESS Static Attribute Private Object reference (TYPE REF TO) CL_RSDS_ACCESS_DBCONNECT Access to DB Connect 20130722
2 PR_ACCESSMETHODS Instance attribute Private Object reference (TYPE REF TO) CL_RSDS_ACCESSMETHODS Access to Access Methods 20130722
3 PR_ATTRIBUTES Instance attribute Private Object reference (TYPE REF TO) CL_RSDS_STORE_DB_ATTRIBUTES Storage class for DB Connect 20130722
4 PS_DBCON Instance attribute Private Type reference (TYPE) DBCON Description of Database Connections 20130722
5 PS_DEFAULT_SCHEMA Instance attribute Private Type reference (TYPE) RSDS_DBC_OBJSCHEMA DB Object Schema 20130722
6 PTX_DB_OBJECT Instance attribute Private Type reference (TYPE) RSDS_TX_DB_OBJECT Table of Database Object - Table or View 20130722
7 PTX_DS_SEGMENTS Instance attribute Private Type reference (TYPE) RSDS_TX_SEGMENTS Segments with Fields 20130722
8 PT_FIELDS Instance attribute Private Type reference (TYPE) TT_FIELDS 20130722
9 PT_PROPOSAL_FIELDS Instance attribute Private Type reference (TYPE) TT_PROPOSAL_FIELDS 20130722
10 P_LOGSYS Instance attribute Private Type reference (TYPE) RSSLOGSYS Source system 20130722
Methods
# Method Level Visibility Method type Description Created on
1 APPLIES_TO Instance method Public Method 20130723
2 CHECK_DBCON Static method Private Method 20130722
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20130722
4 CREATE_DS_SEGMENT_FROM_PROP Instance method Public Method 20130723
5 CREATE_PROPOSAL Instance method Public Method Create proposal for DB Connect DataSource 20130722
6 GET_DBCON Instance method Private Method 20130722
7 GET_DB_METADATA Instance method Private Method 20130722
8 GET_DB_OBJECT Instance method Public Method 20130722
9 GET_DS_SEGMENTS Instance method Public Method 20130723
10 GET_FIELDS_FOR_PROPOSAL Instance method Public Method 20130722
11 GET_FIELD_DEFAULTS Instance method Public Method 20130725
12 GET_SQL_CONNECTION Instance method Public Method 20130723
13 SET_ACCESSMETHODS Instance method Public Method 20130722
14 SET_DB_OBJECT Instance method Public Method Set PTX_DB_OBJECT 20130722
15 SET_DS_SEGMENTS Instance method Public Method 20130723
16 SET_FIELDS_FROM_PROPOSAL Instance method Public Method 20130722
17 SET_OBJECT Instance method Public Method Set Table/View and Schema Name 20130722
18 USE_NEW_DBC Static method Public Method 20130722
19 _CREATE_DS_SEGMENT_FROM_PROP Instance method Private Method 20130723
20 _CREATE_PROPOSAL Instance method Private Method 20130722
Events
Class CL_RSDS_ACCESS_DBCONNECT has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_FIELD Public See coding 20130722 BEGIN OF ts_field, mark TYPE c LENGTH 1, s_dbfie TYPE rsdbc_s_dbfie, new_fdname TYPE fieldname, fields TYPE rsds_s_fields, END OF ts_field
2 TS_PROPOSAL_FIELD Public See coding 20130722 BEGIN OF ts_proposal_field, posit TYPE rsposit, dbfield TYPE rsdbc_name, datatype TYPE rsdatatype, length TYPE ddleng, decimals TYPE decimals, END OF ts_proposal_field
3 TT_FIELDS Public See coding 20130722 tt_fields TYPE STANDARD TABLE OF ts_field WITH KEY TABLE_LINE
4 TT_PROPOSAL_FIELDS Public See coding 20130722 tt_proposal_fields TYPE STANDARD TABLE OF ts_proposal_field with key TABLE_LINE
Method Signatures

Method APPLIES_TO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITX_DB_OBJECT Call by reference Type reference (TYPE) RSDS_TX_DB_OBJECT 20130723
2 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20130723

Method APPLIES_TO on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method CHECK_DBCON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS Source system 20130722

Method CHECK_DBCON on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITX_DB_OBJECT Call by reference Type reference (TYPE) RSDS_TX_DB_OBJECT Table of Database Object - Table or View 20130722

Method CONSTRUCTOR on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method CREATE_DS_SEGMENT_FROM_PROP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETX_DS_SEGMENTS Call by reference Type reference (TYPE) RSDS_TX_SEGMENTS Segments with Fields 20130723

Method CREATE_DS_SEGMENT_FROM_PROP on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method CREATE_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELD_MAPPING Call by reference Type reference (TYPE) RSDS_T_FIELD_MAP Table of Field Maps 20130724

Method CREATE_PROPOSAL on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method GET_DBCON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOGSYS Call by reference Type reference (TYPE) RSSLOGSYS Source system 20130722
2 Returning RS_DBCON Value transfer Type reference (TYPE) DBCON Description of Database Connections 20130722

Method GET_DBCON on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method GET_DB_METADATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_COLUMNS Call by reference Type reference (TYPE) RSDBC_T_FIE 20130722
2 Exporting ET_INDEX Call by reference Type reference (TYPE) RSDBC_T_INDEX 20130722
3 Exporting ET_PRIMARY_KEYS Call by reference Type reference (TYPE) RSDBC_T_SCHEMAS 20130722
4 Importing I_SCHEMA Call by reference Type reference (TYPE) RSDBC_NAME 20130722
5 Importing I_TABLE Call by reference Type reference (TYPE) RSDBC_NAME 20130722
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Exception Class for SQL Error 20130722

Method GET_DB_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RTX_DB_OBJECT Value transfer Type reference (TYPE) RSDS_TX_DB_OBJECT Table of Database Object - Table or View 20130722

Method GET_DB_OBJECT on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method GET_DS_SEGMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RTX_DS_SEGMENTS Value transfer Type reference (TYPE) RSDS_TX_SEGMENTS Segments with Fields 20130723

Method GET_DS_SEGMENTS on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method GET_FIELDS_FOR_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FIELDS Value transfer Type reference (TYPE) TT_FIELDS 20130722

Method GET_FIELDS_FOR_PROPOSAL on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method GET_FIELD_DEFAULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FIELD_DEFAULTS Value transfer Type reference (TYPE) TT_PROPOSAL_FIELDS 20130725

Method GET_FIELD_DEFAULTS on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method GET_SQL_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_SQL_CONNECTION Value transfer Object reference (TYPE REF TO) CL_SQL_CONNECTION Source system 20130723

Method GET_SQL_CONNECTION on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method SET_ACCESSMETHODS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_ACCESSMETHODS Call by reference Object reference (TYPE REF TO) CL_RSDS_ACCESSMETHODS Access to Access Methods 20130722

Method SET_ACCESSMETHODS on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method SET_DB_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITX_DB_OBJECT Call by reference Type reference (TYPE) RSDS_TX_DB_OBJECT Table of Database Object - Table or View 20130722

Method SET_DB_OBJECT on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method SET_DS_SEGMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ITX_DS_SEGMENTS Call by reference Type reference (TYPE) RSDS_TX_SEGMENTS Segments with Fields 20130723

Method SET_DS_SEGMENTS on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method SET_FIELDS_FROM_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_FIELDS Call by reference Type reference (TYPE) TT_FIELDS 20130722

Method SET_FIELDS_FROM_PROPOSAL on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method SET_OBJECT 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) RSDBC_NAME 20130722
2 Importing I_SCHEMA Call by reference Type reference (TYPE) RSDBC_NAME 20130722
3 Importing I_TYPE Call by reference Type reference (TYPE) RSDBC_TABTYPE 20130722

Method SET_OBJECT on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method USE_NEW_DBC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_BOOL Value transfer Type reference (TYPE) ABAP_BOOL 20130722

Method USE_NEW_DBC on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method _CREATE_DS_SEGMENT_FROM_PROP Signature

Method _CREATE_DS_SEGMENT_FROM_PROP on class CL_RSDS_ACCESS_DBCONNECT has no parameter.
Method _CREATE_DS_SEGMENT_FROM_PROP on class CL_RSDS_ACCESS_DBCONNECT has no exception.

Method _CREATE_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FIELDS Call by reference Type reference (TYPE) TT_FIELDS 20130722
2 Exporting ET_PROP_FIELDS Call by reference Type reference (TYPE) TT_PROPOSAL_FIELDS 20130722
3 Importing IT_COLUMNS Call by reference Type reference (TYPE) RSDBC_T_FIE 20130722
4 Importing IT_FIELD_MAPPING Call by reference Type reference (TYPE) RSDS_T_FIELD_MAP Table of Field Maps 20130724
5 Importing IT_INDEX Call by reference Type reference (TYPE) RSDBC_T_INDEX 20130722
6 Importing IT_PRIMARY_KEYS Call by reference Type reference (TYPE) RSDBC_T_SCHEMAS 20130722

Method _CREATE_PROPOSAL on class CL_RSDS_ACCESS_DBCONNECT has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 740