Hello,
I want to display an output in ALV format. I have called the following method.
CALL METHOD ref_grid->set_table_for_first_display(
EXPORTING
i_structure_name = 'ZAIL_PA0001STRU' *" 'USR_STRUC'*
CHANGING
IT_FIELDCATALOG = it_fcat
it_outtab = t_usr_table ).
If I use structure ZAIL_PA0001STRU that is defined in the data dictionary, it displays everything in the table including the title.
However, if I use structure USR_STRUC that is defined locally, it doesn't display the title of the table even though I have filled
the data into the IT_FIELDCATALOG.
Could you tell me why and how I can fix this problem? I would like to use the local structure rather than the global one.
Thanks,
AS.