SAP Function RSDU_EXEC_SQL_DB4 - Execute Native SQL Statement (No CURSORs, Host Variables etc.)

Parameter Reference Type Length Default Optional Text
I_ERROR_DOWNLOAD RS_BOOL C 1 RS_C_TRUE X Download of a Erroneous SQL Statement Yes/No
I_LOWER_TRANS RS_BOOL C 1 RS_C_FALSE X SQL Keywords in Lowercase Yes/No
I_STMT C C 0 X SQL Statement in a String
I_T_STMT RSDU_T_ABAPSOURCE 0 X SQL Statement in an Internal Table

Parameter Reference Type Length Text
E_NUM_ROWS I I 4
E_SQLERR I I 4 DB-Specific SQL-Error Code (OK = 0)
E_SQLERRTXT RSDU_STRING72 0 SQL Error Text
E_STMTSIZE I I 4 Size of the SQL Statement in Bytes

Parameter Reference Type Length Default Optional Text
C_PROCESSED RS_BOOL C 1 RS_C_FALSE Boolean

Exception Text
DUPREC
INHERITED_ERROR Internal Error
NO_STATEMENT No Internal Table or String
OBJ_EXISTS
OBJ_NOT_FOUND
SQL_ERROR SQL Error (Error Code in E_SQLERR)
STATEMENT_TOO_COMPLEX SQL Statement Too Complex (Long)