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

Similar Messages

  • 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 !

  • 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

  • Auto Approval workflow for GR/Confiramtion

    Hello Experts,
    I have activated workflow WS10400010, and when i created GR from SRM, it is showing status as Awaiting approval.
    Why it is so?
    Can anybody guide me?
    Thanks in advance.

    got solution.

  • Problems with Auto approval workflow (WS 10000060) for shopping carts

    Hi SAP Network community,
    I have got a problem with the auto approval workflow for shopping carts.
    Basically the workflow approves the shopping cart once it was created.
    But then the related Purchase Order remains in Status held. If the PO gets ordered manually then it is not transferred to the R/3 backend system.
    For testing purposes also the one step approval workflow was activated. If the shopping cart gets approved by clicking into the detail approval screen (not by approving through the green tick box in the shopping cart overview) then the PO gets ordered and transferred to the backend system as normal.
    But if the shopping cart gets approved by using the green tick box in the shopping cart overview then the same problem occurs as described for the auto approval workflow.
    The system version is SRM 4.00
    Did anybody have the same or similar problems with the auto approval workflow and what could be the reason for this problems.
    Thanks in advance,
    Robert

    Hi
    Which SRM Workflow Scenario are you using (IS it Item level workflow or Shopping cart level Workflow) ?
    Are you using customized SRM Business workflow or Standard SRM Workflow ?
    <u>Please go through these links as well.</u>
    http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/eb/289f4099852e54e10000000a1550b0/frameset.htm
    Incase you are using Standard SRM Workflow, please raise an Customer OSS message with SAP at the earliest.
    Regards
    - Atul

  • Work flow for Leave request without ESS

    Dear All,
    For one of our client, we have configure workflow for leave request, first is it possible to do tht?
    If so how to do it?, here we dont have ESS/MSS. Is there any standard workflow available?
    Thanx

    There is standard workflow task which give by SAP to approve leave request i.e. 12300111.
    But I am not sure this workflow task will work with out Portal or not.

  • 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

  • Standard workflow for downpayment request approval

    Hi,
    Is there any standard workflow for downpayment request approval?
    Please suggest.

    Hi,
    There is no standard flow for the down payment request generally in many projects down payment requests are rarely created process starts with Down payment request F-47 then Down payments F-48
    then clearing of Down Payment f-54
    Down PAyment request is just a template.If you want to use then use then u can skip this step.
    regards
    Deepa

  • 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

  • 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

  • Requirement for Leave Request.

    Hi All,
               I have a requirement for leave request in Portal. Basically employee will have two managers. Now my scenario is, if there is no line manager then the Approver field must be defaulted with the next manager.
    Is there any BADI for this?
    Thanks!
    Deepak.

    Hi 
    I am facing the same issues, when you wrote the udpate has been done by"I copied the Iview and used the handler IviewLauncher"
    Can you shre more details , and the steps ,  Many thanks

  • Approval workflow for creation of organization

    Hi,
    I need to configure an approval workflow for the creation of organization. When the admin tries to create a new org, the approval should go to a admin group. The org should get created only once approval is done. I have configured an approval workflow for the Xellerate Organization resource object. I have created an unconditional task where the assignment tab has the admin group. When I test it, the org gets created without going through the approval process. Could someone please tell me what am I missing?
    Thanks,
    Supreetha
    Edited by: Supreetha on Jan 22, 2011 8:38 AM

    You'll have to raise request for Dummy Organization. It's Order for Organization so will not appear for user.
    I am not sure the full flow/complete requirement of your.
    APMU, you want approval while creating Organization into OIM.
    This is not possible OOTb when you create ORg in OIM.
    You'll create 1 dummy Org
    1 Dummy RO "OFO".
    Attach one Object Form with this RO.
    Raise request for Dummy Org and Give the name of Org on the object form for which you want approval.
    In the provisioning workflow, use OIM API to create Org into OIM.
    Done !!!

  • Workflow for Predefined Performance Management Process

    Hi All,
    We are in process of implementing Predefined Performance Management to our client, as I know we donu2019t have workflow for predefined performance management, but I saw below thread:
    Performance Management Process - Workflow between participants
    Please give me more clarification about configuration of Workflow for PMP, we need e-mail notifications only when ever manager is going to do some status change like approve planning phase, reject planning phase etc.
    We are expecting these notifications not through portal only employees e-mail account, can you tell me where the location of the configuration is?
    Thanks in advance.
    -Abhi

    Hi,
    The pre-defined is not ment for changing by anyone. The template is generated and the settings are as is. You would need to go to the phap_catalog to change the template (but that option is disabled for PMP templates). Theoritically you would need to change the status flow tab and select the correct workflow there. The information workflow is standard delivered for use in the flexible one.
    So, yes you probably are able with tricks to get it working in PMP but it is not supported by SAP.
    Regards and Groetjes,
    Maurice Hagen

  • Workflow for appropriation requests

    Hi friends,
    This is regarding the approval process for appropriation requests.
    The necessary Event linkage activation, partner determination procedure, appropriation request types, defining of approval levels for AR and other necessary configurations. When I am clicking the "for approval" button, the workflow gets started. But the corresponding person is not getting the mail in his inbox for approval.
    Please give a solution asap.
    regards
    Pratap.V

    Hi Sreenivas,
    I already did this. Still the problem exists.
    Frankly speaking, I know I am making a silly mistake somewhere because I have done all the major settings required. And I am finding it difficult to trace this small mistake. It will ne good if you can send some screen shots of all the configuration required for this.
    regards
    Pratap

  • Configuration steps for leave request in ESS/MSS

    Hi
    I want to configure for leave request approval from ESS/MSS (EP 7.0 and ECC 6.0)
    What are the configuration steps if any doc please send.
    Thanks & Regards

    Hi Rao,
    Go through this link for leave request cofiguration steps.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/leave%2brequest%2bconfiguration%2bsteps
    Also visit this link for ESS related issue resolution and hints.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/commonIssuesandHintsin+ESS
    Reagrds,

Maybe you are looking for