Hi All,
can i call the editor se38 when i click on a particular field in grid.
The requirement is I have a basic list which is displayed using reuse_alv_grid_display.
The fields of basic list are:Repname ,lineno ,function module :These fields are displayed using reuse_ alv_grid
Now when i click on repname it should go to the particular report name.
I used the following code but no use,
READ LINE sy-lilli
FIELD VALUE wa_fm-repname
wa_fm-line_no.
IF wa_fm-repname IS INITIAL .
MESSAGE s016 WITH 'Invalid Cursor position'(m03).
EXIT.
else.
CALL FUNCTION 'EDITOR_PROGRAM'
EXPORTING
display = 'X'
program = wa_fm-repname
topline = wa_fm-line_no
EXCEPTIONS
OTHERS = 1.
SET PARAMETER ID 'RID' FIELD sy-repid.
endif.
please help