REPORT zalv_practice.
* NORMAL ALV FOR DISPLAY VBAP DATA BY ALV FM.SELECT *
FROM vbap INTO TABLE @DATA(it_vbap) UP TO 20 ROWS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_structure_name = 'VBAP'
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_vbap
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.
OUTPUT:

No comments:
Post a Comment