2014 Aug 12 2:40 PM
Hello experts,
I have a internal table with 4 records plz refer image.
Now i want to display alv report in which columns refers to data of internal table.
plz refer image.
plz help to solve this.
2014 Aug 12 3:44 PM
2014 Aug 13 12:53 PM
2014 Aug 13 1:23 PM
2014 Aug 12 3:56 PM
This is an FAQ, please search you will find plenty of docs on this.
2014 Aug 13 1:47 PM
Hi,
just combine a "CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'" and before, a method that read your iTab and fill your Fieldcat in that way:
Loop iTab to sTab
ls_fieldcat-fieldname = sTab-dataValue.
ls_fieldcat-datatype = sTab-dataType.
ls_fieldcat-outputlen = sTab-dataLenght.
APPEND ls_fieldcat TO lt_fieldcat.
EndLoop
Rachid.