?
Solved

GETTING ROLES FROM A POSITION ID

Posted on 2005-03-15
6
Medium Priority
?
428 Views
Last Modified: 2013-12-08
Hello,
How can we get the associated roles for a particular position id.

is it the table "hrp1001"?

Thanks in advance
0
Comment
Question by:wong83
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 10

Expert Comment

by:jonvaughan
ID: 13552328
This is quite tricky and not something I am expert on ...
However...

In HR the main Function module is

HR_SELECT_WITH_PATH

using this you can start from an Org unit ( your position ) and using what are known as "Evaluation paths" you can get back any of the data from that position - so you can get a list of all people who are subordinaate to a position etc.

Getting the damn thing to work is not so easy.

I will try to get an example together for you ... but you are probably better off having a go yourself in SE37.

Jon


0
 
LVL 10

Expert Comment

by:jonvaughan
ID: 13552348
You can find the evaluation paths in SPRO -- > Personnel management --> Basic Settings --> Maintain Evaluation Paths

i think you might be after A201 -- Assigned roles.]

Cheers
Jon
0
 

Author Comment

by:wong83
ID: 13556662
Jon

You are talking about very high level stuff!!!
I can get a perner from pa20 then use this in p013d to get a position no

Now Im trying to get a list of roles assigned to this particular no

I know they do it using the table hrp1001 but I'm not sure about the fields that needs to be populated.

wong
0
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 
LVL 10

Accepted Solution

by:
jonvaughan earned 375 total points
ID: 13559886
OK - the thing about using the correct method with the evaluation paths is that it takes into account what is planned, active , what is within the date ranges and what is the correct status and is set to the users authorisations .... also whether it is top down or bottom up that you are looking for.

if you want to go straight to the table you need to take all this into account yourself ....

Whereas using the evaluation path you start with a pernr and it gives you all the rolls .....


0
 

Author Comment

by:wong83
ID: 13561088
ok!! Here you go

use po13d, put in your position no in it, choose the relationship infotype and hit the glasses icon(display) and BOOM! the icon now changes to an arrow mark. hit it to view all the roles assigned to the position.


0
 
LVL 10

Expert Comment

by:jonvaughan
ID: 13561155
Sorry - Ithought you were talking about how to get it via an ABAP !!! thrown by the table reference ....
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have problems displaying reports in CRM after a new installation, review the following steps: Check that SQL Server Reporting Services is working On the server that has SQL Server Reporting Services (SQL SRS) installed, check that the S…
Salesforce.com’s Console is a great tool to view activities, leads, contacts, accounts and opportunities all in one screen. It is particularly effective during call blocks and working numerous activities at a time in a quick, repetitive fashion (suc…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question