sapdev logo background
sapdev logo sapdev logo
Comments

SAP ADBC QUERY ABEXA documentation, setup help and example usage



Return to SAP documentation index


ARTIClE

ADBC, Query
This example demonstrates the execution of a query
with ADBC .

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
The method EXECUTE_QUERY from the class CL_SQL_STATEMENT is used to extract three columns of the database table SFLIGHT for the current client. An appropriate internal table is bound to the result set using the method SET_PARAM_TABLE of the class CL_SQL_RESULT_SET . Using the method NEXT_PACKAGE , all the rows of the result set are transported into the internal table.
Quotation marks are escaped in the user input. This prevents SQL injections .
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




ADBC_QUERY
ADBC_SQL_PREPARED_ABEXA




comments powered by Disqus