08-05-2005 3:24 PM
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
08-05-2005 3:29 PM
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
08-06-2005 12:21 PM
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.