---
title: "转 Configuring events for HR Workflow "
author: "evangxli"
date: "2013-06-03T09:43:37Z"
tags: ["Workflow"]
categories: ["行业应用"]
slug: "configuring-events-for-hr-workflow"
draft: false
lastmod: "2013-06-03T09:43:37Z"
id: 1880661
url: "https://sapabap.iteye.com/blog/1880661"
---

## Configuring events for HR Workflow

By Sri lakshmi Lavanya Koduganti, CSC from [Link](http://www.saptechnical.com)

 

**Scenario**: Suppose you have created a Custom Infotype (Say 9048) and you want to trigger an event (Say ZRTW\_INS event on the Business Object BUS1065) whenever a new record is inserted into this Infotype  
Step 1:  Go to TCode SWEHR1.

![](http://www.saptechnical.com/Tutorials/HRABAP/Events/Workfl1.jpg)

Click on New Entries tab ![](http://www.saptechnical.com/Tutorials/HRABAP/Events/Workfl2.gif)

Step 2: Enter the following details

![](http://www.saptechnical.com/Tutorials/HRABAP/Events/Workfl3.jpg)

This links the Infotype with the Business Object.

Step 3: Go to TCode SWEHR3. Click on create “New entries” tab.

             Enter the following details.

![](http://www.saptechnical.com/Tutorials/HRABAP/Events/Workfl4.jpg)

Here Update op. indicates the operation, which triggers the event

At the bottom, Object type is the Business Object (which is already linked to the infotype 9048 in SWEHR1) and Event is the event on the Business Object.

Save the entries.

Now we have configured the event ZRTW\_INS on the Business Object BUS1065 to trigger whenever a new record is inserted in IT9048.

We can also mention a Function module here instead of Event. This function module contains the code to trigger the event.