Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Re: How to invoke the MII URL(calling MII transaction) in background on click Post button from UI in javascript

$
0
0

Hi Tufale,

 

Thanks a lot for your help.. your mentioned logic really help me a lot.

While doing more investigation i found one more way in which we can invoked the URL in background i.e. asynchronously on click of Post button from UI screen.

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>


<TITLE>Your Title Here</TITLE>

 

<SCRIPT language="JavaScript">
function Post(){
var Test_URL =
"/XMII/Runner?Transaction=Default/Transactions/Test"; //build your URL
window.frames("runner").location=Test_URL;
}
</SCRIPT>


</HEAD>
<BODY>

 

<tr>
<td colspan="2">
<iframe id="runner" name="runner" style="display:none" width="0" height="0"></iframe></td>
</tr>

 

<tr>
<td>
<input type="button" id="PostButton" name="PostButton" value="POST" onclick="Post()"/>
</td>

</tr>
</table>
</BODY>
</HTML>

 

 

Thanks,

Ritim


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>