Application Development 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: 

How to shift cursor from one field to another on selection screen

former_member182379
Contributor
0 Kudos

Hi,

On the selection screen, I have many fields, like material code, plant, valuation type etc.

Materoal Code,

Serial Number

Plant

Valuation type, and many other fields

those fields are on selection screen my requirement is when user enter the material code in Material code field and when he press the enter the cursor should come in the second filed Plant and so on, how to do this i dont want to use keyboard keys lik TAB, Arrow key, because I am entering the data on selection screen., with a scanner device and on that device there is one command which act as ENTER key of the keyboard. after after entring the data in first field when the scanner gives the enter command i am doing som e validation for the given field value then want to shift the curson position to next field..

regards,

zafar

3 REPLIES 3

jitendra_it
Active Contributor

Former Member
0 Kudos

Hi,


after entring the data in first field when the scanner gives the enter command i am doing som e validation for the given field value then want to shift the curson position to next field

After doing the validation, write the code - SET CURSOR FIELD 'SELECTION_SCREEN_FIELD_NAME'.

Eg - SET CURSOR FIELD 'P_SERNR'.

Thanks

lijisusan_mathews
Active Contributor
0 Kudos

Didi you try using SET CURSOR FIELD so_matnr-low.??

Also if you want data to be entered in every field, just set all teh fields as obligatory and try. It will stop at blank fields.