Manager of a employee

Hi,
I have to display the display the manager of an employee
for ex: if  1000 is the pernr no,i found its organization unit using p0001and it is 50000000.
then using the
SELECT SINGLE SOBID FROM HRP1001 INTO L_MPOS      " Get Position no of organization unit
                      WHERE OTYPE = 'O'
                        AND OBJID = WA_FINAL-ORGEH
                        AND PLVAR = '01'
                        AND RSIGN = 'B'
                        AND RELAT = '012'
                        AND ISTAT = '1'.
      IF SY-SUBRC EQ 0.
        SELECT SINGLE SOBID FROM HRP1001 INTO L_MPERNR  " Get Pernr of Manager
                      WHERE OTYPE = 'S'
                        AND OBJID = L_MPOS
                        AND PLVAR = '01'
                        AND RSIGN = 'A'
                        AND RELAT = '008'
                        AND ISTAT = '1'.
I found out the manager of the employee.
BUt now my requirement is,,, if the organization unit doesnt contain any manager then i have to find out the OU unit under which my 50000000 unit belongs and have to find the manager of that OU unit.
could you tell me funstion module to get this...and the parameters i have to pass..
thanks n advance,
Regards,
Kiruthi

Hi,
FM HRCM_ORGUNIT_MANAGER_GET gives you the manager of a certain org unit.
Inputs:
PLVAR: Plan version  01
OTYPE: Object type   O
OBJID:   Object ID
BEGDA: Start date (validity)
ENDDA:  End date
PATH_ID: can leave as blank
This will get you the details of the manager of tht unit.
or FM UMC_HR_ORGUNIT_LEADER_GET
Relationship B003 will give the higher level org unit for the subordinate org unit.
Hope this helps.
Regards,
Shreyasi.

