Can i raise any event on the ALV  GRID row selection.

Hi All ,
        Is there any way to trigger any event upon the selction of the ALV <b>GRID</b> rows?
Suppose i have 2 grid controls  1 for Header and the other for corresponding line items . I would have already the header data (differnt document headers)  populated , upon selecting (i don't want any user click or button click) one of the header i want to do some changes to the corresponding line times for the header data selected...
Please give me some tips on how to  go about on this .
Thanks,
ALFH

<b>upon selecting ?</b>
how the user will select , since you dont want user click or button click?
one option is to have hotspot, but again user has to click .
Regards
Raja

Similar Messages

  • ALV grid row selection event

    Hi,
    I have alv grid using cl_gui_alv_grid. I want to capture the row selection event and display the detail below the table.
    how do I capture the row selection.? I want to display the details below as and when the row selection changed.
    Regards
    Panneer

    More detail example, also works with multiple selections:
    data go_alv type ref to cl_gui_alv_grid.
    data go_handler type ref to lcl_event_receiver.
    *       CLASS lcl_event_receiver DEFINITION
    class lcl_event_receiver definition.
      public section.
        methods delayed_change_select
                for event delayed_changed_sel_callback of cl_gui_alv_grid.
    endclass.                    "lcl_event_receiver DEFINITION
    *       CLASS lcl_event_receiver IMPLEMENTATION
    class lcl_event_receiver implementation.
      method delayed_change_select.
        message 'Selection changed' type 'S'.
      endmethod.                    "delayed_change_selection
    endclass.                    "lcl_event_receiver IMPLEMENTATION
    *&      Module  STATUS_0100  OUTPUT
    module status_0100 output.
      data lt_fcat_lvc type lvc_t_fcat.
      data lt_fcat_alv type slis_t_fieldcat_alv.
      data ls_layo type lvc_s_layo.
      set pf-status 'MAIN'.
      if go_alv is initial.
        ls_layo-sel_mode = 'A'.
    *   ls_layo-sel_mode = 'B'.    "Also works
    *   ls_layo-sel_mode = 'C'.    "Also works
    *   ls_layo-sel_mode = 'D'.    "Also works
        call method go_alv->set_table_for_first_display
          exporting
            is_layout       = ls_layo
          changing
            it_fieldcatalog = lt_fcat_lvc
            it_outtab       = gt_data[].
        create object go_handler.
        set handler go_handler->delayed_change_select for go_alv.
        call method go_alv->register_delayed_event
          exporting
            i_event_id = cl_gui_alv_grid=>mc_evt_delayed_change_select.
      endif.
    endmodule.                 " STATUS_0100  OUTPUT

  • ALV Grid row selection possible options

    Hello Experts,
    I have an ALV Grid output with rows color codes based on certain status for each rows.Now when the user selects one or more lines to do the next process, what happens now as sap standard is the selected lines becomes highlighted ( kind of yellowish) and the selection button gets pressed.
    But what the user is requesting is ,lets say he selects one blue and another red line, then both becomes yellow (because of the SAP standard highlighting) ...he would like those line colors to be still red and blue and only the selection button pressed.
    Is there a way to do that is ALV grid? I'm trying to convince him to look at the status colum if he gets confused with what colors he selected or I will have to use a checkbox field as the first column and and hide the ALV selection option.
    But was curious to find if this is possible in ALV?Or any other suggestions to handle this requirement is welcome.
    Mat

    Hi Mat,
    I am curious if your user is so arogant when he buys a car too. Does he say to dealer "Sorry I don't want this gear lever to be placed here and here, I want it a litte bit higher. Can you please fix that?". This sounds like you are struggling with dumb user. I have never heard of someone complaining that the standard highlight is in wrong color. You already provided to him row colors, right? I think most of the users would be hugging you for such facilities.
    I think in your case as the user is inalterable you should go for the checkboxes as you say. This way maybe you will somehow satisfy his needs (as the row colors will be kept even during selection). Personally I wouldn't bother such requirements. As long as the program reports correct data, he should not complain at all.
    Good luck then
    Marcin

  • Can't add any events to my Calendar on my iPhone 5S

    All of a sudden I can't add any events to my Calendar on my iPhone 5S.  It worked fine just a couple days ago.  I haven't loaded any new software and I haven't changed anything in the Settings regarding the Calendar.   I have the latest (newest) software 8.2 upgrade. I've done everything I can think of, including turning it off and restarting it.  I have not reset it back to factory defaults, I hope not to have to do that.
    Bob

    I click on the + button (add button) and it does allow me to enter a Title, a Location and all the date/s & time/s.  The Add button is active and I click on it and it returns me to the calendar.  I don't get any kind of error.  However, their is no event on the day or time I chose.  Tried it on different dates, different times, and doesn't matter whether it's a Specific Time Event or and All Day Event, it just doesn't same it.
    Thanks for the quick response by the way,
    Bob

  • I can't add any event on my calendar on mini ipad ios7.02

    Today i can't add any event , yesterday I add a lot of appointement and today when I open my calendar, I have only birthday ! and I can add any thing when I push on +

    i got the soltion by myself I just update my calendar into icloud

  • I have replaced my ibook hard drive but when I start up I get a folder with a flashing question mark. I have tried installing the OSX disk using the "C" key but can't get any further than the flashing "?." What do I do? What is the problem?

    I have replaced my ibook hard drive but when I start up I get a folder with a flashing question mark. I have tried installing the OSX disk using the "C" key but can't get any further than the flashing "?." What do I do? What is the problem?

    Which iBook do you have?
    http://support.apple.com/kb/HT1772?viewlocale=en_US
    Which version of the OS is installed, and which version are you trying to install?
    You could try starting up with Startup Manager and see if it will allow you to select the OS X install disc as the startup disk. If so, maybe you can proceed from there. I would recommend repairing the hard drive first since you are evidently having a bit of a problem with it.

  • I'm trying to update my apps using the creative cloud desktop app. I can't see any apps in the app tab, the wheel just spins round and round and nothing happens. Has anyone got any ideas? I've tried uninstalling the desktop app and reinstalling but it sti

    Hi
    I'm trying to update my apps using the creative cloud desktop app. I can't see any apps in the app tab, the wheel just spins round and round and nothing happens. Has anyone got any ideas? I've tried uninstalling the desktop app and reinstalling but it still has the same problem.
    Cheers
    Rachel

    Hi Rachel,
    You can follow the article: App doesn't open | Progress wheel spins continually to get your issue fixed.
    Let us know if the issue still persists or not.
    Regards,
    Ratandeep Arora

  • Hello , I want to ask some question about ipads \  How powerful is the iPad?  How useful is it for reading books, newspaper or magazines or for surfing the web? Can you identify any shortcomings of the device?   please help me :(

    Hello ,
    I want to ask some question about ipads \
    How powerful is the iPad? 
    How useful is it for reading books, newspaper or magazines or for surfing the web?
    Can you identify any shortcomings of the device?  
    please help me

    it's less powerful than your average computer. THink of it like a netbook but with a better processor.
    It'll do fine for surfing (although if you browse a lot of flash based sites you will need to get a third party browser since safari doesn't accommodate it)
    You may do OK on reading books, papers or magazines, especially if they have apps, but the ipad's screen is backlit, so it doesn't work well outdoors and you may need to fiddle with the brightness so that you don't get eye strain (it's just like doing too much reading from a computer screen)
    I would say the biggest short comings are data transfer. Apple's preferred work flow is that everything is done via iTunes or the internet....well people dont' always have 100% reliable always on internet access so you can find yourself in a situation where you can't get things on/off the iPad.
    By and large, it's a good device for day to day stuff, but is not a computer replacement.

  • Hi My grandparents just bought an iPod Touch for me from Dubai, UAE. I can't see any facetime on the home screen nor in the settings. I've read that it's not possible. But is it possible if I get my OS updated again from India?

    Hi My grandparents just bought an iPod Touch for me from Dubai, UAE. I can't see any facetime on the home screen nor in the settings. I've read that it's not possible. But is it possible if I get my OS updated again from India?

    There is no way you can activate Facetime on an iPod touch purchased in the UAE. The government there required Apple to lock off Facetime at the hardware level and there's no way to unlock it. Reinstalling iOS, regardless of country, will not help. If you want Facetime, you will need to sell your UAE-version iPod and buy one there in India.
    Regards.

  • HELP! I can't add any clips to the storyline.

    It used to work fine, dragging clips to the storyline or using Insert or Append.
    Now I can't add any clips to the storyline, dragging doesn't seem to drag any clips, Append and Insert don't react.
    I create a new project, and I see the storyline, but can't add anything to it.
    Using FCPX 10.1.1
    on MacBook Air 2012.
    OSX Mavericks.
    thanks,
    Erez.

    Post screen shots of what's happening in FCP, timeline, browser.

  • My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    My UR12 Steinberg interface is recognized by Yosemite but I can't get any output from the device, does anyone know how to fix this problem? Thanks in advance

    Apparently it's related to the Firefox plug in.
    This isn't exactly a solution but more of a way to avoid opening PDFs with Firefox's plug in.
    1. Highlight "Tools" from the Menu Bar in the top left of the screen (or click "Options" if using the Firefox Compact Menu)
    2. Select to "Options
    3. Select "Applications"
    4. Look for "Adobe Acrobat Document" under Content Type and to the right under Action select "Use Adobe Reader (default)" instead of the using Adobe Acrobat in Firefox
    5. Open a test PDF. It should open in it's own window now.
    Again, not a complete solution but something that'll at least let you scroll with PDFs open.
    More info here: http://forums.mozillazine.org/viewtopic.php?f=38&t=2171033

  • Can we disable the default push buttons on the ALV Grid

    Hi,
        Can we disable the default push buttons on the ALV
    Grid Control...
        If so, pls send me the procedure...
    thanks and regards
       raghu

    Hi,
    In the PBO:
      PERFORM f9100_exclude_functions USING :
                             i_exclude[]  '&CHECK',
                             i_exclude[]  '&REFRESH',
                             i_exclude[]  '&LOCAL&CUT' ,
                             i_exclude[]  '&LOCAL&COPY',
                             i_exclude[]  '&LOCAL&PASTE',
                             i_exclude[]  '&LOCAL&PASTE_NEW_ROW',
                             i_exclude[]  '&LOCAL&UNDO' ,
                             i_exclude[]  '&LOCAL&APPEND',
                             i_exclude[]  '&LOCAL&INSERT_ROW',
                             i_exclude[]  '&LOCAL&DELETE_ROW',
                             i_exclude[]  '&SORT_ASC',
                             i_exclude[]  '&SORT_DSC',
                             i_exclude[]  '&FIND',
                             i_exclude[]  '&SUMC',
                             i_exclude[]  '&SUBTOT',
                             i_exclude[]  '&MINIMUM',
                             i_exclude[]  '&MAXIMUM' ,
                             i_exclude[]  '&VGRID' ,
                             i_exclude[]  '&VEXCEL' ,
                             i_exclude[]  '&VCRYSTAL',
                             i_exclude[]  '&HTML',
                             i_exclude[]  '&MAINTAIN',
                             i_exclude[]  '&SAVE',
                             i_exclude[]  '&GRAPH',
                             i_exclude[]  '&HELP',
                             i_exclude[]  '&ALL' ,
                             i_exclude[]  '&SAL' .
    *                         i_exclude[]  '&EXCLALLFC'.
    *&      Form  f9100_exclude_functions
    * This form exclude buttons  from the toolbar.
    *      -->P_IEXCLUDE  text
    *      -->P_1150   text
    FORM f9100_exclude_functions USING   pexclude LIKE i_exclude
                                   value(pfunction).
      DATA: l_exclude TYPE ui_func.
      l_exclude = pfunction.
      APPEND l_exclude TO pexclude.
    ENDFORM.                    " f9100_exclude_functions
    This will exculde the default push buttons.
    Let us know if it works for you.
    Regards,
    Anjali

  • Every time I open up my iphoto it is always just loading and i can't import any photos. The version is iphoto 2011, Every time I open up my iphoto it is always just loading and i can't import any photos. The version is iphoto 2011

    Every time I open up my iphoto it is always just loading and i can't import any photos. The version is iphoto 2011, Every time I open up my iphoto it is always just loading and i can't import any photos. The version is iphoto 2011

    Download iPhoto library manager http://www.fatcatsoftware.com/iplm/ and use it to rebuild
    LN

  • I can't get any widgets onto the Desktop in Lion (10.7.2) even with devmode on. Any ideas anyone?

    So, new on the forum.
    The problem is, that My sister baught a new iMac 27" with Lion preinstalled and we then updated it to 10.7.2.
    Then she wanted the world clock from dashboard to desktop to stay and we found instructions how to do it with dashboard devmode made on in terminal.
    But.. it just doesn't work.
    We just can't get any widget onto the desktop not for a short time, not for stay.
    Does anyone any ideas.
    The third party software is not what we are looking dfor..
    In the meantime, my mom baught a new iMac 21,5" with Lion and updated it to 10.7.2.
    On this machine the widget instructions work fine!
    What can be the difference between these two?

    The Class.forName method throws a class not found exception, so ...as the compiler has told you ...you need to catch it or otherwise handle it.
    It "must be caught, or declared to be thrown".
    try {
      Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    }catch (ClassNotFoundException cnfe) {
      System.out.println(cnfe.toString());
    }Here, I have 'caught' it.

  • Is it true that i can't buy any music from the states when my book is registered in hk??

    is it true that i can't buy any music from the states when my book is registered in hk??

    Thanks, but unfortunately, this is not a message, it is the HTML page that it shown after a student registers for a course. I can see how to preview it at
    but I can't edit it here, nor anywhere else I can find...note that I am looking the "Registration Confirmation" link (last one).
    Bill

