cancel
Showing results for 
Search instead for 
Did you mean: 

Create trigger to execute report upon pressing enter

Former Member
0 Kudos

Hi,

I have a screen where users input a vendor number and then have to click the execute button to view the report. I want to create some sort of trigger so when the user presses the enter button the program will execute instead of having to press the execute button or F8. Does anyone know how to create this event? Thanks for your help!

Shane

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You need to check sy-ucomm at selection screen.If its for "enter" then execute the program.Same as the execute button does.

I am not sure if sy-ucomm gets captured there, It should be blank.Just try once.

Edited by: sap_wiz on May 26, 2011 10:39 AM