Need multi level approval for Leave request workflow in ESS

Hi All,
Our requirement is for 5 levels of approvals for the leave request raised in ESS  means After employee raises leave request ,it has to be approved by 5 managers one after the other. In standard system only 1 level of workflow and approval  is available so please anybody suggest the solution . Thanks in advance.

in addition to the above content your workflow consultatn have to create this ask him to
refer this document
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
for multiple level of aproving the leave reqest and  and orgstructure have to be well formed
ravindra

Similar Messages

  • Leave request workflow in ESS ?

    hi there
    we plan to use the ess scensario for leave request entered by employees in our portal (netweaver 2004'S 7.00, with backend ECC 6.0).
    i have a problem with the workflow behind it: i want to send an email to the person who must approve the leave request.
    in standard there is of course a email, but only with a link to the business workplace inbox. as this is very user-unfriendly i want to add a link to the email which DIRECTLY gets to the leave request for approving.
    is there a possiblility ?
    b. reg, Martin

    Hi ,
    This is only possible via Extended notification.
    Just follow the following path and u will configure it of by ur own.
    http://www.mortenhjorthnielsen.dk/BPM/RSWUWFML2/RSWUWFML2.html
    Reward me for useful answer.
    Thanks!
    Richard A

  • Second approval level for leave request needed

    Is there a best practise solution to modify the standard leave request WF12300111, so that a second level of approval is possible?
    It is necessary that first the team leader approves the request.
    After him the department head has to approve the request as well.
    The department head (line manager) can be determinated through the organizational management (OM) in the way it is done in the standard WF12300111.
    But how to determinate the team leader who isn't labled in the OM unitil now?
    Is it necessary to create a new link in om, which links the team lead to his team members and vice versa?
    Or do you suggest a better way to solve teh problem?

    as in all own implementations you should copy the sap workflow to an own one, like Siddharth proposed. I didn't try this, i never needed second level approval so take what i say with a grain of salt.  Copy the task that deals with the approval (the one showed in the UWL of the first manager) for the next approval (second manager). It should be then inserted in the workflow after the first approval. Between the original approval task and the second one you should insert a step where you call your own abap class to set the new processor of the workflow - copy the one used by SAP in the first approver task and remove what you don't need, modify the stuff that you could use.
    You might be able to get the approval in the approval application using the BADI proposed by Siddharth but I am not sure using that BADI will create a UWL entry for the second approver.
    @SAP: a propos the class used for workflow task methods--> stop creating final classes !

  • Project Workflow Extension for Multi level approval

    Hi,
    We have a requirement of 2 or 3 level of approval on Project Workflow for Project Status Change. We are planning to use the Seeded extension provided by Oracle to get the Approver for Project Status Change.
    The extension procedure provided pa_client_extn_project_wf . select_project_approver has only one out parameter that is Approver id. This means it's only possible 1 level of approval.
    Please help me to find out the way how can i make this work for multi level Approval.
    Regards,
    Ram

    Hi Paul,
    Thanks for your suggestion.
    By comments field I'm assuming OfficeTask.Comments field. Problem is, this field is always null. I tried accessing this field in CheckExitCondition activity as well as in OnTaskCompleted but in both the cases, it was null only(I wrote comments while approving
    the task).
    I used a code activity within OnTaskCompleted activity and following code for accessing Comments and Description fields:
    public string officeComments;
            public string officeDescription;
            private void TaskCOmplete(object sender, EventArgs e)
                CodeActivity Sender = (CodeActivity)sender;
                Microsoft.Office.Workflow.Actions.OfficeTask ofctask1 = ((CompositeActivity)Sender.Parent).Parent as Microsoft.Office.Workflow.Actions.OfficeTask;
                officeComments = ofctask1.Comments;
                officeDescription = ofctask1.Description;          
    Please tell me if I'm doing anything wrong here, I'm very new to Workflows. Also, do I need to set any specific property of officeTask for retriving comments?
    Thank you

  • Auto Approval Workflow for leave request Management.

    Hi Guru's,
    I am working on leave request Workflow i.e WS12300111.
    Now i have to implement the auto approval of workitem if the approver doesnt take any action in 3days.
    1. i have implemented deadline monitoring i.e in Latest end tab
    refer date/time :- Expression Date : %DATUM% Time : %UZEIT%    3 days Action : Modeled  Display test
    Outcome : Reminder Mail
    In outcome tab i have activated Processing obsolete.
    i have created an activity if the deadline is reached so that it should auto approve the workitem.
    in that activity i have created a copy of class CL_PT_REQ_WF_ATTRIBS created 1 method auto_approve. and used function module PT_ARQ_REQUEST_EXECUTE so that it will change the status from SENT to APPROVE.
    But when i apply leave in portal , workflow starts but it doesnt reach to branch auto approve after the deadline is reached.
    Please suggest is the deadline monitoring implemented correctly or not .
    whether the auto approve method used is correct or not
    or there is another solution to this
    I have checked the SWU3 setting and it is green.
    Please Advise
    Thanks in Advance
    chitis

    Hi Rick ,
    Thanks for the Reply.
    But is there something wrong in deadline monitoring i have maintained for the task.
    could you please share the procedure for implementing deadline monitoring specific to auto approval of the workitem.
    thanks in advance
    chitis

  • Workitem Lock  problem in workflow for leave request

    Hi Experts,
    I am facing the strange problem in the workflow of the leave request.
    We have implemented the two  level approval for workflow. For the first level approval we have created custom WebDynpro  application where approver approves the request and selects 2nd approver for the workflow. Here we are calling method initiate_state_transition of class/interface if_pt_req_request to change the status of workflow from sent to approved in custom WebDynpro  application .
    For the second level approval we are using standard approval application.
    When 1st approver approves the request, workflow moves to next task, but this task gives error "Work item 000000605682 locked by user SD21690 (enqueue error)".
    I am not getting why this is happening?
    Could you please help me.
    Thanks
    Sameer

    Hi
    As you have developed a custom application for first level approver where the status of record is being changed from sent to approved.
    please check what is the workitem number that is initiated. If its 605682 and the first approver is SD21690 then please make sure you release that workitem in your webdynpro application.
    You must have customized the workflow to add the first approver step. Where you would be mentioning the name of the custom application in SWFVISU against your custom task.
    The problem is with the workflow so please check the workflow. Your first approer is not releasing the workitem post approval and that is the reason for lock.
    Vivek - this lock is not enque lock its a workitem lock.
    Please revert with further questions if required.
    thank you
    barin

  • 2 level approval for workflow

    Hi all,
    I am supposed to make an EP workflow for 2 level approval for absences or leaves. I am using a copy of workflow WS12300111. I am able to get the single level of approval, but not the second level. When the request goes to the second approver ( which is the supervisor of first approvar), it shows the leave requests of the first approvar and when I check the workplace of the employee who applied for the leave, his leave has the status 'approved'.
    In other words, when the first supervisor or approvar approves the request, it gets approved and second approvar has no option to approve it again.  Please suggest what to do?
    In my tasks for approval, I am using the class - CL_PT_REQ_WF_ATTRIBS and the method APPROVE. Is that correct???
    Is there any other standard workflow which I can refer to?
    Thanks

    Dear Raja Sekhar,
    I create a sampel program with the following code in SE38 and put in the following code. However, it seem that it does not work and the status did not get updated.
    Do you know what is the problem?
    DATA:
    request TYPE REF TO if_pt_req_request,
    event   TYPE tim_req_xfer_event VALUE cl_pt_req_const=>C_REQTRANS_APPROVE,
    req_id  TYPE PTREQ_HEADER-REQUEST_ID value '48561480F033007EE1008000C0A8D282',
    status  type TIM_REQ_STATUS.
    CALL FUNCTION 'ENQUEUE_EPTREQ'
      EXPORTING
        mode_ptreq_header = 'E'
        request_id        = req_id
      EXCEPTIONS
        foreign_lock      = 1
        system_failure    = 2
        OTHERS            = 3.
    CALL METHOD ca_pt_req_header=>agent->get_request
      EXPORTING
        im_request_id = req_id
      IMPORTING
        ex_request    = request.
    CALL METHOD request->initiate_state_transition
      EXPORTING
        im_transfer_event    = event
       im_event      = event
       IM_RET_VALUE  = 0
      IMPORTING
        ex_new_status = status.
    CALL FUNCTION 'DEQUEUE_EPTREQ'
      EXPORTING
        request_id = req_id.
    Thanks
    Regards,
    Bryan

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • Approve Button not visible in Tasks for Leave request in Tasks- MSS

    Dear gurus,
    Approve Button not visible in Tasks for Leave request in Tasks- MSS, anything missing on config end????
    Any suggestions....
    regards,
    Rajasekar.

    hello Bala,
    there was some config missing in UWL, now it is working and here we have got some button launch dynpro ..this is leading to pop where we can approve or reject....
    Thanks alot Bala..
    In this we are getting more info, Display details in SAP GUI, View History, View all Time Approval and Attachments of Documents which leads to leave request details. These may be too flashy for the Manager who are from the typcial production centers....industries...So is there any way out for Hiding these.
    Regards,
    Raj

  • Mass Approval of Leave Request...need function module or any program

    Hi All,
    I have developed Custom Application in webdynpro java  for Leave,Travel,now i got the new requirements for mass approval of Leave and Travel can any baddy provide me any input ,i don't know which functional module or program i use , help gurus...
    Regards,
    Pramod gupta

    Refer below links to get an idea :
    uwl mass Approval- Select all option
    UWL Mass Approval XML changes or Custom App
    Mass leave approval?
    As an alternative to this service, you can use the Leave Request: Mass Approval report (RPTARQMASS_APPROVAL) in the back-end system. These reports enable you to approve multiple leave requests in batch.

  • How to create iView for Leave Request Approval for ESS Tab in Portal

    Hello ,
    I am new to  Enterprise portal. I got a requirement for creating iViews.
    How to create iView for Leave Request Approval for ESS Tab in Portal.??
    Please give me clearly or provide any document.
    Thanks
    Risha

    Hi Risha,
    is it customized application ?
    If so in SWFVISU transaction maintaain the entry .
    Use transaction SWFVISU to prepare standard setting for your Workitem in the UWL. --Parameters for Work Item Visualization in the UWL.
    Have a look at below link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/59/d516690e854c7090ae15bf492a869f/content.htm

  • ESS Leave request workflow : ws12300111 : Customizing

    Dear experts,
    I need to customoze ESS leave request workflow WS12300111.
    Can you please tell me do I need to Copy this to a NEW workflow generating a new WF no or can I simply generate a new version for this only ? What is ideal ?
    1. Can anyone tell me step by step process(config) in ESS leave application workflow?.(SWFVISU????)
    2. Is workflow WS12300111, the only workflow that I need to look for leave application ?.
    3. If it is WS12300111 I don’t see any start event for this workflow. So how is it getting triggered?
    4. For the approval task TS12300097, agent determination is done by expression ‘&Agent_0001.Agents&’. How does it interact with Org.Structure.
    5. In my scenario, approver should be supervisor of the employee applying for leave. If it is pending with this approver for 5 days it should go to the next up level manager.
    For identifying first level approver is ‘&Agent_0001.Agents&’ enough.? For identifying 2nd level approval do I need to write a rule ?
    Kindly help.

    Hi Sourav,
    Try this step by step process(config) in ESS leave application workflow.
    ESS Scenario
    Workflow Process 20000081 u2013 Create Leave Request with HTML
    Steps for triggering the workflow:
    1) The employee logs with his user name in the ESS web page.
    2) The employee creates a leave request with an optional note and sends it to the appropriate approver (usually his supervisor). The approveru2019s name is automatically displayed in the leave request form and the employee can replace him with another if such a change is needed.
    3) The approver (us approver) logs on to sap system or to ESS
    web pages and reads his mails in the SAP Business Workplace. The employeeu2019s leave request form appears in the workflow inbox with approve and reject options.
    A) If the us approver approves the leave request, he pushes the
    button approve from his mailbox (processing status A with
    approve). A screen is appeared with a box (Table entry: 0001)
    and the approver must push the button continue in order that
    the workflow is continued. Then the form is sent to the
    employeeu2019s mailbox in Sap. When the employee opens his mails, he receives a note in his inbox that u201Cthe absence from u2026. To u2026..has been approved byu2026.u201D.After that the absence is
    automatically created in the sap system. Then the approver gets a mail (notification of completion & Return u2026u2026).
    B) When the approver cancels a leave request, he pushes the
    button reject and the processing status changes to u201CRu201D.
    Then the same form appears
    Realative OSS Notes:588262, 480103, 717560, 452841, 359197, 321439, 428394, 321439, 693368, 451998 (ITS), 197746 (ITS), 419297 (ITS)
    ITS - ESS stand-alone solution for 4.7
    This solution allows customers to schedule the 4.6C or 470
    install / upgrade independently from the Enterprise Portal or
    mySAP Workplace implementation and will be supported at least as long as SAP R/3 4.6C and R/3 Enterprise is supported.
    This ESS stand-alone menu is intended solely to allow independent scheduling of the 4.6C or 470 upgrade and the Enterprise Portal / mySAP Workplace installation. To use this solution, you have to take the following steps:
    1. If you do not already have R/3 4.6C, HR support package 8,
    please import HR support packages to at least this level. From
    HR support package 8 and above, the correct services are
    implemented. For 470, the corresponding recommended HR SP is 16 (See note 621589)
    2. Verify that the ITS you want to use does not contain a service or service-related files (HTML templates, MIME files) for the services PZLE, PZM3 or PZM3_start. If you find these files,
    delete them.
    3. Publish the services PZLE, PZM3 and PZM3_start from your R/3 4.6C system (or R/3 470 system whichever is the case) to your ITS using the SAP@Web Studio or the IACOR service.
    4. Maintain the username-employeenumber assignment in your system by customizing Infotype 0105, Subtype 0001 of those employees, who should be able to use ESS.
    5. Verify that your users have proper authorizations for
    executing RFCs (that is, authorization object S_RFC) from the
    function group EH08. If you run into problems, this is most
    likely due to missing RFC authorizations to start the service
    PZM3.
    6. Your users should now be able to access ESS by starting the service PZM3. They can do this by entering a URL like
    http://<ITS server>:<http port>/scripts/wgate/pzm3/!
    (the ! at the end is essential).
    7. ESS 4.70 Unicode System ITS 6.10 patch level 29 and above (With IE and Netscape). ITS 6.20, patch level 6 and above (With IE only).
    The ESS development tested these ITS versions.
    8. For Release 4.6C, ESS has the same browser requirements as the HTML (see also note 178788) and the mySAP Workplace 2.11 (if ESS is accessed through the mySAP Workplace 2.11).
    Hope it helps.Do award points if found helpful.
    Regards,
    Gourav

  • Adobe form for leave request

    Dear experts,
    There is no standard leave request form provided by SAP. We are developing an adobe form which lists the employee's quota and leaves taken earlier along with the current leave details. This form should be displayed to the approvers from the leave workflow.
    When the approver clicks on the work item, the leave request form should popup. There are two technical challenges in this requirement -
    1. This requirement is similar to the standard ones for travel request and expense request - In travel request and expense request, SAP has provided standard forms and the workflow container is a standard importing parameter in these adobe forms. This container is helpful in deriving most of the content on the adobe form. However, there is no such link in case of leave request. How does the workflow information be passed to the adobe form? ( i will have to display employee details, quota, current leave, approvers list, approvers comments, etc).
    2. For leave request, the approval task is TS12300097 that has "Java Webdynpro" as visualization type. Whereas for travel and expense workflow approval tasks, the visualization type is "ABAP Webdynpro". I am assuming the "JAVA WD" will make it really tough to call the adobe form from the work item.
    Any thoughts, suggestions on this requirement will be of great help.
    Thanks

    Hi Abdul
    which version u r currently working on?? check in swfvisu t-code where you can find the below task
    I'm not that good at technical level, but still I try to help you with my limited knowledge.Instead of trying from binding rule, try with Function Module via  BOR Object Method.  you can get that function module at the time Adobe form creation. Can't you consider that Adobe form as a attachment in the work item???
    Check this links
    Adobe forms using Workflow with normal SAP | SCN
    Calling the Adobe form in a workflow step for A... | SCN
    Hope this Info will be Helpful
    Cheers
    Pradyp

  • Leave request workflow

    Hi all,
    I want to make a workflow for leave request. This workflow would have to start from EP (enterprise portal) and would have two level approval. Please let me know what business object and what event to use. Also let me know the functional transaction, where the employee would aply for leave - in SAP  R/3. Would there have to be any special configuration in the system if the triggering event have to start from EP?
    Please help.
    Thanks.

    Hi ,
          The business object used for Leave is "FORMABSENC"  and the event is "CREATED".
    You can refer the demo workflow  template  20000011  and make a copy and carry out the changes which you required.
    To know whether the object is getting triggered or not  , use the tcode SWEL  ( event Logging ).  To turn on event logging use tcode SWELS.
    Please lemme know for any further help.......
    Regards,
    K Vijayasekar

  • ESS Leave Request workflow customization

    Hi Guys,
    We are trying to customize the standard Leave Request Workflow WS12300111 in the ESS application for ECC6. The standard workflow passes the data to the workflow via the object REQ of type CL_PT_REQ_WF_ATTRIBS. I need to extract the leave information from the object.
    I tried creating an enhancement implementation for the Class CL_PT_REQ_WF_ATTRIBS and added my own method. But I can't see this method when I create a workflow task.
    I also tried copying the whole class and adding my code, but am not sure how to instantiate the new class in workflow. Pls help .

    Hi,
    Can you tell me the requirement.
    Do you want to change the Agent using a BADI ??
    or you want to send the leave request for another approval ??
    If you want to send the leave for another approval then just reset the status of the leave to SENT again using same class and using following code
    CALL METHOD cl_pt_req_badi=>initiate_state_transition
        EXPORTING
          im_request    = request
          im_event      = 'SENT'
       IM_RET_VALUE  = 0
        IMPORTING
          ex_new_status = me->status.
    After this, u can send this workitem to another processor..
    Another scenario could be:
    U want to determine a new agent for your workitem.
    In this case, u will have to implement BADI "PT_GEN_REQ"
    Read the documentation of this BADI.. this might help.
    And please tell me the requirement once again.. what you want to achieve.
    Regards
    Ashutosh

Maybe you are looking for

  • After booting/restarting my mac firefox will open and is responsive but will not load my home page or any others for a few hours?

    Firefox is not hanging as I can access all the items in the menu bar and change the settings as well. it just seems to need time before it can connect to my server even though Safari is working fine. Once the page loads up in firefox it works fine af

  • Safari Useless With 10.5.5 and Inquisitor.

    Hi, I installed 10.5.5 and Inquisitor at the same time.. what resulted is that Safari now loads with two navigation toolbars.. one unusable toolbar with Inquisitor and a normal toolbar.. but Safari cannot load any pages and tabs dont work.. I removed

  • JTabbedPane - vertical - which tab is selected?

    Using the Windows L&F, if you have the tabs in a JTabbedPane arranged horizontally it is clear and obvious which tab is selected. But with the tabs arranged vertically you've got to look very carefully to see which tab is selected, as there are rathe

  • QuickCam Ultra Vision (Righlight 2) vs 10.5

    Maybe I can get a suggestion here: I bought a new (now 6 months) old Logitech QuickCam Ultra Vision with Righlight 2. With Tiger 10.4, it worked like a charm out of the box, and, on iChat and Skype it was recognized as a Logitech Camera with no probl

  • Disabling 4G and 3G.

    My mobile operator upgraded to 4G. Now i have option only to enable/disable 4G but not 3G. Is there a way to disable 3G also to save my battery life.