The UI element BarCodeReader represents a non-visible UI element used for developing mobile Web Dynpro applications. With this UI element, you can use a Pocket PC equipped with a barcode scanner for mobile data entry. This function is currently only supported by devices manufactured by Intermec Technologies and Symbol Technologies.
To enable you to debug the Web Dynpro application, the default value of the visible property is set to visible. In production applications, this value must be set to none.
● type
Specifies the type of the reading device used as a barcode scanner. Note that the type is device-specific. The typeproperty can take the following values and is represented by the enumeration type WDBarCodeReaderType.
Intermec |
Devices manufactured by Intermec |
Symbol |
Devices manufactured by Symbol |
Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
Enabled |
IWDUIElement |
boolean |
true |
bindable |
No |
Tooltip |
IWDUIElement |
String |
|
bindable |
No |
Type |
IWDBarCodeReader |
WDBarCodeReaderType |
intermec |
bindable |
No |
Visible |
IWDUIElement |
Visibility |
visible |
bindable |
No |
● onRead
This event is triggered whenever the user scans a barcode.
Event Parameter |
Type |
Description |
barCode |
String |
Scanned barcode |
type |
String |
Type of barcode scanner |