How to find the HR unit of an user
Michael Pokraka
workflow at quirky.me.uk
Thu Jan 6 05:14:48 EST 2005
Hi Pat,
The quick way: define a DB attribute PA001-ORGEH on a delegated ZEMPLOYEET
object. Then you can go from USR01 -> Employee -> zOrgUnit (assuming that
SAP-special non-delegated delagation exists between USR01 and USR01DOHR)
Cheers
Mike
--- Nolin.Patrice at hydro.qc.ca wrote:
> Hi Serge,
>
>
>
> The USR01 object (type US user) has an attribute name "employee". This field
> is an object of type employee (Type P person) that relates the user to the
> Employee id (or number) defined in the PA30 transaction, infotype 105
> subtype 9005 (username).
>
>
>
> That employee object is related to an organisational unit (Type O) in the
> Human resource structure of the company (accessible via tx pposw), if you
> use the organisation structure to manage the agents for the workflows.
>
>
>
> What I'm trying to do is to find how, from USR01 or EMPLOYEE, I can find the
> "O" object related to the employee or the user. Presently, I'm trying also
> to find a function module that will list the units for an employee or an
> user.
>
>
>
> Thanks
>
>
>
> Pat Nolin
>
>
>
> -----Message d'origine-----
> De : Serge Boulay [mailto:Serge.Boulay at n-spro.com]
> Envoyé : mercredi 5 janvier 2005 14:20
> À : 'SAP Workflow Users' Group'
> Objet : RE: How to find the HR unit of an user
>
>
>
> USR01 does not have access to employee information
You need to use
> USR01DOHR object type. And what do you mean by HR unit?
>
>
>
> Serge
>
>
>
>
>
> _____
>
> De : sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] De la part de
> Nolin.Patrice at hydro.qc.ca
> Envoyé : 5 janvier 2005 14:02
> À : sap-wug at mit.edu
> Objet : How to find the HR unit of an user
>
>
>
> Hello everybody,
>
> Does someone know how to find the HR unit of a user starting with the object
> USR01 ?
>
> Thanks
>
> Pat Nolin
>
> > _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
More information about the SAP-WUG
mailing list