Definition of process cost measures

The process costs of a process instance are given by the total process costs of all function instances within the process instance. The process costs of function instances are calculated using the cost rates for the organizational units assigned to the functions (see Anonymizing chapter) and the execution times of the functions. The number of executions of a function by an organizational unit is given by the AT_COUNT_PROCESSINGS attribute for the connection between the organizational unit and the function. If several organizational units are assigned to a function, this is assessed as repeated execution of the function.

To calculate cost measures, the Costs and Cost rate data types must be known. The definition of these data types is included in the XML configuration file *_datatypes.xml of the corresponding CTK client template (under <PPM installation directory>\ppmmashzone\server\bin\agentLocalRepo\.unpacked\ppm-client-run-prod-<version>-runnable.zip\ppm\ctk\ctk\examples\custom\), which you can adjust to meet your project requirements.

The execution times of functions required to calculate cost measures can be calculated in two different ways. Depending on the selected calculation method, the calculated costs will be saved as different measures. The calculation method used for the execution times depends on which information is extracted from the source system.

Measures FPKS_R and PK_R

To calculate the cost rate based on the processing time, you use the processing time (AT_KI_FBZ function attribute) calculated from the AT_START_TIME and AT_END_TIME attributes for a function. The calculated cost rate is saved in the AT_PKS_R function attribute.

Measures FPKS_S and PK_S

To calculate the cost rate based on the performance standard, an estimated standard processing time is extracted from the source system and written to the functions as the AT_LS attribute. The calculated cost rate is saved in the AT_PKS_S function attribute.

The process cost rate for a function specifies the average costs for processing the function once and is calculated using the following calculation rule for the two calculation methods described: The product of the execution time of a function and the sum of the weighted cost rates of all organizational units assigned to the function is divided by the total number of executions.

The following formula illustrates the calculation rule:

FPKS Process cost rate (function)
FT Function execution time
KS Process cost rate
FREQ Processing frequency

ppm_customizing_24

The method of calculating cost measures is selected by registering the corresponding measures in the process tree. The default configuration of PPM calculates process cost rates based on the performance standard.

Extract from the file *_processtree.xml:

...

<useki name="FPKS_S" scale="EUR" assessment="NEG"/>

<useki name="PK_S" scale="EUR" assessment="NEG"/>

...