on 11-16-2017 12:20 PM
zits-m.jpgHello Experts.
I have an issue with function keys. We have created a Z program and publish it in an ITS Service. Everything works ok except for the function keys. We work with Intermek CK3X Hand Held.
The gui configuration is set in the following way
~THEME99
~TRANSACTION/ANDINA/RDMSD_CCCIP
~ITSMOBILE1
~SOURCESZITS_M,ITSmobile
~POPUPS1
~ITSMOBILEMSGSOUND1
~SHOW_SYSTEM_MODAL1 ~ITSMOBILEDEVICEINCLUDEDEVINCLUDE_INTERMECCK3
SE80 has been configurated as follows, I had added the device as a HTML model also.
Inside, is the following code,
`include(~service="system", ~language="", ~theme="dm", ~name="templateLibraryScreenIndependentDHTML.html");` <html> <head> <!-- <title>`#windowtitle`</title> --> `SAP_TemplateStylesheet()` `SAP_TemplateJavaScript()` </head> <body `SAP_TemplateBodyAttributes( )` onload="`SAP_TemplateOnLoadJavaScript()`" > <!-- add content here --> </body> `SAP_TemplatePostProcess();` <html> <head> <!-- This page tests changing the FKey functionality using the IB_OnKey metatag --> <!-- This page changes Fkeys 1 through 12, the next page changes Fkeys 13 through 24 --> <!-- The IB_OnKey metatag is tested --> <!-- This example exists to show SAP compatibility for the Intermec CK3 Mobile Computer --> <title>Function Key Test 1</title> <meta http-equiv="IB_OnKey0x70" content="Javascript:setFKey('1');"> <meta http-equiv="IB_OnKey0x71" content="Javascript:setFKey('2');"> <meta http-equiv="IB_OnKey0x72" content="Javascript:setFKey('3');"> <meta http-equiv="IB_OnKey0x73" content="Javascript:setFKey('4');"> <meta http-equiv="IB_OnKey0x74" content="Javascript:setFKey('5');"> <meta http-equiv="IB_OnKey0x75" content="Javascript:setFKey('6');"> <meta http-equiv="IB_OnKey118" content="Javascript:setFKey('7');"> <meta http-equiv="IB_OnKey119" content="Javascript:setFKey('8');"> <meta http-equiv="IB_OnKey120" content="Javascript:setFKey('9');"> <meta http-equiv="IB_OnKey121" content="Javascript:setFKey('10');"> <meta http-equiv="IB_OnKey122" content="Javascript:setFKey('11');"> <meta http-equiv="IB_OnKey123" content="Javascript:setFKey('12');"> <meta http-equiv="IB_OnKey49" content="file://\Windows\Intermec_Browser\fkeytest2.html"> <meta http-equiv="IB_OnKey27" content="IB_HOME_SCREEN"> <SCRIPT LANGUAGE="JAVASCRIPT"> function setFKey(data) { switch(data) { case '1': alert('F1 Was Pressed'); break; case '2': alert('F2 Was Pressed'); break; case '3': alert('F3 Was Pressed'); break; case '4': alert('F4 Was Pressed'); break; case '5': alert('F5 Was Pressed'); break; case '6': alert('F6 Was Pressed'); break; case '7': alert('F7 Was Pressed'); break; case '8': alert('F8 Was Pressed'); break; case '9': alert('F9 Was Pressed'); break; case '10': alert('F10 Was Pressed'); break; case '11': alert('F11 Was Pressed'); break; case '12': alert('F12 Was Pressed'); break; case '13': alert('F13 Was Pressed'); break; case '14': alert('F14 Was Pressed'); break; case '15': alert('F15 Was Pressed'); break; case '16': alert('F16 Was Pressed'); break; case '17': alert('F17 Was Pressed'); break; case '18': alert('F18 Was Pressed'); break; case '19': alert('F19 Was Pressed'); break; case '20': alert('F20 Was Pressed'); break; case '21': alert('F21 Was Pressed'); break; case '22': alert('F22 Was Pressed'); break; case '23': alert('F23 Was Pressed'); break; case '24': alert('F24 Was Pressed'); break; default: alert('Something Was Pressed'); } } </SCRIPT> </head> <body> <table border="0" cellpadding="0" cellspacing="0" style="BORDER-COLLAPSE: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <td width="100%" colspan="2"><b><font size="5">Function Key Testing Page</font></b></td> </tr> <tr> <td width="100%" colspan="2"> </td> </tr> <tr> <td width="100%" colspan="2">The Function Keys F1 through F12 will now display alerts when pressed</td> </tr> <tr> <td width="100%" colspan="2"> </td> </tr> <tr> <td width="100%" colspan="2"> <a href="file://\windows\Intermec_Browser\fkeytest2.html">1) Function Keys F13 through F24</a></td> </tr> <tr> <td width="100%" colspan="2"> <br><br><br><br><br><br><br><br><br></td> </tr> <tr> <td width="100%" colspan="2"><a href="#IB_HOME_SCREEN">Home</a></td> </tr> <tr> <td width="100%" colspan="2"> </td> </tr> <tr> <td width="100%" colspan="2"><font size="1"><script language="JavaScript" src="file://\Windows\Intermec_Browser\BrowserInfo.js"></script></font></td> </tr> </table> </body> </html>
but still not working.
Has anyone worked with CK3X model before?
Is still missing some configuration?
Hello Javier,
Could you please check whether the approach from SAP note 1491666 helps?
Thanks and kind regards,
Cris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.