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: 

Scanning numbers --> double value

Former Member
0 Kudos

Hello,

I´m scanning serial numbers and after every scanning, the previous value is duplicated in the current line:

1st. 7777

2nd. 88887777

3rd. 999988887777

4th 00009999888887777

and so on

has any body any idea on what the problem could be ??

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

What you are seeing is the basic functionality of either the gui if you are running this on a remote terminal using SAPconsole. Basically, what you need to do is hit "ENTER" after each scan and process that scanned value in your application. There are a number of ways to approach this. First, you would need to set the "ENTER" key as a valid user command in your gui status of the application(and handle accordingly in the PAI), then depending on the scanner, you can set a "postamble" within the scanner itself, which will automatically issue the "ENTER" after scanning the barcode.

Regards,

Rich Heilman

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

What you are seeing is the basic functionality of either the gui if you are running this on a remote terminal using SAPconsole. Basically, what you need to do is hit "ENTER" after each scan and process that scanned value in your application. There are a number of ways to approach this. First, you would need to set the "ENTER" key as a valid user command in your gui status of the application(and handle accordingly in the PAI), then depending on the scanner, you can set a "postamble" within the scanner itself, which will automatically issue the "ENTER" after scanning the barcode.

Regards,

Rich Heilman

Former Member
0 Kudos

done