You use this action to convert a list of strings to an XML document in SAP Manufacturing Integration and Intelligence (SAP MII) format. It only requires that links be configured.
The properties for this action are listed in the following table:
Property | Data Type | Description |
Delimiter | String | Defines the token separator field for the input string |
Input | String list | The string list to be converted to XML |
Output | XML | The input string list converted to XML |
StripQuotes | Boolean | Removes quotes around an input field |
Success | Boolean | Indicates whether the action succeeded or failed If it failed, errors are displayed in the server trace log. |
TrimWhitespace | Boolean | Removes all whitespace characters, such as Tab |
If you have the input Alarm Description, 2003-07-01T17:47:18, 2245, the following is the output XML:
<Rowsets DateCreated="2009-12-23T16:52:53" EndDate="2009-12-23T16:52:53" StartDate="2009-12-23T15:52:53" Version="12.1.5 Build(15)">
<Rowset>
<Columns>
<Column Name="Item" SourceColumn="Item" Description="Item" SQLDataType="1" MinRange="0" MaxRange="0" />
</Columns>
<Row>
<Item>Alarm Description</Item>
</Row>
<Row>
<Item>2003-07-01T17:47:18</Item>
</Row>
<Row>
<Item>2245</Item>
</Row>
</Rowset>
</Rowsets>