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

ABAP dialog programming call execute automatically

Former Member
0 Likes
972

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
815

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

3 REPLIES 3
Read only

Former Member
0 Likes
816

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

Read only

Former Member
0 Likes
815

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

Read only

Former Member
0 Likes
815

Ok all. thank you for your help. Problem solved.

Regards,

Fenny