I've got lt_result
table as result of function module, just a usual internal table with 50+ columns.
So, I have to send that to ALV display, how to properly use that table as a source for REUSE_ALV_FIELDCATALOG_MERGE
?
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'LT_RESULT'
This way it compiles, but won't get any fieldnames from that table. The same, when I try to use structure.
How do i get field names from given table to lt_fieldcat[]
with shortest way possible?