Terminating an Employee

Hi,
Can someone tell me how to terminate an employee in SAP using tcode?

Suresh,
I tried to terminate an Employee using tcode PA40, but it gave me a warning saying position & personnal area have different company codes.
Can you let me know, how to overcome this issue ?.

Similar Messages

  • Error While terminating the employee through API

    Hello Group,
    I am facing the error while terminating the employee through standard api. The error is "You cannot create an entry past the termination rule date" The element entry I have are type "Recurring" and Termination at "Final Close" I have gone through the thread
    " http://forums.oracle.com/forums/thread.jspa?messageID=3794867 " Which is partial complete.
    Will be looking forward for the response.
    Thanks,
    Nitin Singh

    This doc directs to apply a patch.
    I have gone through. Just want to cross check if this required. I am able to terminate the employee through the application. There it just throws the warning saying " Element Entry has been changed for the Employee as the result of the termination do you wish to go with the termination"
    Srini let me know your opinion.
    Thanks
    Nitin Singh

  • Terminated/inactive employees show in direct reports

    We're using HCM 9.1. When a manager looks at his direct reports, sometimes employees that have been terminated/inactive appear in the hierarchy. The termination date is long before the as of date on the direct reports page.
    On the Direct Reports Configuration page, we've tried two settings for Access Type: By Reports To Position and By Part Posn Mgmt Supervisor. Each of these Access Types results in seeing terminated/inactive employees in the direct reports list.
    Is there a way to prevent a terminated/inactive employee from appearing in a direct reports page?
    Edited by: kcjim on Feb 5, 2013 2:42 PM

    Thanks Hakan. I think the issue I'm having is very closely related to the one you have pointed out to me. Unfortunately we're on bundle 9 and I'm not sure when we may go to bundle 10. Maybe I can work with Oracle support for a temporary solution. Thanks again for your help!

  • Employee Group Change after terminating an employee

    Hi,
    My company has SAP HR Configuration setup...
    When I execute an action "Terminated" for an employee a group of ITs are triggered (0014, 0015, 0026) and after saving them i still see the employee Active in IT 0001.
    Can any one help me out with this issue ?

    Ajay,
    Thanks for the reply.
    Actually while urdergoing the action "Termination", IT 0001 is triggered and i changed the EE group to terminated but after saving the record its not reflected in IT0001.
    It still shows the EE Group to be Active.
    If this is not the field to be looked at, how can you differentiate Terminated and active employees.
    Dinesh

  • Calling custom pl/sql package on termination of Employee

    Hi,
    I want to call a custom pl/sql package that will create an element entry for employees, with their outstanding holiday entitlement upon termination.
    One way I have tried to do this is by personalizing the end employment form, but I get this error - ORA-00923: FROM keyword not found where expected
    from this code:
    <h5> ='declare
    l_element_entry_id NUMBER;
    l_object_version_number NUMBER;
    l_create_warning BOOLEAN;
    begin
    pay_element_entry_api.create_element_entry(p_validate => FALSE
    ,p_effective_date => (${item.period_of_service.actual_termination_date.value})
    ,p_business_group_id => 106
    ,p_assignment_id => (select assignment_id from per_all_assignments_f where person_id = ${item.period_of_service.person_id}
    and primary_flag = 'Y')
    ,p_element_link_id => 3499
    ,p_entry_type => 'E'
    ,p_input_value_id1 => 7318
    ,p_entry_value1 => (XX_PERSNS_UTILS.GetLeaveAccrual(${item.period_of_service.person_id}))
    --,p_cost_allocation_keyflex_id => ee_asg_api_rec.cost_allocation_keyflex_id
    ,p_effective_start_date => ((${item.period_of_service.actual_termination_date.value})-1)
    ,p_effective_end_date => ${item.period_of_service.actual_termination_date.value}
    ,p_element_entry_id => l_element_entry_id
    ,p_object_version_number => l_object_version_number
    ,p_create_warning => l_create_warning
    end'
    </h5>
    I also thought another way to accomplish this would be using business events but under Workflow Administrator I can see the Business Events and subscriptions but I can only search for existing set-up, I can't create my own.
    Does anyone have any ideas why this personalisation isn't working or has any other ideas of how to go about this?
    Thanks

    This is a tough solution to implement. The drawbacks of Forms Personalization, if you get it working, are that it won't be called from other areas (People Management templates, Self Service Termination etc). The drawbacks of API User Hooks are that they're not used in all places either. Finally, as mentioned, reverse termination means that you need to then backout such holiday payout entries.
    The most reliable way to do this is with an batch process, eg, concurrent program, that runs, say, daily:
    1) Find all employees physically terminated yesterday (regardless of their actual termination date)
    2) Calculate and create the holiday payout entry (if it's not already there)
    3) Find all employees who were updated yesterday and HAVE the holiday payout entry (this is the way to detect those who have been reverse terminated)
    4) Date-track purge the holiday payout entry.
    5) Consider API User Hooks to pick up late changes to absence records or anything that might affect any holiday already paid out so that you can update the holiday payout entry
    6) Configure retro to handle holiday payout for retrospective terminations, deductions for those who were paid holiday payout and later reverse terminated, and subsequent changes to the amount paid out (eg, because of late changes to absence records)

  • Termination of employee before leave period

    Hi All
    I have an employee who has applied leaves as following:
    11-Oct-2007 to 10-Nov-2007 Paid leave
    11-Nov-2007 to 09-Dec-2007 Unpaid leave
    But the employee expired on 23-Oct-2007 and we were notified about it on 24-Oct-2007.
    From the people>enter and maintain screen, when I select the End Employment option I get the following dates:
    Notified, Projected, Actual, Last Standard Process and Final Process.
    As the first three are self explanatory, I am not sure about the last two dates.
    What dates should I enter in Last Standard Process and Final Process?
    What are all the possible scenarios in this? Like upto wat date he can be paid etc.
    Regards
    Rahman

    These are relevant as per how you setup your elements in the first place. They help control the treatment of how you use them in a termination.
    Say for example you setup all your elements with this in mind...
    LSP - Use for when you would actually like to process the termination pay elements either in the pay period that term ends or later (such as elements for paying out leave).
    FP - Normally used when there are payments due in the future past their actual term date (such as bonus payments), but you still need them terminated and don't want to keep paying them any standard recurring elements.
    When you push out these dates of course, the assignment remains active. In a nutshell, it strictly controls how your elements are used so they are not used inappropriately.
    BTW i am quoting an Australian setup
    Hope this helps.

  • Final Process date when terminating an employee

    Hi All,
    we would like the end employment screen to generate the ‘Final Process’ field when entering the ‘Actual’ Termination Date for our leavers.
    Monthly paid: + 1 period (i.e. add 1 month to standard Final Process date)
    Fortnightly: + 2 periods (i.e. add 4 weeks to standard Final Process date)
    Weekly: + 2 periods (i.e. add 2 weeks to standard Final Process date)
    i.e.
    - Monthly leaver on 19-SEP-2012, end of that period is 30-SEP-2012 so Final Process date will be 31-OCT-2012.
    - Fortnightly leaver on 14-SEP-2012, end of that period is 15-SEP-2012 so Final Process date will be 13-OCT-2012.
    - Weekly leaver on 14-SEP-2012, end of that period is 15-SEP-2012 so Final Process date will be 29-SEP-2012.
    Any ideas about how to achieve this please?

    Thanks for your response.
    Yes I thought the same but, I need to know that payroll's pay frequency value (monthly/weekly etc) ,
    so that based on that value I can decide how much to add (an extra month for monthly payroll or a week for weekly payroll )
    How do I know the assignment's payroll's frequency on the professional form ?

  • PA40 employee termination Upload program

    hi friends..
    i am facing one issue.. plz give me some idea to resolve tis..
    Hr module - In TCode pa40 we can terminate a single employee by giving a necessary data..
    but my client asking me a upload program to terminate a set of employees..
    I tried by recording(SHDB) but its not possible because while terminating a employee it terminate all the infotype maintained for that employee..
    Number of infotype maintain for a employee is vary from employee to employee.
    is there any standard LSMW- direct input method is available? or any BAPI is available ?
    can you throw some light to resolve tis?
    thanks in advance..

    Hi Deva,
    I am facing the same issue.  Did you ever get a solution to this problem??
    Thanks
    Shane

  • Variable Value Empty during Employee Termination Workflow

    Hello Friends,
    I got a requirement where I need to send an email to the concerned department with Last Day in Office and Last Pay Date.
    During the termination of employee table PA0041 will be filled with dates(dat01-12) and
    date types(dar01-12).
    I am fetching data from table pa0041 based on the personal number but i am getting 00/00/0000 value in the email even though there is value in the table. I am getting values from other tables and displayed properly in the content of email except from this table.
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        PERNR                 = OBJECT-KEY-NUMBER
        INFTY                 = '0041'
      IMPORTING
        SUBRC                 = SUBRC
      TABLES
        INFTY_TAB             = P0041
      EXCEPTIONS
        INFTY_NOT_FOUND       = 1
        OTHERS                = 2            .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    SORT P0041 DESCENDING BY BEGDA.
    READ TABLE P0041 INDEX 1.
    DO 12 TIMES VARYING DATAR_TAB FROM P0041-DAR01 NEXT P0041-DAR02
                VARYING DATE_TAB  FROM P0041-DAT01 NEXT P0041-DAT02.
    IF DATAR_TAB = 'U7'.
    V_ENDDA = DATE_TAB.
    EXIT.
    ELSEIF DATE_TAB IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    How do i get the value during termination. the object is bus1065.
    Thanks & Regards,
    Nagaraj

    Trigger the event of that BOR COMPANYLEFT by using the FM SAP_WAPI_CREATE_EVENT*
    1. Here 2 cases are possible one is if you trigger from PA30 Txn
    2. Delete emtry directly from the table.
    2.
    When ever a entry is deleted from the table the a message will displayed saying that the employee deleted so what i personally feel is try to trigger the workflow which you have designed to send the mail, when ever this message is triggerd by using the t-code SWUY
    1.
    Find a enhancement spot and trigger the event SAP_WAPI_CREATE_EVENT aspecify the start event in the workflow, so when evenr the employee is deleted then this event is triggered and  then the workflow will be triggered

  • HT201441 How do I reset back to factory settings a phone issued by Samson Investment to an employee upon termination?

    I have a iPhone 5c returned by an employee after he terminated his employeement with Samson.  Now I need to set it back to factory settings to reassign.  How do I do this after he set it up on his iTunes account?
    Thanks
    Skeeter

    Welcome to the Apple community skchilton.
    Unfortunately, you cannot do very much with your phone unless you get assistance from the previous owner, they should either provide you with the password to unlock it or remove their account from the phone entirely remotely through iCloud.com > Find My Phone.

  • Terminated employees assignment not being end dated

    Dear Gurus,
    I have terminated an employee and his status is shown as Ex -Employee but his assignment is not being end dated till the termination date. I dont know what is the problem? in fact is is even letting me open assignment form after the termination date where as in normal cases it does not even allows us to go to assignment form after the termination date.
    Help Please
    Muhammad Noman Shafique

    Hi Muhammad,
    There are 3 important dates on the Terminations form -
    Actual Termination date(ATD)
    Last Standard Process date (LSPD)
    Final Process date(FD)
    If all the above are the same, then you cannot navigate into the Assignment form, after the termination date. i.e. the assignment is end-dated as of the termination date.
    If the LSPD or FD are later than the ATD, then you can still navigate into the assignment form as the assignment is still active with a termination status.
    There is a special use-case, for the above scenario. Consider this -
    You have terminated an employee as of 15-Apr-2012 (ATD). Now you can process the employee payroll only till 15-Apr-2012, if all the above dates are the same.
    Now, if you want to process some elements like Termination-pay or Leave-salary, which you want to calculate at the month-end, then you can give the LSPD as 30-Apr-2012. And at the month-end you can process the payroll.
    Say, you want to process an element called commission or Extra-pay for a terminated employee, 6 months after his termination, then the Final process date can be changed to the month you want to process the element(If you see closely, the FD is the only date which can be amended on the termination form).
    So depending on your use-case, you need to enter the dates.
    Hope that helps.
    Thanks,
    Vigneswar

  • Visa Card upload for withdrawn / terminated employees

    Is anyone else having issues uploading the visa files for terminated / withdrawn employees?
    We are currently undoing the termination action, loading the file, then terminating them again.
    Any work around?
    Thanks,
    Dianna

    Hi Janhavi,
    For terminated employees I generally create a custom hiring action (e.g. X1) which includes only minimum infotypes that are required to be maintained for a terminated employee (including IT0001, IT0002, social security number). then I record an LSMW or BDC first running the X1 hiring action and then running the leaving action afterwards.
    Regards,
    Dilek

  • Nakisa including terminated employees

    Hello,
    I've been searching the forum for answers, but don't see anything.
    Our environment in Nakisa 3.0, ECC 6.0 ehp 4.
    Our Nakisa implementation is including terminated (withdrawn) employees (stat2=0) when we list all employees. These employees show in the listing with a blank name. When you click on one, you get an error about no business partner object is found for this central person.
    I verified, that indeed there is no valid relationship between the CP and a BP. Apparently HRALXSYNC does not create a BP for withdrawn employees.
    Any thoughts on how to exclude these from Nakisa?
    Many thanks,
    David Watts

    Hi David,
    This issue isn't actually related to Nakisa - it is a problem with the TREX engine that powers the NetWeaver Enterprise Search. There are loads of SAP notes for Talent Mgmt and TREX (SAP released 100 in the last 2 months) so I would search through those. Talent Management is component PA-TM and TREX/ESH is component BC-EIM-ESH. It might be worth trying SAP note 1528708 (Business partner data displayed with inactive personnel no.) as a starting point.
    Good luck!
    Luke

  • Pay out Terminated Employees expenses

    Hello!  We have had an ongoing problem with trying to pay out travel expenses to terminated employees.  When employees leave the company, 80% of the time, they have expenses in process.  Some of this is due to our direct bill credit card, and the data is imported into the buffer sometimes even after the employee leaves.
    So, our bus. process, is that the back-end in Accounts Payable finishes the expense reports.  However, sometimes we cannot get the repors to pay out through payroll (which is where we pay out all expenses).  Payroll has already tried to extend the pay through date, which was a good process.  But somewhere along - this was not good enough anymore.  I have two question - first - who else has a terminated employees process and pays through payroll?  next - what else can we try to change in the back-end (that can be a proces or  change to a program) that will allow these expenses to rest??
    Kindest regards
    Fabi

    Hi Prashanth,
    Once the Person is terminated, you cannot navigate to the Assignment form beyond the Final process date.
    Thre dates on the termination form are important -
    ATD - Actual term date
    LSPD - Last std process date
    FC - Final close
    If all the three are the same, then you cannot navigate to the assignment form after the termination date.
    If the LSPD or FC are different(always greater) to ATD, then you can navigate to the assignment form only till the FC date, but cannot amend any data, as you've already terminated the employee. All you can do is make some element entries and process payroll till FC date.
    For your case, why can't you reverse terminate the employee, make all the changes as you need and then terminate the employee as of the correct date ?
    Cheers,
    VB

  • Terminated employees, uncertain end dating

    I dont have much knowledge in HRMS. Could you please help me on my issue.
    In our test instance for one employee, we have two assignments one is 'Active Assignment' and other one is 'Terminate assignment'.
    Assignment effective start date effective end date Primary assignment type
    Terminate assignment 13-FEB-12 30-APR-12 N E
    Active Assignment 13-FEB-12 31-DEC-12 Y E
    But in production some modifications happened 'Terminate Assignment' primary flag updated to 'Y' . In our test instance this 'Terminate Assignment' form is greyed out. Not able to change the primary flag in miscellaneous tab But how it is happened in production not sure. If you know please let us know how and/or where we can change the 'Terminate Assignment' primary flag.
    for termination assignment
    Actual termination Final Process Last Standard process
    27-JAN-12     30-APR-12     27-JAN-12
    after 30th April can we see this terminate assignment in the assignment form.
    your help would be appreciated.

    Hi Prashanth,
    Once the Person is terminated, you cannot navigate to the Assignment form beyond the Final process date.
    Thre dates on the termination form are important -
    ATD - Actual term date
    LSPD - Last std process date
    FC - Final close
    If all the three are the same, then you cannot navigate to the assignment form after the termination date.
    If the LSPD or FC are different(always greater) to ATD, then you can navigate to the assignment form only till the FC date, but cannot amend any data, as you've already terminated the employee. All you can do is make some element entries and process payroll till FC date.
    For your case, why can't you reverse terminate the employee, make all the changes as you need and then terminate the employee as of the correct date ?
    Cheers,
    VB

Maybe you are looking for