Skip to Content
Oct 25, 2011 at 02:55 PM

Calling MII Trans From Perl Script


As part of a migration from MII 115 to 12.1, I am trying to kick off an MII transaction from a Perl script on an external system. This is currently working fine in our 11.5 environment but I am not having any luck in 12.1.

Here is how I am trying to run the transaction from Perl:

$request = HTTP::Request->new(POST => 'http://MyHostNameHere:50000/XMII/Runner?Transaction=MyTransDirHere/MyTransNameHere&InputParameter=MyParam&OutputParameter=status&Content-Type=text/html&XacuteLoginName=MyAccoutNameHere&XacuteLoginPassword=MyAccountsPasswordHere');

Here is the error I am getting:

HTTP/1.1 404 Not Found Cache-Control: no-cache Connection: close Date: Mon, 24 Oct 2011 22:49:08 GMT Pragma: no-cache Server: SAP NetWeaver Application Server 7.11 / AS Java 7.11 Content-Length: 1816 Content-Type: text/html Expires: 0 Client-Date: Mon, 24 Oct 2011 22:49:08 GMT Client-Peer: Client-Response-Num: 1 Sap-Isc-Etag: J2EE// Title: Error Report

I have also tried it without a port number and with port 53000. Do I have something wrong in the URL? What should the port be and is the "/XMII/Runner" part correct? In the security section of the transaction I made sure it was readable/writable to everyone.