Maybe you are looking for

  • Help needed to create additional memory....​.........

    I recently purchased a 4Gb SD memory card for my 8830 World Edition through the Bell Network (GPRS, CDMA)  v4.5.0.127 I have followed the instructions online to install and activate the new media card. It looks as if I have done everything ok and cha

  • How to Import a Sales Order in Shipped Status(line) using oe_order_pub

    Hi, I am trying to upload the sales order using oe_order_pub in Shipped status. I did not suceed in this effort. Can any one tell me how this could be done? Also can any one tell how to import sales order with multiple lines using the API oe_order_pu

  • Sharing in Premiere Elements 10

    I am trying to share/export my video in Premiere Elements 10. The video is 6:35 long, but only 1:07 will export. I've tried exporting it through multiple methods. The workbar area is set to the end of the project. Why could this be? Thank you.

  • Schema customization

    hello, I have one messaging server running with customized schema with some object classes and attributes. I am preparing a new server. How could I get that scheam to the new server. What are the complete steps for this. Do i require to only copy the

  • How to change contry code on the airport card of a Macbook

    Hi all, I've a big frustrating problem. I'm in italy with a MacBook bought at apple store in italy, I've around my house 8 different wireless network all in channel 6 or 11 , so to avoid interference I've set my router to channel 13 (in europe the wi