on 08-23-2010 8:57 AM
Hey MII-Guys,
in my html in MII I created a button with this coding:
<input type="button" name="Button1" value="testbutton">
now I want a connection to a Xacute-Query by pressing this button.
How can I do this?
I tried to write a SelectionEvent:
<param NAME="SelectionEvent" Value = "onClickButton">
to execute a JS-function.
What exactly do I have to write in this function, to call a specific Xacute-Query?
function onClickButton(){
}
Does anybody know?
I'd be very thankful for some help.
Thx a lot!
Martin
Edited by: MartinSch on Aug 23, 2010 9:59 AM
Hi,
Just add one applet for xecute query in your html code as iCommand.
<applet name="App" codebase="/XMII/Classes" code="iCommand" archive="illum8.zip" width="0" height="0" mayscript>
<param name="QueryTemplate" value="Query Path">
</applet>
Then inside your function you can write follwing code.
document.App(applet name of query).executeCommand();
Regards,
Manoj Bilthare
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Martin,
In addition to reviewing the help, be aware of the script assistant that is available. For MII 12.1 and newer, the script assistant is built into the workbench. For older versions, there is a stand alone script assistant. The script assistant helped me when I started out and it reduced the typos I had.
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Martin,
you may find the SAP MII Help useful: [Web Page Scripting|http://help.sap.com/saphelp_mii121/helpdata/en/43/e80b59ad40719ae10000000a1553f6/frameset.htm] which gives an example for this. The link leads to MII 12.1 help, but the example also works for other MII versions.
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.