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 dynpro - trigger barcode scanner

sotto28
Discoverer
0 Likes
1,090

Hello,

how it is possible to trigger a barcode scanner by a dynpro button. I want to scan a barcode and then insert the number into a dynpro field.

Any function modules or programs?

Best Regards Sebastian

3 REPLIES 3
Read only

iftah_peretz
Active Contributor
808

Hi,

First off, sounds like a really interesting task.

Second, there are a lot of barcode devices out there. So to every one of them, a different solution could work.

That being said, I would Google/contact the supplier for some executable that triggers the reader and (assuming your web Dynpro is running on MS Windows frontend) then use this to fire it.

Read only

sotto28
Discoverer
0 Likes
808

Hello,

thank u for your answer. But i dont use web DynPro .

The SAP CCS transaction WB2R_AB_DOCS can trigger the barcode scanner via billing document type . I try to reproduce this in a custom transaction.

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
808

I'm quite confused by this question... Can you explain what are you trying to achieve exactly?

To my knowledge, barcode scanner is an input device, just like keyboard. We don't "trigger keyboard", do we? It's the other way around: you enter information using keyboard / scanner, hit the button and SAP does something. With this in mind, the concept of "triggering scanner" just seems rather odd to me.

We don't have the transaction WB2R_AB_DOCS in our system.