Skip to Content
0
Former Member
Feb 24, 2009 at 07:08 PM

Dynamic Creation of internal table based on alv layout

538 Views

Hi experts!!

I have the following request from my client:

I am displaying an alv report and i need to download it in txt format based on the columns showed in the current layout (i.e. if the user chooses to hide some columns, then they should not appear in the txt file ). In the alv i am using the Function Modules of the alv and not ABAP Objects.

I thought of dynamically creating the internal table, but i am not sure how to do it.

I also thaught of creating an internal table with only one field with the maximum length, but how can i check which fields are diplayed, and how can i get their values??

Please Help!!

Thank u in advance!!!