Skip to Content
1
Former Member
Feb 26, 2009 at 05:46 PM

Setting GUI Status on CL_SALV_TABLE

13675 Views

Hi All,

I'm calling CL_SALV_TABLE in a method in the popup mode:

*    Set popup display
  lo_alv->set_screen_popup( start_column = 10
                                  end_column   = 200
                                  start_line   = 5
                                  end_line     = 30 ).

My problem is that I can't link a GUI status to this as the status can only be linked to a program, function module etc.

I have added a new GUI status to a FM in the same package but I'm getting an object not found exception.

lo_alv->set_screen_status( pfstatus = 'CTRL_POPUP'
                                report = sy-repid
                                set_functions = lo_alv->c_functions_all ).

Anybody know a workaround for this besides moving the ALV into a program and calling that from the object. I'd prefer to keep all my code in this one object if I can help it.

Cheers,

Gregor