‎2012 Nov 26 7:48 PM
Hi Gurus !....I have a selection screen in ABAP with several fields. I'm using the AT SELECTION-SCREEN event to edit the selection fields. When a user enters data and presses the "Enter Key" the system will edit the fields and wait until the "Execute" button is pressed to process the data. However, if I enter some data on the screen and press the "Execute" button instead of the "Enter" key it will edit the data as usual, but if I press "Enter" after fixing the data it will execute the report. Is this the way it should work ? I hope the explanation is clear enough. Thanks, Mike
‎2012 Nov 26 8:25 PM
Hi Michael,
In your AT SELECTION-SCREEN event, it sounds like you need to pay attention to the value of sy-ucomm and execute only the desired code depending on whether the user has pressed ENTER or EXECUTE.
Cheers,
Amy
‎2012 Nov 26 8:25 PM
Hi Michael,
In your AT SELECTION-SCREEN event, it sounds like you need to pay attention to the value of sy-ucomm and execute only the desired code depending on whether the user has pressed ENTER or EXECUTE.
Cheers,
Amy
‎2012 Nov 26 8:55 PM
Thanks Amy.....I discovered this after further research....I believe this is the answer.
Mike