10-20-2011 6:10 AM
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
10-20-2011 6:35 AM
Hi ,
Please check below example.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac0b35c111d1829f0000e829fbfe/content.htm
10-20-2011 6:35 AM
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
10-20-2011 7:03 AM
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.