I am displaying a ALV in dialog module at click of some push button , now I am trying to make that ALV interactive i.e.
i want to generate new alv at the double click of some field
but it is showing some syntax error.
***************************************
*FORM user_command USING ucomm LIKE sy-ucomm
selfield TYPE slis_selfield.
FORM display_sec_grid.
LOOP AT it_ska1 WHERE saknr = selfield-value .
it_display-bukrs = it_ska1-bukrs.
it_display-saknr = it_ska1-saknr.
it_display-ktoks = it_ska1-ktoks.
APPEND it_display.
ENDLOOP.
*****************************************
field selfield-value is unknown ,it is neither specified in one of the tables nor defined by a data statement. I have given
type-pools: slis in the top