Skip to Content

getting pernr value by double clicking

Hello everyone,
I m using 2 alv's with splitter and into one of them i recently add a double click feature to show selected data's details in 2nd alv. But i am not familiar with double click method so i am stuck. How do i get at least its pernr by my double clicking? Do i have to add lv_index and row in to this?

thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2016 at 09:12 AM

    Dear Eray,

    Please read the HOTSPOT functionality. Field catalog contains field of HOTSPOT name just enable it like L_FIELDCAT-HOTSPOT = 'X' for field you want to enable Mouse hover Functionality like in your case its PERNR, Meanwhile also use I_CALLBACK_USER_COMMAND parameter in REUSE_ALV_GRID_DISPLAY function.

    I hope this information will help you out.


    Muhammad Taha

    Add a comment
    10|10000 characters needed characters exceeded

    • So you weren't successful in handling event double-click, too sad. 😔

      CLASS lcl_event_receiver DEFINITION.


      * Double click ALV GRID definition



      for event double_click of cl_gui_alv_grid

      importing e_row e_column sender.

      * ...


      * Double click ALV GRID implementation

      method handle_double_click.

      case sender.

      when go_alv1.

      read table gt_alv1 index row into ls_alv1.

      " ...

      when go_alv2 .

      " ...


      * ...

      set handler go_event->handle_node_double_click for all instances.

      But how did tou handle hotspot_click event which has almost same parameters?



  • Posted on Jan 07, 2016 at 08:53 AM


    you have a lot of examples into the web and into SAP (trans. DWDM)



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.