2008 Feb 25 6:49 AM
Hi,
I have to display 2 grids .The second grid should be displayed on hitting 'Enter' after the display of the first grid.
How to do it..Kindly help..
Thanks..
Hi,
I have to display 2 grids .The second grid should be displayed on hitting 'Enter' after the display of the first grid.
How to do it..Kindly help..
Thanks..
2008 Feb 25 7:18 AM
hi
if u r using case sy-ucomm, do this,
CASE SY-UCOMM.
WHEN ' '.
(write ur code for second alv)
ENDCASE.
Hope this helps u,
Regards,
Arunsri
2008 Feb 25 7:25 AM
2008 Feb 25 7:26 AM
Renu,
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = ws_repid
i_callback_pf_status_set = 'GUI_STAT'
i_callback_user_command = 'STAT'
is_layout = gs_layout
it_fieldcat = i_fieldcat[]
TABLES
t_outtab = i_zaw_pol_plan.
FORM stat USING r_ucomm LIKE sy-ucomm rs_selfield TYPE slis_selfield.
DATA selfield TYPE slis_selfield.
CASE r_ucomm.
**--When EnterButton Pressed
WHEN '&NTE'.
call your second grid.......
ENDCASE.
ENDFORM.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |