SAP ABAP Function Module RSDU_EXEC_SQL_DB4 (Execute Native SQL Statement (No CURSORs, Host Variables etc.))
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷ BW-SYS-DB-DB4 (Application Component) BW DB2 for AS/400
⤷ RSCOREDB4 (Package) BI Core Porting: AS400
⤷ BW-SYS-DB-DB4 (Application Component) BW DB2 for AS/400
⤷ RSCOREDB4 (Package) BI Core Porting: AS400
Basic Data
Function Module | RSDU_EXEC_SQL_DB4 | Execute Native SQL Statement (No CURSORs, Host Variables etc.) |
Function Group | RSDU_CORE_SQL_DB4 | DB4: Database-Dependent Core Functions |
Program Name | SAPLRSDU_CORE_SQL_DB4 | |
INCLUDE Name | LRSDU_CORE_SQL_DB4U04 |
Parameters
Type | Parameter Name | Typing | Associated Type | Default value | Optional | Pass Value | Short text |
---|---|---|---|---|---|---|---|
Changing | C_PROCESSED | TYPE | RS_BOOL | RS_C_FALSE | Boolean | ||
Exporting | E_SQLERR | TYPE | I | DB-Specific SQL-Error Code (OK = 0) | |||
Exporting | E_SQLERRTXT | TYPE | RSDU_STRING72 | SQL Error Text | |||
Exporting | E_STMTSIZE | TYPE | I | Size of the SQL Statement in Bytes | |||
Exporting | E_NUM_ROWS | TYPE | I | Number of Rows Affected | |||
Importing | I_T_STMT | TYPE | RSDU_T_ABAPSOURCE | SQL Statement in an Internal Table | |||
Importing | I_STMT | TYPE | C | SQL Statement in a String | |||
Importing | I_LOWER_TRANS | TYPE | RS_BOOL | RS_C_FALSE | SQL Keywords in Lowercase Yes/No | ||
Importing | I_ERROR_DOWNLOAD | TYPE | RS_BOOL | RS_C_TRUE | Download of a Erroneous SQL Statement Yes/No | ||
Importing | I_CONNECTION | TYPE | DBCON_NAME | 'DEFAULT' | Logical Name for a Database Connection | ||
Exception | SQL_ERROR | TYPE | SQL Error (Specific Error in E_SQLERR) | ||||
Exception | STATEMENT_TOO_COMPLEX | TYPE | SQL Statement Too Complex (Long) | ||||
Exception | NO_STATEMENT | TYPE | No Internal Table or String | ||||
Exception | INHERITED_ERROR | TYPE | Internal Error | ||||
Exception | DUPREC | TYPE | Duplicate Record | ||||
Exception | OBJ_EXISTS | TYPE | Object Already Exists | ||||
Exception | OBJ_NOT_FOUND | TYPE | Object Not Found | ||||
Processing Type
Normal Function Module | |
Remote-Enabled Module | BaseXML supported |
Update Module | Start immediately |
Immediate Start, No Restart | |
Start Delayed | |
Coll.run | |
JAVA Module Callable from ABAP | |
Remote-Enabled JAVA Module | |
Module Callable from JAVA |
History
Last changed by/on | SAP | 20110909 |
SAP Release Created in | 730 |