cancel
Showing results for 
Search instead for 
Did you mean: 

itsmobile sound browser

Former Member
0 Kudos

Hi,

I created a new mobile service based on itsmobile.

Service is named ZMOBILE_ZO21.

Service parameters are :

~THEME 99

~TRANSACTION ZO21_ITS

#MOBILE This is a mobile service

~ITSMOBILE 1

#ENABLE BACKGROUND SOUND FOR MESSAGES

~ITSMOBILEMSGSOUND 1

~XSRFCHECK 1

~SOURCES ZMOBILE_ZO21,itsgenmobile,itsmobile,system,itsmobile00

~RECORD 1

~IGNORE_MISSING_SUBSCREEN 1

~WEBGUI_SIMPLE_TOOLBAR 1

~ITSMOBILESOUNDINCLUDE CETERM_SOUND

I use a industry specific browser (BHT-Browser 600, Ver. 1.33) on a mobile scanner device.

No sound is heard when having a standard SAP-Error-Message. Scanner "beep" works when scanning a barcode.

SAP Note 1719568 is supposed to be the solution, but it seems not.

I implemented SAP Note 1719568 (Basis Package is SAPKB70213). Services are published, Templates are generated.

Any ideas what is missing ?

Re

Accepted Solutions (1)

Accepted Solutions (1)

former_member194364
Active Contributor
0 Kudos

Hi Re,

Did you copy the CETERM_SOUND file from ITSMOBILE01 service into your service?

change the following parameter

~SOURCES ZMOBILE_ZO21, ITSMOBILE

delete the following.

FYI - You are using parameters that are not supported for ITSMOBILE

~RECORD 1

~IGNORE_MISSING_SUBSCREEN 1

~WEBGUI_SIMPLE_TOOLBAR 1

Have you checked by calling the CETERM_SOUND file directly on your Browser(BHT-Browser 600, Ver. 1.33). Does it play?

Regards,

Oisin

Former Member
0 Kudos

Hi Oisin,

thanks for the answer.

I deleted .

~RECORD 1

~IGNORE_MISSING_SUBSCREEN 1

~WEBGUI_SIMPLE_TOOLBAR 1

and changed to .

~SOURCES ZMOBILE_ZO21, ITSMOBILE

CETERM_SOUND is a HTML-Template that I copied from ITSMOBILE01 service into my service ZMOBILE_ZO21.

Is it a file ?

I don't know how to call the CETERM_SOUND file directly on my Browser.

Regards

Stephan Semer (now correct name, seems it cut off after "Re" in the word "regards" 😉

former_member194364
Active Contributor
0 Kudos

Hi Stephan,

You are correct. CETERM_SOUND is a HTML-Template.

What is the name of the standard SAP-Error-Message sound that you hope to play?

i.e what is the ~messagetype that you are passing? Does the sound work if called from a Desktop Browser?

Regards,

Oisín

Former Member
0 Kudos

Hi Oisin,

the messagetype is "E", an error message.

Command line in the PAI of the dynpro is :

        MESSAGE e022(z_sits_mobile).

The sound works if service is called on the desktop browser, the Internet Explorer 8.

But it only works with IE if I delete the parameter

     ~ITSMOBILESOUNDINCLUDE CETERM_SOUND

in my service ZMOBILE_ZO21.

Then the IE-specific tag <bgsound> seems to work.

SAP Note 1719568 indicates that <bgsound>-tag is not supported by some browsers.

Therefore template CETERM_SOUND is introduced with note 1719568.

Perhaps I need a specific HTML-template like CETERM_SOUND for my BHT-Browser 600, Ver. 1.33 ?

Thanks and regards,

Stephan

( sorry for the delay, as I am new in SCN my comments need to be approved)

Former Member

Hi Oisin,

I tried to create a own, modified SOUND-template within my service ZMOBILE_ZO21 and it seems to work. The manual of the BHT Browser gave me a hint with the existence of a "buzzer plug-in".

I declared a new function in the <head>-area :

<head>

..

 

<object name="buzzer" type="application/x-buzzer-plugin" width=0 height=0>

</object>

<script>

function BuzzerOn()

{

buzzer.onTime = 3; // Beeping/vibrating on time: 300ms

buzzer.offTime = 2; // Beeping/vibrating off time: 200ms

buzzer.frequency = 1000; // Frequency : 1000Hz

buzzer.count = 2; // No. of beeps/vibrations: 2 times

buzzer.on();

}

</script>

..

</head>

I created a new template called SOUND similar to CETERM_SOUND.

Within the template i call the function BuzzerOn() in case of an error-message.

<body onLoad=BuzzerOn()>

</body>

It works now.

Thank you.

Regards,

Stephan

former_member194364
Active Contributor

Thanks for sharing the solution Stephan.

Answers (0)