How to invoke delete rows event in ALV_GRID

I have two screens.
The first screen 100 have several splitter control ALV grids that display data.
The second screen 200 is the maintenance of screen on 100 that have two grids side by side need to update simultanously.
When I update or insert data on the second screen, I refresh data on screen 100 so that when user navigate to screen 100 they can see the updated data.
For insert rows or modified rows, it works as expected.
However when I delete rows on screen 200 and click go back to 100, screen 100 still shows the rows that I deleted in screen 200.  I think that I missed something. 
I debug in even data_changed in cl_gui_alv_grid when I deleted, it did not go through this logic therefore I cannot refresh the other grids on screen 100.
Here are the events that I defined and registered in the PBO of screen 200.
class lcl_event_handler definition.
class-methods:
on_data_changed FOR EVENT data_changed
           OF cl_gui_alv_grid   IMPORTING er_data_changed e_ucomm,
on_user_command for event user_command of cl_gui_alv_grid importing e_ucomm.
endclass.
set handler:
lcl_event_handler=>on_data_changed for go_grid,
lcl_event_handler=>on_user_command for go_grid.
What did I do wrong?
Thanks,

Hi Akinosora,
>
Akinosora wrote:
> When I update or insert data on the second screen, I refresh data on screen 100 so that when user navigate to screen 100 they can see the updated data.
>
> For insert rows or modified rows, it works as expected.
>
> However when I delete rows on screen 200 and click go back to 100, screen 100 still shows the rows that I deleted in screen 200.  I think that I missed something. 
Don't you need to do a refresh of the data for a delete action as well?
Kind regards,
Robert

