Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
replied

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>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question