SAP Function /SDF/RBE_NATSQL_SELECT - execute native sql select statement

Parameter Reference Type Length Default Optional Text
MAX_ROWS I I 4 maximum number of returned rows
SQL_TEXT STRING g 0 sql statement to be executed

Parameter Reference Type Length Text
FIELD_INFOS /SDF/RBE_NATSQL_SDD_FIELD_TT h 680 table type for native sql field information
RC I I 4 return code (needed for rfc)
RES_TAB /SDF/RBE_NATSQL_RESTAB_TT h 8 native sql result table
ROWS I I 4 number of fetches rows
RUNTIME I I 4 abap measured runtime of stmt
SQL_CODE I I 4 db specific error code
SQL_MESSAGE DBSQLMSG C 255 SQL Error Message