Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV GRID DATA IDENTIFICATION

Former Member
0 Likes
480

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
450

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

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
450

Hello,

Use FM : REUSE_ALV_GRID_LAYOUT_INFO_GET to get the info back from ALV

Regards,

Naimesh.

Reward points, if it is useful..!

Read only

Former Member
0 Likes
451

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