ALV Grid Display for Field Symbols(Dynamic Internal Table )
I need to display the out put in ALV Grid format, am able to Display the Dynamic Internal Table which is stored in Field Symbol as ALV List.
But when am trying to Display using ALV Grid am getting the error as Field Symbol is not yet assinged.
For ALV List Display ( which is working fine )
list_display = abap_false
r_salv_table = lo_alv
t_table = <new_tab> ).
CATCH cx_salv_msg .
lo_columns = lo_alv->get_columns( ).
lo_aggregations = lo_alv->get_aggregations( ).
r_columns = lo_columns
r_aggregations = lo_aggregations ).
BUT for ALV Grid Display am facing the problem
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
it_fieldcat = ft_fldcat
t_outtab = <new>
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
here <NEW> is Dynamic internal table which is having proper data, ft_fldcat is field catalog
but when am passing this Field symbol data it is showing the error is not yet assigned.
pls let me know if any thing is needed or any additional functionality is needs to add.