Is "Enter" the only way to let an ABAP OO editable ALV know data's changed?

In the past two years, I've coded numerous ABAP OO editable ALV's, and once Uwe set me straight about how ti use the canned "handle data changed" methods,. it's been very straightforward.
But here's my question.
I have a modal dialog box in a MIGO dialog exit (yes, there is one although it's in a very odd function group - XQSM.)
In the modal dialog box, I have an editable ALV and an OK pushbutton underneath it.
If the user enters data into the ALV and then presses OK immediately afterwards (without pressing ENTER first), the ALV doesn't recognize that data has been entered.  So the underlying itab winds up empty.
What is the right way to handle this?
Is there a way of forcing the ALV to do its thing from within the PAI that handles the OK pushbutton?
At my last client, the customers were willing to live with this as a training issue - tell the users to hit ENTER at least once before pressing OK.
But surely, SAP must have something else in mind here that I'm not yet aware of.
Thanks for any advice anyone can provide.
djh

Hi Vijay -
Thanks for both answers!
Regarding your first answer, here's my current code:
class lcl_event_receiver          definition deferred.
data:
  o_event_receiver                  type ref to lcl_event_receiver.
class lcl_event_receiver definition.
public section.
    methods:
      handle_data_changed
         for event data_changed of cl_gui_alv_grid
             importing er_data_changed.
private section.
endclass.
And this:
  call method o_grid->register_edit_event
               exporting
                  i_event_id = cl_gui_alv_grid=>mc_evt_enter.
  create object o_event_receiver.
  set handler o_event_receiver->handle_data_changed for o_grid
Are you saying that instead of mc_evt_enter, I should use "mc_evt_modified" ????
Please clarify if you have the time.
Thanks
djh

Similar Messages

  • The track pad on my Macbook pro isn't working well. The scrollbars are there but the only way it lets me scroll is with the arrows. It also doesn't let me highlight anything to delete it nor does it like me double click to open any documents. Help?

    It isn't letting me copy and paste so the question is the subject, I am sorry.

    Hi Miamel84,
    Welcome to the Support Communities!
    If your trackpad is unresponsive, a good troubleshooting step is to reset the PRAM and SMC on your system. The following articles will show you how to do that.  Also see the final article in this post that addresses general issues with jumpy or erratic trackpads.
    You can click on the links to see more details and screen shots.
    I've highlighted the pertinent information for you below.
    Intel-based Macs: Resetting the System Management Controller (SMC)
    http://support.apple.com/kb/HT3964
    Before Resetting the SMC
    Try each of the following steps in this order before you reset the SMC.  Test the issue after completing each troubleshooting step to determine if the issue still occurs.
    Press Command + Option + Escape to force quit any application that is not responding.
    Put your Mac to sleep by choosing the Apple () menu from the upper-left menu bar and then choosing Sleep. Wake the computer after it has gone to sleep.
    Restart your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Restart.
    Shut down your Mac by choosing the Apple () menu from the upper-left menu bar and then choosing Shut Down.
    Resetting the System Management Controller (SMC)
    Resetting the SMC on Mac portables with a battery you can removeNote: Learn about removing the battery on MacBook and MacBook Pro.
    Shut down the computer.
    Disconnect the MagSafe power adapter from the computer, if it's connected.
    Remove the battery.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Reconnect the battery and MagSafe power adapter.
    Press the power button to turn on the computer.
    Resetting the SMC on portables with a battery you should not remove on your own
    Note: Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009).
    Shut down the computer.
    Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
    On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
    Release all the keys and the power button at the same time.
    Press the power button to turn on the computer. 
    Note: The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.
    About NVRAM and PRAMhttp://support.apple.com/kb/HT1379
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    Portables and Magic Trackpad: Jumpy or erratic trackpad operation
    http://support.apple.com/kb/TS1449
    I hope this information helps ....
    Have a great day!
    - Judy

  • I want to sort all my bookmarks alphabetically but can't. You only let me drop a bookmark into an already-existing folder. And if that is the only way, how can I create new folders?

    Question
    I want to sort all my bookmarks alphabetically but can't. You only let me drop a bookmark into an already-existing folder. And if that is the only way, how can I create new folders so that I can try to create meaningful folders?

    With the iPod connected to the computer go to the Music pane for the iPod in iTunes and check the box that says sync only checked songs. The check the songs you want synced and click on Sync. For more info see:
    iTunes: Syncing media content to iOS devices and iPod

  • Am I the Only One Feeling Let Down by Creati

    I personally believe that I'm not the only one let down by Creative's recent products and support. I was the guy who'd always go around telling other people "Why get an iPod? Everyone has one, they use proprietary connectors for everything, the battery life sucks, and you get to twiddle your thumbs clockwise and counterclockwise as you go up and down."
    But not anymore.
    And no I'm not talking about boycotting apple here, I'm talking about Creative.
    I'll start off by providing a little background information about myself. I've always been heavily into music and movies. My computer consists of a Soundblaster Audigy 2 soundcard, and 600gb of RAID 0 hard dri've space. All used for games, music, and movies.
    I always loved my Soundblaster cards, even my Soundblaster li've. Then someone showed me something amazing, a 30Gb Creative MP3 player. I think it was the Zen Ztra, I'm not sure, it was a long time ago. Soon as I saw that baby I fell in love with it. It had just 0Gb less than the harddri've of the computer I owned at the time, the sound quality was amazing, and it was very easy to use.
    A good time after that, I decided to finally buy an MP3 player of my own after using a Sony ATRAC3 plus CD player for so long for my music. I went to the store and the only thing I could think of was that it had to be a Creative MP3 player. That day I ended up shelling out about 400 bucks for a 20gb Creative Zen Touch. I was wishing I found the 40gb version after that but for the amount of music I had at the time it worked very well.
    I think I owned that MP3 player for at leas 2 years or so without any problems or freezes before someone finally stole it from me. I guess that's what I get for lending it to my girlfriend but thats a different story. She agreed to buy me a new one right away. I Think she knew how much I loved creative products at the time (and how much I hated iPods) that she decided to get me a Creative MP3 player of course. She ended up getting one that I was looking at online for quite a while. The Creative Zen Vision: M, the 60gb model.
    I was a little disappointed that the battery life was nowhere near as impressi've as my old MP3 player, but with 60Gb, a gorgeous color screen, video playback, a better touchpad than the iPod (In my own opinion), and better battery life than an iPod (actual fact), I couldn't find much else not to like.
    Of course, in less than a week I started getting nothing but problems.
    While I was away on a trip the MP3 player froze twice. I had to stop at a nearby store to borrow a paperclip to reset it. The second time it froze was when the battery was getting low. After I reset it again the next screen showed "Low Battery" so I shut it off. I guess Creative thinks that everyone likes to carry a desktop computer with them when they go on trips, or that they've added enough problems to the player that they wont use up all the power till they get back. The only way you can charge it without a computer is by buying a battery charger separately, something which was included in a lot of earlier products.
    Not being able to find a "Creative" charger, I bought one designed to charge any USB device. I plugged it in, and all I got was a flashing blue light for 24 hours, which was when I finally decided to call it quits. No matter what I did it wouldn't turn on, the reset button did nothing, and all I got was a flashing blue light.
    I get home a few days later (without any good music to listen to on the way home) and plug it into my PC and get the same problem. All of this after the recommended firmware update mind you.
    I decided to do some reading on the creative forums to try and solve a problem the majority of Zen Vision and other product owners are experiencing. All I found in the forums was a large group of disappointed individuals. The only posts made by Creative staff were regarding refraining from dropping F bombs. Apparently you even have to pay for tech support?! Is this some kind of sick joke?
    The message I'm getting from this is that creative is purposely making defecti've products, not only to save money, but also make money from all the people needing tech support.
    It wouldn't surprise me if this post was deleted simply because Creative doesn't like having to face facts. Anyways, sorry for the long post, but I felt it necessary to help vent out my frustration with a company I always looked up to.
    After this experience, I will be refraining from buying any more Creative products until they clean up their problems. I'd like to hear from other people as well. I'll be boycotting this company, who's with me?

    I've never had any problems with mine ever. The only freeze I've had was from a file I recorded on tivo, cut commericals out in movie maker and then re-encoded to the lowest possible bit rate that that zens nati've resolution supports. Try turning your sensitivity in the touch pad down. Sometimes if you have it up to high you may have a chance of doing that (although I have only had slow response, instead of a freeze by doing that).
    You also have to compare to all of the other products out there: Ipod and Zune are a lot worse with pathetic little problems (annoyances). I didn't pay for tech support?

  • Working with my 2 FireWire HD i had a crash. the only way to start was a safe start. then id maged to start from a DVD and install a MAC OS 10.3 wich ran 4 some time then the same problem only safeMode. kernel panic inserted the tech tool DVD

    working with my 2 FireWire HD i had a crash. the only way to start was a safe start. then id maged to start from a DVD and install a MAC OS 10.3 wich ran 4 some time then the same problem only safeMode. kernel panic by inserting the tech tool DVD, wich produces the following highligted text:
    panic(cpu 0 caller =xffff0003): 0x300 - Data access
    latest stack backtrace for CPU 0:
    Backtrace:
    0x0009CC88 0x00D63C 0x00029DAO  0x000BOA10 0x000B4270
    proceeding back via exception chain:
    Exception state (sv=0x26acd700)
    PC=0x2717E900; MSR=0x00009030; DAR=0x00000000; DSISR=0x40000000; LR=0x2717EBE4; R1=0x26AD3AE0; XCP=0x0000000C (0x300 - Data access)
    Backtrace:
    0x27178B0 0x00344ACB 0x00345970 0x2717EC08 0x2718458 0x00340590
    0x003496EC 0x0034B59C 0x0034A6BC 0x000B1DD4
    Kernel Loadable modules in backtrace (with dependencies):
    com.apple.driver.AppleFWDHC1(3.9.5)00x2717c000->0x271aafff
    dependency: com.apple.iokit.10PCIFamily(2.6)00x1e840000
    dependency: com.apple.iokit.I0FireWireFamily(3.4.7)00x270dd000
    Exception state (sv=0x26abd280)
    PC=0x00000000; MSR=0x0000D030; DAR=0x00000000; DSISR=0x00000000; LR=0x00000000;R1=0x00000000; XCP=0x00000000 (unknown)
    BSD process name corresponding to current thread: kernel_task
    so what
    greetings from berlin

    Greetings,
    It appears to be a FW problem, possibly flaky case, or drive problem.
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • Is unplugging TV-out adapter the only way to turn the second display off

    When the video out adaper is plugged in the iMacs resolution resets to what the TV-out can handle, I.e. 1024x768.
    I hate to have to plug/unplug the connecter to turn the TV-out off and thereby regain normal resolution on the iMac.
    Is that the only way? I was hoping that there is a way to disable the video-out and get the iMac back to normal through software rather than physically pull the plug out to turn it off nd then have to plug it back in when I want TV.
    Same goes for audio out. Any way to turn the external off while it's plugged in?
    TIA

    When the video out adaper is plugged in the iMacs
    resolution resets to what the TV-out can handle, I.e.
    1024x768.
    I hate to have to plug/unplug the connecter to turn
    the TV-out off and thereby regain normal resolution
    on the iMac.
    Is that the only way? I was hoping that there is a
    way to disable the video-out and get the iMac back to
    normal through software rather than physically pull
    the plug out to turn it off nd then have to plug it
    back in when I want TV.
    Same goes for audio out. Any way to turn the external
    off while it's plugged in?
    TIA
    Try using ScreenSpanningDoctor. It'll let you have different resolutions for the TV out and the iMac, stopping that insane behavior. Also check out the Griffin iMic for your audio out. Using VLC you can select the second screen for video playback and the iMic for audio. Hope this helps. (works great here)

  • HT4061 I forgot my 4 digit lock passcode & now cannot get into the 4S iphone - Is the ONLY way to fix this to restore to factory settings? I haven't synced my phone to my computer in a loooong time -

    I setup my 4 digit lock & now cannot login (thought it was what I wrote but not working; I have not synched my computer w/my Iphone in a
    long time- is restoring to factory settings the ONLY way to unlock this?  (arrggghh).  Any help is greatly appreciated.

    Yes, that's correct.
    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    Forgotten Restrictions Passcode Help
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    Also, see iTunes- Restoring iOS software.

  • What happened to the toolbar? The only way i can exit this new version is to end the task, cntl/alt/del. I think you screwed up a good thing!!

    I no longer have the tool bar. The only way to exit is to use the task manager to exit. Bookmarks, history, nothing is visible. When exiting via the task function, it says the system is waiting for a reply, but nothing shows on screen. There is no way I will upgrade my other computers to this new version of Firefox!!

    There is no orange button shown. All I have shown is:
    the Firefox Logo
    Google box to enter search item, search
    Signup
    Restore previous screen
    Only way out is cntl/alt/del

  • HT4718 Upgrade to OS X Mountain Lion and my computer keeps restarting! Can you please tell me what I need to do to fix it so I can use it.  The only way I can get in is by using Safe Mode :( Please help

    Help
    I upgrated my computer to OS X Mountain Lion last night and since then my computer keeps restarting over and over again.  The only way I can use it is by being in Safe Mode.  Can  you please tell me what I need to do so my computer works perfectly again.
    Thank you

    If you have more than one user account, you must be logged in as an administrator to carry out these instructions.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Select the most recent panic log under the heading System Diagnostic Reports on the left. If you don't see that heading, select  
    View ▹ Show Log List   from the menu bar. Post the entire contents of the panic report — the text, please, not a screenshot. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post shutdownStall, spin, or hang reports.

  • Is defaulttrace.X.log the only way see what's going on at interaction layer

    Greetings!
    I'm reading the "Development and extension Guide - SAP E-Commerce 5.0" where I found the excerpt:
    The data entered in the added text field has to be retrieved by an Action when the Update button is pressed. In
    this step you will find out what happens in the interaction layer when the Update button is pressed.
    (page 34)
    This excerpt belongs to chapter "Changing the Process Flow", where it is said that one must investigate the flow of events to be able to intercept the process flow.
    Is it the only way to look at such flow of events?
    Thanks in advance,
    Ogata.

    Is this a space issue or is it you retention error. Can you check if there is any advice in the alert log to increase the retention policy.
    otherwise the best idea is to increase/add additional storage to the disk group. You may also want to implement RMAN back, with archive purge enabled
    May I ask what kind of disks /storage are you using? Also have you implemented External redundancy or Normal redundancy. The storage requirements are different in both these situations. And the statistics reported should be read differently depending on the implementation.
    Yes you can look at space either from EM, from Sql Plus or from the asmcmd.
    For example.
    SELECT NAME,STATE,TOTAL_MB,FREE_MB FROM V$ASM_DISKGROUP will give you a highlevel space status.

  • Hide field using a different configuration, is this the only way?.

    I know that I can control which configuration is used by inserting code into the do_config_determination method, but is that really the only way?. I don't want to have to even more copies of the configuation showing or not showing this particular field. Surely there must be a way of hiding the field within this method without changing the configuation set being used?.
    I just can't believe that there is no way around this.
    Now I know that using standard configuration can take care of this, but what if you had a screen with lets say 30 fields or which 5 are dynamic, in other words are either diplayed or to be hidden. The combination of on and off states for these 5 fields being either displayed or hidden would mean that you would gradually build a huge number of screen configurations. Hence the need to hide via coding. Does that seem logical?
    Jas.
    Edited by: Jason Stratham on Sep 8, 2009 2:08 PM

    One of the suggested solutions was to create one line views and display them beneath the main view. We can the determine (via code) whether these views are displayed via view sets. This in effect allows us to have multiple fields that can be either displayed or hidden depending on some kind of routine/logic.
    Jason.

  • My phone goes off in any time of the day and the only way to get it back is through pressing and holding of Home and Sleep button together

    Like I said in the subject line:
    My brand new iPhone 4S/32Gb goes off in any time of the day and the only way to get it back to live is through pressing and holding of the Home and Sleep button together for 5-10 seconds.
    Does anybody have that kind of problem as well?
    Thank you.

    I restored it on I tunes as well did something on the phone. The lastest seems to have helped it but I haven't used it much yet!  Thanks for the help & I'll let you know!

  • HT201270 why my Iphone 5 goes into search for days and the only way to get it working is to reset it via itunes. i am on EE network

    why my Iphone 5 goes into search for days and the only way to get it working is to reset it via itunes. i am on EE network

    Try a SMC reset:
    http://support.apple.com/kb/HT3964
    Try a NVRAM/PRAM reset:
    http://support.apple.com/kb/HT1379
    If no joy, take it back, and take full advantage of your warranty!
    You also may want to let Apple know about this as well:
    http://www.apple.com/feedback//
    I wish you the best

  • The only way to get the bookmark link open is to open the folder right click open. Why is this?

    When i click on the link i want to go to nothing happens. ex: lets say that i want to check my email, well i would normally go to email folder> and just click on yahoo or gmail. well now when i do this nothing happens. i have to right click then go to open.

    Thanks but unfortunately I don't have that option (I'm im Australia) so this will be day 8 that apple have my money without authorisation. The amount has now increased due to the transactions that were pending prior to me cancelling my credit card. The total is now over $300 including the overdrawn fee. It is beyond comprehension that a company the size of apple doesn't have a *real* customer service dept that handle these types of *real* problems immediately via phone contact but I guess that's the point isn't it? If we want to use the apps they provide thru their services and devices we have no choice but to put up with their primitive third world service. I sent them an email via the link you provided 4 days ago. There is no excuse for me to be STILL waiting for this problem to be resolved - none whatsoever, it is disgusting. Thanks for responding I had a feeling that was the only way to get this resolved, only it is so unbelievable I had to make sure.

  • My iPad is acting funny after 6.1.3 update the only way I see fixing this issue to downgrade but I can't find anything on downgrading

    My iPad is acting funny after 6.1.3 update the only way I see fixing this issue to downgrade but I can't find anything on downgrading

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
     Cheers, Tom

Maybe you are looking for

  • Complete apple customer service incompetence

    Well, I'm not sure where to post a statement like this but here goes... At the beginning of September, I had ordered a new 15 inch macbook pro from apple with the quicker hardrive, which proceeded to arrive within the the next week (good job there).

  • Update Header Partner data in a Purchase Order in 4.6C system.

    Hello all, I have written a report program to add/update partner data at PO header level. The report uses BAPI POCHANGE for the update. But the BAPI_PO_CHANGE does not transfer/update Partner Information for the PO's in 4.6 C system. The same code fu

  • Syncronization  of ABAP+java  stack  during the upgrade.

    Hi All, We have successfully upgraded our BWD & BWQ which is ABAP+JAVA stack . we have followed the process of uninstalling the java stack and removing the j2ee and SDM folder and starting the system for the upgrade. Tomorrow we are going to start BW

  • How to delete an operation from order using the bapi

    Can somebody please tell me how to delete an operation from order using the bapi BAPI_ALM_ORDER_MAINTAIN. Following was the test data for the BAPI. 000000 OPERATION DELETE 0000040052810070 000000 SAVE 0000040052810070 Even I tried entering the operat

  • GR for a Subcontract PO

    Hello all, Can anyone help me about this issue? <b>Action:</b> Partial Goods Receipt for a subcontracting PO with item category 'L', with BOM explosion. We've send all the components to our subcontract Vendor. And when we are about to do the MIGO, an