Skip to Content

Create alert sound with popup

Is there a way to create sounds with webdynpro abap?

I have a application which is operated using wireless barcode scanner, and if error occurs I´d like to have a alert sound that tells the user to stop scanning and check the input.

Using popup I can visually tell the user that there is a problem with barcode, but if user is not looking at the monitor or is too far away to see, it is very hard to know the status of the bardode read. The scanner is "dummy" scanner, it cannot tell that there is an error.

Regards,

Pekka

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 02, 2008 at 01:19 PM

    There is no UI element that really supports the the playing of sounds within Web Dynpro. In the future you might be able to use the flashIslands UI element to embed a flash/flex component that would play the sound in the popup. For now you might want to consider using an iFrame (although technically depreciated) to host a BSP page (or other web programming page) to play the sound file.

    In something like BSP where you can directly output HTML you can play a sound with code like this:

    <embed src="error.wav" autostart=true loop=false>

    Add comment
    10|10000 characters needed characters exceeded