Similar Messages

  • What is the meaning of managed groups of employees in OM?

    Hi experts fellas,
    What is the meaning of managed groups of employees in OM?
    Thanks,
    JEss..

    Hey Jess
    Let me try this one.
    1. In general terms, group of employees of a department/division managed by one person (HOD).
    2. In technical terms, the evaluation path which results in list of Employees who are Managed by a Position holding A012 relationship with Organizational Unit of the Person in question.
    Both explaination are in regards to OM.
    Regards
    Yash

  • HR ABAP - OM Issue (to change the manager for an employee)

    Hi Experts,
    What is the procedure to follow to change the managerial position for an employee.  Is there any function module to change the manager of an employee? Please suggest me how to acheive this..
    Thanks,
    Sudha.

    Hi Mohan,
    Thanks for the reponse. Is it enough to create a record by giving the new manager position with A012 relation?
    Here i am trying to create a record through PP01 transaction.
    when i give the relation as A012 and saving the data its not accepting.
    And please suggest me the function module (if any) to change this data .
    Thanks
    Sudha.

  • How to make Default the Higher-Level Manager of the employee

    Dear experts,
    how to make Default the Higher-Level Manager of the employee as Further Participant in performance management ?
    Regards,
    TVS

    Hi,
    The delivered BAdI below defaults in both the appraiser and appraisee as part-appraisers//Default Further Participants.
    BAdI Area: Appraisal Enhancements
    BAdI Definition: HRHAP00_DOC_DEF_DO (Appraisal - Default Further Participants)
    App. Enhn.: DEFAULT_ALL_MANAGERS     
    Implementation: HRTMC_DEF_OTHERS
    Implementation short text: Determine All Managers
    Implement this BADI  in SE18/SE19 and  write the desired code in the  BADI methods
    Hope this will help u out.....
    Regards
    Lakhan

  • Management of Global Employees Issue

    Hi Gurus,
    In Management of global employees, it is sure that you know that there are series of "Personnel actions" such as "Planning of Global assignment", "Assignment Activation - Host & Home" are needs to be run.
    On running the above mentioned Actions, I struck up on last one "Assignment Activation - Home" as the error says the "Status of Assignment" (Infotype 715, subtype "Home" is not maintained). But i know the "Home" subtype of 0715 is automatically maintained by the system but not manually, once after running the Action "Assignment Activation - Host". But even after "Assignment Activation - Host" is been run and the "Status of Assignment Activation - host" (Subtype) is of "completed" / "In Progress". the system is not automatically updating the "infotype 0715, subtype - home" and even not allowing to update Manually.
    So Could you help me out to solve this issue.
    Thanks in advance
    Regards
    Vinoth Kumar.R

    Hi Gurus,
    In Management of global employees, it is sure that you know that there are series of "Personnel actions" such as "Planning of Global assignment", "Assignment Activation - Host & Home" are needs to be run.
    On running the above mentioned Actions, I struck up on last one "Assignment Activation - Home" as the error says the "Status of Assignment" (Infotype 715, subtype "Home" is not maintained). But i know the "Home" subtype of 0715 is automatically maintained by the system but not manually, once after running the Action "Assignment Activation - Host". But even after "Assignment Activation - Host" is been run and the "Status of Assignment Activation - host" (Subtype) is of "completed" / "In Progress". the system is not automatically updating the "infotype 0715, subtype - home" and even not allowing to update Manually.
    So Could you help me out to solve this issue.
    Thanks in advance
    Regards
    Vinoth Kumar.R

  • Management of Global Employees' feasibility in 4.6C  SAP HRMS???

    Dear Experts,
    We have a 4.6c System and recently my client company had acquired 2 companies abroad.
    Few employees of the company (home) will be leaving for Abroad to take up their  positions in the Aborad company.
    <b>Is Management of Global Employees module is practical with 4.6C???</b>
    Is yes then how to go ab't it?
    I checked few infoypes like 0710,0701 etc which is important for the same module, but it was absent in the system.
    Please guide.
    thanks in advance
    Regards
    Denny

    Hi Denny,
    this feature(IT07xx) isn't available in 4.6C. Perhaps you could use
    country reassignment:
    Please have a look at :
    http://help.sap.com/saphelp_46c/helpdata/en/0c/500638142d11d3965a00a0c9308b52/frameset.htm
    Regards
    Bernd

  • Management of global employee payroll configuration in sap hr

    Dear Expert,
    Kindly give me light on management of global employees payroll configuration.I have gone through different thread in sdn which are related to this but not able to find out accurate path to do this.
    Regards,
    Sankarsan

    Thanks Wrens and Sreenu,
    It works and changes the status of MGE to activate... but this still does not release the infotypes (700 series for GE ie 702, 703, 706, 715 etc with others). This is the situation after activating switches CCURE MAINS and CCURE GLEMP.
    The message displayed is:
    "You attempted to access infotype &1. According to the system settings, however, it is not permitted to use this infotype."
    Any clues on this restriction.
    Regards.

  • International Transfer scenarios to US ( Management of Global Employees)

    What's the best way to handle Actions-MASSN for International transfers to US ? My client is a global company and every month there are 3-4 International transfers (not expatriates) to US from all over the world. Right now we terminate the employee in home country and we do a new action in US. We have two issues, though we have workaround, my guess is there will be better ways..
    1 - We maintain the original emp id in IT185 (in a custom subtype) because our downstream systems only recognise the employee by the first PERNR the employee joined the company with.
    I know this is not the best place to store.
    2 secondly after we terminate the employee in the home country we do a prehire action in US meaning the employee is in Inactive status and we activate the employee when they receive their SSN in US. Which normally takes 2-3 weeks and till that time though the employee is working in US  but not shown in headcount..which is another issue. HR says they cant activate an employee in system without SSN.
    Is Management of Global employees module (IT710, IT715) the best solution for this ? What other options you suggest .?
    I will really appreciate your help
    Suman

    Hi Suman,
    Yes, Global Employment is the answer.  The functionality must be activated in table T77S0 and there is a great deal of customization to do. 
    Basically, what will happen with this functionality is the employee will have two assignments and two sets of organizational data (IT0001), pay data (IT0008), two personnel numbers, etc.  This is controlled by the Person ID which is maintained in IT0709.  This links the two personnel numbers so the system knows that it is the same person.  Again, T77S0 settings control the assignment of this Person ID. 
    The customizing will change the PA30 view to include an area where you can select for which assignment for the employee you want to view the infotypes.  There is also a neat overview, again customized, that will allow you to compare the assignments. 
    There is a lot of work to do with this and in this short message I cannot cover it all, but the answer to your situation is to implement Global Employment. 
    PS:  You must be at 4.7 or higher for this functionality.
    Paul

  • Turning on of Management of Global Employees in a live environment

    Is it possible/practical to turn on this functionality in a live payroll system operating in several countries?  If so what are the possible consequences of doing so?  I have read that Global Payroll is a separate sub-module so perhaps turning on Management of Global Employees will not affect the conduct of payroll...?  Many thanks for any feedback.

    Is it possible/practical to turn on this functionality in a live payroll system operating in several countries?  If so what are the possible consequences of doing so?  I have read that Global Payroll is a separate sub-module so perhaps turning on Management of Global Employees will not affect the conduct of payroll...?  Many thanks for any feedback.

  • Doubts in Management of global employees

    Dear Experts,
    im trying to configure Global employment in my system.
    Here im having some doubts in  the execution of Global employment.
    the doubts are...1.Shall we need to configure seperate actions for the management of global employees and what are the specific infotypes for the actions.
    2.How to activate the global employment in the system.
    Kindly share your valuable advices.
    Regards,
    V Sai.

    Hope it helps
    Payroll for Global Employees This component is not released for all customers. For more information, read SAP note 518503.
    You use this component to run payroll for your global employees.
    Implementation Considerations:
    To implement this component you must activate it in your system. Access Customizing for Payroll and choose Payroll International --> Payroll for Global Employees, and perform the IMG activity Activate Payroll for Global Employees. You make other settings for this component in the same section.
    Integration:
    You can implement Payroll for Global Employees irrespective of whether you administer your global employees with the component Management of Global Employees or in some other way in the system.
    Features:
    For Payroll for Global Employees payroll is usually run in two countries. There is data exchange between two payroll systems. Data is exchanged in the form of wage types.
    u2022 The sending payroll creates the wage types and stores them in table RT_GP (Results Table: Payroll for Global Employees).
    u2022 The receiving payroll imports the wage types from the sending payroll and processes them further.
    Use function XGP (Payroll for Global Employees) to transfer wage types from the sending payroll to the receiving payroll and to process them within the receiving payroll.
    All features that are included in the appropriate Payroll country version are available in sending and receiving payroll. For more information, see Payroll country versions in the SAP Library under Human Resources --> Payroll --> Payroll <Country>.
    Constraints:
    At present you can only transfer wage types from the sending to the receiving payroll. Data exchange in two directions is not possible.
    Example
    Employees in your German firm are usually seconded to your subsidiary company in the USA for three to five years. The remuneration of these global employees is calculated in the Payroll of the US company. Payment is also effected in the USA. However, the employee also pays social insurance contributions in Germany during his overseas assignment. These social insurance contributions are calculated in the German payroll system, and transferred to the American payroll system. They are settled there with the remuneration of the employee. In this case the German payroll is the sending payroll system, and the American payroll is the receiving payroll system.
    Execute the relevant personnel action or choose Human Resources > Personnel Management > Administration > HR Master Data > Maintain.
    2. If you have chosen to maintain the infotype manually, enter the global employeeu2019s personnel number and choose infotype Global Assignment Details (0710).
    3. Click Create.
    4. Enter the data with regard to the global assignment and check their consistency. Note that the system automatically determines the end date of the assignment on the basis of the duration you have entered.
    5. Enter the applicable employment percentage in the host country.
    6. Enter the current personnel number the global employee is assigned to in the host country. For more information on how to use these fields, see the F1 documentation.
    7. Click Save.
    Maintaining the Global Assignment Status
    In this step, you maintain the current status of the global assignment according to HR processor.
    Procedure
    1. Execute the relevant personnel action or choose Human Resources > Personnel Management > Administration > HR Master Data > Maintain.
    2. If you have chosen to maintain the infotype manually, enter the global employeeu2019s personnel number and choose infotype Global Assignment Status (0715).
    3. Click Create.
    4. Select the applicable assignment status.
    5. Click Save.
    Copied from the previous Threads

  • Management of Global Employees not getting activated

    Dear All,
    I have activated the Management of Global Employees by maintaining the system switch CCURE-GLEMP as X. But when I am trying to access the infotypes maintenace for global assignment such as 702,703,705 etc, I am getting th error that "Infotype XXX is not available".
    Please let me know how to resolve this issue,
    With Regards,
    Kaustuv Goswami.

    Hi,
    there are some specific OSS - notes on this issues which atate some coding that needs to be changed as well. Search OSS.
    Also, as noted in OSS, inform SAP that you're going to use this functionality.
    Wilfred.

  • Management of Global Employees (MGE) query

    Hello all,
    We are implementing MGE (Management of Global Employees) functionality for Personnel Administration for a global company. I have activated all Global Employment (GE) switches in table T77S0 after consultation with SAP. We don't plan to implement Global Payroll, but only the concept of Person ID which will be unique even the employee is transferred from one country to other. I have set up Generation and Selection Rule for Person ID. I would like to know if Person Id can be used for Master Data maintenance and can it be used in Reports as a primary query criteria (instead of PERNR). Also want to know how to set up Personnel Actions related to country transfer within MGE.
    I would like to know experiences from the real-time implementations. Anyone worked on Global Employment and Person ID implementation?
    Thanks.

    Hi,
    1. How to do use PNPCE logical database for Std and custom reports? Do we need to activate LDB PNPCE?
    If you have activated MGE, PNPCE gets activated with it. For custom reports, the developers need to include the LDB in their code. But it should be available in all standard reports and queries. Although, you will have to be careful if you are converting any custom reports as the u201Cget pernr/perasu201D statements differ. Iu2019m not technical but I saw some interesting threads on that topic here. You might want to check those.
    2. The use of Person Id for master data maintenance (instead of PERNR), would it be a problem for other HR modules implementation in future e.g. Benefits.
    I think for other modules, you should stick to personnel number.
    3. Instead of using std. SAP MGE actions- 81, 82, 83, can I create custom personnel actions and custom infogroups (with std HR infotypes). The std MGE actions look complicated for the business users.
    Yes, this is possible. You need to modify feature ACTCE accordingly for the following logical keys:
    EXPATPLANNING=81
    EXPATACTHOST=82
    EXPATACTHOME=83
    EXPATCHANGE=84
    The logical keys come predefined. Simply equate them to the custom action types. You can read the documentation for this feature for more information.
    4. Is it ok if I don't use the Infotypes related to MGE e.g. IT 706, 707, 710, 715 (except IT709 which gets created by the system) since we want to use the basic level of MGE and not implementing global payroll.
    I believe you need IT0710 and IT0715 to track assignment details and statuses if it is in line with the client business process. You can ignore IT0706 and IT0707 as you are not implementing the payroll piece of MGE.
    Hope this helps.
    Donnie

  • Function Module to get the Direct manager to an employee in a period?

    Function Module to get the Direct manager to an employee in a period of time?

    Hi,
    try these FM
    /MRSS/SQP_EMP_PROF_GET_API
    /MRSS/SQP_EMP_PROF_GET_HISTORY
    Thanks
    Viquar Iqbal

  • How to assign a line manager to a employee

    Hi,
    I want to assign a line manager to a employee. Kindly help me.
    Thanks,
    Saroj

    Hi Saroj,
    You can to use the transaction code PPOCE/PPOME to create/change the Organization Unit and assign the manager to a employee.  Verifiy the transaction code "PO13".
    Following the link below:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/05/dfba3692dc635ce10000009b38f839/frameset.htm
    Regards,
    Alexandre Tomazini.

  • Problem while working with Store Manager (while Creating Employee) on VISTA

    Hi
    Is anyone workin on Windows Vista (for the Store Manager)? 
    I am using Vista for the said application but the system always hangs whenever I try to create a new employee with Store Manager. Can anyone help me out with any solution so that it doesn't hang ?
    The steps I am following is as follows-
    1. Go to Store Manager GUI > Administartion > Employee Maintenance.
    2. Click on the Create new.
    3. Key in the entries.
    4. Here the p'lem comes into picture.
    5. When I try to switch over to next entry the system hangs.
    Please help me out.
    Edited by: Shantanu Sinha on Apr 10, 2008 9:58 AM

    Hi srm_2010,
    From your description, you fail to set up SQL Server AlwaysOn Availability group in Windows Server 2008 R2 cluster. The error 41105 could be caused by several factors, such as insufficient account permissions and so on.
    To resolve this issue, firstly, I recommend you check the prerequisites, restrictions, and recommendations for AlwaysOn Availability Groups according to this
    article.
    Secondly, as the error message indicates, please disable the AlwaysOn feature in SQL Configuration Manage on both nodes, restart the SQL Server service. Then enable the AlwaysOn feature and restart the SQL Service again. This time set up AlwaysOn Availability
    Groups again and please note the following things.
    1. Ensure that the AvailabilityGroup name is defined as a different one from your Windows Cluster name.
    2. Make sure that SQL Server service account has full control permission on the Window Cluster, which is described in this
    blog.
    However, if the error persists, please post the SQL Server error log for analysis. Additionally, if you encounters any errors when configuring Windows Cluster, I recommend you post the question in the Windows 
    server clustering forum at
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverClustering . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

