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

Push ENTER button

Former Member
0 Likes
404

How can I know If the user has pushed the ENTER button before saving (pushing SAVE button)?

Thanks in advance.

2 REPLIES 2
Read only

samantak_chatterjee
Active Contributor
0 Likes
363

Hi,

You can check the Ok code of the button pressed. If do a check on sy-ucomm then you will know the code and then you can process your logic based on the code.

Thanks and Regards,

Samantak.

Rewards points for useful answers.

Read only

Former Member
0 Likes
363

Hi,

this can be checked by checking the sy-ucomm.

Try checking for fctcode of the ENTER button where u r checking the sy-ucomm for SAVE button.

Rward prints if helpful.