How to identify which ALV triggered event in split ALV

Hi all,
I'm using a split ALV like this:
CREATE OBJECT ob_custom
  EXPORTING
    container_name = 'CONTAINER'.
CREATE OBJECT ob_split1
  EXPORTING
    parent      = ob_custom
    orientation = cl_gui_easy_splitter_container=>orientation_vertical.
CREATE OBJECT ob_grid1
  EXPORTING
    i_parent = ob_split1->top_left_container.
CREATE OBJECT ob_grid2
  EXPORTING
    i_parent = ob_split1->bottom_right_container.
I want to trigger double_click event:
CREATE OBJECT ob_event.
  SET HANDLER ob_event->handle_double_click FOR ob_grid1.
  SET HANDLER ob_event->handle_double_click FOR ob_grid2.
The problem is I don't know how to identify in which ALV the user double_clicked.
Is there solution?
Thanks in advance

The trick is (just to help others):
CLASS lcl_event_receiver1 DEFINITION.
ENDCLASS.                    "lcl_event_receiver DEFINITION
CLASS lcl_event_receiver1 IMPLEMENTATION.
ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
CLASS lcl_event_receiver2 DEFINITION.
ENDCLASS.                    "lcl_event_receiver DEFINITION
CLASS lcl_event_receiver2 IMPLEMENTATION.
ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
and for data declaration:
DATA: ob_event1  TYPE REF TO lcl_event_receiver1,
      ob_event2  TYPE REF TO lcl_event_receiver2.
and then:
CREATE OBJECT ob_event1.
SET HANDLER ob_event1->handle_double_click FOR ob_grid1.
CREATE OBJECT ob_event2.
SET HANDLER ob_event1->handle_double_click FOR ob_grid2.
Thanks a lot kiran kumar!
Edited by: orgasmics on May 11, 2010 1:56 PM

