How do I find an event which is triggered on line selection for ALV grid?

Hi,
I'm trying to find an event which is triggered when a user selects a row in the ALV grid. I want to add my own code in to add up the total values of selected lines, but can't find any event which will trigger my method.
I found CLICK_ROW_COL but it's protected so when I try and add a method for it:
  PROTECTED SECTION.
    METHODS:
    select_row
        FOR EVENT click_row_col OF cl_gui_alv_grid.
I get the syntax error:
Access to protected event "CLICK_ROW_COL" is not allowed.
Am I using the right event? Am I implementing it correctly?
Any help appreciated. Thanks in advance.
Gill

I chose to solve this by removing the line select buttons from the ALV and replacing them with a checkbox defined as a hotspot.  I then used EVENT hotspot_click FROM cl_gui_alv_grid to highlight the line and change my totals on a single click.

Similar Messages

  • I movie 11: how do i find an event for a particular clip in my project

    I movie 11: how do i find an event for a particular clip in my project

    Thanks so much for your response.  I tried that though and it did not work... any other suggestions?

  • How can I find the profiles which are not in a role

    Hi all,
    how can I find all profiles which are not used in a role. Its important for a security check.

    Hi Stefan,
    you do one thing use the transaction SUIM
    SUIM>>Profile>>By Roles
    give all the role name and execute you will get roles with profiles
    and extract to excel sheet
    to get only profiles
    suim>>profile>>by profile name or text give * and execute
    and extract in excel sheet no compate profile coloumns get the profiles which does not there in any roles
    hope ds helps
    thanks
    kishore

  • How can we find delivery documents which are not goods issued?

    Hi All,
    How can we find delivery documents which are not goods issued?
    Thanks in advance

    hi,
    please check in VL06O.
    there will be plenty of options on the same.
    you are requested togo for push button FOR GOODS ISSUE from there u will go to VL06G only
    your requrient will be satisfied.
    regards,
    balajia
    Edited by: balaji timmampalli achari on Nov 11, 2010 12:39 PM
    Edited by: balaji timmampalli achari on Nov 11, 2010 12:40 PM

  • How do I find folder contents which were accidentally deleted?

    How do I find folder contents which were accidentally deleted?

    They would be in your Trash. Unless you have emptied your trash since then, in which case you'd need to use a file recovery tool such as Data Rescue.
    Of course, if you use Time Machine for backups, you can easily retrieve the file from TM.
    Matt

  • How do I find and/or change the pre-set voltage selection switch in an HP TouchSmart IQ500 series

    how do I find and/or change the pre-set voltage selection switch in an HP TouchSmart IQ500 series (specifically an IQ524)
    This question was solved.
    View Solution.

    Doesn't it use an external AC Adapter? If so, all you should need to use in another country is an adpater plug to match the wall socket.
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • How to debug a ABAP Routine which is in Infopackage Data selection Tab

    Hi ,
       Please let me know How to debug a ABAP Routine which is in Infopackage Data selection Tab.

    Hi,
    You can try to create infinite loop:
    DATA: STOP.
    WHILE STOP IS INITIAL. ENDWHILE.
    Start InfoPackage and then go to SM50 and swich on debugging for your process. Then in debugger you can change value of STOP variable to skip the loop.
    Krzys

  • How to sense which lines are selected in ALV grid with Reuse FM.

    Hi!;
    with the help of the forum I have developed a ALV grid whose first column is a editable checkbox.
    The user click some of the lines on the ALV grid and I added an additional button on the tooolbar named "ACCEPT".
    When the button ACCEPT is clicked I want to get the lines whose checkbox is checked.
    How can I do that ?
    Making the first column (Checkbox column ) hotspot of no help.
    Would you please help me ?
    Erkan
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Sep 14, 2011 3:05 PM

    hi,
    you can refer the below link:
    /thread/492162 [original link is broken]

  • How to display a field that has more than 136 char length in ALV GRID

    Hi Experts,
    I have an issue and need to solve ASAP.
    I want to display a text of length 400 character in a particular column in ALV GRID DISPLAY. After executing the report it is displaying only 136 length char in the output and when I download the report to an excel it is showing only 255 characters, but my field length is almost 400 char and want to display in the report output.
    I checked in SDN and didnt get any answers which will solve this.
    Please help me to complete this issue.
    Thanks
    Retheesh

    Currently I'm in a same problem with you.
    And this is what I found
    Size of data fields: While the list-based ALVList can display only tables of up to 90 columns, the control-based *ALVGrid and ALVFullscreen have a limitation of 128 characters per data cell.*
    So it means that maximum for alv grid is only 128.
    Please refer to this documentation
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4544e790-0201-0010-c29c-e46c389f5a96]
    you can find the statement above in page 5.
    Please let me know if you have another solution, because I would like to see it too.
    Thanks
    Regards
    Hadi

  • How To Print Field Value in TOP-OF-PAGE During Line Selection.

    How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.

    (If my memory serves me well (not used for long time ago)
    Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
    TOP-OF-PAGE DURING LINE-SELECTION.
         WRITE: / 'Interactive Report &3'.
      WRITE record-vbeln TO sy-tvar3.
    Regards,
    Raymond

  • How can I find the words which spans across end of line to next line in pdf ?

    I am using Acrobat Adobe X Pro version for our form development and maintanence. I am writting a Acrobat JAVA batch script which reads through all the words and execute spell check and reports the mispelled words in a excel sheet. Since I am running this script in batch mode for more than 1000 pdfs - I am getting many words joined together. When I looked in to those pdfs all such words are looking okay because it is appearing in end of right margin and the next word is in the next line. Since there was no space between them it was extracted as a single word. Hence the failure.
    I used wordf = this.getPageNthWordQuads(i,j)  to get the word begin and end coordinates. when I closely observe the values are creating a rectangle and that doesnt span across lines. I got the coordinates for the regular word and the word which span acoross two lines. both of the coordinates are same.
    I think I am screwed - I have 8000 such words and no clue of how to get rid of them from the actual misspelled words.
    please help. let me know if any class /method if I call will give me the end of line or do I need to go to next layer to find this split.
    the addnot is somehow marking the words using this coordinates - please hellp me understand how this works. Thanks.
    // for all pages
    for (var i = 0; i < this.numPages; i++ )
    // For all the words
    pg += 1;
    numWords = this.getPageNumWords(i);
    for ( j = 0; j < numWords; j++)
    //get the spell check 
    ckWord = spell.checkWord(this.getPageNthWord(i,j))
    if ( ckWord != null )
    jn=0
    ml=0
    // if mispelled word found.
    wordf = this.getPageNthWordQuads(i,j)
    swordf = wordf.toString()
    var st = swordf.split(",")
    var diffx0 = parseInt(st[0])-8
    var diffx1 = parseInt(st[1])-8
    var diffx2 = parseInt(st[2])-8
    var diffx3 = parseInt(st[3])-8
    var diffx4 = parseInt(st[4])-8
    var diffx5 = parseInt(st[5])-8
    var diffx6 = parseInt(st[6])-8
    var diffx7 = parseInt(st[7])-8
    if (cWord == csword)
    jn = 1
    if ( st[1] != st[3] )
    ml = 1
    //dataLine += "\r\n write "
    else
    ml=2
    dataLine += "\r\n"+this.documentFileName
    + "\t" + this.getPageNthWord(i,j)
    + "\t" + pg
    + "\t" + j
    + "\t" + ml
    + "\t" + jn
    + "\t st[0] " + diffx0 + "\t st[1] " + diffx1 + "\t st[2] " + diffx2 + "\t st[3] " + diffx3 
    + "\t st[4] " + diffx4 + "\t st[5] " + diffx5 + "\t st[6] " + diffx6 + "\t st[7] " + diffx7 
    ck=1

    If Acrobat is reading each word part as separate words, you have a problem.
    The way I approached it in some of my tools was to check if a word ends
    with a hyphen, and if so, to check if it's the last on the line. If both
    conditions are true, combine with the next word on the next line. This is
    not fool proof, of course, as there are documents with columns are other
    structural elements that prevent this from working. Better than nothing,
    though...
    However, it is also possible that Acrobat does see both parts as parts of
    the same word. In that case, getPageNthWordQuads() will return multiple
    quads arrays. As you know, that method returns an array of quad arrays.
    There's usually only one, but in principle there could be more... Something
    to check before giving up.

  • How can I find what Event a photo is in when that photo is found via Faces?

    I've stumbled upon a photo via the Faces category. I do not know what Event this photo exists in, but I'd like to know (this same issue can occur with a photo found via Places of course too). How do I find out what Event this photo exists in? Of course I can pull the date or title data from the photo and then search for that data and visually find the photo from the search results, but I would assume there would be a much much easier method.
    None of the information data seems to contain any event data. I would think each photo would contain information as to what Event it currently resides in.

    Wait until iPhoto is done scanning for new images in the ".. might also be in the photos below" section, then right click (or Option-Click if your mouse has no right button) on the image, and in the last group of the menu that pops up should be an item "Show Event". While it's still scanning for more faces, the "Show Event" menu item isn't shown yet.
    Message was edited by: tilman

  • How do I find duplicate songs which the latest itunes libary update does not show?

    How do you find duplicate songs in itunes which the latest updated version of itunes does not show, where the older version did?

    =Downgrading from iTunes 11 to iTunes 10.7=
    Try activating the sidebar, menu bar, and status bar and see if this is close enough to the previous version to make you content.  It is easier than downgrading and eventually you will be forced to run a newer iTunes unless you have an endless supply of the model computer you currently own.
    You may be able to go back with Time Machine but this may involve restoring other items too (https://discussions.apple.com/message/20441404).  Alternatively:
    Back up your computer first, in case the unexpected happens.
    Quit iTunes.
    Get iTunes 10.7 from http://support.apple.com/kb/DL1576 or the direct download link at:  http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg
    Do a few preparatory steps by making sure all iTunes components are not running and cleaning old files.   See https://discussions.apple.com/message/20475394.  Do steps 3 and 4.  Steps 6-8 may be also useful but I don't know if they are essential.  Some of the other steps are not necessary, duplicate steps listed later in my post or are perhaps even unhelpful in the process.
    Replace the iTunes 11 application with iTunes 10.7.  Simply dragging the application to the trash may not work. Lion (OSX 10.7) and newer systems have iTunes integrated into the operating system and deleting is a bit more involved.  Two ways to do this are:
    1.  (Easier) Use the shareware Pacifist utility (http://www.charlessoft.com/) to install iTunes 10.7 including all associated system files. Details at http://forums.macrumors.com/showpost.php?p=16400819&postcount=6
    2. (More work) Check this reference on how to delete the iTunes application itself:
        Delete iTunes in Mac OS X 10.7 Lion - http://osxdaily.com/2011/09/13/delete-itunes-in-mac-os-x-10-7-lion/
        After deleting the application there may be other files that need downgrading too. See the note about error -42408 at the end of this post. You may want to tuck these away somewhere safe until you have completed the installation of iTunes 10.7.  I have not tested this but ideally if newer versions are not found then the installer will put in the old versions. This may include these files in /System/Library/PrivateFrameworks/ which apparently get updated by iTunes 11:
    AirTrafficHost.framework
    CoreFP.framework
    DeviceLink.framework
    iTunesAccess.framework
    MobileDevice.framework
    After doing one of the two procedures above you will have to rescue the most recent old iTunes library from your iTunes > Previous Libraries folder. Rename it "iTunes Library.itl"  and replace the existing one in the iTunes folder. A newer version of iTunes irreversibly updates your library file so you have to replace it with the old one or you will get an error message. Note, this will revert your library to the version at the time of the upgrade and you will have to update any changes made since.  See:
    https://discussions.apple.com/message/20401436 - turingtest2 11/2012 post on rebuilding empty/corrupt library from previous iTunes library file after upgrade/crash.
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451
    Other issues:
    - https://discussions.apple.com/message/20432309 - solution to mobile devices saying they need to be restored after downgrading
    - If you encounter error -42408:
    iTunes: Advanced iTunes Store troubleshooting - http://support.apple.com/kb/TS3297 > Specific Conditions and Alert Messages: (Mac OS X / Windows) - including specific error codes.
    Alternatively, check https://discussions.apple.com/message/20441424 which requires you have a Time Machine backup (though possibly if you remove the newer version of these files old ones may be installed with the iTunes 10.7 installer - untested).  A  variant of this is at: https://discussions.apple.com/message/20448184
    - Persistent "Show in iTunes Store" arrows after downgrade - https://discussions.apple.com/thread/4567064

  • How can I find the program which is calling my SAPscript??

    How can I find the program(std/Custom) which is calling my SAPscript form??
    Regards,
    Shashank.

    Hi
    check in NACE transaction or TNAPR table
    reward points to all helpful answers
    kiran.M

  • How do you find an event in iMovie? I input a file today.  It has disappeared.

    Today, i input a new event form my Sony camcorder into the latest version of iMovie.  It is labeled 2014-1-11.  I then imput another event and labeed it 2014-1-10. The first file name disappeared.  After about 75% of the second file was inported, iMovie unexpectedly quit.  After I opened iMovie again, both file names had disappeared.  I started to input the file that quit for a second time.  I received an error message that the file name 2014-1-10 was already in use, however I cannot find either of the files.  How can I find the missing files?
    Thanks.
    P.S.  So far, I do not like this version of iMovie.  I was getting half decent at using iMovie11.  The new version has been difficult for me to use.  It is taking forever to insert photos.  I am very frustrated.  I have talked to a few people at the Apple store and not getting a warm feeling that the situation will improve.  Does anyone know when a new version if iMovie for Dummies, or any kind of a comprehensive book on the latest version of iMovie, will be available? 

    Much appreciated, James. However, I found this response confusing, because until I read your message, I had renamed files in the finder by clicking near the begining of the file name. Maybe other people use that method to, so they may have initially misunderstood your response. So I thought I would mention that renaming in the finder with "enter" isn't the only way, but it appears so with iMovie. Thanks!

Maybe you are looking for