Get Example source ABAP code based on a different SAP table
Native SQL in ABAP Release 7.53 ITOC
ABAP_MODIFICATION_NN New Method GET_ABAP_CONNECTION inCL_SQL_CONNECTION
The new method GET_ABAP_CONNECTION of the class CL_SQL_CONNECTION works in the same way as the existing method GET_CONNECTION if the latter is passed the value abap_true SHARABLE for a connection shared in AB_SQL , Native SQL, and AMDP. GET_ABAP_CONNECTION can generally be used instead of GET_CONNECTION, unless it needs to be called with the value abap_false (default) for the parameter SHARABLE to create an exclusive connection.