2015 Dec 15 7:23 AM
Hi all,
I have an ALV with a header. I need call a form when double click on a field of header.
How can I do?
Thanks a lot.
Paola
2015 Dec 15 10:01 AM
Hi Paola,
If it is developed using classes, there are classes and events for handling the same. Please do search in the forum. I believe there are many threads on the same.
Regards,
Vijay
2015 Dec 15 11:04 AM
Hi Vijay,
I 've already implemented the double click for alv using classes,
but I have no idea which is the correct classe for catch the double click in the header.
Thanks anyway.
Paola
2015 Dec 15 11:07 AM
hi paola,
can you little bit explore.
what you want to do if you double click on header??
some more clarification is needed..
BR.
mahesh
2015 Dec 15 11:24 AM
Hi Mahesh,
now, when you click on a row of ALV, I perform this code:
CLASS event_class IMPLEMENTATION.
METHOD handle_double_click.
DATA : ls_dd02l LIKE LINE OF gt_zob_dibapdf.
READ TABLE gt_zob_dibapdf INDEX e_row-index INTO ls_dd02l.
IF sy-subrc EQ 0.
DATA: zz_comp(18).
MOVE LS_DD02L-ZDB_MAT TO zz_comp.
CLEAR t_spart.
SELECT SINGLE spart INTO t_spart FROM
mara WHERE matnr = zz_comp.
MOVE '\\obdoc\ARX_Connettori\Hvr.Af.ViewdocWS.exe' TO programma.
MOVE zz_comp TO commandline.
PERFORM query USING programma.
PERFORM execute USING programma.
ENDIF.
ENDMETHOD.
I need, to do the same thing when you click on "materiale" in the header of ALV.
But I need to receive the material code from the header and perfrom my form.
thank you very much.
Paola