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.
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



Former Member
0 Kudos

check this :

0 Kudos


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


#1 = command

#2 = 0.

free sapinfo.


Is there anyother way??


Former Member
0 Kudos

Here is another thread which asked the same question recently.

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.