SAP ADBC



Get Example source ABAP code based on a different SAP table
  



ABAP Database Connectivity ( ABAP_ADBC )
ADBC is an API for the Native SQL interface of the AS ABAP that is based on classes in ABAP Objects. The ADBC methods can be used to pass Native SQL statements to the database interface. They make it possible to
send database specific SQL statements to a database system and process the result
to establish and manage database connections.
The ADBC classes all begin with the prefix CL_SQL_ or CX_SQL_ and are documented. The following paragraphs briefly introduce the most important classes.
CL_SQL_STATEMENT - Execution of SQL Statements
CL_SQL_PREPARED_STATEMENT - Prepared SQL Statements
CL_SQL_CONNECTION -Management of Database Connections and Database LUWs
CX_SQL_EXCEPTION - Exception Class

ABAP_PGL
Using AB_SQL
ABAP_PGL_END



Latest notes:

ADBC can always be used when access to a database using the Native SQL interface instead of the AB-SQL interface is necessary.
ADBC does not support implicit client handling. The client ID of a database table must be specified explicitly. It should be noted that application programs should only use data from the current client. See also the associated security note and the programming guideline.