OO ALV hotspot creation not working with Multiple Methods.

Hi,
I create a Test Report for Hotspot creation - It works. Code is  as -->
class my_event_handler definition.
  public section.
  methods :
  handle_hotspot_click for event hotspot_click of cl_gui_alv_grid importing e_row.
  endclass.
  class my_event_handler implementation.
    method handle_double_click.
      read table itab index e_row-index into wa.
      if sy-subrc = 0.
       set PARAMETER ID 'ANR' FIELD order
call transaction IW33.         
endif.
  endclass.
BUT - When I take multiple methods in PUBLIC SECTION. & Call it from START-OF-SELECTION the HotSpot is NOT WORKING
CLASS get_details DEFINITION.
  PUBLIC SECTION.
    METHODS:  data_gathering,
              display_alv.
              handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid IMPORTING e_row .
  PRIVATE SECTION.
    CLASS-METHODS: get_data,
                   merge_data,
                   set_header IMPORTING er_table TYPE REF TO cl_salv_table,
                   set_coloum IMPORTING pr_columns TYPE REF TO cl_salv_columns_table.
ENDCLASS.       
CLASS IMPLEMENTATION - IS SAME AS ABOVE.
START-OF-SELECTION.
  CREATE OBJECT lr_details.
  lr_details->data_gathering( ).
  IF gi_final IS NOT INITIAL.
    lr_details->display_alv( ).
*    lr_details->handle_hotspot_click( EXPORTING row = ?  ).  " What to take?
  ELSE.
    MESSAGE 'No Data for the Selection Critaria' TYPE 'S' DISPLAY LIKE 'E'.
  ENDIF.
How get Hotspot in this Case, Do I need to take the Method in START-OF-SELECTION ?
if YES - then what to Export ? If NO - then how to create Hotspot in this case?

Thanks Neil. Now it's working.
For this One line clue - I really searched a lot.
Thank you so much.
If checking this link For Reference -->
Search 'SET HANDLER' in Google for sample programs.
* Before Class Defination
CLASS get_details DEFINITION DEFERRED.
DATA: event_receiver1  TYPE REF TO get_details,
* At the End of Method display_alv (Check question for Methods)
CREATE OBJECT event_receiver1.
SET HANDLER event_receiver1->handle_hotspot_click FOR ALL INSTANCES.

