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

Disable Keyboard Input

Former Member
0 Likes
4,020

I am using a RF hand held device in WM Module, in which there is a requirement that one can scan number using RF Gun should displayed on the input field (i.e. for Material Number), but he can not enter the value in the input field manually through RF Key pad... i.e. the value should only come from the scanner and not from the keyboard... and simultaneously he can enter field value from his Laptop Key board.

what can be done???

I am using a RF hand held device in WM Module, in which there is a requirement that one can scan number using RF Gun should displayed on the input field (i.e. for Material Number), but he can not enter the value in the input field manually through RF Key pad... i.e. the value should only come from the scanner and not from the keyboard... and simultaneously he can enter field value from his Laptop Key board.

what can be done???

11 REPLIES 11
Read only

arindam_m
Active Contributor
0 Likes
2,702

Hi,

I think making the field 'DISPLAY' only should achieve the functionality. The PAI event should populate the display after the read and as its Display Only Keyboard input would be disabled.

Cheers,

Arindam

Read only

0 Likes
2,702

Hi,

I think the SAPGui can't distinct between the keyboard input and the RF key pad. It's the input method .. that's all. But Former Member have a good idea with the field. Set the field like a password *********   the user will not appreciate to enter a value without see the result, for the RF key pad it's not a problem ...

regards

Fred

Read only

Former Member
0 Likes
2,702

Hi Krupa,

As far as i know we cannot disable RF keyboard and enable Laptop Keyboard at the same time.

What you can do put a radio button on the screen as:

     Take input from:

  • RF gun
  • Laptop Keyboard

     Below this will be the input field. When the 'RF gun' radiobutton is picked, disable the text field and when 'Laptop Keyboard' radiobutton is selected, enable it.

Even so, i do not get the point in disabling RF keypad when Laptop Keyboard is on as the chances of error on a keyboard are same as that on a RF keypad when entered manually.

Read only

Former Member
0 Likes
2,702

Hi Arindam,

if making field 'DISPALY only the through scanner i can't able to scan any

Read only

arindam_m
Active Contributor
0 Likes
2,702

Hi,

I gone a bit confused You said

one can scan number using RF Gun should displayed on the input field (i.e. for Material Number), but he can not enter the value in the input field manually through RF Key pad... i.e. the value should only come from the scanner and not from the keyboard..

So you were referring to a field in the screen that shows the scanned number if so how come making a screen field display only impact scanning.

Cheers,

Arindam

Read only

Former Member
0 Likes
2,702

Hi Krupa,

Based on the screen-size (RF will have one and Keyboard Input will have another)-if the entry has been made through RF-Scan, then gray out the area-and if the user tries using RF keyboard-note the number of strokes (don't allow anything greater than 1- give an message and when user okays it-clear his input). In case of Keyboard Entry from say the Desktop-allow entry based on the screen-size. Do you think this will resolve your issue?. Thanks.

Regards,

Shashi

Read only

0 Likes
2,702

i try to do this but field is initial

Read only

0 Likes
2,702

Hi Krupa,

Can you explain in a bit detail-as to which field is initial-paste code snippet if not a lengthy one. Thanks

Regards,

Shashi

Read only

0 Likes
2,702

if i use USB SCANNER then it is possible ?

Read only

0 Likes
2,702

This message was moderated.

Read only

Former Member
0 Likes
2,702

i try to solve using following thread

http://scn.sap.com/thread/1688977