Skip to Content
0

Input field enable only card reader input

Jul 09, 2017 at 09:13 AM

51

avatar image

Hello,

I have an input field in Web Dynpro application. I want to enable card reader input in this field but not keyboard input, to prevent users from entering card number themselves.

I tried to change the field to 'read only' but the card reader is not working in this case.

I also tried to catch keyboard press using search help exit as described here :

https://blogs.sap.com/2016/03/17/on-key-press-event-capturing-in-abap/

but if I type and press enter fast the onEnter event happens before SH exit function.

Do you have another idea ?

Thanks in advanced.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers