SAP ABAP Class CL_DB6_CON (DB6: Runtime Connection Handling)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DB (Application Component) Database Interface, Database Platforms
     SDBA_RUNTIME (Package) DBA Cockpit: Runtime
Properties
Class CL_DB6_CON  
Short Description DB6: Runtime Connection Handling    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SDBA_RUNTIME   DBA Cockpit: Runtime 
Created 20030411   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 DB6CC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_DB6_CON has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_DB6_SYS 20030808 DB6: Remote System Administration
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CONNECTED_PARTITION Static Attribute Private Type reference (TYPE) I 20060119
2 CON_NAME Static Attribute Private Type reference (TYPE) DBCON_NAME Logical name for a database connection 20040628
3 CON_REF Static Attribute Private Object reference (TYPE REF TO) CL_SQL_CONNECTION Database Connection 20040628
4 LOCAL_CON_REF Static Attribute Private Object reference (TYPE REF TO) CL_SQL_CONNECTION Database Connection 20040628
5 SECOND_LOCAL_CON Constant Public Type reference (TYPE) DBCON_NAME 'R/3*' Logical name for a database connection 20040628
6 SECOND_LOCAL_CON_PARTITION Constant Public Type reference (TYPE) DBCON_NAME 'R/3*DBPART' Logical name for a database connection 20090625
7 SECOND_LOCAL_CON_REF Static Attribute Private Object reference (TYPE REF TO) CL_SQL_CONNECTION Database Connection 20040628
Methods
# Method Level Visibility Method type Description Created on
1 FREE Static method Public Method 20030527
2 GET_CONNECTION Static method Public Method 20030411
3 GET_LOCAL_CONNECTION Static method Public Method 20030414
4 GET_SECOND_LOCAL_CONNECTION Static method Public Method 20030414
5 GET_STMT_REF_FOR_PARTITION Static method Public Method 20060119
6 HANDLE_EXCEPTION Static method Public Method 20030411
7 HANDLE_SQL_ERROR Static method Public Method 20030411
8 RESET_CONNECTION_TO_STANDARD Static method Public Method 20060119
Events
Class CL_DB6_CON has no event.
Types
Class CL_DB6_CON has no local type.
Method Signatures

Method FREE Signature

Method FREE on class CL_DB6_CON has no parameter.
Method FREE on class CL_DB6_CON has no exception.

Method GET_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing BUFFERED Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20070220
2 Importing CONNECTION_NAME Call by reference Type reference (TYPE) DBCON_NAME Logischer Name einer Datenbankverbindung 20030411
3 Returning CONNECTION_REF Value transfer Object reference (TYPE REF TO) CL_SQL_CONNECTION 20030411
4 Importing SHARABLE Call by reference Type reference (TYPE) FLAG SPACE General Flag 20101026
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL-Fehler 20030411

Method GET_LOCAL_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONNECTION_REF Value transfer Object reference (TYPE REF TO) CL_SQL_CONNECTION 20030414
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL-Fehler 20030414

Method GET_SECOND_LOCAL_CONNECTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning CONNECTION_REF Value transfer Object reference (TYPE REF TO) CL_SQL_CONNECTION 20030414
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL-Fehler 20030414

Method GET_STMT_REF_FOR_PARTITION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PARTITION Call by reference Type reference (TYPE) I 20060119
2 Returning STMT_REF Value transfer Object reference (TYPE REF TO) CL_SQL_STATEMENT SQL statement 20060119
3 Importing SYS_REF Call by reference Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20060119
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION DB6: ADMINCMD-Ausnahmen 20060119

Method HANDLE_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SQLERR_REF Call by reference Object reference (TYPE REF TO) CX_SQL_EXCEPTION 20030411
2 Importing SQL_STMT Call by reference Type reference (TYPE) CLIKE 20030411

Method HANDLE_EXCEPTION on class CL_DB6_CON has no exception.

Method HANDLE_SQL_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SQL_CODE Call by reference Type reference (TYPE) SYSUBRC 20030411
2 Importing SQL_MESSAGE Call by reference Type reference (TYPE) CSEQUENCE 20030411
3 Importing SQL_STMT Call by reference Type reference (TYPE) CSEQUENCE 20030411

Method HANDLE_SQL_ERROR on class CL_DB6_CON has no exception.

Method RESET_CONNECTION_TO_STANDARD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PARTITION Call by reference Type reference (TYPE) I 20060119
2 Importing SYS_REF Call by reference Object reference (TYPE REF TO) CL_DB6_SYS DB6: Remote System Administration 20060119
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION DB6: ADMINCMD-Ausnahmen 20060119
History
Last changed by/on SAP  20130531 
SAP Release Created in 640