You are on page 1of 8

KW XDP ICFunction INTERNAL

Document version: 2016-01-27

Generating Check Instances from Process Context


 

INTERNAL
© Copyright 2016 SAP SE or an SAP affiliate company.
2 All rights reserved. Generating Check Instances from Process Context
Content

1 Generating Check Instances from Process Context . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

INTERNAL
Generating Check Instances from Process Context © Copyright 2016 SAP SE or an SAP affiliate company.
Content All rights reserved. 3
INTERNAL
© Copyright 2016 SAP SE or an SAP affiliate company.
4 All rights reserved. Generating Check Instances from Process Context
1 Generating Check Instances from Process
Context

Check instances are used for checking employees' master data and payroll results. As of EA-HRRXX 608 SP025,
you can use the Generate Process Context (PYC_GENERATE_PROCESS_CONTEXT) report to generate check
instances for a process by deriving from the process context.
Process context is the context of a process, such as payroll area, period, and the monitoring process indicator
(parameter type TPY_RES). Process context can be derived at run time. Based on the process context, check
instances of the same process can be automatically generated. As a result, you no longer have to use the
Customizing activity Define Data Source Instances (under Customizing for Payroll: International Payroll Data
Source Framework ) to define the value of each instance input parameter for each data source instance.
In check implementation, MT_PAR of the result context IO_RES_CONTEXT can be used to get the process context.

Integration

If you generate process context, and check instances, for a process, you must also use the Customizing activity
Map Monitoring and Productive Processes (under Customizing for Payroll: International Payroll Control
Center Payroll Process Management ).
The purpose of doing this activity is to enable the system to recognize, despite the different technical names of
the generated check instances, that the monitoring and productive processes have the same check types. As a
result, the results that are set to resolved in the monitoring process will inherit the same status Set to Resolved in
the corresponding productive process.
For more information, see the document for the Customizing activity.

Prerequisites

Before you can generate process context to generate check instances for a process, you must have generated
process steps using the Generate Process Steps (PYC_GENERATE_STEP) report.
To generate check instances for a process using the process context, all the corresponding check types must be
assigned the following input parameters only:
Table 1
Input Parameter Type Fixed Mandatory No Key

PYP_PROC Yes Yes -

PYP_PROC_INST - Yes -

Features

If there is any incompliant configuration in Customizing activities, the system does not generate the check
instances. It displays a log for the error information.

INTERNAL
© Copyright 2016 SAP SE or an SAP affiliate company.
Generating Check Instances from Process Context All rights reserved. 5
If all the Customizing is correct, the report generates a set of check instances for the process. You can find the list
of newly generated check instances in the log and also in the Customizing activity Define Data Source Instances.
● The technical name of these newly generated check instances starts with the process authorization prefix,
followed by the technical name of the check type, and ends with a five-digit number automatically generated
by the system.
● The text/description of these newly generated check instances is the same text/description as the
corresponding check type.

Example

Previously if a payroll process XX has been assigned 4 check types. You must manually define the check instance
for each check type (data source type with category DF (Default Category Check Type). If each check type has 2
input parameters, you must also manually define the value of each of the input parameters for the corresponding
check instance. This means you must define the input parameter values 8 (4x2=8) times for payroll process XX.
Now you can use this report to generate process context, and hence the check instances, for the payroll process
XX at one click.

INTERNAL
© Copyright 2016 SAP SE or an SAP affiliate company.
6 All rights reserved. Generating Check Instances from Process Context
INTERNAL
© Copyright 2016 SAP SE or an SAP affiliate company.
Generating Check Instances from Process Context All rights reserved. 7

You might also like