Copyright 2024 - BV TallVision IT

The easiest way to utilize the easy ALV class. A simple program that composes an internal table and makes it available via ALV:

report ZDEMO_ALV_1_SIMPLE.
include ZABAPCADABRA_EASY_ALV.
data: gt_data type table of t100,
      go_alv type ref to lcl_easy_alv.  

start-of-selection.
  select * from t100
    up to 20 rows 
into table gt_data. create object go_alv. go_alv->set_alv_from_template(
changing content = gt_data ). go_alv->display( ).

And that's all there is to it.