SAP ABAP Class CL_DBA_STORED_PROCEDURE (DBA-DBH: Stored Procedure Helper)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DB (Application Component) Database Interface, Database Platforms
⤷
SDBA_BACKEND (Package) DBA Cockpit: Backend Infrastructure

⤷

⤷

Meta Relationship - Used By
# | Relationship type | Used by | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_DB6_STORED_PROCEDURE | DB6-DBH: Stored Procedure Helper | 20100811 |
2 | Inheritance (c INHERITING FROM c_ref) | CL_SYB_STORED_PROCEDURE | SYB-DBH: Stored Procedure Helper | 20100811 |
Properties
Class | CL_DBA_STORED_PROCEDURE | |
Short Description | DBA-DBH: Stored Procedure Helper | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | SDBA_BACKEND | DBA Cockpit: Backend Infrastructure |
Created | 20100811 | 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) |
Interfaces
Class CL_DBA_STORED_PROCEDURE has no interface implemented.
Friends
Class CL_DBA_STORED_PROCEDURE has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_SRC | 20100811 | |||
2 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Indicates if SP was modified | 20100811 | |
3 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
4 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
5 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
6 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
7 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
8 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
9 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
10 | ![]() |
Instance attribute | Public | Type reference (TYPE) | STRING | 20100811 | |||
11 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'S' | 20100811 | ||
12 | ![]() |
Constant | Public | Type reference (TYPE) | STRING | 'U' | 20100811 | ||
13 | ![]() |
Constant | Public | Type reference (TYPE) | I | 2 | Generation Mode - Defaults | 20100811 | |
14 | ![]() |
Constant | Public | Type reference (TYPE) | I | 1 | Generation Mode - Normal | 20100811 | |
15 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_SRC | 20100811 | |||
16 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 1 | Generation Mode | 20100811 | |
17 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_SRC | 20100811 | |||
18 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_SRC | 20100811 | |||
19 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | STRING | 20121113 | |||
20 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_STP_PARAMETER_LIST | 20100811 | |||
21 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | I | 0 | Phase Counter | 20100811 | |
22 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_ROUTINE_NAME | DB6-DBH: Routine Name (UDF/SP) | 20101014 | ||
23 | ![]() |
Instance attribute | Public | Type reference (TYPE) | DB6_DBH_ROUTINE_NAME | 20100811 | |||
24 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_SRC | 20100811 | |||
25 | ![]() |
Instance attribute | Public | Object reference (TYPE REF TO) | CL_DB6_SYS | 20120125 | |||
26 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | DB6_DBH_SRC | 20100811 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Add Source to Body | 20100811 |
2 | ![]() |
Instance method | Public | Method | Add Source to Body | 20100811 |
3 | ![]() |
Instance method | Public | Method | Add a Handler | 20100811 |
4 | ![]() |
Instance method | Public | Method | Add Initialization Actions | 20100811 |
5 | ![]() |
Instance method | Public | Method | Add Parameter | 20100811 |
6 | ![]() |
Instance method | Public | Method | Adds a Phase Comment | 20100811 |
7 | ![]() |
Instance method | Public | Method | Adds Code for Tracing | 20100811 |
8 | ![]() |
Instance method | Public | Method | Add a Variable | 20100811 |
9 | ![]() |
Instance method | Public | Method | Check routine, if necessary create it | 20100811 |
10 | ![]() |
Instance method | Public | Constructor | CONSTRUCTOR | 20100811 |
11 | ![]() |
Instance method | Public | Method | Finalize SP Code | 20100811 |
12 | ![]() |
Instance method | Public | Method | Generate Stored Procedure | 20100811 |
13 | ![]() |
Instance method | Public | Method | Returns Last Line of Body | 20100811 |
14 | ![]() |
Instance method | Public | Method | Get source as String | 20100811 |
15 | ![]() |
Instance method | Public | Method | Get source as Table of String | 20100811 |
16 | ![]() |
Instance method | Public | Method | Modify the Last Line of the Body | 20100811 |
17 | ![]() |
Instance method | Public | Method | Returns the Number of Parameters | 20100811 |
18 | ![]() |
Instance method | Public | Method | Reset the Default Handlers | 20100811 |
19 | ![]() |
Instance method | Private | Method | Source as String | 20100811 |
Events
Class CL_DBA_STORED_PROCEDURE has no event.
Types
Class CL_DBA_STORED_PROCEDURE has no local type.
Method Signatures
Method ADD_BODY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Value transfer | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method ADD_BODY on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_CURSOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Value transfer | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method ADD_CURSOR on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_HANDLER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Value transfer | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method ADD_HANDLER on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_INIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Call by reference | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method ADD_INIT on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_PARAMETER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DATA_TYPE | Call by reference | Type reference (TYPE) | STRING | 20100811 | |||
2 | ![]() |
DEFAULT_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100811 | |||
3 | ![]() |
PARAM_NAME | Call by reference | Type reference (TYPE) | STRING | 20100811 | |||
4 | ![]() |
PARAM_TYPE | Call by reference | Type reference (TYPE) | STRING | 20100811 |
Method ADD_PARAMETER on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_PHASE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PHASE | Call by reference | Type reference (TYPE) | STRING | 20100811 |
Method ADD_PHASE on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_TRC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DIAG_LVL | Call by reference | Type reference (TYPE) | DBA_DBH_VALUE | DBA-DBH: Key/Value for Configuration Table | 20100811 | ||
2 | ![]() |
DIAG_MSG | Call by reference | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 | ||
3 | ![]() |
INDENT | Call by reference | Type reference (TYPE) | CLIKE | 20100811 | |||
4 | ![]() |
NO_EMPTY_LINE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100811 |
Method ADD_TRC on class CL_DBA_STORED_PROCEDURE has no exception.
Method ADD_VARIABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Value transfer | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method ADD_VARIABLE on class CL_DBA_STORED_PROCEDURE has no exception.
Method CHECK_ROUTINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
DBCNAME | Call by reference | Type reference (TYPE) | DBCON_NAME | Logical name for a database connection | 20100811 | ||
2 | ![]() |
SYS_REF | Value transfer | Object reference (TYPE REF TO) | CL_DB6_SYS | DB6: Remote System Administration | 20100811 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
DB6: Root Exception class | 20100811 |
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
PREFIX | Call by reference | Type reference (TYPE) | DB6_DBH_ROUTINE_NAME | DB6-DBH: Routine Name (UDF/SP) | 20100811 | ||
2 | ![]() |
SAPTOOLS_WORKLOAD | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | DB6-DBH: SAPTOOLS Workload | 20100811 | |
3 | ![]() |
SP_ID | Call by reference | Type reference (TYPE) | DB6_DBH_ROUTINE_NAME | DB6-DBH: Routine Name (UDF/SP) | 20100811 | ||
4 | ![]() |
SYS_REF | Call by reference | Object reference (TYPE REF TO) | CL_DB6_SYS | DB6: Remote System Administration | 20100811 |
Method CONSTRUCTOR on class CL_DBA_STORED_PROCEDURE has no exception.
Method FINALIZE Signature
Method FINALIZE on class CL_DBA_STORED_PROCEDURE has no parameter.
Method FINALIZE on class CL_DBA_STORED_PROCEDURE has no exception.
Method GENERATE_SRC Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
GEN_MODE | Call by reference | Type reference (TYPE) | I | CO_GEN_MODE_NORMAL | 20100811 |
Method GENERATE_SRC on class CL_DBA_STORED_PROCEDURE has no exception.
Method GET_LAST_BODY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Value transfer | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method GET_LAST_BODY on class CL_DBA_STORED_PROCEDURE has no exception.
Method GET_SRC_AS_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
GEN_MODE | Call by reference | Type reference (TYPE) | I | CO_GEN_MODE_NORMAL | 20100811 | ||
2 | ![]() |
SRC | Value transfer | Type reference (TYPE) | STRING | DB6-DBH: Source of Stored Procedure | 20100811 |
Method GET_SRC_AS_STRING on class CL_DBA_STORED_PROCEDURE has no exception.
Method GET_SRC_AS_TAB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
GEN_MODE | Call by reference | Type reference (TYPE) | I | CO_GEN_MODE_NORMAL | 20100811 | ||
2 | ![]() |
SRC | Value transfer | Type reference (TYPE) | DB6_DBH_SRC | DB6-DBH: Source of Stored Procedure | 20100811 |
Method GET_SRC_AS_TAB on class CL_DBA_STORED_PROCEDURE has no exception.
Method MODIFY_LAST_BODY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC_LINE | Call by reference | Type reference (TYPE) | DB6_DBH_SRC_LINE | DB6-DBH: Source Line of Routine | 20100811 |
Method MODIFY_LAST_BODY on class CL_DBA_STORED_PROCEDURE has no exception.
Method NUM_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RESULT | Value transfer | Type reference (TYPE) | I | 20100811 |
Method NUM_PARAMETERS on class CL_DBA_STORED_PROCEDURE has no exception.
Method RESET_HANDLERS Signature
Method RESET_HANDLERS on class CL_DBA_STORED_PROCEDURE has no parameter.
Method RESET_HANDLERS on class CL_DBA_STORED_PROCEDURE has no exception.
Method SRC_AS_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
SRC | Value transfer | Type reference (TYPE) | STRING | DB6-DBH: Source of Stored Procedure | 20100811 |
Method SRC_AS_STRING on class CL_DBA_STORED_PROCEDURE has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 703 |