Maybe you are looking for

  • Constantly Needing to re-add my computer to itunes match?

    Recently, my main computer seems to be disconnecting from the itunes match service every time I close itunes and re open it.  the cloud icon gets the lightningbolt on it.  this is the computer connected to my library, which is on a network drive - al

  • I recent la format the drive and create a case sensitive jornal and put a password. How I undo it if I just see the whole drive as the recovery disk

    I want to format my computer and I start to do that but I fondo a copy of the boot folder on the drive, not the recovery drive. I formated and make it case sensitive jornal with a password. Then I put a password in main too. So the drive the entre dr

  • Material cenvat

    Dear Experts, I have anMaterial cenvat Scenerio with two case 1)The material which is coming from vendor which we can take cenvat the material which is comming to factory 2) The material which is coming from vendor  which we wont take cenvat as the m

  • OBIEE Marketing Segmentation

    Hi.. Anybody is worked or knows about working with segmentation in OBIEE 11g?Could you please share the steps or procedure to understand.Already i am refereing to http://docs.oracle.com/cd/E12852_01/v11113/mktgseg/mktgsegTOC.html and also need to und

  • BlackBerry Desktop Software 10 Silent install

    How to silently install BlackBerry Desktop Software 10? The command from 4.5 to 7.1 did not work. Only /s Installs the Driver of Desktop Software 10, but I want to install it complete.