SAP ABAP IMG Activity PAY_AT_PM_020 (Determine Counterevents for Background and Workflow Events)
Hierarchy
SAP_HRCCH (Software Component) Sub component SAP_HRCCH of SAP_HR
   PY-CH (Application Component) Switzerland
     P02C (Package) HR Customizing: Switzerland
IMG Activity
ID PAY_AT_PM_020 Determine Counterevents for Background and Workflow Events  
Transaction Code S_PL0_09000472   (empty) 
Created on 20020510    
Customizing Attributes PAY_AT_PM   Attribute for Process Model 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name PAY_00_PM_002    

Use

This IMG activity enables you to determine counterevents for the background events and workflow events you use in the HR Process Workbench. You can only assign background events to background events as counterevents, and workflow events to workflow events.

In the case of background events, you can determine a counterevent for a combination of event and event parameter. The counterevent only takes effect if the event is triggered with this very event parameter. If the event is triggered with a different parameter, the counterevent does not apply. In the case of background events, you can also determine an event parameter for the counterevent.

The Do Not Start Process if This Counterevent Occurs indicator enables you to determine how the HR Process Workbench responds to a counterevent occurrence.

For more information on how events are used in the HR Process Workbench, access the SAP Library and choose Human Resources -> Payroll -> Payroll <country> -> Payroll in the SAP System -> Payroll in a Background Operation -> HR Process Workbench.

Requirements

Standard settings

Activities

Example

You want to schedule processes in the HR Process Workbench so that they are started as soon as program A has imported certain data into the SAP system from a third-party system and the SAP system has been switched to night operation. However, you do not want the processes to be started while program B is processing the imported data. In this case, the process in question must wait until program B has finished.

To do this, you use transaction SM62 (Display/Maintain Event Names) to create the END_OF_IMPORT and START_OF_PROCESSING background events. As soon as program A has finished, the END_OF_IMPORT event is triggered. When program B is executed, the START_OF_PROCESSING event is triggered. You define the START_OF_PROCESSING event as a counterevent for the END_OF_IMPORT event. You do not set the Do Not Start Process if This Counterevent Occurs indicator.

You schedule a process in the HR Process Workbench that depends on the END_OF_IMPORT event and Night Operation operation mode. The END_OF_IMPORT event is triggered, but the operation mode has not been switched to night operation yet. A user executes program B. This triggers the START_OF_PROCESSING event. This event's occurrence reverses the occurrence of the END_OF_IMPORT event. As a result, the process is not started even if the operation mode is switched to night operation. However, the process can still be started if the END_OF_IMPORT event occurs again and the operation mode is switched to night operation again.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20020510 
SAP Release Created in 470