ALV display directly using below code:
Data: o_alv TYPE REF TO cl_salv_table.
IF i_result IS NOT INITIAL.
TRY.
cl_salv_table=>factory( IMPORTING r_salv_table = o_alv
CHANGING t_table = i_result ).
o_alv->display( ).
CATCH cx_root.
EXIT.
ENDTRY.
ENDIF.
I_result is the table which has the final values to be displayed.
No comments:
Post a Comment