SAP ADBC DML DDL ABEXA



Get Example source ABAP code based on a different SAP table
  



ABAP_ADBC - DDL and DML
This example demonstrates the use of the DDL and DML statements with ADBC.

ABAP_SOURCE_CODE
ABAP_EXEC

ABAP_DESCRIPTION
This program makes it possible to create a database table whose name can be chosen by the user. After this, one hundred rows can be inserted into the database table, individual rows can be read, and the database table can be deleted again. The Native SQL statements are passed to methods of the class CL_SQL_STATEMENT using string expressions.
Any exceptions are handled. When reading rows, quotation marks are escaped in the user input to prevent an SQL injection.