cancel
Showing results for 
Search instead for 
Did you mean: 

Additional customization is required for HR WF (HR trans Event trigger)?

Former Member
0 Kudos

Hi Friends,

I am trying to raise one event from one HR transaction (Create Appraisal). But same event id is being generated always in the standard program. So I tried creating one Z program and called the function module SWE_EVENT_CREATE and commit work. Still it is generating the same Event id always (00000000000000001). I tried to trace the event but it is not tracing anything, I am just getting one ON and one OFF. Can anyone please suggest me any additional customization is required for HR transaction’s workflow triggering.

Thanks & Regards

Sujith

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

HI Sujith,

to trigger the HR transactions u had to link in swehr1, swehr2 and swehr3

in that swehr3 is not a mandatory one

SWEHR1- u had to give -object type, infotye & business object

SWEHR2- u had to give -object type, infotye , business object and event

SWEHR3- event linkage for customer

regards

rose

former_member184112
Active Contributor
0 Kudos

HI Sujith,

Yes, Customizations are required for HR transactions for Workflow Triggering:

Three Transactions are available:

<b>SWEHR1- infotye & business object (Mandatory)</b>

<b>SWEHR2- infotye , business object and event</b> (Mandatory)

<b>SWEHR3- event linkage for customer its not mandatory.</b>

Thanks and Regards,

Prabhakar Dharmala

KKilhavn
Active Contributor
0 Kudos

That's slightly misleading I would say.

SWEHR1 tells you which object types and infotypes it is possible to have events created for. It is SAP data and you should definitely not modify it.

SWEHR2 tells you which event creations SAP have set up already. It is SAP data and you should preferrably not modify it.

SWEHR3 is your customer event linkages. If you want to have events created for an object type/infotype combination SAP hasn't defined, or you want additional events or other events for a combination SAP has defined, this is where you should perform your customizing.

Former Member
0 Kudos

Hi Sujith,

For HR workflow events you will have to maintain T779X. See table T779W (the SAP delivered table) for examples of what you maintain.

Regards

Gareth

KKilhavn
Active Contributor
0 Kudos

Transaction codes SWEHR1, SWEHR2, and SWHR3.