‎2014 Dec 15 1:43 PM
Hi all,
I'm a newbie in ABAP.
I'm trying to make a report position material using scan barcode. So when user scan the barcode on input field, then the system will execute automatically and display the position of its material.
I don't have any idea how to call event execute automatically after user scanned the barcode / input the barcode number ?
Can you help me how to do this?
Regards,
fenny
‎2014 Dec 15 2:43 PM
Hi Fenny,
Generally, the scanner will automatically add a 'Enter' after scanned barcode. It`s same you click 'Enter' from keyboard.
So just in your program response the 'Enter' in user_command form.
regards,
Archer
‎2014 Dec 15 2:43 PM
Hi Fenny,
Generally, the scanner will automatically add a 'Enter' after scanned barcode. It`s same you click 'Enter' from keyboard.
So just in your program response the 'Enter' in user_command form.
regards,
Archer
‎2014 Dec 16 7:44 AM
Hi Fenny,
Use this Function Module , where you can set the Function Code(Sy-ucomm) ,
CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE'
EXPORTING
FUNCTIONCODE = '=ENT'
EXCEPTIONS
FUNCTION_NOT_SUPPORTED = 1
OTHERS = 2.
Hope it helps....
Thanks,
Vijay SR
‎2014 Dec 21 6:55 AM