ALV reort using CL_SALV_TABLE
REPORT ztest_pr. TABLES: afko. TYPES: BEGIN OF ty_final, aufnr TYPE afko-aufnr, matnr TYPE resb-matnr, auart TYPE aufk-auart, abjnr TYPE aufk-objnr, aufpl TYPE afvc-aufpl, aplzl TYPE afvc-aplzl, vornr TYPE afvc-vornr, arbid TYPE afvc-arbid, steus TYPE afvc-steus, objnr TYPE afvc-objnr, stext TYPE bsvx-sttxt, END OF ty_final. DATA: lt_final TYPE TABLE OF ty_final, ls_final TYPE ty_final. DATA: lv_stext LIKE bsvx-sttxt. SELECT-OPTIONS: s_aufnr FOR afko-aufnr. ******************************************************** * Class Definition ******************************************************** CLASS lc_salv DEFINITION. PUBLIC SECTION. METHODS: fetch_data, create_salv_obj RAISING cx_static_check , display_toolbar, set_layout, set_column_attr RAISING cx_static_check, event_handle_