2008 Nov 14 7:23 AM
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
2008 Nov 14 7:34 AM
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[].
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |