Employee termination workflow ECC5.0

Hi Everybody,
We have a requirement to do a workflow for employee termination approval in HR. We are on ECC5.0. Manager will have to propose the termination, an approver will have to approve and then HR Admin will review the info and then the database gets updated.
Has anybody implemented this kind of employee termination workflow in ECC5.0? I would like to know if there is any standard template/ business object etc..or any other useful information.
Early response will be highly appreciated.
Thanks
Srinivas
Edited by: srinivas bejjanki on Apr 10, 2009 5:46 PM

Hi
Thanks for your inputs.
We are on ECC5.0 and we are not implementing ESS/MSS.
I am wondering for implementing this workflow if we need to develop the screens, business objects, workflow every thing custon from scratch or do we have any thing standard where we can start from.
Appreciate your help.
Thanks
Srinivas

Similar Messages

  • 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

  • Employee termination workflow

    hi
    we are in ecc 6.
    there is a requirement to send a email notification to a set of people when ever someone terminate. Can someone tell me which business object should i use and what are the configuration steps involved? Should i do swehr3?
    Thanks
    Nash

    Re: Mail while infotype 0008(Basic Pay) is created or changed
    check tis one and let me knwo if ther is anyhting else

  • How  to get Mail  address  of  an Employee in  Workflow  ?

    Hello Everybody ,
    I want  to send mail  to employee   through  workflow    . I  have  Employee  number  PERNR  but  which method and  B.O   should i used  to get   email  address  of  that  employee   .?
    Any solution .?
    Regards,
    Sandeep Jadhav

    hi:
    Try the function module HR_FBN_GET_USER_EMAIL_ADDRESS
    else Create a Z_function module and put the following code as
    ORM find_email_address USING    p_uname
                            CHANGING p_recextnam LIKE soos1-recextnam.
      DATA:   t_pernr LIKE pa0105-pernr,
              t_email LIKE pa0105-usrid_long.
    STEP 1 - Find personnel number for UNAME
      SELECT SINGLE pernr INTO t_pernr
        FROM pa0105
        WHERE subty = '0001' AND
              endda >= sy-datum AND
              begda <= sy-datum AND
              usrid = p_uname.
    Employee record found
      IF sy-subrc = 0.
    STEP 2 - Find email address for personnel number
        SELECT SINGLE usrid_long INTO t_email
          FROM pa0105
          WHERE pernr = t_pernr AND
                subty = '0022' AND
                endda >= sy-datum AND
                begda <= sy-datum.
        IF sy-subrc = 0.
          IF NOT p_recextnam IS INITIAL.
            CONCATENATE p_recextnam t_email
              INTO p_recextnam SEPARATED BY ','.
          ELSE.
            p_recextnam = t_email.
          ENDIF.
        ELSE.  "Never found an email address for employee
    WHO SHOULD WE SEND TO HERE??? ***
        ENDIF.
    Employee number not found. Search in ADR6 table
      ELSE.
    See if user name is in the username table.
    i.e. The user is not an employee
        SELECT SINGLE addrnumber persnumber
          INTO (usr21-addrnumber, usr21-persnumber)
          FROM usr21
          WHERE bname = p_uname.
        IF sy-subrc = 0.
    Found user name now let's get the email address
          SELECT SINGLE smtp_addr INTO t_email
            FROM adr6
            WHERE addrnumber = usr21-addrnumber AND
                  persnumber = usr21-persnumber.
          IF sy-subrc <> 0 OR t_email IS INITIAL.
    WHO SHOULD WE SEND TO HERE??? ***
          ELSE.  "Found email
            IF NOT p_recextnam IS INITIAL.
              CONCATENATE p_recextnam t_email
                INTO p_recextnam SEPARATED BY ','.
            ELSE.
              p_recextnam = t_email.
            ENDIF.
          ENDIF.
        ELSE.   "UNAME just does not have an email address addigned at all
    WHO SHOULD WE SEND TO HERE??? ***
        ENDIF.
      ENDIF.
    Regards
    Shashi

  • How can we identify an employee termination date?

    how can we identify an employee termination date? using infotype(41) i 'mean which field.
    Please update me.

    Hi,
       Normally last working Day - date type 42 is used as the termination date.
    Regards,
    Manoj.

  • Help in Customizing the HR Termination Workflow

    Hi,
    I am trying to customiz the HR Termination workflow.. Then I created custom functions that references this new custom workflow and added the custom function to the menu.. but not getting the expected results.
    I tried changing the process_name to the customized workflow in the parameter for the original function and that seems to work, which confirms the workflow customization is working..
    I just need to know, if there are any other pieces I am missing?
    Thanks,
    suguna

    Why do you want to extend/customize the core library?
    Finding the extact file in that.That does what? Without know what you are up to it is unlikely we will be able to other much help.
    Edited by: mlk on 04-Nov-2008 10:37 - Why is this in New to Java?

  • Workflow Infrastructure Error: 88xr Unexpected WinWF Internal Error,terminating workflow Id#03888be1-28c8-409d-bc65-7115bc17edfa

    Hello Friends,
    I have developed a custom sequential workflow in SharePoint Server 2010 using VS 2010. My workflow gets activated and then creates a new task in the Tasks List.
    But "Error Occurred" gets displayed in the Workflow column in the default view of my document library instead of "In Progress".
    I debugged my code and there are no errors in it. But I found the below error in \14\LOGS\:
    "SharePoint Foundation Workflow Infrastructure Error: 88xr Unexpected WinWF Internal Error,terminating workflow Id#03888be1-28c8-409d-bc65-7115bc17edfa"
    I have set the properties correctly for the workflow activities in VS 2010.
    Can anybody help me solve this error?
    Thanks in advance...
    Regards,Gautam Kaikini.

    I am having the same issue, here is some of the logging errors I am seeing.  If anyone has any ideas I would be forever in your debt,
    02/24/2011 11:32:47.52 w3wp.exe (0x0A14)                      
    0x0F40
    SharePoint Foundation         Workflow Infrastructure      
    88xr Unexpected
    WinWF Internal Error, terminating workflow Id# 4128e252-208e-4d6c-8772-12c51959038e
    616e0e48-457e-4620-8191-dbe40c9af587
    02/24/2011 11:32:47.52 w3wp.exe (0x0A14)                      
    0x0F40
    SharePoint Foundation         Workflow Infrastructure      
    98d4 Unexpected
    Microsoft.SharePoint.SPException: The specified user or domain group was not found. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.     at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
    sourceAccounts, Type targetType, Boolean forceSuccess)     at System.Security.Principal.NTAccount.Translate(Type targetType)     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix)
        --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administration.Claims.SPClaimProviderManager.GetProviderUserKey(String encodedSuffix)     at Microsoft.SharePoint.Utilities.SPUtility.GetFullUserKeyFromFullName(String
    fullName)     at Microsoft.SharePoint...
    616e0e48-457e-4620-8191-dbe40c9af587
    02/24/2011 11:32:47.52* w3wp.exe (0x0A14)                      
    0x0F40
    SharePoint Foundation         Workflow Infrastructure      
    98d4 Unexpected
    ....SPGlobal.CreateSPRequestAndSetIdentity(SPSite site, String name, Boolean bNotGlobalAdminCode, String strUrl, Boolean bNotAddToContext, Byte[] UserToken, String userName, Boolean bIgnoreTokenTimeout, Boolean bAsAnonymous)     at Microsoft.SharePoint.SPSite.GetSPRequest()
        at Microsoft.SharePoint.SPSite.get_Request()     at Microsoft.SharePoint.SPSite.OpenWeb(Guid gWebId, Int32 mondoHint)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForWorkflow(SPWorkflow wf, SPWorkflowUserContext
    runAsUser)     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.get_Web()     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.GetWebForListItemService()     at Microsoft.SharePoint.Workflow.SPWinOEWSSService.UpdateModerationStatus(Guid
    id, Guid listId, SPItemKey itemKey, SPModerationStatusT...
    616e0e48-457e-4620-8191-dbe40c9af587
    02/24/2011 11:32:47.52* w3wp.exe (0x0A14)                      
    0x0F40
    SharePoint Foundation         Workflow Infrastructure      
    98d4 Unexpected
    ...ype newModerationStatus, String comments)     at Microsoft.Office.Workflow.Actions.SetTaskProcessItemModerationStatus.DoUpdate(ActivityExecutionContext context)     at Microsoft.SharePoint.WorkflowActions.WaitForDocumentUnlockActivity.Execute(ActivityExecutionContext
    executionContext)     at Microsoft.Office.Workflow.Actions.SetTaskProcessItemModerationStatus.Execute(ActivityExecutionContext context)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext
    executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
        at System.Workflow.Runtime.Schedule...
    616e0e48-457e-4620-8191-dbe40c9af587
    02/24/2011 11:32:47.52* w3wp.exe (0x0A14)                      
    0x0F40
    SharePoint Foundation         Workflow Infrastructure      
    98d4 Unexpected
    ...r.Run() 616e0e48-457e-4620-8191-dbe40c9af587
    Thanks in advance!

  • Employee Termination Date

    Hi Guru's
    Can anybody help me to found Employee termination date field name and table.
    Regard,
    Nisar

    >
    kishan P wrote:
    > It took me all of 15 seconds to get an answer to your query through a search in this forum.
    >
    > pk
    Locked for that reason.
    matt

  • Is their any standard steps for employee termination

    Hi Experts,
    Are there any standards steps in employee termination.
    Thanks in Advance.
    Regards,
    Irfan

    Hi Irfan,
    Maintain IT0016 if its nt maintained. then run t.code PC00_M40_TERM. Enter the pernr and execute.
    In the next screen enter the session name over there and execute.
    Then goto Tocde SM35 and select the session name and process it. IT will delimit all the infotype required to be delimit.
    PLease note that the tcode PC00_M40_TERM is specific to India.
    alternatively u cn execute leaving/terminate action from PA40.
    Regards,
    Praveen

  • OIM - EBS - Employee termination query

    I have configured OIM (9101) with EBS HR (9043) with Weblogic 10.3.
    I want to know how Employee termination works. Right now if I manually enable/disable any user, the Enable User and Disable User tasks are triggered and the user is enabled/diabled in the EBS system. But I am not able to understand the flow from HR system to OIM i.e. when a user is terminated in HR system ( I don't know how), will it trigger the disable user task in OIM.
    Please put some light on this matter. Thanks !!!

    I always found the trusted source status mapping not to work. I would suggest creating a UDF called EBS Status. Create an entity and process adapter that both do the following:
    Check the status field. Then either use the enable api or the disable api. On the entity adapter though, you should only put it on post-insert and only check if you need to disable the user.
    Create a user form trigger (explained many many times on this forum). Add the task to your Xellerate User profile. Then use the adapter you created as a process task adapter to enable or disable the oim user based on the new value.
    -Kevin

  • Regarding Employee termination

    Hi Friends,
    I have a problem regarding employee terminations. Generally how willwe terminate employees? I terminated using actions infotype with the action Teminated.
    It worked fine. But when I run payroll for him, it is calculating for the period of termianted month as well. For example I terminated an employee in the motnh of Jul on 15th. When I tried to run payroll, it is running for this period and if I want to run for the next month it is not at all taking that PERNR. So is this the way generally it works?
    Would appreciate your help.
    Thanks
    KM

    Dear Kiran,
    I suppose this is very much the normal process.
    BTW kindly have a look at some SAP provided documentation :-
    Making Payments after Termination Use
    You can pay your employees by a normal payroll run, by cheque or an off-cycle payroll run.
    You can choose to make continuous or one-off payments to employees after they have been terminated, for example, work cover payments to employees permanently disabled due to an accident at work.
    This procedure describes how you set up the SAP System to make continuous and one-off payments after termination.
    Procedure
    Making Continuous Payments after Termination
           1.      Activate and, if necessary, modify the Organizational Assignment (0001), Personal Data (0002), Planned Working Time (0007), Basic Pay (0008), Bank Details (0009) and the Tax Australia (0188) infotypes.
    These infotypes are delimited during the termination process.
           2.      To ensure that the payroll driver includes the terminated employees in the payroll run, configure the terminated employees into a separate employee subgroup.
           3.      Enter the continuous payment in either the Recurring Payments/Deductions infotype (0014) or the Additional Payments infotype (0015).
    Making One-Off Payments after Termination
           1.      Change either the Basic Pay infotype (0008) or the Additional Payments infotype (0015) to reflect the one-off payment you want to make.
           2.      Perform a retroactive payroll run for the employee.
    Processing based on the Payment Method
    ·        Payment method, Normal
    Run regular payroll for the termination period to payout the employee. For retro terminations, run the payroll for the next payroll period (period that occurs after the last payroll period read by the payroll driver) to payout the employee.
    ·        Payment method, by Cheque
    Run regular payroll for the termination period. For retro termination, run payroll for the next payroll period(period after the last exited period). The negative net payment created through the Additional Payments infotype (0015) balances out the net pay generated, thus, generating a zeroing out the net pay. This is because the in payment method By Cheque, a cheque is issued to the employee with the net pay amount generated during the termination process. Therefore, a regular payroll run after termination must not payout the employee again.
    ·        Payment method, Off-cycle
    Run off-cycle payroll as of the off-cycle pay run date and parameters chosen from the termination process. This will payout the net payment amount updated in the off-cycle payment info type. Similar to that of cheque payment, a negative net payment is created through the Additional Payments infotype (0015) so that any regular pay run does not payout the employee.
    Hope this helps.
    Kindly reward in case useful.
    Regards & Thanks,
    Darshan Mulmule

  • Termination workflow -  (WS18900010)

    Hi experts,
    the functional team were busy with the configuration sap standard workflow for termination forms and processes and setting it up. although the workflow was activated it goes into the following errors. can i get hel for this workflow erors as i have been struggling to get it right but with no success..Workflow - (WS18900010) It is not running at all. but what i did is when i remove the rule 17900012 and the program exists (CL_HRASR00_POBJ_WF_EXIT) it starts the process then fails. i am still new as far as workflow is concerned.your help will be highly rewarded..
    1. Transaction brackets of the workflow has been damaged
    2. Error when starting work item 000030505067
    3. Error when processing node '0000000547' (ParForEach index 000000)
    4. Error when creating a component of type 'Step'
    5. Error when creating a work item
    6. Exit CL_HRASR00_POBJ_WF_EXIT triggered exeception for event BEF_CREAT and (target) status : Excep
    7. The process object GUID 8C76A34C25D3BE2AE10000000A080B1B is inconsistent
    8. Notification of completion cannot be generated
    9. Problems occurred when generating a mail
    10. Error '9' when calling service 'SO_OBJECT_SEND'
    11. Work item 000030505067: Object FLOWITEM method EXECUTE cannot be executed
    Thanks in advance,
    Thembass.
    Moderator Message: Offering to rewards answers is against forum rules. Thread locked
    Edited by: Neil Gardiner on Oct 1, 2010 2:22 PM

    Hi
    Thanks for your inputs.
    We are on ECC5.0 and we are not implementing ESS/MSS.
    I am wondering for implementing this workflow if we need to develop the screens, business objects, workflow every thing custon from scratch or do we have any thing standard where we can start from.
    Appreciate your help.
    Thanks
    Srinivas

  • Managing "Suspended" or "Terminated" Workflows by filtering on the internal status in Sharepoint 2013

    We have a number of Sharepoint 2013 workflows running on various lists.
    I want to create a simple page and drop in web parts that contain views of the lists, filtered on the workflow INTERNAL status.
    This way I can see if any are currently suspended or terminated due to an issue and then resolve it quickly. At the moment I am going into each list item -> clicking on the workflow status and then seeing if the internal status is suspended, completed
    or In Progress.
    When creating a list view, the workflow status is not even an option in the "Filter On" dropdown , it does appear in the grouping option though.
    I understand that if I could select the workflow status as a filter, I need to use the id of the status ie 5 = Completed.
    But I cannot understand why my workflow status coloumn isnt a filterable option for me.
    Any help would be appreciated.

    Hi
    This works for 2010 and hope wont be different for 2013
    The name of the workflow should be an option in the "Filter On" dropdown and  equals to one of the below codes.
    NotStarted = 0
    FailedOnStart = 1
    InProgress = 2
    ErrorOccurred = 3
    StoppedByUser = 4
    Completed = 5
    FailedOnStartRetrying = 6
    ErrorOccurredRetrying = 7
    ViewQueryOverflow = 8
    Canceled = 15
    Approved = 16
    Rejected = 17

  • 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

  • Employee Termination Notification

    We have Oracle HRMS implemented and would like to create a simple workflow to notify the system administrator via email when an employee terminates. I can't seem to find any documentation that explains how to start such a workflow based on such an action within an Oracle app. Could someone explain, or direct me to documentation that might cover this?
    Thanks,
    M Auquier
    [email protected]

    Hi,
    Have you checked the Event definitions in your system? There could be an event which is raised, which you could tie into.
    I haven't got access to a databse here to check, but that would be easier than checking through all the forms and database level code.
    HTH,
    Matt
    Alpha review chapters from my book "Developing With Oracle Workflow" are available on my website:
    http://www.workflowfaq.com
    http://forum.workflowfaq.com

Maybe you are looking for