SAP ADBC SQL PREPARED ABEXA

Get Example source ABAP code based on a different SAP table
  


ARTICLE

ADBC, Prepared Statement
The example demonstrates the generation and execution of a prepared statement with ADBC .

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
In this example, a query is instantiated as a prepared statement and is executed with various parameters.
Since the work process is not allowed to be switched between the calls of the prepared statement, no dialog using screens is possible in the corresponding loop. Instead, the parameters that are to be evaluated are prepared and collected in one internal table and the result lists are prepared and collected in another internal table.