SAP ABAP Class CL_HDB_PYTHON_GENERATOR (generate Python script for ABAP requests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷
STREX (Package) TREX ABAP client
⤷
⤷
Properties
| Class | CL_HDB_PYTHON_GENERATOR | |
| Short Description | generate Python script for ABAP requests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STREX | TREX ABAP client |
| Created | 20110921 | SAP |
| Last change | 20141121 | |
| 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_HDB_PYTHON_GENERATOR has no interface implemented.
Friends
Class CL_HDB_PYTHON_GENERATOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | 'abapPython' | 20111014 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'asxml/abapPython' | 20111014 | |||
| 3 | Constant | Private | Type reference (TYPE) | INT1 | 1 | Int1 | 20111014 | ||
| 4 | Instance attribute | Private | Type reference (TYPE) | TREXT_STRINGS | List of Strings | 20111011 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | 20111011 | ||
| 2 | Instance method | Public | Constructor | 20111011 | ||
| 3 | Instance method | Public | Method | 20111011 | ||
| 4 | Instance method | Public | Method | 20111011 | ||
| 5 | Instance method | Private | Method | 20131209 | ||
| 6 | Instance method | Public | Method | For testing | 20120316 | |
| 7 | Instance method | Private | Method | 20111011 | ||
| 8 | Instance method | Private | Method | 20111011 | ||
| 9 | Instance method | Public | Method | 20111011 |
Events
Class CL_HDB_PYTHON_GENERATOR has no event.
Types
Class CL_HDB_PYTHON_GENERATOR has no local type.
Method Signatures
Method APPEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111011 |
Method APPEND on class CL_HDB_PYTHON_GENERATOR has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONNECTION | Call by reference | Type reference (TYPE) | DBCON_NAME | 'DEFAULT' | Logical name for a database connection | 20111011 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unexpected data received from application. | 20111011 | ||
| 2 | Failed to Initialize Remote Communication | 20111011 |
Method GEN_FOR_SQL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111011 |
Method GEN_FOR_SQL on class CL_HDB_PYTHON_GENERATOR has no exception.
Method GEN_FOR_TREXVIADBSL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA | Call by reference | Type reference (TYPE) | XSTRING | 20111014 | ||||
| 2 | FUNC_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111011 | ||||
| 3 | ROUTE_BY_TABLE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20131209 |
Method GEN_FOR_TREXVIADBSL on class CL_HDB_PYTHON_GENERATOR has no exception.
Method GEN_TREXVIADBSL_PROC_PART Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BXML_REQUEST | Call by reference | Type reference (TYPE) | XSEQUENCE | 20131209 | ||||
| 2 | FUNC_NAME | Call by reference | Type reference (TYPE) | CSEQUENCE | 20131209 | ||||
| 3 | ROUTE_BY_TABLE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20131209 | ||||
| 4 | RVAL | Value transfer | Type reference (TYPE) | STRING | 20131209 |
Method GEN_TREXVIADBSL_PROC_PART on class CL_HDB_PYTHON_GENERATOR has no exception.
Method GET_PY_SCRIPT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RVAL | Value transfer | Type reference (TYPE) | TREXT_STRINGS | List of Strings | 20120316 |
Method GET_PY_SCRIPT_TABLE on class CL_HDB_PYTHON_GENERATOR has no exception.
Method GET_SQL_COMMAND_FOR_PRINT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SQL_COMMAND | Value transfer | Type reference (TYPE) | STRING | 20111011 | ||||
| 2 | STATEMENT | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111011 |
Method GET_SQL_COMMAND_FOR_PRINT on class CL_HDB_PYTHON_GENERATOR has no exception.
Method RESET Signature
Method RESET on class CL_HDB_PYTHON_GENERATOR has no parameter.
Method RESET on class CL_HDB_PYTHON_GENERATOR has no exception.
Method SEND Signature
Method SEND on class CL_HDB_PYTHON_GENERATOR has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unexpected data received from application. | 20111014 | ||
| 2 | Remote Communication Exception | 20111014 | ||
| 3 | Error returned from Server | 20111014 | ||
| 4 | TREX SQL exception | 20111014 |
History
| Last changed by/on | SAP | 20141121 |
| SAP Release Created in | 740 |