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: 

How to produce beep sound from sap program?

Former Member
0 Kudos

Hello all,

Can anybody help me to produce beep sound from sap program.

I dont want to play a WAV file.

I just want to produce a BEEP sound.

Your help is highly appreciated.

Thanks n Regards

chandu

4 REPLIES 4

Former Member
0 Kudos

check this :

0 Kudos

Hi

Thanks for the quick response.

I tried the code in ur reply.

Its not producing any beep sound.

********************************************************

type-pools: ole2.

data: return type i,

sapinfo type ole2_object.

data: begin of command,

command(12) type c value 'cmd /c echo ',

hex07(1) type x value '07',

end of command.

create object sapinfo 'SAPINFO' no flush.

call method of sapinfo 'EXEC' = return

exporting

#1 = command

#2 = 0.

free sapinfo.

**************************************************

Is there anyother way??

Thanks

Former Member
0 Kudos

Here is another thread which asked the same question recently.

https://forums.sdn.sap.com/click.jspa?searchID=13591546&messageID=5586706

0 Kudos

Hi Mike

Thanks for the reply.

I have tried the code in ur reply, even that is not working.

The links in ur reply are to set Beep sound at the system level.

Even in my program the sytem produces a beep sound, apart from that i want to produce one more beep explicitly.

thanks