SAP ABAP Class CL_AMDP_SICK_HDB (Prequisite Checker for AMDP on HDB)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_AMDP_UTIL (Package) Helper Programs for ABAP-Managed Database Procedures
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_AMDP_SICK | Wrapper Class for Database Prerequisites in AMDP | 20130409 |
Properties
| Class | CL_AMDP_SICK_HDB | |
| Short Description | Prequisite Checker for AMDP on HDB | |
| Super Class | CL_AMDP_SICK | Wrapper Class for Database Prerequisites in AMDP |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SABP_AMDP_UTIL | Helper Programs for ABAP-Managed Database Procedures |
| Created | 20130405 | SAP |
| Last change | 20140121 | 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) |
Interfaces
Class CL_AMDP_SICK_HDB has no interface implemented.
Friends
Class CL_AMDP_SICK_HDB has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | STRING | ADBC statement used in EXECUTE_QUERY | 20130409 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | `1899222` | Note Number for Troubleshooting | 20130813 | ||
| 3 | Static Attribute | Private | Type reference (TYPE) | STRING | Error Message | 20130410 | |||
| 4 | Static Attribute | Private | See coding | Internal table of the checked objects | 20130409 | ||||
| 5 | Static Attribute | Private | Type reference (TYPE) | HDB_CHAR256 | Current User | 20130409 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Sets the ADBC statement and executes the query loop | 20130409 | |
| 2 | Static method | Private | Method | Query the authorization table for tested object | 20130409 | |
| 3 | Static method | Private | Method | Query the current user | 20130409 | |
| 4 | Static method | Public | Method | Getter for Note Number | 20130813 | |
| 5 | Static method | Public | Method | Access to the HDB check | 20130409 | |
| 6 | Static method | Private | Method | Initializes the table of the checked objects | 20130409 |
Events
Class CL_AMDP_SICK_HDB has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | HDB_CHAR256 | Private | See coding | Matches the NVARCHAR(256) used by HDB | 20130409 | hdb_char256 type c length 256
|
|
| 2 | HDB_OBJ_DESCR | Private | See coding | Description of a checked object (type, name, rights) | 20130409 | begin of hdb_obj_descr,
object_type type hdb_char256,
object_name type hdb_char256,
privilege type hdb_char256,
severity type severity,
end of hdb_obj_descr
|
Method Signatures
Method CHECK_AUTHORIZATION_HDB Signature
Method CHECK_AUTHORIZATION_HDB on class CL_AMDP_SICK_HDB has no parameter.
Method CHECK_AUTHORIZATION_HDB on class CL_AMDP_SICK_HDB has no exception.
Method EXECUTE_QUERY_HDB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LS_OBJ_DESCR | Call by reference | Type reference (TYPE) | HDB_OBJ_DESCR | Beschreibung der zu prüfenden Objekte | 20130409 | |||
| 2 | RC | Value transfer | Type reference (TYPE) | ABAP_BOOL | 'X' falls bei der Ausführung eine Ausnahme aufgetreten ist | 20130813 |
Method EXECUTE_QUERY_HDB on class CL_AMDP_SICK_HDB has no exception.
Method GET_HDB_USER Signature
Method GET_HDB_USER on class CL_AMDP_SICK_HDB has no parameter.
Method GET_HDB_USER on class CL_AMDP_SICK_HDB has no exception.
Method GET_SAP_NOTE_HDB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SAP_NOTE | Value transfer | Type reference (TYPE) | STRING | 20130813 |
Method GET_SAP_NOTE_HDB on class CL_AMDP_SICK_HDB has no exception.
Method MAIN_HDB Signature
Method MAIN_HDB on class CL_AMDP_SICK_HDB has no parameter.
Method MAIN_HDB on class CL_AMDP_SICK_HDB has no exception.
Method SET_CHECKED_OBJECTS_FOR_HDB Signature
Method SET_CHECKED_OBJECTS_FOR_HDB on class CL_AMDP_SICK_HDB has no parameter.
Method SET_CHECKED_OBJECTS_FOR_HDB on class CL_AMDP_SICK_HDB has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |