I am trying to create a FM which will handle all the things that are required to create an ALV Grid report.
I will be supplying the data(header data, layout, field catalogue and the actual data to be displayed) required for the FM thru tables.
The function module is working fine when ever I try to use the standard tables like MARA/VBAP etc.., but its failing if I pass any internal table. For this I am using the FM REUSE_ALV_FIELDCATALOG_MERGE to create the catalogue, but the program is going for dump. Can anybody help me in this regard.