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 ABAP 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 C_INNER_FUNCTION_NAME Constant Private Type reference (TYPE) STRING 'abapPython' 20111014
2 C_OUTER_FUNCTION_NAME Constant Public Type reference (TYPE) STRING 'asxml/abapPython' 20111014
3 C_VERSION Constant Private Type reference (TYPE) INT1 1 Int1 20111014
4 PYTHON_SCRIPT_TAB Instance attribute Private Type reference (TYPE) TREXT_STRINGS List of Strings 20111011
Methods
# Method Level Visibility Method type Description Created on
1 APPEND Instance method Private Method 20111011
2 CONSTRUCTOR Instance method Public Constructor 20111011
3 GEN_FOR_SQL Instance method Public Method 20111011
4 GEN_FOR_TREXVIADBSL Instance method Public Method 20111011
5 GEN_TREXVIADBSL_PROC_PART Instance method Private Method 20131209
6 GET_PY_SCRIPT_TABLE Instance method Public Method For testing 20120316
7 GET_SQL_COMMAND_FOR_PRINT Instance method Private Method 20111011
8 RESET Instance method Private Method 20111011
9 SEND 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 Importing 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 Importing CONNECTION Call by reference Type reference (TYPE) DBCON_NAME 'DEFAULT' Logical name for a database connection 20111011
# Exception Resumable Description Created on
1 CX_TREX_BAD_REQUEST Unexpected data received from application. 20111011
2 CX_TREX_REMOTE_INITIALIZATION 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 Importing 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 Importing DATA Call by reference Type reference (TYPE) XSTRING 20111014
2 Importing FUNC_NAME Call by reference Type reference (TYPE) CSEQUENCE 20111011
3 Importing 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 Importing BXML_REQUEST Call by reference Type reference (TYPE) XSEQUENCE 20131209
2 Importing FUNC_NAME Call by reference Type reference (TYPE) CSEQUENCE 20131209
3 Importing ROUTE_BY_TABLE Call by reference Type reference (TYPE) CSEQUENCE 20131209
4 Returning 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 Returning 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 Returning SQL_COMMAND Value transfer Type reference (TYPE) STRING 20111011
2 Importing 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 CX_TREX_BAD_REQUEST Unexpected data received from application. 20111014
2 CX_TREX_REMOTE_COMMUNICATION Remote Communication Exception 20111014
3 CX_TREX_SERVER Error returned from Server 20111014
4 CX_TREX_SQL_EXCEPTION TREX SQL exception 20111014
History
Last changed by/on SAP  20141121 
SAP Release Created in 740