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: 

SAPConsole - Bell Signal

Former Member
0 Kudos
788

Hi All, I'm working with SAPConsole, and I need to play a sound when the user make a mistake during the execution of the program I developed. I used SAP NOTE# 371838, but i does not work. I tried the telnet (Georgia) steps, but it does not work. I really don't know what the problem is. Anybody know how to solve the problem I have?

I will copy part of the note and after that the telnet steps.

<b> SAP Note No. 371838</b>

a) 1. Create inside the PBO of the relevant screen a module. Let say

the the module name is BELL_SIGNAL.

b) The BELL_SIGNAL module should include the following code:

*

&----


&

*& Module Bell_Signal OUTPUT

&----


& MODULE Bell_Signal OUTPUT.

DATA NOTIFY_BELL_SIGNAL(1) TYPE N.

NOTIFY_BELL_SIGNAL = '3'.

ENDMODULE. " Bell_Signal OUTPUT

c) The definition of the variable NOTIFY_BELL_SIGNAL is numeric with one position, which allows the programmer to enter values between 1-9 (the number of "BEEP" sound/signal you want to play. This way you can send different numbers of bell signal and differentiate

in the code between: success to an error sound.

d) You also need to define in the screen layout a field

NOTIFY_BELL_SIGNAL with the following characteristics:

- The length of the field will be one position.

- The field will be in format NUMC.

- The field is Output only.

- The field is visible although nothing will be shown

on the run since the bell signal is Captured on it's

way to the screen and the "BEEP" sound is played instead by the SAPConsole.

<b>Telnet steps</b>

BellX - column of the bell character, initialized to 0xffffffff, which makes it inactive.

BellY - row of the bell character, initialized to 0xffffffff, which makes it inactive.

BellChar - value of the bell character, initialized to 0x87

BellCnt - value for the number of times that the bell will sound, initialized to 0x01

All four parameters work for all types of clients, including the gs_admin. In order to disable the

feature: set BellX or BellY to 0xffffffff.

NOTE 1: The Special Character will be automatically replaced with a space

character on the screen.

NOTE 2: The top left screen position is defined as 1,1.

7 REPLIES 7

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
213

I have successfully implemented such functionality. What version of SApconsole are you running?

What version of the gui did you install it from.

Regards,

Rich HEilman

0 Kudos
213

This functionality is built into later version of sapconsole, I believe starting with 6.22. It is a setting in the SAPconsole Administor. Its just a flag, that you set on. In the ABAP program, you do as it suggests in the Note. We are currently running the 6.40 version which also supports this and it work very well. If you are running an older version of SAPconsole, it may be time to upgrade. You can either do a clean install from the 6.20 gui or 6.40 gui. You will need the installation disks/files. Or I could send you what SAP sent me when I wanted to upgrade to 6.22 to get the bell signal functionality. If you want me to sent the files, just email me, my address is on my business card.

Regards,

Rich Heilman

0 Kudos
213

Hi Rich, thanks for the answer.

I'm using sapgui 6.40, and SAPConsole 6.4. If you can, please, send me the files to campanita@myrealbox.com

Do you change something on the telnet? which telnet are you using? you yo change something on the terminal?

I'm using Georgia Telnet and Intermec terminals.

All the information you have, is very usefull for me.

Thanks!!

0 Kudos
213

If you are using the SAPconsole 6.40. Then there is no need to upgrade. Just set the flag in the sapconsole adminstrator user interface.

We are using....

R/3 46c

SAPconsole 6.40

GSW Telnet

Intermec T2425 handhelds

Intermed T2480 stationary

I did nothing on the terminal, nothing on the telnet server.

Regards,

Rich Heilman

0 Kudos
213

Hi Rich and friends,

I'm trying to make this work, I followed each step but no beep sound. I couldn't locate the SAP console (to enable bell signal tick box), we are using citrix to access SAP. Only thing I have access is the SAP logon.

Appreciate your feedback..


Thank you.

marko_kunsic
Explorer
0 Kudos
213

Hi everyone,

I've successfuly implemented SAP Note No. 371838.

Only thing that bothers me is that field NOTIFY_BELL_SIGNAL on screen is still displayed

( I see number ).

From SAP note I would expected that number won't be visible:

d) You also need to define in the screen layout a field

NOTIFY_BELL_SIGNAL with the following characteristics:

     - The length of the field will be one position.

     - The field will be in format NUMC.

     - The field is Output only.

     - The field is visible although nothing will be shown

      on the run since the bell signal is Captured on it's

      way to the screen and the "BEEP" sound is played    instead by the SAPConsole. 

Have I missed something?

Thank you very much,

Marko



Former Member
0 Kudos
213

On the SAPconsole administrator, in the profile details the setting for Terminal engine, I/O Engine SapVTIO. Within the config button there is an option to "enable bell signal"