Similar Messages

  • How to identify which videos

    I took a dozen or so short clips of an event. I know which three I want to combine and edit. But I can't figure out how to identify which they are in imovie in order to put those clips in my project. It shows them all as consecutive clips or frames, without file numbers or names.

    I'll try to explain better.
    A dozen clips or videos, 1 min to 5 min in length. In one case all along a mountain road.
    I want to produce a 5 min project or video with the best parts of 3 of those 12.
    All 12 have thumbnails almost identical (the dashboard across the bottom, roof line at the top)
    I only want to start editing the 3, not put all 12 in.
    How do I identify those 3?

  • How to identify which is rootsite/webapplication url and which are site collection url ?

    How to identify which is rootsite/webapplication url and which are site collection url underneath of web application using powershell script in following code?
    # Get site objects
    $webapplication = Get-SPWebApplication $siteUrl
    # Walk through each site in the site collection
    foreach($site in $webapplication.Sites)
    foreach($subWeb in $site.AllWebs)
    $_ = AddLevel123($subWeb.Url)

    Hi,
    Hope you wanted to know which API is Site collection (SPSite) and Sub site(SPWeb) 
    $webapplication.Sites = Site Collection (SPSite)
    and $site.AllWebs = Subsite (SPWeb)
    and see these links - to get webApplication URL
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/e223b607-ab35-454a-a050-1db3005687e5/spwebapplication-url?forum=sharepointdevelopmentlegacy
    SPSite Url - SPSite.Url (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spsite.url.aspx)
    SPweb URl - SPWeb.URL (http://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.spweb.url.aspx)
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b4dfb645-69f4-4abd-947c-64ca42af3a26/script-to-get-list-of-sites-and-subsites
    Hope this helps!
    MCITP: SharePoint 2010 Administrator
    MCTS - MOSS 2007 Configuring, .NET 2.0
    | SharePoint Architect | Evangelist |
    http://www.sharepointdeveloper.in/
    http://ramakrishnaraja.blogspot.com/

  • How to identify Which function modules are used in the planning area?

    Hi all,
    there are couple of function module derviation is used to derive the calendar year, month, fiscal period etc.
    But how to identify which function module is used in which planning area?
    I cant find out from the where used list from function modules?
    Thanks
    pooja

    Hi Pooja,
    Go to characteristic relationship tab,click on detail icon on extreme left of the derivation,there you will get the name and the details of function module used for derivation.
    Regards,
    Indu

  • How to identify Which ports are using in RAC setup?

    Hi,
    how to identify Which ports are using in RAC setup?
    Thnaks,

    [Viewing Port Numbers and Access URLS|http://download.oracle.com/docs/cd/B19306_01/install.102/b14205/ports.htm#sthref1208]

  • How to identify which DC to modify?

    I need to change the iView u201CChange Own Datau201D in ESS.
    ESS -> Employee search -> Change Own Data
    How to identify which DCs to modify in development configuration?
    Greatly appreciated for any comment/suggestion!

    Hi,
           The purpose of each DC is modifying different Iviews (Ex:you need to modify Change Own data like that some other needs to change some other Iview may be this Iview will be present in another DC).
    based on our requirement we need to modify different different DCs.
    yes you need to modify in the DC as i mentioned..
    Regards,
    Anil.

  • How to identify which key figure will the numeric pointer for deltas?

    Hi All,
    I have created a numeric pointer for generic extraction ? but how to identify which key figure will the numeric pointer will use for deltas ?
    how to identify the key figures which is suitable for numeric pointer. And the generic extraction is based upon the copa table?
    Can anyone suggest me how the numeric pointer works and how to identify deltas are carried out at numeric pointer?
    Thanks
    Pooja

    Pooja,
    If you are using a generic extractor which is based on COPA table, then numeric pointer may not be the suggested delta extraction mechanism. 
    A time stamp would be the better one to use.  In a time stamp, you can give a lower limit value of 300 seconds.. so that it will try to fetch the missed records.
    Moreover, a delta would be based on a character, preferably a time char.
    In your requirement, try to figure out the character on whichdeltas will be based.
    Sasi

  • How to identify which record(s) the user hasbeen checked

    i have a internal table in which first field is represented as check box in the output .
    like bellow
      loop at g_it_final into g_wa_final.
            write : 5 sy-tabix ,
                   20 g_wa_final-g_v_check as checkbox,
                   25 g_wa_final-TRKORR,
                   40 g_wa_final-AS4TEXT.
      endloop.
    now the user will select some records from the output checking the check box
    NOW the QUESTION is
    how to identify which record(s) the user hasbeen checked(selected) ?
    so that i can disply only the selected records in the secondary list.

    Hi,
    You will have to use the 'READ LINE' command within a loop to retrieve the data back into your program.
    You may want to use the HIDE command to ease the retrieval of the checkbox value.
    Check out the online help for both of these.
    Darren

  • How to identify which Internal order type is relevant for Budget manager

    Hi,
        How to identify which Internal order type is relevant for Budgeting i.e Budget Manager.
    regards,
    Rajesh

    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control
       in which it is defined whether mail be sent to budget manager against the budget profile(budget profile is assigned to order type).
    controlling-internal orders-budegeting and availability control -define tolerance limits for availabilty control-maintain budget manager
    here budget manager is assigned to  order type
    assign me points if it is useful

  • How to identify which applicarion is using the DVD burner?

    How to identify which applicarion is using the DVD burner? Ot is not allow me to burn the DVDs genetrated in the Final Cut 7

    I think you'll find that the application is Final Cut Pro...  the message is bug.  I get a similar message when disconnecting external drives after using them with FCP (even when the project is no longer loaded.)
    As I mentioned above, the accepted workflow is to export the sequence to one of your hard drives using the Export>QuickTime Movie path with Settings:Current Settings and Make Movie Self-Contained checked like this:
    This gets you a high quality "master copy" which you open in Compressor for transcoding. You should use the DVD: Best Quality setting for the duration of your movie.
    this gets you the high quality MPEG-2 and AC-3 files for DVD Studio Pro authoring.
    If you've never used DVD Studio Pro before, you can use iDVD instead. For iDVD, you just drag and drop your "master" on iDVD and it takes it from there. Both make a very professional product.
    hope this helps.

  • How to identify which root certificate is used?

    How to identify which root certificate(on terminal) is used when a terminal is connecting to a https website?
    SecurityInfo.getServerCertificate() only returns the certificate send from the https server.
    But how could know the which local root certificate is used to verify the certificate send from the https server?
    Is there a method or class in MIDP 2.1?
    Thanks

    UP�Cthis question is urgent. Hope anyone can answer me!

  • How to identify which UIComponent fired an event?

    Dear kind sirs...
    I am writing a JSF application using JDeveloper 10.1.3.4, I am using only JSF Core & JSF HTML...
    What I am doing is defining say 2 or 3 buttons at runtime (HtmlCommandButtons), all having the same handler. It is working perfectly fine. However, I can't identify which one is firing the event.
    the code that generates the two buttons is as follows:
    HtmlCommandButton CB=(HtmlCommandButton) FacesContext.getCurrentInstance().getApplication().createComponent(HtmlCommandButton.COMPONENT_TYPE);
    CB.setValue("T1");
    CB.setId("T1");
    *MethodBinding mbButton = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{backing_Admin_designpage.doit}",null);*
    *CB.setAction(mbButton);*
    *U.getChildren().add(CB);*
    *CB.setRendered(true);*
    *HtmlCommandButton CB2=(HtmlCommandButton) FacesContext.getCurrentInstance().getApplication().createComponent(HtmlCommandButton.COMPONENT_TYPE);*
    *CB2.setValue("T2");*
    *CB2.setId("T2");*
    *MethodBinding mbButton = FacesContext.getCurrentInstance().getApplication().createMethodBinding("#{backing_Admin_designpage.doit}",null);*
    *CB2.setAction(mbButton);*
    *U.getChildren().add(CB2);*
    *CB2.setRendered(true);*
    finally the method is:
    *public String doit(){*
    *System.out.println("Hello");*
    *return null;*
    of course I can bind a separate method for each button, but I don't want to, I want this one event handler to do it for me.
    and idea?
    thanks in advance.

    Hi,
    define an actionListener either instead or addition to the action. The ActionEvent passed into this method has a getSource method that points to the UI component instance invoking it
    Frank

  • How to Identify which Source Row is causing a slowdown in the Indexing?

    Every so often the Indexing seems to hit a wall and we gaet a huge backlog of text files that need to be indexed. We get about 2 to 3 million files per day. Most of the time the problem gets resolved when we increase the degree parallel. How can we identify which text file is causing the problem?
    Regards

    I wonder if the problem is becuse of some bug when the DR$PENDING gets to zero rows. Apparently this causes the query on CTX_USER_PENDING to take a long time. I use that view to determine the partitions to pass to SYNC_INDEX procedure.
    select
    pnd_partition_name
    ,count(*)
    from ctx_user_pending
    where pnd_index_name = '<index_name>'
    group by
    pnd_partition_name
    /This takes about 5 seconds for tow rows with 335 and 13 rows.
    Tables DR$INDEX, DR$INDEX_PARTITION and DR$PENDING have had Statistics gathered
    This query has taken over 45 minutes.

  • How to identify which server are connected in a switch?

    Hi,
    Many servers are connected to a switch?
    How to identify what server are connected to which port remotely?
    Thanks!
    Samuel

    Hi Sam,
    just issue the command show ip arp , it will display some thing like this for know the MAC address & the VLAN number.
    Protocol Address Age (min) Hardware Addr Type Interface
    Internet 10.2.1.18 9 0800.6913.710e ARPA Vlan2
    to know on which port it is connected, just issue the command as mentioned below
    sh mac-address-table address 0800.6913.710e
    Mac Address Table
    Vlan Mac Address Type Ports
    2 0800.6913.710e DYNAMIC Po1
    hpe this will help you to identify your servers.
    rate this post.

  • How to identify which trace file is your backup controlfile trace in udump

    I have a 10.2.0.3 database on unix.
    I want to setup a job to run a script every night to backup the controlfile as text format.
    such as "alter database backup controlfile to trace".
    How my script can identify which trace file is the one just created for backup controlfile and copy the file to a backup disk?
    Thanks a lot!

    I thought it's
    alter database backup controlfile to trace as 'absolute path of any file where you want the control file in clear text format ';
    for ex. in Windows..
    alter database backup controlfile to trace as *'c:\temp\create_ORCL_control.sql'*;
    This way you will know where your job is going to backup controlfile to trace

Maybe you are looking for

  • File from AIX to AS/400 via FTP

    Hi, i need to transfer a file as it is from AIX to AS/400. Doing that with WS-FTP works fine. So i set up a scenario in XI, getting the file from the AIX with NFS and putting the file to the AS/400 with FTP. The runtime workbench tells me that everyt

  • 500 Internal Server Error when including a JSP within a Report JSP

    Hello, Please help me. Thanks in advance. My setup is entirely 10g. (Database, Application Server - Infra, OC4J etc) When i am trying to include the content of a normal JSP within a Report JSP, i am getting an Internal Server Error. Am attaching the

  • Vague error message when using wildcards in a numeric search field

    Dear forum readers, When a user submits a search string containing a wildcard (e.g. 64%) in a numeric search field of a JHeadstart generated search section, the application returns with an error message like "For input string: %2". I'd like to show a

  • Max function coupled with string concat....please help...

    Dear All, I do have to solve one query which requirement is below : Basic data in table looks like this: SEQ NO PCode Last_updated_date 1     AA 1-Feb-2008 1     Ab 2-Jan-2009 1     Ac 3-Jan-2009 2     AA 5-Jan-2009 2     AD 31-Dec-2008 2     AF 31-O

  • Simple Slide Show  makes all photos landscape. Why?

    I am trying to make a simply slide show and all photos are incorporated in "landscape" mode no matter whether they were taken in the usual landscape orientation or in a "portrait," or vertical, orientation. So all the portraits of people where the ph