barcode input from barcode reader(scaner) to dialog screen

Question: Hi All,

I 'm trying to get the barcode from scanner to my dialog screen...is it barcode no move to screen field automatically ?? or I need to code for that..Can anybody help me out ??


Thanks in Avance.

Zits

Answer:
Change your SAPGui settings to automatically tab at the end of each field.

Bear in mind that if you are not completely filling each screen field the auto tab will not work......

(Just in case you are the same person I have discussed this with on the ITToolbox email lists this week).
_________________
Kind Regards

Rosie Brent

Please remember to search the forum and check the FAQ before posting questions, thank you.

Tuly Idiot most of the time, part-time Guru

Answer:
You don't have to write any code for this. Just place the cursor on the field of the dialog screen and then scan.

Answer:
Another idea is to embed tabs or carriage returns in the bar codes so that positioning the cursor on an initial field and then scanning the barcode will cause all the relevant fields to be completed.

If you are using Sapconsole, Carriage returns are the better option as it causes an AT SELECTION-SCREEN ON.... event which allows you to validate the input directly and also programatically control the next field the cursor goes to.
_________________
Regards

R


Abap KC
SFMDR

Answer:
I would agree with R. Also, it is possible to embed the tabs or carrage returns in the barcode scanner (depending on the model) rather than the barcode.

Answer:
Going even further, on one site they actually emebedded field codes in the bar code so the program new where the data was going to end up.
_________________
Regards

R


Abap KC
SFMDR
Copyright ?2007 - 2008 www.jt77.com