cancel
Showing results for 
Search instead for 
Did you mean: 

HR ADMIN of a department through a rule ***

Former Member
0 Kudos

Hi all.

Well I am supposed to create a rule to find the 'HR ADMIN' of an org unit. Now in our org structure, every department has a 'HR ADMIN' position in the system. I would be able to write the code if i get a clear logic - The hr table HRP1001 have all the relationships maintained. Now if i go to pp01 and give an org unit and see the overview (mountain button), it shows me all the relationships of the org unit with other org units, persons and positions. Out of these, I want the entry where the abbreviation text is 'HR ADMIN'. but when i drill down to the technical settings of the abbreviation, I find that it is a structure with screen field name : PPHDX-P1001SHORT. Now how could I select the desired entry????

Please sugest

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

KKilhavn
Active Contributor
0 Kudos

The best solution is to not rely on free text.... so instead of helping with that (hint: evaluation paths) I will suggest a different approach:

Tell the functional consultants/HR people that they must define a customer-specific relation for the HR Administrator, and use this relationship to define who is HR Administrator, as you refuse to rely on something as unreliable as a text field to find your workflow's agents. I would suggest a relationship between organisation unit and position, but that's up to you.

Use transaction OOAW to define a new evaluation path which takes you from an organisation unit to the position (or person, or whatever) representing the HR administrator, via your customer-specific relationship.

Another alternative is to use a job (object type C) and let the HR people ensure that the position of the HR Admin is linked to this job. Then you can either specify the job as possible agent of the task and just send the work item to the whole organisation unit, or you can create your own rule function which will find all positions and remove those that are not linked with the correct job.

There are probably other options as well. Anything but relying on a text field...

Former Member
0 Kudos

Thanks for the reply dude, I would sure sit with Hr functionals tomorrow and lets see how soon we can close this thread. I appreciate your support...

Thanks

Ribhu