Skip to Content
0
Mar 12, 2010 at 04:06 PM

Hiding empty columns in ALV

538 Views

Hi all,

I want to hide some columns in ALV which are empty on display when calling

cl_gui_alv_grid->set_table_for_first_display

That is to say the internaltable will contain empty columns.

I know that using the "no_out" attribute of field catalog we can hide columns.

But the question is how to find these columns which are empty - should I have to loop through the itab to find it out OR

Can we set it in ALV LAYOUT or field catalog attributes so that it wont display empty columns.

any help is appreciated....

Thanks

P

Edited by: pazzuzu on Mar 12, 2010 5:14 PM