The typification rules are defined based on attribute calculations in the measure configuration. The calculation rule is specified in the function XML element.
XML tag |
Description |
---|---|
function name |
Name of the typification rule – referenced by the typifierrule function XML element for the process tree configuration. |
resulttype |
Result value. Must be of the BOOLEAN type. |
datatype |
Data type. Must be of the BOOLEAN type. |
A typification rule for the above example could look like this:
Example
Extract from file Keyindicator.xml
...
<function name="typifierrule_OrderProcessing_StandardOrder"
resulttype="BOOLEAN" datatype="BOOLEAN">
<in>
<constant>
<dataitem>
C
<datatype name="TEXT">Text</datatype>
</dataitem>
</constant>
<attribute name="AT_SAP_VBTYP" nodetype="OT_FUNC">
<in>
<constant>
<dataitem>
SO
<datatype name="TEXT">Text</datatype>
</dataitem>
</constant>
<attribute name="AT_SAP_VKBELEGART"
nodetype="OT_FUNC" objectname="this"/>
</in>
</attribute>
</in>
</function>
...
Calling up the typifierrule_OrderProcessing_StandardOrder function (typification rule) checks whether the process instance to be typified is typified as Order processing\Standard order (return value = true) or not (return value = false).
The process instance is assigned to the Standard order process type under the following condition: The process instance must contain at least one function that includes the attribute type combination AT_SAP_VBTYP with the value C and AT_SAP_VKBELEGART with the value SO.