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 fieldcat-refresh

Former Member
0 Likes
444

Hi,

I'm developing an interactive ALV in which I change layout (colors) and field catalogue (to hide some columns).

For refreshing the list while user interaction, i'm populating SELFIELD-REFRESH = 'X'. Everything is getting refreshed, but not the fieldcatalogue. So i'm not able to hide the colunmns interactively.

Please help me in this issue!

Regards,

Ravi

Hi,

I'm developing an interactive ALV in which I change layout (colors) and field catalogue (to hide some columns).

For refreshing the list while user interaction, i'm populating SELFIELD-REFRESH = 'X'. Everything is getting refreshed, but not the fieldcatalogue. So i'm not able to hide the colunmns interactively.

Please help me in this issue!

Regards,

Ravi

1 REPLY 1
Read only

Former Member
0 Likes
395

use get_frontend_fieldcatalog method for getting pevious fieldcatalog values...

then use set_frontend_fieldcatalog method for set fieldcatalog in refreshing...

ex....

CALL METHOD ref_result_display_grid->set_frontend_fieldcatalog

EXPORTING

it_fieldcatalog = lt_fcat[].

CALL METHOD ref_result_display_grid->get_frontend_fieldcatalog

imPORTING

it_fieldcatalog = lt_fcat[].