HI,
I need to display ALV list with employee details and if i double click on any of the row,then i have to display the manager details of that employee in an classical report.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IS_LAYOUT = ls_layout
T_FIELDCAT = IT_FCAT
FORM USER_COMMAND USING UCOMM TYPE SY-UCOMM SELFIELD TYPE SLIS_SELFIELD.
CASE UCOMM.
WHEN '&IC1'.
READ TABLE IT_FINAL INTO WA_FINAL INDEX SELFIELD-TABINDEX.
here i have given the select statement.. select vorna from pa0002 into lv_vorna where....
write: / lv_vorna.----
>this value should be displayed in the secondary list.
Guide me how to do???
I tried giving LEAVE TO LIST PROCESSING before the write statement.Then the data is gettin displayed in secondary list but i m unable to come back to the first screen.
I need data to be displayed in secondary list and also have to come back to the basic list.
Regards,
Kiruthi