Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A


Hi all,

I am using FM : REUSE_ALV_GRID_DISPLAY to set up an ALV list.

I have added a button to export the data to a particular format of text as a *.txt document.

I cannot find out how to identify the data that is actually on the screen.

I explain, if I have 5 colums and that I hide 3 of them, when I export to excel, I only get the two remaining colums.

I would like to acheive the same data extraction to send to my txt file.

Has anyone got an idea ?


Former Member
Former Member replied


The function REUSE_ALV_GRID_LAYOUT_INFO_GET will give you back the modified field catalog with the changes you have done. So the NO_OUT parameter will be set for the fields you have hidden.

Identify those fields and transfer only those fields data into another internal table and export the data.



Note : please mark the helpful answers

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question