Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

MII 12.1 Support for plain text (text/plain) output

I'm hoping someone can guide me on how to output plain text from an MII 12.1 transaction

I have three MII systems to test against: MII 11.5.6 b73, MII 12.0.6 build 15, and MII 12.1.5 build 85

Here's the test files I used on all three systems...

1) Create a new MII transaction

2) Create a new Transaction parameter called "Output" of type string and set the value to "Hello World"

3) Save the transaction anywhere as "HelloWorld"

4) Create a new Xacute Query and point it to the "HellowWorld" transaction

5) Map the output parameter to "Output"

6) Save the Xacute Query as "HelloWorldQuery"

Scenario - Execute an MII Transaction via URL

1)Open a new browser window

2) Type in the following URL (replacing the bracketed params):

http://[[SERVER]]:[[PORT]]/XMII/Runner?Transaction=[[PATH_TO_HELLOWORLD]]&OutputParameter=Output&Content-Type=text/plain (12.x,12.1)


http://[[SERVER]]/Lighthammer/Runner.jsp?Transaction=[[PATH_TO_HELLOWORLD]]&OutputParameter=Output&Content-Type=text/plain (11.5)

3) Both MII 11.5 and MII 12.0 will output the "Hello World" string (no XML). MII 12.1 will return the Output in XML format (text/xml).

Thanks in advance!

Not what you were looking for? View more on this topic or Ask a question