‎2006 Feb 01 12:13 PM
Hello Gurus,
Can any one please send me threads or docus for 'Interactive ALV'.
Regards,
Sumanth.
‎2006 Feb 01 12:16 PM
‎2006 Feb 01 12:16 PM
‎2006 Feb 01 12:16 PM
‎2006 Feb 01 12:21 PM
‎2006 Feb 01 1:26 PM
Thanks for all your response!!!
Now i come out with the prob..
Iam trying to display 2 ALVs; the basic alv (REUSE) has material# and some more fields. On double click of a particular matnr, iam trying to display another alv (REUSE) with further details of the matnr selected. This is working fine.
But, once the user comes back form the secondary dispaly and selects some other matnr there some going back to secondary grid....below is the code, kindly suggest on this...
BASIC ALV
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'XYZ'
i_callback_user_command = user_command
it_fieldcat = t_fieldcat_lvc[]
TABLES
t_outtab = it_material[]
EXCEPTIONS
program_error = 1
OTHERS = 2.
**********************************************
SECONDARY ALV....
FORM user_command USING r_ucomm LIKE sy-ucomm
p_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
IF p_selfield-sel_tab_field = 'IT_MATERIAL-MATNR'.
PERFORM display_alv_output USING p_selfield-value .
ENDIF.
ENDCASE.
ENDFORM. "user_command
****************
FORM display_alv_output USING p_value.
DATA :it_display1 LIKE it_display OCCURS 0.
MOVE it_display[] TO it_display1[].
DELETE it_display1[] WHERE matnr NE p_value.
IF it_display1[] IS INITIAL.
EXIT.
ENDIF.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = 'XYZ'
it_fieldcat = t_fieldcat_lvc[]
TABLES
t_outtab = it_display1[]
EXCEPTIONS
program_error = 1
OTHERS = 2.
ENDFORM. " DISPLAY_ALV_OUTPUT
‎2006 Feb 01 1:32 PM
Hi,
module USER_COMMAND_9001 input.
CASE sy-ucomm.
when 'BACK'.
set screen '0'.
leave screen.
ENDCASE.
endmodule. " USER_COMMAND_9001 INPUT
Kindly reward points by clicking the star on the left of reply,if it helps.