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

Differentiate between scanner input and keyboard input

sakshi1989
Explorer
0 Likes
2,566

Material for example with 50 quantity, barcode is generated with one quantity and printed to paste on the cartons. In this scenario, 50 barcode will be generated each for a material carton. User instead of going to the shopfloor, takes the printout of barcode, scan only one barcode and enter the same data manually for the remaining 49 barcode.

We want to restrict the manual entry to input fields, so that only scanner is used as the input device for the data.

Technical Overview :- A module pool screen is created with input fields - Material, Quantity, Batch and Date. In these input fields data will come by scanning the barcode to process the functionalities further. But, user is able to manually enter the data into fields which has negative impact on business. I want to restrict the input through keyboard, please provide the solution which can either differentiate between the source of input or a way in module pool that takes data only through handheld scanner.

2 REPLIES 2
Read only

matt
Active Contributor
1,135

Configure your scanner to add an otherwise untypeable prefix to the scanned text. If the prefix doesn't exist in the input text, then you know it's not from the scanner. You then strip out the prefix in your module pool code.

Read only

0 Likes
1,135

Dear Mathew,

In this case end users will also use the last character when they type via keyboard.

Do you have any other option like : input should be non-editable for keyboard where as it is editable for scanner