You use the Link Editor screen in the SAP Manufacturing Integration and Intelligence (SAP MII) Workbenchto share data between actions and use transaction or global properties in an action.
When an action executes, it does the following:
Accepts inputs (optional)
If you accept inputs, values are passed to the action's public properties. For example, if you use the Send Mail action, you must specify the address to which to send the mail. You can enter the address on the action's configuration screen, or you can use the Incoming tab page on the Link Editor screen to link to the value at runtime.
Processes
Writes outputs (optional)
After an action executes, you can write the results to the transaction variable. For example, you can write the results of the Calculation action to a transaction variable to use the results as the output of a transaction.
On the Incoming tab page, you can link public properties from executed actions in your transaction, Globals properties, and Transaction properties as inputs to the selected action.
On the Outgoingtab page, you can link public properties from the selected action to Globals properties, Transaction properties, and executed action properties.
To define a link, you need to define source and destination properties. The source properties are in the left pane of the Link Editor screen and the destination properties are in the right pane. You can add a link by doing one of the following:
Select the source property and double-click the destination property.
Move the source property onto the destination property using drag and drop.
Select the source and destination properties and click Add.
Note
If you place your cursor on a property, XML element, or XML attribute, quick info text shows the associated value.
Links for the selected action appear in the table below the two panes. The table includes the following columns:
Object
The action to which you are writing
Property
The destination property
XPath
When you are writing a value to an XML document, the XPath column shows the path to the appropriate XML node. The system generates the correct XPath syntax.
Expression
The source property being written to the destination property. It can be an XPath expression from a source document, a script expression, a simple value, or a combination of these. To define complex expressions, click Show Expression Editor. See Expression Editor
To access the Link Editor screen from an action, click the action with the secondary mouse button and choose Links.