Application Development 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: 

Error message with alarm after scanning

former_member210857
Participant
0 Kudos

Hi Friends ,

We are going for an automation process for doing the transfer posting .

Is there any device which can give give an alarm when the scanned material is not found in some reference table .

The idea is when we scan the material ,is the material is not available it should give an alarm and should stop the process .

The person who is scanning should know it with out seeing the system screen .Is there any way to achieve that

Regards,

Subeesh Kannottil

2 REPLIES 2

roberto_vacca2
Active Contributor
0 Kudos

HI.

What do you mean with alarm? A kind of beep continuos from the PC? A kind of beep from the scanner interface?

With a dos command or a scanner command you should be able to do it with instructions in SAP.

Hope to help

Bye

former_member184158
Active Contributor
0 Kudos

Hi,

I think you can do it,

just check if the material exists or not, if not, so you can call a fm if exists or you can program it,

to do a kind of beep in PC,

this is my idea, but I did not try it and I did not do with voice in SAP. just google it how to play  a voic in ABAP,

but you can try this , it could help you,

select single matnr from MARA into ls_matnr where matrn = lv_matnr.

if sy-subrc <> 0.

  call function 'GUI_EXEC'

       exporting

            command = 'mplay32.exe /play /close c:\temp\info.wav'.

endif.

Reagrds

Ibrahim