Skip to Content
author's profile photo Former Member
Former Member

Transaction error


I built the simple transaction with outxml as output variable and type xml.

I haven givent transaction results to outxml variable using assignment action block.

But when I am executing the transaction it is giving the warning message like

"[WARN] Unused line parameter [OUTPUTXML]" instead of giving results. I have to use this transaction as wevservice.

Can i use this transaction as webservice even it is giving warning or should I remove that warning if so please resolve it to remove the warning.

I am using MII 14.0 .3 build 24.



Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Posted on Nov 15, 2013 at 08:01 PM

    Hi Laxman,

    This is just a warning which you get when you run a transaction with a output property and is shown only when you run the transaction from the workbench.

    This warning shows that the the output parameter was unused after the execution of the transaction.

    This warning will not create any problem in execution of the transaction as a web-service.

    I tested this and got the proper output from the transaction.


    Rohit Negi

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Laxman,

      This is not like a runner service URL which you could use directly and would give you the output parameter of the transaction.

      But what this URL returns is the WSDL of the transaction.

      <protocol>://<server>:<port>/XMII/WSDLGen/<path of transaction>?IllumLoginName=<user>&IllumLoginPassword=<password>

      You could use this WSDL URL in any of SOAP clients and then execute the operation which this WSDL exposes with name "Xacute". This operation will internally execute the transaction and return all the output parameters of the transaction.

      Try running the WSDL URL in any SOAP client.


      Rohit Negi.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 17, 2013 at 09:09 AM

    Hello Laxman,

    The XML type is only know to SAP MII. The WSDL don't have anything called as XML type. So even if a transaction has XML type as a property it will be shown as STRING in the wsdl.

    So if you want to pass an XML to a transaction convert it to STRING and then pass it to the transaction. And then within the transaction you can convert from STRING to XML. But i guess this is not your scenario.

    If you have a XML type property as Output for a transaction, It will again be returned as a STRING. So you need to handle the returned string in the calling application. For example, an output xml as shown below

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>























    will be returned as a String as shown below

    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;























    As Rohit already mentioned warning "[WARN] Unused line parameter [OUTPUTXML]" will not create any problems while calling the web service.

    But calling a webservice using following syntax is not the right way to do it.


    You can use OutputParameter in the URL with Runner servlet by making http calls but not with WSDLGen. Refer to the below link for details on Runner servlet

    Transaction Calls Using URLs - SAP Documentation

    Thanks, Prashant

    Add comment
    10|10000 characters needed characters exceeded