Professional Documents
Culture Documents
OIA With ADBC
OIA With ADBC
OIA With ADBC
data(lo_timer) = cl_abap_runtime=>create_hr_timer( ).
data(t1) = lo_timer->get_runtime( ).
try.
"Step 2: Create object of ADBC Class
data(lo_connection) = cl_sql_connection=>get_connection( ).
"Step 5: Where is my parking, spefiy the internal table in which data will be
kept
lo_resultset->set_param_table(
EXPORTING
itab_ref = lr_result
).
WRITE : / lo_ex->get_text( ).
ENDTRY.
data(t2) = lo_timer->get_runtime( ).
data(t3) = ( t2 - t1 ) / 1000.
cl_demo_output=>display(
EXPORTING
data = itab
name = |Time takes was { t3 } ms|
* exclude =
* include =
).
*&---------------------------------------------------------------------*
*& Report zaug_oia_view_proxy
*&---------------------------------------------------------------------*
*&
*&---------------------------------------------------------------------*
REPORT zaug_oia_view_proxy.
cl_demo_output=>display_data(
EXPORTING
value = itab
* name =
* exclude =
* include =
).