SAP ABAP Class CL_TPSQL_STATEMENT (Execute SQL statements)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-UPG-TLS (Application Component) Upgrade Tools
⤷
STPSQL_BASE (Package) SQL Templates Base
⤷
⤷
Properties
| Class | CL_TPSQL_STATEMENT | |
| Short Description | Execute SQL statements | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STPSQL_BASE | SQL Templates Base |
| Created | 20101104 | SAP |
| Last change | 20140120 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_TPSQL_STATEMENT has no forward declaration.
Interfaces
Class CL_TPSQL_STATEMENT has no interface implemented.
Friends
Class CL_TPSQL_STATEMENT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_SQL_CONNECTION | Database Connection | 20101104 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | 'DDL' | 20101104 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20101104 | |
| 2 | Static method | Public | Method | Exceute COMMIT method of the connection | 20130415 | |
| 3 | Static method | Public | Method | Exceute SQL statement | 20101104 |
Events
Class CL_TPSQL_STATEMENT has no event.
Types
Class CL_TPSQL_STATEMENT has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_TPSQL_STATEMENT has no parameter.
Method CLASS_CONSTRUCTOR on class CL_TPSQL_STATEMENT has no exception.
Method COMMIT Signature
Method COMMIT on class CL_TPSQL_STATEMENT has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20130415 |
Method EXECUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_STATEMENT | Call by reference | Type reference (TYPE) | STRING | 20101104 | ||||
| 2 | RV_VALUE | Value transfer | Type reference (TYPE) | INT4 | Returning value of DDL statement | 20130429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exception Class for SQL Error | 20101104 |
History
| Last changed by/on | SAP | 20140120 |
| SAP Release Created in | 731 |