Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Selection Screen Processing

Former Member
0 Likes
511

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 

1 ACCEPTED SOLUTION
Read only

amy_king
Active Contributor
0 Likes
476

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

2 REPLIES 2
Read only

amy_king
Active Contributor
0 Likes
477

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

Read only

Former Member
0 Likes
476

Thanks Amy.....I discovered this after further research....I believe this is the answer.

Mike