Menu

SAP Function Module RSDU_EXEC_SQL_DB4

Execute Native SQL Statement (No CURSORs, Host Variables etc.)

The Function Module RSDU_EXEC_SQL_DB4 (Execute Native SQL Statement (No CURSORs, Host Variables etc.)) is a standard Function Module in SAP ERP and is part of the function group RSDU_SQL_DB4 within the package RSDD.

Technical Information

Function Module RSDU_EXEC_SQL_DB4
Short Text Execute Native SQL Statement (No CURSORs, Host Variables etc.)
Function Group RSDU_SQL_DB4
Package RSDD
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
I_ERROR_DOWNLOAD TYPE RS_BOOL RS_C_TRUE Download of a Erroneous SQL Statement Yes/No
I_LOWER_TRANS TYPE RS_BOOL RS_C_FALSE SQL Keywords in Lowercase Yes/No
I_STMT TYPE C SQL Statement in a String
I_T_STMT TYPE RSDU_T_ABAPSOURCE SQL Statement in an Internal Table

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
E_SQLERR TYPE I DB-Specific SQL-Error Code (OK - 0)
E_SQLERRTXT TYPE RSDU_STRING72 SQL Error Text
E_STMTSIZE TYPE I Size of the SQL Statement in Bytes

Changing Parameters

These are the CHANGING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
C_PROCESSED TYPE RS_BOOL RS_C_FALSE Boolean

Table Parameters

This function module does not define any TABLE parameters.

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INHERITED_ERROR Internal Error
NO_STATEMENT No Internal Table or String
OBJ_NOT_FOUND_OR_DUPL_RECORD Object Not Found or Duplicate Record
SQL_ERROR SQL Error (Error Code in E_SQLERR)
STATEMENT_TOO_COMPLEX SQL Statement Too Complex (Long)