Application Development and Automation 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: 
Read only

Making PC Speaker BeeP Using ABAP ...

Former Member
0 Likes
1,918

How can I make my PC speaker BEEP using ABAP e.g in Gw-basic we can use beep(5); etc to make the PC speaker beep for 5 secs delay? Thank u!!

How can I make my PC speaker BEEP using ABAP e.g in Gw-basic we can use beep(5); etc to make the PC speaker beep for 5 secs delay? Thank u!!

5 REPLIES 5
Read only

b_deterd2
Active Contributor
0 Likes
1,284

Hi,

There is no BEEP or SOUND statement in ABAP . If you want to delay the program execution there is the statement WAIT UP TO n SECONDS.

Regards,

Bert

Read only

former_member156446
Active Contributor
0 Likes
1,284

hi check this [link|http://help.sap.com/saphelp_46c/helpdata/en/4a/6dfb3753633c77e10000009b38f8cf/content.htm]

this is for GUI sound settings... bebug the code.. you migh find a clue..

Read only

Former Member
0 Likes
1,284

Local Layout Settings in SAP GUI for Windows

Make the following settings in SAP GUI for Windows:

1. Choose Local Layout ® Options in the menu. You can also use the key combination ALT + F12 (for Local Layout) and then press the key O (for Options).

The text Local Layout is displayed in SAP GUI for Windows only if you have enabled the accessibility mode in the SAP configuration.

2. On the Options tab page, select Dialog box at error message and Dialog box at warning message. If you also want to display dialog boxes for success messages and play beeps for messages, set the appropriate options.

We recommend that users of screen readers or screen magnifiers use this setting. More information is available under Setting the Type of Message Notification in SAP GUI for Windows.

http://help.sap.com/saphelp_nw04s/helpdata/en/fd/7c4a41edf0db2be10000000a1550b0/frameset.htm

Read only

Former Member
0 Likes
1,284

Use this -;)


REPORT ZBEEP.

INCLUDE OLE2INCL.

DATA WORDBASIC TYPE OLE2_OBJECT.
DATA OBJECTVAR1 TYPE OLE2_OBJECT.

CREATE OBJECT WORDBASIC 'Word.Basic' .

CALL METHOD OF WORDBASIC 'Beep' = OBJECTVAR1
EXPORTING #1 = '1'.

Greetings,

Blag.

Read only

0 Likes
1,284

Its not doing anything.. no sound at all.