If a user starts a process in the portal using the start application, he or she fills out a form and sends it to the next processor. The start application creates a process object and saves the data that the user entered to the process object. The process object triggers the event TRIGGERED for class CL_HRASR00_WF_PROCESS_OBJECT.
This part lesson enables the workflow template ZTWS to react to this event in the system client in which it is used.
Note
You must perform the type linkage in all clients in which you want to use your workflow template.
You have set up the standard settings and basic settings for the
SAP Business Workflow
. For more information, see the Implementation Guide for
SAP NetWeaver
, by choosing
You have defined the triggering event for the workflow.For more information, see the Defining a Triggering Event for the Workflow lesson.
Open your workflow template in the required client.
Choose
Basic Data
if it is not already displayed.
Choose the
Version-INdependent (Task)
tab page.
Choose the
Start Events
tab page.
Activate the type linkage.
Do this by clicking on the symbol in the
Active
column in the line in which you specified class
CL_HRASR00_WF_PROCESS_OBJECT
.
The symbol changes its shape to a square and its color to green.
Save your entries.
Choose
Back
and activate your workflow template.
Choose transaction SWETYPV (
Define Event Type Linkage
), or from the SAP Easy Access screen, choose
.
Select the following entry:
Object Category |
Object Type |
Event |
Receiver Type |
---|---|---|---|
ABAP class |
CL_HRASR00_WF_PROCESS_OBJECT |
TRIGGERED |
<technical ID (
|
Choose
Details
.
Enter
HR_ASR_CHECK_EVENT
in the
Check Function Module
field.
Note
It is easier to enter the check function module HR_ASR_CHECK_EVENT manually, rather than select it from the dropdown list.
Leave the default settings in the other fields.
Save your entries.