Skip to Content

ALV Event USER_COMMAND

Hi All,

I have a very basic question regarding events in ALV reports.

To perform user action on row of a ALV we use the event USER_COMMAND,this is in turn a form routine.This form implementation we need to declare in program level as below.

form USER_COMMAND using r_ucomm like sy-ucomm
                           rs_selfield type slis_selfield.

end from.

Now my doubt is, how to get to know all possible parameters( Above case Sy-Ucomm,slis_selfield)?

I searched in forum but couldn't get answer my question.

Can any one clarify my doubt.

Thanks

Naresh Bammidi

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    May 25, 2015 at 06:18 AM

    Hi Naresh,

    To check parameters of the IT_Event you can open the FM : REUSE_ALV_GRID_DISPLAY in display mode => goto Import Section now you can click on long text of the paramter IT_EVENTS.

    Here you will find the forms & their corresponding paramters.

    Regards -

    Vishal


    it_event.JPG (59.6 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 25, 2015 at 06:22 AM

    Hi,

    SY-UCOMM is your user action which you are going to perform on the ALV output screen

    SLIS_SELFIELD --- as you know,if you observe the structutre SLIS_SELFIELD you can find the possible activities you can do in ALV output.

    If you want brief you can read documentation for EVENTS IN ALV function module .

    Regards

    Mano

    Add comment
    10|10000 characters needed characters exceeded