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

Get FieldCat changes after Layout is changed

nsikka
Active Participant
0 Likes
910

Hi All,

I am using REUSE_ALV_GRID_DISPLAY FM to print the ALV, now if user changes the layout. Now I have button on ALV, on click of which I want to know which all columns are hidden.

Basically i want to access the runtime Fcat. Any help?

Hi All,

I am using REUSE_ALV_GRID_DISPLAY FM to print the ALV, now if user changes the layout. Now I have button on ALV, on click of which I want to know which all columns are hidden.

Basically i want to access the runtime Fcat. Any help?

4 REPLIES 4
Read only

nsikka
Active Participant
0 Likes
872

Basically I am looking out for some method which can give me layout at runtime.

Read only

oliver_wurm
Active Participant
0 Likes
872

Hi,

have you tried function module REUSE_ALV_GRID_LAYOUT_INFO_GET ??

Regards

Oliver

Read only

Former Member
0 Likes
872

You could also try calling GET_GLOBALS_FROM_SLVC_FULLSCR which will give you the ALV instance in E_GRID parameter and then call method GET_FRONTEND_FIELDCATALOG to get the Fieldcat table.

R

Read only

nsikka
Active Participant
0 Likes
872

Thanks Rudra, It was helpful