Skip to Content
0
Oct 06, 2006 at 12:10 PM

FUNCTION 'REUSE_ALV_GRID_DISPLAY' - Fieldcat modify in user_command?

115 Views

Hi,

with ALV function call, is it possible to modify the field catalog when processing the event form 'USER_COMMAND'?

The reason:

Before calling the display, I generate the field catalog. Then I set all unpopulated columns (field is initial in all lines) to 'TECH'. So I see only 'active' columns.

Now, the user can do some interaction which will change the lines values. In event routine for 'USER_COMMAND, I set the selfield-refresh = 'X'.

But now, for some fields, I want to remove the 'TECH' attribute of the field catalog because they get populated.

How to achieve this?

Regards,

Clemens