Skip to Content
0
Former Member
Feb 06, 2008 at 03:21 PM

ALV Grid: dynamic/new fields by default hidden when using a layout

309 Views

Hi,

I have an ALV Grid whose field catalog partially contains dynamically generated fields (i.e. columns) like "_200802" for months.

Furthermore, I have set a default layout to enforce an excel inplace view with a specific template.

However, it seems that all dynamic columns that were not present at the time the layout was saved, are automatically hidden and have to be "unhidden" manually. Whenever a "new" month is to be displayed, it is hidden.

Is there a way either to declare field catalog entries as obligatory (i.e. a quasi opposite of NO_OUT) or tell the stored layout to change its behavior regarding unknown columns?

A possible workaround might be to call the set_frontend_fieldcatalog at an appropriate event after the initial grid creation..?

Thanks for your ideas,

David