Application Development 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: 

ABAP Query

Former Member
0 Kudos

Hi,

Could any one help me how to write a double click event of the ALV report which is an output of an ABAP Query?

Thanks,

Anil

2 REPLIES 2

Former Member
0 Kudos

Hi,

In ABAP query you can create report to report interface. From the change mode of the query: Goto -> Report assignment ( Choose the correct report type ).

Svetlin

former_member181959
Contributor
0 Kudos

Hi anil,

You handle dbl click event by using

At LINE-SELECTION event.

For example….

AT LINE-SELECTION.

GET CURSOR FIELD FLD VALUE FVAL.

IF SY-SUBRC EQ 0 AND FLD = 'ITAB1-KUNNR'.

PERFORM DIS_DATA.

ENDIF.

When you dbl click on a field this event will raise and verifies whether you clicked right field or not.

And the GET CURSOR statement get the clicked field and the corresponding value.

Under dis_data write the login to display the report.

Hope it helps.

Regards,

Prasad.