04-10-2006 10:54 AM
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 ?
Nicolas
04-10-2006 12:30 PM
Nicolas,
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.
Regards,
Ravi
Note : please mark the helpful answers
04-10-2006 12:23 PM
Hello,
Use FM : REUSE_ALV_GRID_LAYOUT_INFO_GET to get the info back from ALV
Regards,
Naimesh.
Reward points, if it is useful..!
04-10-2006 12:30 PM
Nicolas,
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.
Regards,
Ravi
Note : please mark the helpful answers