on 03-16-2011 4:55 PM
Hi ,
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 )
cl_salv_table=>factory(
EXPORTING
list_display = abap_false
IMPORTING
r_salv_table = lo_alv
CHANGING
t_table = <new_tab> ).
CATCH cx_salv_msg .
ENDTRY.
lo_columns = lo_alv->get_columns( ).
lo_aggregations = lo_alv->get_aggregations( ).
rt_fcat =
cl_salv_controller_metadata=>get_lvc_fieldcatalog(
r_columns = lo_columns
r_aggregations = lo_aggregations ).
lo_alv->display( ).
BUT for ALV Grid Display am facing the problem
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = ft_fldcat
TABLES
t_outtab = <new>
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
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.
Thanks
Bhaskar
Hi
Any Inputs on the above issues.
Bhaskar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.