SAP ABAP Interface IF_TREX_SQL (ADBC based SQL interface)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷
STREX (Package) TREX ABAP client
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TREX_SQL_PREPARED_STATEMENT | TREX SQL prepared statement. | 20100325 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_TREX_SQL_STATEMENT | TREX SQL statement | 20100325 |
Properties
| Interface | IF_TREX_SQL | |
| Short Description | ADBC based SQL interface |
General Data
| Package | STREX | TREX ABAP client |
| Created | 20100325 | SAP |
| Last changed | 20140121 | SAP |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | ADBC | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Interface IF_TREX_SQL has no interface.
Friends
Interface IF_TREX_SQL has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_PERF_ID_COMMIT | Constant | Public | Type reference (TYPE) | STRING | 'COMMIT' | 20101104 | ||
| 2 | C_SQL_CODE_SYNTAX_ERROR | Constant | Public | Type reference (TYPE) | INT4 | 257 | Natural number | 20110118 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20100325 | ||
| 2 | Instance method | Public | Method | Only for prepare statement. | 20100325 | |
| 3 | Instance method | Public | Method | Only for prepare statement. | 20100325 | |
| 4 | Instance method | Public | Method | 20100326 | ||
| 5 | Instance method | Public | Method | 20110513 | ||
| 6 | Instance method | Public | Method | 20100325 | ||
| 7 | Instance method | Public | Method | 20100325 | ||
| 8 | Instance method | Public | Method | 20130424 | ||
| 9 | Instance method | Public | Method | 20100325 | ||
| 10 | Instance method | Public | Method | 20100325 | ||
| 11 | Instance method | Public | Method | 20130607 |
Events
Interface IF_TREX_SQL has no event.
Types
Interface IF_TREX_SQL has no local type.
Method Signatures
Method CALL_WITH_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FUNC_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20100325 | ||||
| 2 | REQUEST_X | Call by reference | Type reference (TYPE) | XSEQUENCE | 20100325 | ||||
| 3 | RESPONSE_X | Call by reference | Type reference (TYPE) | XSEQUENCE | 20100325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100325 | |||
| 2 | 20100325 | |||
| 3 | Exception Class for SQL Error | 20100902 |
Method CLEAR_PARAMETERS Signature
Method CLEAR_PARAMETERS on Interface IF_TREX_SQL has no parameter.
Method CLEAR_PARAMETERS on Interface IF_TREX_SQL has no exception.
Method CLOSE Signature
Method CLOSE on Interface IF_TREX_SQL has no parameter.
Method CLOSE on Interface IF_TREX_SQL has no exception.
Method EXECUTE_DDL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100326 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse für SQL Fehler | 20100622 |
Method EXECUTE_PROCEDURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROC_NAME | Call by reference | Type reference (TYPE) | CLIKE | 20110513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unexpected data received from application. | 20110513 | ||
| 2 | TREX SQL exception | 20110513 |
Method EXECUTE_QUERY_COUNT_ONLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RVAL | Value transfer | Type reference (TYPE) | I | 20100325 | ||||
| 2 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100622 |
Method EXECUTE_QUERY_ITAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CORRESPONDING_FIELDS | Call by reference | Type reference (TYPE) | ADBC_COLUMN_TAB | 20100325 | ||||
| 2 | ITAB | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20100325 | ||||
| 3 | LOB_FIELDS | Call by reference | Type reference (TYPE) | ADBC_COLUMN_TAB | 20101209 | ||||
| 4 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20100622 |
Method EXECUTE_QUERY_SINGLE_FIELD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Call by reference | Type reference (TYPE) | ANY | 20130424 | ||||
| 2 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20130424 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | TREX SQL exception | 20130424 |
Method EXECUTE_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ROWS_PROCESSED | Value transfer | Type reference (TYPE) | I | 20100325 | ||||
| 2 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20100325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmeklasse für SQL Fehler | 20100622 |
Method SET_PARAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_REF | Call by reference | Object reference (TYPE REF TO) | DATA | 20100325 | ||||
| 2 | INOUT | Call by reference | Type reference (TYPE) | TYPINT1 | CL_SQL_STATEMENT=>C_PARAM_IN | Referenz-Datenelement "TYPINT1" zu DATLDREF | 20100325 |
Method SET_PARAM on Interface IF_TREX_SQL has no exception.
Method SET_PARAM_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TABLE_REF | Call by reference | Object reference (TYPE REF TO) | DATA | 20130607 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Superclass for Parameter Error | 20130607 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 800 |