SAP ABAP Class CL_AS_SECDB (AS for Secondary Database)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CCM-ADK-AS (Application Component) Archive Information System
     SARCIS_INTERNAL (Package) Archive Information System: Internal Objects
Properties
Class CL_AS_SECDB  
Short Description AS for Secondary Database    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SARCIS_INTERNAL   Archive Information System: Internal Objects 
Created 20120814   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 AIND Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_AS_SECDB has no interface implemented.
Friends
Class CL_AS_SECDB has no friend class.
Attributes
Class CL_AS_SECDB has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORITY Static method Public Method Checks the Authorization 20120814
2 CHECK_DBCON_USAGE_FOR_SID Static method Public Method Check Whether Connection Is Used for Another System 20121005
3 CREATE_SYSID_TABLE Static method Private Method 20121005
4 DROP_SYSID_TABLE Static method Private Method 20121005
5 INSERT_INTO_SYSID_TABLE Static method Private Method 20121005
6 LOCK_TABLE Static method Public Method Sets Write Lock on a Table 20120814
7 SAVE_ENTRY_AIND_CONN Static method Public Method Writes the Entry in the AIND_CONN Table 20120815
8 SELECT_DEFAULT_DBCON Static method Public Method Selects DBCON Entry for Secondary DB (with Default= 'X') 20120814
9 SELECT_FROM_SYSID_TABLE Static method Private Method 20121005
10 SET_DBCON_ALREDY_USED Static method Public Method Marks Collections as Already Used 20121009
11 UNLOCK_TABLE Static method Public Method Unlocks Table 20120814
Events
Class CL_AS_SECDB has no event.
Types
Class CL_AS_SECDB has no local type.
Method Signatures

Method CHECK_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning EV_AUTHORITY_OK Value transfer Type reference (TYPE) ABAP_BOOL 20120814
2 Importing IV_ACTVT Call by reference Type reference (TYPE) ACTIV_AUTH Aktivität 20120814
3 Importing IV_OBJECT Call by reference Type reference (TYPE) OBJCT_TR01 Archivierungsobjekt 20120814

Method CHECK_AUTHORITY on class CL_AS_SECDB has no exception.

Method CHECK_DBCON_USAGE_FOR_SID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DB_CONNECTION Call by reference Type reference (TYPE) DBCON_NAME Logischer Name einer Datenbankverbindung 20121005
# Exception Resumable Description Created on
1 CX_AS_SECDB secdb_checks: Ausnahmen 20121008
2 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121005

Method CREATE_SYSID_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SQL_CONNECTION Call by reference Object reference (TYPE REF TO) CL_SQL_CONNECTION Datenbankverbindung 20121005
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121005

Method DROP_SYSID_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SQL_CONNECTION Call by reference Object reference (TYPE REF TO) CL_SQL_CONNECTION Datenbankverbindung 20121005
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121005

Method INSERT_INTO_SYSID_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SQL_CONNECTION Call by reference Object reference (TYPE REF TO) CL_SQL_CONNECTION Datenbankverbindung 20121005
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121005

Method LOCK_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellenname 20120925
# Exception Resumable Description Created on
1 CX_AS_SECDB secdb_checks: Ausnahmen 20120814

Method SAVE_ENTRY_AIND_CONN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DB_CONNECTION Call by reference Type reference (TYPE) AIND_CONN-DB_CONNECTION Name einer Datenbank-Verbindung 20120815
# Exception Resumable Description Created on
1 CX_AS_SECDB secdb_checks: Ausnahmen 20121009
2 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121009

Method SELECT_DEFAULT_DBCON Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_AS_DBCON Value transfer Type reference (TYPE) AIND_DBCON Name einer Datenbank-Verbindung 20120814

Method SELECT_DEFAULT_DBCON on class CL_AS_SECDB has no exception.

Method SELECT_FROM_SYSID_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_SQL_CONNECTION Call by reference Object reference (TYPE REF TO) CL_SQL_CONNECTION Datenbankverbindung 20121005
2 Returning RV_SYSID Value transfer Type reference (TYPE) SYSYSID Name des SAP-Systems 20121005
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121005

Method SET_DBCON_ALREDY_USED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DB_CONNECTION Call by reference Type reference (TYPE) DBCON_NAME Logischer Name einer Datenbankverbindung 20121009
# Exception Resumable Description Created on
1 CX_SQL_EXCEPTION Ausnahmeklasse für SQL Fehler 20121009

Method UNLOCK_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TABNAME Call by reference Type reference (TYPE) TABNAME Tabellenname 20120925

Method UNLOCK_TABLE on class CL_AS_SECDB has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 740