This section describes bell signal reception and processing by the SAPConsole:
...
1. If the variable NOTIFY_BELL_SIGNAL = 3, then SAPConsole will create three beeps:
○ In the telnet mode (sapcnsl.exe), you can hear three beeps.
○ In the Web mode, we use the tag <bgsound src="sounds/alert.wav"/> in order to send a beep and, therefore, cannot send the wav file three times. However, you can send other wav files, for example, <bgsound src="sounds/beeps.wav"/>.
Therefore, the following new registry key is created:
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepNotify
Example:
WebBeepNotify = sounds/beeps.wav
Thus, if NOTIFY_BELL_SIGNAL=n exists in SAP screen and n>0, then the name of a wav file is taken from WebBeepNotify.
2. Determine different message types.
Available message types are:
¡ X (EXIT)
¡ A (Abend)
¡ I (Information)
¡ E (Error)
¡ W (Warning)
¡ S (Status)
The following new registry keys are created:
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepMessageA
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepMessageE
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepMessageI
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepMessageS
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepMessageW
HKEY_LOCAL_MACHINE\SOFTWARE\SAP\Ofek\SapConsole\Profiles\<profile_name>\WebBeepMessageX
Messages of type A and I have the same properties and cannot be separated. Thus, they have the same sound. Similarly, messages of type W have the same sound as messages of type E.
The default values are as follows:
WebBeepMessageA = sounds/alert.wav
WebBeepMessageE = sounds/alert.wav
WebBeepMessageI = sounds/alert.wav
WebBeepMessageS = sounds/alert.wav
WebBeepMessageW = sounds/alert.wav
WebBeepMessageX = sounds/alert.wav
WebBeepNotify = sounds/alert.wav
You can create your own wav file for each message type and send it.