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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Static method | Public | Method | Checks the Authorization | 20120814 | |
| 2 | Static method | Public | Method | Check Whether Connection Is Used for Another System | 20121005 | |
| 3 | Static method | Private | Method | 20121005 | ||
| 4 | Static method | Private | Method | 20121005 | ||
| 5 | Static method | Private | Method | 20121005 | ||
| 6 | Static method | Public | Method | Sets Write Lock on a Table | 20120814 | |
| 7 | Static method | Public | Method | Writes the Entry in the AIND_CONN Table | 20120815 | |
| 8 | Static method | Public | Method | Selects DBCON Entry for Secondary DB (with Default= 'X') | 20120814 | |
| 9 | Static method | Private | Method | 20121005 | ||
| 10 | Static method | Public | Method | Marks Collections as Already Used | 20121009 | |
| 11 | 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 | EV_AUTHORITY_OK | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120814 | ||||
| 2 | IV_ACTVT | Call by reference | Type reference (TYPE) | ACTIV_AUTH | Aktivität | 20120814 | |||
| 3 | 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 | IV_DB_CONNECTION | Call by reference | Type reference (TYPE) | DBCON_NAME | Logischer Name einer Datenbankverbindung | 20121005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | secdb_checks: Ausnahmen | 20121008 | ||
| 2 | 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 | IR_SQL_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Datenbankverbindung | 20121005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IR_SQL_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Datenbankverbindung | 20121005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IR_SQL_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Datenbankverbindung | 20121005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_TABNAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20120925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_DB_CONNECTION | Call by reference | Type reference (TYPE) | AIND_CONN-DB_CONNECTION | Name einer Datenbank-Verbindung | 20120815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | secdb_checks: Ausnahmen | 20121009 | ||
| 2 | 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 | 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 | IR_SQL_CONNECTION | Call by reference | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Datenbankverbindung | 20121005 | |||
| 2 | RV_SYSID | Value transfer | Type reference (TYPE) | SYSYSID | Name des SAP-Systems | 20121005 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_DB_CONNECTION | Call by reference | Type reference (TYPE) | DBCON_NAME | Logischer Name einer Datenbankverbindung | 20121009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 |