How to handle "Enter" Button event in Module Pool

Question: dear all,
can anyone help me in tracing "Enter" event , i need to validate the field when user press "enter" button i try in case-> other-> endcase .
i works fine but while scrolling the table control the same code is exceuting , so can any one help in tracing it and what will be the value of sy-ucomm when "enter" button is press .
i even recordeed and found '/00' but didn't work out , please help me out.

Answer:
try to check out the ok_code field, I did something like this in a alv grid to update some fields after user input in an another field...

Answer:
Hi ,

Use SHDB to chk the okcodes for all the scenarios (for scrolling and enter button)....if the ok code for both enter and scroll appears to be same then u cannot avoid it....most of the cases the scroll has '=/00' as ok code and for enter we sometimes have '=/ENTE'....try this method and tell me
Copyright ?2007 - 2008 www.jt77.com