Direct import of process attributes

The attributes required to calculate measures and dimensions at process instance level are normally copied to the process instance from objects in the imported fragment instances. This operation can be configured using attribute copy rules or a corresponding calculation rule in the Measure calculator.

Alternatively, you can directly import process instance attributes (graph format) or generate them by mapping system event attributes to the fragment definition (event format).

To overwrite process attributes of existing process instances, you can directly import fragment instances without objects and connections containing exclusively process attributes (graph format) or generate them by mapping system event attributes to a fragment definition with no objects (event format).

Graph format

Example

Graph without objects and connections

...

<graph id="FRG_EMPTY">

<attribute type="AT_ID">1</attribute>

<attribute type="AT_SAP_BELEGNR">Document 2</attribute>

<attribute type="AT_SAPCLIENT">R3</attribute>

</graph>

...

Event format

When using event format, the system event attributes are transferred to the instantiated graphs in a fragment definition with no objects.

Example

Extract from fragment definition with no objects:

...

<graph id="FRG_EMPTY">

<attribute type="AT_ID">1</attribute>

</graph>

...

Extract from mapping rule:

...

<processattributes graphid="FRG_EMPTY">

<attribute ppmattributetype="AT_SAP_BELEGNR">

<value>Document </value>

<eventattributetype>SAP_BELEGNR</eventattributetype>

</attribute>

<attribute ppmattributetype="AT_SAPCLIENT">

<eventattributetype>SAPCLIENT</eventattributetype>

</attribute>

</processattributes>

...

Warning

In order to be able to assign fragments to be imported with no objects to process instances, you must ensure that valid process keys can be calculated based on process attributes.

Warning

To ensure that directly imported process attributes are retained in the instance, you must specify every directly imported attribute in the mergeattributes XML element for the merge configuration.

Example of merger_config.xml

...

<processmerge>

<mergeattributes>

<attribute key = "AT_SAP_BELEGNR"/>

<attribute key = "AT_SAPCLIENT"/>

</mergeattributes>

</processmerge>

...