2006 Dec 20 1:01 PM
Hi,
I have developed a ALV report using OO ABAP.. In one of the column, I need to implement in such a way that when I double click on any of the values in the column, need to navigate to other program.
Pls help how to acheive this.
Thanks
Ram
2006 Dec 20 1:08 PM
Hi,
Refer
<b>BCALV_GRID_03 and BCALV_GRID_02</b>
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=22036%20
Suggest you to <b>Search in SDN with key - Double Click</b>Will get few more useful related Posts.
Reward points if this Helps.
Manish
Hi,
I have developed a ALV report using OO ABAP.. In one of the column, I need to implement in such a way that when I double click on any of the values in the column, need to navigate to other program.
Pls help how to acheive this.
Thanks
Ram
2006 Dec 20 1:05 PM
Hi
Use the event double click
e.g
handle_double_click FOR EVENT <b>double_click OF cl_gui_alv_grid</b>
IMPORTING e_row e_column.
Inside the Method for this you can specify what logic you want to do.
e.g
METHOD handle_double_click.
REFRESH i_rsparams.
READ TABLE i_final INTO wa_final INDEX e_row-index .
wa_rsparams-selname = 'DOCNUM'.
wa_rsparams-kind = 'S'.
wa_rsparams-sign = 'I'.
wa_rsparams-option = 'EQ'.
wa_rsparams-low = wa_final-docnum.
APPEND wa_rsparams TO i_rsparams.
CLEAR wa_rsparams.
SUBMIT rseidoc2 WITH SELECTION-TABLE i_rsparams
WITH credat IN s_date
AND RETURN.
ENDMETHOD.
2006 Dec 20 1:06 PM
Hi,
You will have to declare a class and impmenet it , this class will be used to handle events . Now in the menthod to handel double click write the code to acheive the desired operation.
Regards
Arun
2006 Dec 20 1:08 PM
Hi,
Refer
<b>BCALV_GRID_03 and BCALV_GRID_02</b>
http://www.sapfans.com/forums/viewtopic.php?t=11601
http://www.sapfans.com/forums/viewtopic.php?t=22036%20
Suggest you to <b>Search in SDN with key - Double Click</b>Will get few more useful related Posts.
Reward points if this Helps.
Manish
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |