on 06-27-2013 3:42 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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" 😉
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)
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
Thanks for sharing the solution Stephan.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.