Similar Messages

  • HOW CAN I DELETE AN EVENT WITHOUT  HAVING TO SELECTING IT FROM THE LIBRARY?

    I have a big problem.
    I want to delete an entire event from my library because everytime I select it imovie freezes and then close itself up. So I have to re-open imovie again. And when I want to select that particular event again the same problem occures. So I can not select that particular event. Therefore I can take NO action on this event.
    HOW CAN I DELETE AN EVENT WITHOUT HAVING TO SELECTING IT FROM THE LIBRARY?
    (Everytime I select it imovie closes itself up)
    All other events work fine. I believe The footage had a problem from capturing. but now it's in my computer and i can't open it.
    Please help me, I don't need this event, I can't open it therefore I can't use it and it takes place on my hardrive for nothing.
    Thank you

    One can delete it from one's computer. In the finder go to homeuser, movies, imovie events, delete the footage.
    Then reopen iMovie and see if that helps.
    Hugh

  • How do I delete an event folder?

    How do I delete The event folder it self. I have deleted all the images in it from the event. But now I have like 25 empty event folder because it makes a new one every time I import images

    Copy a picture to the empty event folder and then delete the photo. The folder will delete with it. Of course you need a picture you are willing to delete.  Good luck, it worked for me.

  • How do I delete an event on ical when there's no edit option, it reads details?

    I'm trying to delete an event in iCal on my iPad but where it usually reads edit it reads details and in details theirs no delete option. How can I delete this event?

    Is it an event that you added?

  • How do I delete an event in ical that i've accepted an invitation to.

    how can I delete an event in the calender app that I've accepted an invitation to.

    Right-click (Ctrl-Click) > delete

  • How do I delete an event on iPhone calendar with no edit icon

    How do I delete an event on iPhone when no edit icon appears

    Have you tried to open the event and delete it? Tap on the event to open it, then scroll down to delete it.
    You can also try toggling iCloud syncing for the calendar on and off (or off and on), this sometimes makes hte edit button reappear.

  • How do I delete calendar event on iPad

    How do I delete calendar event on iPad? I want to delete the "FIFA World Cup Fixtures" and the "Work" group of events from my Calendar. How do I do this?

    I don't see that option there. Here is the Screenshot. I also want to remove "Work" from the calendar and add another one.

  • How do I delete rows in Numbers for iPad?

    I am new to numbers for iPad. How do I delete rows in Numbers for iPad? I am able to delete the data in the rows/cells but I can't delete/move up the rows so I can move data in it's place.

    I havn't got Numbers so I can't check it, but is what is on this page any help http://help.apple.com/numbers/ipad/1.4/#tan72717a35 ?

  • How can i delete an event on ical without notifying

    Hello
    how can i delete an event on ical without notifying. All I want to do is delete the event and not notify anyone.
    Thanks

    I was just experiencing this problem on Mountain Lion. The calendar I wanted to delete was on iCloud. So, I logged into iCloud from a web browser, and selected Calendar. On the current incarnation of iCloud Calendar the calendars are listed on the left. I selected the "Edit" link at the top of that list and chose delete. It indicated that the items would be deleted, but there was nothing about notifications. Then, when I went back to iCal on my Mac, I selected the calendar to be deleted, right clicked, and slected refresh...
    ... gone.
    It probably would have disappeared on it's own eventually. I'd be curious to see if theis works for others, so please confirm.
    Good luck.

  • How can i delete an event on my iphone 4s from my gmail account?

    how can i delete an event on my iphone 4s from my gmail account?

    there is a way to do it. you didnt say if the two librarys were on two different computers i am supposing this is the case. In itunes on both computers go to itunes preferences there you will see where the music is stored not this location for the future.
    Check is the copy files to itunes media folder is checked.
    Go find that folder and see if all your music is in there if so then you can copy the folder or move it to an external hard drive.
    Then go to he computer that you want all the music on and simply copy all the music files in there. Try one folder at a time so copy in say the Bob Dylan folder and see if it all works in itunes.
    Obviously itunes needs to be closed when you are copying the folders over. If it doesnt immediately show up on the itunes simply choose file add to library and just go back to the folder and choose the one you want to add.
    You may end up with a few duplicates if so choose show duplicates and choose which ones to delete. You may also get some files with the itunes numbering in the title you can right click and on a mac choose get info and change the name or rename in windows. I did this its a bit of stuffing around.
    I would say in hindsight, one folder for all your music, let itunes copy it all over and keep adding to the original folder and back it up. If disaster ever strikes all you do is set up your new computer with fresh itunes and point itunes at your music folder and it will copy them all over again.

  • How can I delete rows in a table from the bottom?

    I have table that I add rows to and I want to remove rows starting with the last row. For example if I have a table with 20 rows how do I remove rows 16-20. I can't figure out how to do this.

    The following script would/should/might delete the last 4 rows of a subform named 'itemsSub' : (or actually deletes the last row 4 times hopefully!)
    for (var f = 0; f<4; f++)
    _itemsSub.removeInstance(itemsSub.all.length - 1);

  • How do I delete duplicate events in my iCal?

    Using SyncMate to sync my calendar and contacts from my Droid X to my iMac (MAC Office doesn't work since I upgraded to Lion).  Seemed successful.  However, I now have duplicate events in my iCal.  How can I delete the duplicate events?

    Hello Linda,
    Duplicate calendar entries can definitely clutter up iCal.  I found an article that has specifically addresses duplicate birthday entries in iCal.  You can find the steps under section titled "7. Clean up birthdays and use the Birthday Calendar" in the following article:
    iCloud: Advanced Calendar and iCal troubleshooting
    http://support.apple.com/kb/TS4337#Clean_up_Birthdays___Use_the_Birthday_Calenda r
    Thank you for posting in the Apple Support Communities. 
    All the best,
    Sheila M.

  • How do I delete an event in Calendar.  Edit nor the option to delete appears.

    I am showing events on Calendar which I cannot delete.  The option to Edit or Delete does not appear.  As an option, how can I delete Calendar and start all over?

    Put the photos from the Event into the iPhoto trash and empty it.

  • How to disable delete row in sales order

    Hi
    Is possible to disable the functions to delete row in Sales Order and Purchase Order.
    How can we made that? by SDK or exist anything else?
    Regards
    VS
    Edited by: Vasco Silva on Jan 8, 2009 8:24 PM

    There is no out of the box solution to disable row deleting function.  The alternative can be used would be approval procedure.  If the documents are subject to approval, all rows will be locked from any changes.
    Thanks,
    Gordon

  • How can I delete an event on an Ipad2, PHOTOS or Iphoto for IOS?

    How can I delete a photo event on an IPAD2 using either PHOTOS or IPHOTO for IOS?
    Thanks

    If the event is a synced event from iPhoto on your Mac, you have to deselect the event in iTunes while the iPad is connected to the Mac and with iTunes running and then sync - in order to remove the event from the photos app.
    Synced photos cannot be deleted directly on the device. You must unsync the photos using iTunes on your computer.

Maybe you are looking for