Similar Messages

  • Why is scrolling not working with multiple youtube embeds layed out vertically in a stack on one page?

    Why is scrolling not working with multiple youtube embeds layed out in a stack on one page?

    Hi ,  
      This is a sort of performance issue , because your program takes more than the max time set for the program to execute in foreground.
    There are many stuff in program which will hamper your performance.
    I will list down a few
    1. SELECT *
    FROM konp
    INTO CORRESPONDING FIELDS OF TABLE konp_itab
    FOR ALL ENTRIES IN a363_itab
    WHERE knumh EQ a363_itab-knumh
    in this statement you are using for all entries a363_itab , but before this statement you are not checking if the table has any entry or not , please do remember that for all entries has this characterstic , that if you internal table does not contain any record , then all the records are selected from the database table. So in this case if you table a363_itab is empty , so what you want is no data must be seelcted from table konp , but what will happen is all the records in KONP will be seelcted.
    2. While retreiving data you are using seelct * even though you do not require all the fields , an example is
    <b>SELECT *
    FROM mkpf
    INTO CORRESPONDING FIELDS OF TABLE mkpf_itab
    FOR ALL ENTRIES IN mseg_itab
    WHERE mblnr EQ mseg_itab-mblnr.</b>
    in this your internal table contains only 2 fields
    <b>mblnr LIKE mkpf-mblnr, "Number of Material Document
    bldat LIKE mkpf-bldat, "Document Date in Document</b> , but to get these 2 fields you are selecting all the fields of the table.
    3. In select you are using into corresponding fields of table , it is not a good practice., so please avoidd it.
    Please understand that you must try to reduce the access to your database tables and try to keep it minimal , because this same thing may happen becasue data in DEV is very less compared to the volume of data in production , so a program working in DEV will take much more time in PRD if not written properly and may result in timeouts , as in your case.
    Please try to make chanegs to the prorgam and see if it works.
    In case you have more queries , please do revert back.
    Regards
    Arun
    *Reward points if replay is helpful

  • HT3574 The personal hotspot is not working with me and I did not fine the icon for iphone 4 version 5.1.1

    The personal hotspot is not working with me and I did not fine the icon for iphone 4 version 5.1.1

    Check with your carrier or telephone service provider.  Not all carriers provide this service.

  • Why wifi hotspot is not working with Iphone4S? but with many other friends its working fine.

    My wifi hotspot is not working on my Iphone4S

    Thanks deggie for replyng.
    Actually on my phone personal Hostpot won't turn on. it say contact your service provider. But I could connect to other phone's wifi easily. On of my friends has the same iphone but he could easily turn on personal hotspot and he is using the same carrier "vodafone". Also he has not contacted to vodafone to unable this setting.
    only difference is that he purcahsed iphone 2 months back and mine is 10 months old. but its the same Iphone 4S

  • Search not working with multiple select in dropdown field

    Hello,
    Please first visit below site for searching form on left side.
    http://diventarepartner.unicaimmobili.com/home-page_copy_dynamic
    There is a field called Tipologia which is dropdown menu with checkbox (multiple select). Choose more than one checkbox and its automatic append with comma in text field which is customized using javascript. Now then if you submit button then its not working as our products.
    Now for this there is a custom field in admin in web apps items. This field is same for all items and values are different for all items like that which you can see above dropdown checkboxes value.
    Now my question Is it possible that for that one field in admin which has different value for different items and when i search from website and checked that cehck boxes and it search for all different items ??
    For example in admin suppose 2 items which has different value for that one field. Suppose one has value called Appartamento and other is Villa. Now from search form which is on website, that dropdown checkboxes, if i select these two values (Appartamento and Villa) from these and then search, it will display that both items from web apps ???
    Is it possible ??? Can you help me for this ???
    Waiting for reply. Thanks in advance.

    Your link doesn't work. Do you mind reporting it?

  • H:inputtext not working with multiple forms in JSF2.2

    h:inputText is not working in the latest JSF2.2 with multiple forms. I have 2 forms
    form1 have: one command button and one input text
    form2 has: one input text and one output label
    on click of command button in form1, i am rendering the form2(both outputlabel and input text).
    but only output label is rendered properly with correct values (corresponding getter method gets called and value is displaying) but the input text is not calling the corresponding getter method hence showing null.
    Note: we noticed this issue only if we use multiple forms, within single form its working fine. also it worked fine in JSF2.0
    Version used: JSF api - 2.2 (com.sun.faces) JSF impl - 2.2 (com.sun.faces)
    let me know if anyone have solution to handle this.
    the forms are not nested and both the beans are in View scope.  
    <h:form id="form1" prependId="false">
    <a4j:commandLink id="actionEdit" title="Click" action="#{bean.action}" 
    render="paymentInstructionDetail" styleClass="iconLarge edit" />
    </h:form>
    <h:form id="form2" prependId="false">
      <a4j:outputPanel ajaxRendered="true" id="paymentInstructionDetail">
      <h:inputText value="#{bean1.amount}" id="sample"/>
      <h:outputLabel value="#{bean1.amount}" id="sampleLabel"/>
     </a4j:outputPanel>
    </h:form>

    Your link doesn't work. Do you mind reporting it?

  • Phpvirtualbox not working with multiple servers

    Hi,
    I have been working on phpvirtual box 4.1-7 for quite some time now. I was initially using it in windows 7 but when I wanted to access multiple serves through it, it did not work. Later I shifted to ubuntu and here also when i want to work using multiple servers it is not working. The error shown is "error connecting to vboxweb srvice". Even if i specify the ip address of the same host(i.e.localhost not 127.0.0.1 but 192.168.*.*) it shows the same error.
    Pleas eadvise as to what I could be doing wrong. I am using ubuntu natty.

    Hi,
    thanks for the reply. I am running the vboxwebsrv otherwise the phpvirtual box will not run at all right? And I am trying this on windows 7 also. Right now it is working if I run two or more instances on localhost as different users with different port but it does not work if i specify some ip. And the error is always could not connect.

  • Network Locations not working with Multiple SSIDs

    I've had a MacBookPro 15 for three years.  Started with 10.5 and upgraded to 10.6.  I just received a new MacBookPro 15 with Lion 10.7.
    The Issue:
    On 10.5 and 10.6 I use multiple network locaitons.  One for work, one for Home and one for Roaming.  I have a "Work" SSID at work and at Home.  I also have a "Home" SSID at home.
    So basically, when I'm home I can select "work" to be on my hardware VPN router and connect directly to the office.  Then, when I'm not working, I can switch to the "home" location and automatically connect to my home network and not have big brother watching me surf the web.
    In 10.7 this no longer works.  All of the WIFI settings are them same in both locations.  When I'm on "home" I add the SSID for home and it connects.  I then turn off the wifi and switch locations (same as I do in 10.6).  Then I turn WIFI back on, and it connects to my home SSID.  I go to the wireless settings, and add the work SSID and delete the home SSID.  I shut off wireless, change back to home and turn it back on.  I go to wireless settings, and the only SSID is the one I added under the work location.
    Has anyone else seen this change in behavior?
    Dan

    I prefer to continue the way I've been using it for 3 years rather than switch now.  The work location has the WIFI adapter as primary so that the default gateway is the wifi network even if I have a network cable plugged in.  This allows me to use my "work" network, but I can still share content with my local home network and also print to my local printer (not on my work network).
    So, this solution really doesn't work for me.  And yes, I know you can only connect to one at a time, but  again, those are not the only settings that I change when switching locations.  Those are the only settings that are broken.
    Dan

  • Queries not working with multiple bind position variables?

    still need help here - can anyone provide any direction?
    (note: this is a follow-up from prior topic, " How to use JDBC Positional Binding Style & ExecuteWithParams?")
    I created two simple view objects off of the same entity
    object to perform this test:
    #1 - ViewObject with one bind position variable - where clause: where id > ?
    #2 - ViewObject with two bind position variables - where clause: where id > ? and id < ?
    I created two separate .jspx pages, view1.jspx (one input field) and view2.jspx (two input fields), for each view object by dragging ExecuteWithParams operation onto the JSF page.
    The .jspx page with one input field works (returns result sets.) The view2.jspx page with two input fields does not work - the query does not return any result sets (no errors produced, it just does not return any rows) - I've tested my query outside of jdeveloper and it works fine. I also tried switching my inputs to make sure I did not have an illogical query (i.e., id >100 and id< 1).
    Is there anything different / extra I need to do to use two bind position variables?
    Everything in this simple test was identical except for using 2 input variables versus 1.
    Technology stack is: jdeveloper 10.1.3, jsf/ADF BC, mySQL 5.01
    Message was edited by:
    javaX

    Using the where clause: "where id > ? and id < ?” for the 2 input variables, I get the same result - no row results returned (though query works outside the browser.)
    Interestingly, I modified the where clause to “where between ? and ?”, and then used values of ‘1’ and ‘100’ to test. Using the BC4J tester, the query gave back a single row with id = 100 (should have brought back 100 rows because there are 100 records with id’s 1-100.) So I got it to return something, but not the right results. This makes me believe that a different query is being sent to MySQL other than what I'm expecting from what is shown in the SQL Statement of the View Object..
    Is there anyway to view what SQL statement is actually being sent to the database using the BC4J tester? Also, could this be an issue related to the mySQL connector drivers and JDeveloper? I’m using mysql-connector-java=3.1.11-bin.jar (10/10/2005)? First though, if I could see what query is actually being sent, this may help me to debug and figure out the problem.

  • ALinks not working with multiple subhelpsets

    Greetings,
    We are developing a help directory structure where our master helpset resides at the top, and then there are several subdirectories (sometimes multiple levels) that contain subhelpsets and the actual help content. We are using OHJ 4.2.1.
    Three of the four subhelpsets listed in our master helpset have defined associative links (alinks) in link files similar to...
    <linkitem topic="Test-2">
    <linkentry target="xyzacXX2" text="Whatever" />
    </linkitem>
    The problem is that only the alinks defined in the last subhelpset in our master helpset is listed when the user clicks on the links. We've tried re-arranging the order of the subhelpsets in the master helpset file, and it is always the last subhelpset's alinks that are displayed.
    Is there a problem with alinks and multiple subhelpsets? Do we need to add additional information to the master helpset file? In the documentation, it mentions the optional class parameter in the <linkref> element. Would the class parameter help in this situation.
    thanks,
    Elizabeth Dyer.

    Hi, Elizabeth. I see the problem you're talking about and concluded that merging associative links between subhelpsets is not supported. Whether it should be supported is somewhat debatable, but the easy workaround is to use an associative links file with your master helpset. This link file would just include all the associative links you define in your subhelpsets. Something like the below ought to work.
    - Ryan
    <link version="1.0">
    <linkitem topic="Test-1">
    <linkentry target="nnmacX1" text="Chapter Template" />
    <linkentry target="fwHOHtoc" text="Table of Contents" />
    <linkentry target="fwGSoptUser" text="Setting User Options" />
    </linkitem>
    <linkitem topic="Test-2">
    <linkentry target="nnmacXX2" text="Whatever" />
    <linkentry target="fwHOHsearch" text="Full-Text Search" />
    <linkentry target="fwGSoptPortal" text="Setting Portal Options" />
    </linkitem>
    </link>

  • Why does Flash not work with multiple user-accounts on a single PC?

    Running XP-Professional (MediaCenter), SP3 and using IE 8, NIS 2010 (disabled during the installation of FP), 3 different user accounts on a single PC
    As user A (admin) installed FP ver.  10.0.45.2, and it works fine under the admin account, however, when logging-on as user B.  FP is not recognized (?) and user B is asked to intall FP agian, however, the installation fails.
    After removing the FP installation (as being user A) and then install FP as user B (who has also admin rights) , FP works fine for user B, however for user A, FP is not installed/recoginzed (?), and user A is being asked to install FP, however that installation the fails, and so on and so on , . . . . .
    Any suggestion to resolve this irritating behaviour?

    Hi busy, there is a thread that discusses this very issue with links, that includes screenshots which  you may find helpful.
    http://forums.adobe.com/thread/584941?tstart=0
    Regards,
    eidnolb

  • Clear cache for items not working with multiple items

    APEX 4.0, 11g. I've made a session state process that clears cache for items (item_1, item_2, item_3) but I keep getting an error "Unexpected error, unable to find item name at application or page level" I have now created 3 session state processes, each with one page item in it, and it works fine but as soon as I try to put more than one item in the process field, separated by commas, I get this error. Is there some other setting I have to change to make it accept multiple values in this field?

    No, I wasn't using the parenthesis... just the items separated by a comma.
    I don't want to clear the cache for all page items, just these 3. It works okay in 3 separate clear cache for item processes, just thought it was odd that I can't put all three items into one process separated by commas.

  • Help! Slideshow properties not working with multiple albums

    Hi,
    The album properties in the slideshow creator doesn't seem to
    work in the case of multiple albums in one slideshow. When I add an
    album description and a thumbnail for a particular album, the info
    is lost when I add similar information to a subsequent album, i.e.
    only the last entry gets added to the final slideshow. Basically,
    all entries in the album properties section don't get saved. Any
    help would be really appreciated.
    I'm using CS4 on windows vista 64bit which includes version
    1.6 of create slideshow.
    Thanks
    P.S. Just tried the same thing on a friend's computer with
    CS3 and windows xp and everthing works as expected. The create
    slideshow version there is 1.5.

    I also see this behavior.
    h

  • Drag and drop does not work with multiple images

    if i try to drag and drop more than one image, nothing happens, no activity at all. i think i had this problem on another computer and it had something to do with the fonts. i can not remember exactly thanks iphoto 6

    Go to font book and use it to make sure the helvetica font is enabled - disable and re-enable it if necessary.
    Regards
    TD

  • Smart albums not working with multiple faces

    I have a picture in an event tagged with 2 faces, Chase and Caleb.
    I setup a smart album with two criteria: 1) Face 'is' Chase, and 2) Face 'is not' Caleb.
    My smart album includes the photo above, but it shouldn't since I have specified that I want Caleb's face excluded.
    What am I doing wrong?

    But you've also specified that you do want Chase.
    So you've said the iPhoto: Do show me this pic and as well as that, Don't show me this pic.
    Is it set to match 'All' the criteria or 'Any'?
    Regards
    TD

