Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV Report

Former Member
0 Likes
749

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
707

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

3 REPLIES 3
Read only

Former Member
0 Likes
707

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.

Read only

Former Member
0 Likes
707

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

Read only

Former Member
0 Likes
708

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