Manager of an org unit

Dear expert,
My company use PA and stored only internal employees (P object) and no external sub contractor.
Unfortunatly, an external sub contrator takes the management of an org unit ad interim (temporary),
We do not want register this external people as person (object P),
Have you an idea to allow him to manage org unit and approve leave request (for instance) ?
Merci

I suppose you have to customize new OADP service for MSS.
New analysis way in transaction OOAW with objects: O - S - US - P  (maybe 012 S - US - connection )
System recognize sap user as a manager of employee (MSS role needed).
We realize manager's substitution in this way.

Similar Messages

  • ECM spent budget was clean up when approval manager reject an org unit?

    Hi HR Experts,
    When an approval manager rejects an org unit, the spent budget of this org unit is clean up but the budget still distributed to each employee in that org in the infotype 0759 therefore leads to inconsistency of budget in ECM.
    Is there any body experience this issue?
    Thanks,
    Duy

    i lived through this painful process very much, we made a quick SM30 tcode transaction to be able to do data maintenace on HRPADPM - this is where the budget spent amount is actually saved. 
    the key for this table is stored on the budget unit to org unit relationship in HRP1001.
    if anyone has a better process to fix out sync spent budgets please let us know...

  • Manager of the org.unit in HRMD_A

    Hi All
    I would like to send manager of the org.unit by using HRMD_A.
    As I have setup HRMD_A with filter on Infotypes 0000, 0001, 0002, 0006, 1000 & 1001.
    I thought the manager relationship will be send in IT 1001. But I don't see that information include in HRMD_A.
    Any information or experience on this matter will be highly appreciated. Any other suggestions to how this problems can be solved are also welcome.
    Thanks in advance.
    Best regards,
    Anpan

    Yes as part of transaction BD64 you can create a filter for this. In fact I think you can limit it even further so that it filters just the managers.  You can  do this by not only selecting the infotype and object, but you can also limit is by 'related object' and subtype.  So you can put the B12 as the subtype ( I think this is the chief subtype).   
    You could also  use the evaluation path, but if your evaluation path generates too much data then you can limited using the filters in BD64.  
    As for using the change pointers programs versus PFAL I am not sure, I am currently having the same delima on which one to use.
    Everett

  • Fm to get employee under manager of all org unit

    hi,
    i have requirement that i need list of all employee under particular manager i know abt HRWPC_PNP_MANAGED_EMPLOYEES but i don't know how to use it is thr any fm reg it .
    thanks in advance

    Hi Rajan,
    Below is the sample code for your reference...
    REPORT zrnd.
    *database tables used
    TABLES:pa0001, "Infotype 0001 (Org. Assignment)
    hrp1001, "Infotype 1001
    pa0002. "Infotype 0002 (Personal Data)
    *internal tables declaration
    **----internal tables for holding
    DATA:t1001 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1002 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1003 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1004 LIKE p1001 OCCURS 0 WITH HEADER LINE,
         t1222 LIKE p1222 OCCURS 0 WITH HEADER LINE,
         t0001 LIKE p0001 OCCURS 0 WITH HEADER LINE,
         t0002 TYPE p0002 OCCURS 0 WITH HEADER LINE.
      DATA: w1222 TYPE hrp1222 .
      DATA : z1222 TYPE hrt1222 OCCURS 0 WITH HEADER LINE.
      DATA: res TYPE swhactor OCCURS 0.
      DATA: wa_res TYPE swhactor.
      Data : f_code type ABTNR,
            p_code type ABTNR,
            f_text type VTEXT,
            p_text type VTEXT,
            s_pernr type Pa0001-PERNR,
            s_name type  pa0001-ename.
    *variable declaration
    **---0 to capture the id of the object "may be orgunit, position, persion.
    DATA: g_sobid1 LIKE p1001-objid,
          g_sobid2 LIKE p1001-objid,
          g_sobid3 LIKE p1001-objid,
    *      *--to capture the personnel number
          g_pernr LIKE pa0002-pernr.
    Constants : c_function type c value 'F',
                   c_Proces   type c value 'P'.
    *selection screen paramters
    **----enter a valid personnel number
    PARAMETERS:p_pernr LIKE pa0002-pernr.
    *start of selection
    START-OF-SELECTION.
    *Get the Position for entered Personnel number
    *----RH_READ_INFTY function module is used for the OM infotypes ..starting with HRP
      CALL FUNCTION 'RH_READ_INFTY'
        EXPORTING
          plvar                = '01'
          otype                = 'P'
          objid                = p_pernr
          infty                = '1001'
          subty                = 'B008'
          begda                = sy-datum
          endda                = sy-datum
        TABLES
          innnn                = t1001
        EXCEPTIONS
          all_infty_with_subty = 1
          nothing_found        = 2
          no_objects           = 3
          wrong_condition      = 4
          wrong_parameters     = 5
          OTHERS               = 6.
      IF sy-subrc = 0.
    *    MESSAGE  'this number is not maintained in hrp1001' TYPE 'I'.
      ENDIF.
    *Get the latest record reading T1001 with following values
      SORT t1001 BY begda DESCENDING .
      READ TABLE t1001 WITH KEY objid = p_pernr "personnel number
      otype = 'P' "Person
      rsign = 'B' "hirarchy top down
      relat = '008' "Holder
      sclas = 'S'. "Position
      IF NOT t1001[] IS INITIAL.
        g_sobid1 = t1001-sobid. "ID of Related Object
    *Get Org unit for the position obtained from above
        CALL FUNCTION 'RH_READ_INFTY'
          EXPORTING
            plvar                = '01'
            otype                = 'S'
            objid                = g_sobid1
            infty                = '1001'
            subty                = 'A003'
            begda                = sy-datum
            endda                = sy-datum
          TABLES
            innnn                = t1002
          EXCEPTIONS
            all_infty_with_subty = 1
            nothing_found        = 2
            no_objects           = 3
            wrong_condition      = 4
            wrong_parameters     = 5
            OTHERS               = 6.
        IF sy-subrc = 0.
        ENDIF.
      ENDIF.
      SORT t1002 BY begda DESCENDING .
      READ TABLE t1002 WITH KEY objid = g_sobid1
      otype = 'S' "Position
      rsign = 'A' "bottom up
      relat = '003' "Belongs to
      sclas = 'O'. "org unit
      IF NOT t1002[] IS INITIAL.
        g_sobid2 = t1002-sobid.
    *Get position for the Org unit (Manager)
        CALL FUNCTION 'RH_READ_INFTY'
          EXPORTING
            plvar                = '01'
            otype                = 'O'
            objid                = g_sobid2
            infty                = '1001'
            subty                = 'B012'
            begda                = sy-datum
            endda                = sy-datum
          TABLES
            innnn                = t1003
          EXCEPTIONS
            all_infty_with_subty = 1
            nothing_found        = 2
            no_objects           = 3
            wrong_condition      = 4
            wrong_parameters     = 5
            OTHERS               = 6.
      ENDIF.
      SORT t1003 BY objid.
      READ TABLE t1003 WITH KEY objid = g_sobid2
      otype = 'O' "org unit
      rsign = 'B' "hirarchy top down
      relat = '012' "Manages
      sclas = 'S'. "Position
      IF NOT t1003[] IS INITIAL.
        g_sobid3 = t1003-sobid.
    *Get Personnel number for the Manager
        CALL FUNCTION 'RH_READ_INFTY'
          EXPORTING
            plvar                = '01'
            otype                = 'S'
            objid                = g_sobid3
            infty                = '1001'
            subty                = 'A008'
            begda                = sy-datum
            endda                = sy-datum
          TABLES
            innnn                = t1004
          EXCEPTIONS
            all_infty_with_subty = 1
            nothing_found        = 2
            no_objects           = 3
            wrong_condition      = 4
            wrong_parameters     = 5
            OTHERS               = 6.
    *    if sy-subrc <> 0.
    *       MESSAGE  'this number is not maintained in hrp1001' TYPE 'I'.
    *      endif.
      ENDIF.
      READ TABLE t1004 WITH KEY objid = g_sobid3
      otype = 'S' "Position
      rsign = 'A' "bottom up
      relat = '008' "Holder
      sclas = 'P'. "Person
      IF NOT t1004[] IS INITIAL.
        g_pernr = t1004-sobid+0(8).
    **--Get name of Manager(Supervisor)
        CALL FUNCTION 'HR_READ_INFOTYPE'
          EXPORTING
            pernr           = g_pernr
            infty           = '0001'
          TABLES
            infty_tab       = t0001
          EXCEPTIONS
            infty_not_found = 1
            OTHERS          = 2.
        SORT t0001 BY pernr begda.
        READ TABLE t0001 INDEX 1.
        IF NOT t0001[] IS INITIAL.
           write  t0001-pernr to s_pernr.
           write  t0001-ename to s_name.
         ENDIF.
        Perform get_function_code using  g_sobid2  .
      ENDIF.
    PERFORM display_results.
    *&      Form  get_function_code
    *       text
    *      -->G_SOBID1   text
    FORM get_function_code USING org_unit.
      PERFORM get_obj USING org_unit.
      PERFORM get_ab USING w1222-tabnr.
      PERFORM get_text tables z1222.
      IF z1222-attrib IS INITIAL.
        CALL FUNCTION 'RH_STRUC_GET'
          EXPORTING
            act_otype              = 'O'
            act_objid              = org_unit
            act_wegid              = 'A002'
    *   ACT_INT_FLAG           =
    *   ACT_PLVAR              = ' '
           act_begda              = sy-datum
           act_endda              = sy-datum
           act_tdepth             = 0
           act_tflag              = 'X'
           act_vflag              = 'X'
           authority_check        = 'X'
    *   TEXT_BUFFER_FILL       =
    *   BUFFER_MODE            =
    * IMPORTING
    *   ACT_PLVAR              =
         TABLES
           result_tab             = res
    *   RESULT_OBJEC           =
    *   RESULT_STRUC           =
         EXCEPTIONS
          no_plvar_found         = 1
          no_entry_found         = 2
          OTHERS                 = 3
        IF sy-subrc <> 0.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
        LOOP AT res INTO wa_res.
          PERFORM get_obj  USING  wa_res-objid.
          PERFORM get_ab   USING w1222-tabnr.
          PERFORM get_text tables z1222.
        ENDLOOP.
      ENDIF.
    ENDFORM.                    "GET_TEXT
    *&      Form  GET_OBJ
    *       text
    *      -->P_OB  text
    *      -->P_OJ  text
    FORM get_obj  USING p_oj.
      SELECT SINGLE * FROM hrp1222 INTO w1222 WHERE otype = 'O'
                                               AND objid = p_oj.
    ENDFORM.                    " GET_OBJ
    *&      Form  GET_AB
    *       text
    *      -->P_TAB  text
    FORM get_ab  USING  p_tab.
      SELECT  * FROM hrt1222 INTO table z1222 WHERE tabnr = p_tab.
    ENDFORM.                    " GET_AB
    *&      Form  GET_TEXT
    *       text
    *      -->P_Z1222_LOW  text
    FORM get_text  tables p_txt STRUCTURE hrt1222.
    loop at p_txt.
    if p_txt-low+0(1) = c_function.
        write p_txt-low to f_code.
      SELECT single vtext FROM zfunctiont INTO f_text  WHERE abtnr = p_txt-low.
        ELSEIf p_txt-low+0(1) = c_Proces.
          write p_txt-low to P_code.
         SELECT single vtext FROM ZPROCESST INTO   p_text  WHERE abtnr = p_txt-low.
          endif.
    endloop.
    ENDFORM.                    " GET_TEXT
    form display_results.
      write :/ s_pernr,
              30 s_name.
      WRITE :/ f_code,
              30  f_text.
      WRITE :/ p_code,
              30  p_text.
      ULINE.
    endform.
    Thanks,
    Chidanand

  • Permitting a Manager of one org unit access to another org unit

    Hi,
    I have a problem with the use of relationships between the position and org units.
    If a manager has an A012 relationship to org unit 123, but should be able to view & approve leave for employees from another org unit 456.
    Is it possible to have a different relationship to org unit 456? To provide access to employees who are not part of the managers direct reporting structure.
    Thanks in advance
    Sujeet

    1. Create a separate relationship for the special access.
    2. You might need to add the new relationship to evaluation path
    3. If you are using MSS and need to display this, that evaluation path needs to be updated
    4. Structural authorization profile needs to be updated
    5. Role needs to be updated. Context senstive authorization needs to be activated and PA authorization + structure abc, PA authorization + structure xyz needs to be added to the role
    Hope it help.

  • Manager of org.unit

    hi,
    i have pernr and i wont to now if this pernr is manager of org.unit
    what is the best way to do that?
    i reward

    Hi Ricardo,
    U can use one of these functions depending on ur input...
    HRCM_ORGUNIT_MANAGER_GET - use this if you have the org unit id and want to get the manager for that org unit
    HRCM_GET_ORGUNITS_FOR_MANAGER
    IF you have the manager's pernr-  then get his user id from IT0105 table and use that user id to get the org units under the manager. Cross check if org unit u have is in that list
    hope this helps...

  • Find Manager of Org Unit

    Hi All,
    I would like to find the manager of an org unit. I know there are a bunch of ways to do this (FMs or table look up using the relations...). But my question is, if the manager of the org unit I am looking for does not exists, Is there a way to get the manager of the next level org unit. And, if that manager does not exists, then next level and so on.....
    Is there a FM which would give the manager in the above manner. If not, how could this be done.
    I appreciate your help in this regard.
    Thanks
    M

    Try this
    HR-ABAP issue how to find manager in PA reporting

  • Multiple Managers of an org unit

    Dear Friends,
    I need to know the org units where there are multiple managers apart from the one manager who is actually belongs to that particular org unit.
    for example Org unit - 5000021 has a position no- 3000012 who is the actual manager for the org unit. But when I go to hrp1001 for the org unit I see that there are multiple records for B 012 such as for the org unit-5000021 such as Position nos - 3000015, 3000021, 3000033, 3000028 etc. which should not be the case.
    Is there any way I can find such org units in th structure & rectify the same with help of any report. Please guide.
    Regards,
    Aks

    use   RHINTE00 program to create relationship, you can create the relationship for specific Org, unit by selecting Org. Unit selection field from "Further Selections".
    as the relationships is wrongly assigned to org units
    one u need to correct it and again reassign it with the existing one
    Edited by: Sikindar on Jun 8, 2009 2:29 PM

  • Authorisations in a Different Org Unit

    We have an Organisational Unit without a Manager and the employees within that Organisational Unit will be raising requests in ESS and they will require verification of Travel, Leave etc.
    We are planning to use an employee in a different Organisation Unit, not in the hierarchy above this Organisation Unit to authorise these requests.  
    How do we set up that employee from an Authorisations perspective to carry out this role.
    Thanks
    WB

    >
    Gupta, Sheetal wrote:
    > Hi
    >
    > As per my understanding from your question you want to divert the workflows to another manager as their is no manager in a org. unit.
    The Workflow will go another employee not a Manager in a different Org Unit
    >
    > For this you can provide the provide the reporting manager selection option to employee by selecting the check box in the Processing processes for thr typeof leave node in ESS customization.
    Not sure how you can get the name of the employee to default for this Org Unit only
    >
    > From this option employees will be able to select the new reporting manager if their is no manager maintained
    >
    > Thanks
    >
    > Sheetal

  • Need FM for Org Mannagement, Employees from lower org units

    hi,
    I have a person/manager suppose in Org Unit 'A' from whome I need to find out employeees belonging to org units at lower level to 'A'.
    Now I also have to check that I should get employees of the lower org units till I get a org unit with manger position if manager position is available stop otherwise need to keep searching the lower level org units.
    I am in search of any function module available for such requirement.
    Please reply me if anyone has any idea on this.
    Its urgent.
    thanks and regards,
    Akash.

    BBPU_GET_USERS_OF_ORGUNIT
    Use this FM to get users below an ORG UNIT.
    BBPU_GET_MANAGER_FLAG
    Use this to get manager flag.
    Revert to me for any doubts.
    Regards
    Vishal

  • HCM-ORG MANAGMENT Config error, in creation of Org Units.

    Hi Experts,
    I am trying to configure the HCM-Organization Management in ECC 6.0, When I try to maintain an Org Unit, the system prompts with an Information Message as stated below, since it was an information message, i continued creating the Org Unit, but when I am trying to save the entry, Now system shows me the same message and doesnt allow me save the entry and prompts me with same message...
    No evaluation path specified for structural evaluation
    Message no. 5A249
    Diagnosis
    You want to start structural reporting, but you have not specified an evaluation path according to table T778A.
    Can any of you help me in this regard.
    Best Regards,
    KishoreJ.

    Hi Amosha,
    When i try to do it through the expert mode..The following error shows in the task bar
    For infotype 1000 in status 4, function INSE is not allowed
    Message no. 5A043
    Best Regards,
    KishoreJ.

  • Managing Org  units and Master Data in project structure

    How are Org units and Master data managed at the project structure? What would be the appropriate place holders for them in the structure. Should we manage it at the top of the project structure or within the  business scenarios/processes. On what basis should we decide this? How would this impact in case of a global template rollout?
    Please share your experiences regarding this.
    Thanks.
    Mike

    any talented  guy do this way.
    i think  that ur working  in E2E project work
    before  singoff ur business process u should give to ur users  master data templets..they collect for  masterdatas in before realization phase...that time  u should know  how many specifications is there and  in spections how  many in quantitative and how many qualitative u will indentify. if any query let me  back.
    Edited by: Lakshmiananda prasad on Oct 6, 2009 11:48 AM

  • Org Unit Manager View

    Hi Experts,
    We have the following problem concerning the Org Unit Manager View : we cannot see the name of the manager who is responsible for an Org Unit. However we can see his photo stored in the R/3 and when pointing the cursor on the 'No Manager'  (which is displayed instead of the name) the name of the manager is displayed in this way : e.g. Peter Lewis().
    I tried to fix it through the Views -> Design Details , using the DataSource OrgUnitChiefViewDetails, but when i choose Edit I cannot see the preconfigured fields and when I try another Data Source, I loose also the information concerning the photo and the name of the Org Unit.
    Has anyone faced this problem??
    Thank you in advance,
    Evaggelia

    Hi Evaggelina,
    This is an issue that is resolved in Service Pack 1.0 (and also included in the subsequent Service Pack 2.0 release). You don't have to use a caption key, although this will mean your values will be hardcoded into the AppResources.xml. You should add keys from one of the Language XML files that represent what you want to use, or add some to the Custom.xml file in the Language folder. An example of what you should put in your data element is:
    <field name="Manager_PositionId">
       <caption key="Manager_PositionId"><![CDATA[Manager Personnel ID]></caption>
    </field>
    or
    <field name="Manager_PositionId">
       <caption><![CDATA[Manager Personnel ID]></caption>
    </field>
    I hope that helps!
    Luke

  • In MSS, Other than Manager to access the employee in the Org Unit

    Hi all,
    IN our current project, for MSS, Head of the Org Unit (A/B 012) triggers the Personnel Change request, First Level Approver (HR-Partner from Custom Infotype) approves the PCR and Admin process the PCR.
    Now the requirement is changed... HR-Partner needs to trigger the PCR, followed by Approval from head of Org Unit and Admin to process the PCR.
    For the HR Partner to view the Position in the Org.Unit or only the positions,
    We can have custom A/B Z12 between HR-Partner Posiiton and Org Unit
    OR
    We can have custom A/B Z02 between HR-Partner Position and reporting postions.
    Now What are all the required OADP configuration required to Allow the HR-Partner position to view the reportees and create and submits PCRs for them..
    Regards
    Ramanathan

    yes this all comes to the evaluation path a user has he neednt be a manager, in OM, he can be another user with extra structural authorisation like HR admin,
    so change in T77AW and assign them in OADP.
    https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=190743879

  • Assigning new employee to a org unit manager

    Once I had closed all the milestones of the firt implementation project(1. Design Accepted - 2 Solution Accepted - 3 Go Live Readness Acceptance) and tested some cenarios I found an error in the organization structure. To solve this problem I created a new Job D a new employee and had tried to assign this new employee as an org unit manager. The problem is that whem I Open the field " Select Organizational Unit Manager" the system does not show this new employee that I just have created. Does anybody knows whats is wrong? Should I have to create a new Project? Thank you in advance for you suport. Abilon Neves

    Hi Sushant,
    That´s the problem.
    I can´t assign this new employee to the org unit.
    The system does not list the new employees to be assigned. Only the old employees are listed.
    I´m in the first implementation Project and i closed all the milestones.
    Do you know if it can cause these problens?
    Should I open a new Project?
    Kind Regards.
    Abilon Neves
    SAP Consultant

Maybe you are looking for