Maybe you are looking for

  • MacBook Pro & USB frustration: Why is it that my USB files appear in an "unrecognized format" when I try to open them on my Mac?

    Hello, I recently bought a MacBook Pro and every time I insert my USB, it appears on the desktop. However, when I double-click it to open the files, the files appear in "an unrecognized format". They all end with this: ".lnk"...if it's a video file i

  • How can I format my new MacBook Pro where I find Lion but not an installation DVD?

    I buy a new MacBook Pro with Lion installed jet. In the package there're not a Lion DVD's like whene i bought others mac. Now how can I have my OS if I want to format my mac?

  • Need Help With Spam Proof Email Form

    I am making a new web site using iWeb, .Mac, personal domain and forwarding from my commercial host. I want to make an email contact form that spammers cannot hijack and use to deluge use with spam. I have another web site that was created with Dream

  • List of Files in a directory

    Is there a way that you can get a list of files in a directory that are spelt a certain way? Ex. If in a directory there are html files, txt files, et, In java can I get *.html or a html file with certain text in the name? java.html?? How you can Hel

  • Scaling HTML Preview

    Hy, For the programm I'm building right now I need a scaleable preview for simple HTML (mostly Text). I got this to work with a HTMLEditorKit & some hacks (such as creating a View that works without a parent view). It scaled just fine using an Affine