Leave approval workflow

people, i have a query ragarding leave approvl workflow. as per standard employee has raised request in ESS, sap will send it to 02, what will happen if position of 002 (reports to) is vacant ?  does it automatically and immediately goes to 012 (chief)? what is the chief position is vacant.? does it goes to the O-O and then chief of that org unit?
can the approver forward it to other person in the org strucure by selecting his pernr in MSS.
need help

Hi Manoj,
Check if you are using structure authorizations. If this is the case the substitution will not be able to process the workitem. Otherwise it still could be an authorization problem. Compare the HR authorizations, i suspect the problem will be in there.
Regards,
Martin

Similar Messages

  • Error in Leave Approval Workflow

    Hello Experts,
    I'm Using Standard Workflow WS0040077 for Leave Approval . I Activated the Event Linkage in SWEL .Did General Task in Agent Assignment . But when i run transaction PA30 . i get this error in SAP Inbox.
    Following error occurred:
    00 341
    RFC_NO_AUTHORITY
    Message text:
    Runtime error RFC_NO_AUTHORITY has occurred
    SAP System: EDV
    Client: 100
    Event container appended as attachment.
    Event linkage not changed.
    Event stored temporarily.
    Events can be redelivered via event queue
    administration (transaction SWEQADM).
    so what should i do to solve this problem.

    Hi,
      Have you checked the workflow config in SWU3? It sounds like there may be a problem with the LOCAL RFC destination used by workflow. Click the 'Start Verification Workflow' button in SWU3 as a health check.
    Also, are you testing this in the right client?
    cheers
    Paul Bakker

  • How to get Agents in Leave Approval workflow

    Hello Experts,
    I'm using Standard Workflow for Leave Approval i.e WS 00400077. Since it is Standard Workflow it should get the AGENT automatically. But when i execute ny Workflow and when i check in SWEL Workflow is Working Properly but It is showing
    " NO AGENT " is there. so i'm not getting Workitem in Inbox.
    So what should i do.
    Help me to solve this problem.
    Regards,
    Vardhan.

    Hello,
    "when i check in SWEL Workflow is Working Properly but It is showing  " NO AGENT ""
    Look in SWI1 instead and see if an agent has been assigned. In some cases "No Agent" can just mean it hasn't be executed yet.
    regards
    Rick Bakker
    hanabi technology

  • 2 level leave approval workflow.

    Dear Expert,
    I am trying to update the status for the leave request. I created 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 for that particular leave request
    Anyone knows 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

    hi Brian Lee 
    I thing if u debug the method ca_pt_header finally you would get has request id is locked or request id is not found. check this 1st .
    <inappropriate content removed by moderator>
    Regards
    vijay
    Edited by: Mike Pokraka on Jun 19, 2008 3:38 PM

  • Multiple Leave Approval problem in workflow  WS21500001 -webdynpro

    hi,
    We are using standard webdyppro leave approval workflow WS21500001, but inhere does not provide multiple approval level.  Our requirement is we need two approval levels for this. So I copy the stranded workflow and create the second approval leave.  In here Iu2019m unable to send second approval document into the mailbox, I was write rule to get the second approver, its working fine but once the 1st approval  finished mail doesnu2019t go to the second approver inbox. Can you help me to do this?
    Regard,
    nawa

    Hello,
    Do you mean mail or workitem? I think you mean workitem.
    Use tx SWI1 to look at the workflow log and you'll see what the workflow is doing and why it's skipping the second approval step.
    regards
    Rick Bakker
    hanbi technology

  • HR Leave Approval issues

    hi everyone,
    I have modified the standard HR Leave approval Workflow WS002000077. In that workflow user decision, Unlock step type, loop steps are available. I am getting user decision workitem in inbox. When i click approve option, i has to go to unlock step type. But it is not going for unlock step.
    The same scenario is working good without loop, i can able to unlock it.
    So, in this scenario with loop, I am getting following errors;
    1. variables of the work item cannot be generated.
    2. Error in the evaluation of expression '&EMPLOYEET<???>.NAME&' for item '10'
    3. Error when determining attribute 'NAME' of object instance '[BO.EMPLOYEET.]'
    4. Agent determination for step '0000000038' failed
    5. Source (expression '&EMPLOYEET.ADMINISTRATOR.ADMINISTRATOR&') of binding assignment is not available
    6. Source (expression '&EMPLOYEET.ADMINISTRATOR.ADMINISTRATORGROUP&') of binding assignment is not avaible
    7. Error in the evaluation of expression '&EMPLOYEET<???>.ADMINISTRATOR.ADMINISTRATORGROUP&' for ite
    8. Error in the evaluation of expression '&EMPLOYEET<???>.ADMINISTRATOR.ADMINISTRATOR&' for item '10
    here item '10' refers to loop step. I am using custom rule. It is working fine without loop condition.
    Thanks in advance!!

    hi,
      That one previous workflow and it solved. But now the same one with loop for Re-submission of Leave Request after change.
      Actually the values from Employeet is not flowing in the Unlock step for agent determination. Because of that the agent determination is not possible for me. But it works well without loop scenario. Employeet is not instantiated.
    Here i am using loop condition for re-submission of leave request.
    Thanks,
    Balaji.V
    Edited by: Balajisap on Sep 19, 2011 3:56 PM
    Edited by: Balajisap on Sep 19, 2011 6:22 PM

  • 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

  • Leave approval text changes are not displayed in UWL

    Hi friends,
    I have made some changes to text label of leave approval application using ctrl+right click(done in role->workset->page->iview) in content admin but it not reflecting in UWL(when calling leave approval application in UWL).any idea pls.

    Hi,
    aah i think the problem is at the uwl xml config file, which controls which iview is opening for a specific task id.
    please enable the support info, at this u can see which xml file is used and you can change the directory/iview which is called by opneing the "leave approval":
    1. Log on to the portal
    2. Navigate to the following path: system administration   > system
    configuration
    3. In detailed navigation click on the UWL & Workflow folder
    to expand out
    4. Then click on the Universal Worklist Administration link
    5. Scroll down to the bottom of the page:
    Optional Universal Worklist Service Configuration
      Open the Tray for the Optional UWL Service Configuration
    Click on the button to open the tray for the optional UWL service
    configuration
    6. Scroll down again
    7. Go into edit mode
    8. Display Support Information:   Set the parameter to true
    9. Save
    have also a look here:
    http://help.sap.com/saphelp_nw70/helpdata/en/44/c0001cdfcd1386e10000000a155369/frameset.htm
    i hope this can help u
    br,
    fabian

  • Problem in initiating Leave Cancelletion workflow

    Hi All...
    When i try to initiate a Leave cancellation workflow using PT_ARQ_REQUEST_EXECUTE Bapi in webdynpro java,
    i get an error as follows
    "No Customizing for status type ARQ, status POSTED, and transition event DELETE"
    This error occurs only in case of Posted leave requests.
    Could anyone please tell me what can i do to resolve this problem.
    Thanks in advance
    Asha

    Hi Anup..
    was able to get rid of the previous error..
    Thank u very much.
    But m facing another error now while executing the same bapi.
              Error ID: HRTIM_ABS_REQ
    Error message: "Unable to send the request with this approver".
    I checked the ORG chart, the approvers are maintained and also there is no
    import parameter available for approvers to be set in this bapi.(PT_ARQ_REQUEST_EXECUTE).
    is there any setting to be checked?
    Could you pls tell me what might the problem?
    Regards
    Asha

  • Problem in leave approving working when approving through ITS

    Hello all
       When we are approving the leave request workflow through R/3 it is working and leave is getting approved .
       when we are trying to approve the leave through ITS from bwsp transaction the leave is not getting approved and when i check in the workflow log it is showing the following message
    call back executed from workitem
       In the activity we are using htmlform in workflow

    hi
    can u send me the screen shots .

  • Unwanted leave approval notification mails to Non-Manager

    Hello All,
    I have a situation wherein one of our portal users started getting leave approval notification mails from other employees in that Org Unit. Now the interesting part is he is not a manager and never was. Checked his relationships, substitutes and delegations and every where it is normal and not supposed to receive such mails. Moreover we are not using workflows yet
    Where could we have gone wrong, after so many attempts now my I am gone blank so please do suggest me all tables or customizations where it could went wrong or possibly any silly mistakes that would trigger this kind of problems.

    Thanq, that was very prompt;
    Here are my settings in RPTARQEAIL.
    Send email to requestor with text HR_TIM_ARQ_REQUESTOR with general notification almost for all.
    But should I rather check the settings for mail to approver instead? Coz one of a non manager employee  is getting approver notification mail such as " your employees in your dept are awaiting for your processing..."
    Can you brief me out on why this document selection radio button could have gone wrong in sending mails to requestor regarding approvals.

  • ESS/Leave Reqest Workflow Problem Still in Process when Escallated

    Helo Every one,
    My leave request workflow is Zworkflow which is working fine in the production.Recently in the last month business request for escalation of leave request when direct manager not approved with in the time frame.
    So i added latest end to the Approve task which uses the ABAP class CL_PT_REQ_WF_ATTRIBS and Method Dummy.
    So the task has 3 outcomes one is deadline reached,process obsolete and processed. and after that i added a loop which will create new work item when escalated.
    When i apply a leave on the portal the workflow is triggering and stopping in the Approve step in the log which is fine and when i with withdrawn the leave without any escallation it is taking one of the brach Processed which i mentioned above and reaching to the event and completing the workflow which is 100%.
    When the direct manager doe'nt approve then it is escallating to the next level manager which is fine.Once the escallation happen and the leave is withdrawn by the Employee(Initiator) then it is not taking any of the 3 paths which i mentioned above and not reacting at all.But the status in the workflow container REQ.STATUS is changing to "WITHDRAWN".
    The same thing is happening for the APPROVE once escallation happens.It keeps on escallating even the leave is approved and posted in the database.
    Please reply me if you are not clear.
    Thanks,
    Raja.

    Hi Raja,
    Here is how I can think of, based on your requirement.
    I hope you are using modelled deadline. Have the process control step in the deadline branch with function set workitem to obselete. This makes the actual work item to obselete everytime it reaches the deadline and make it create one with an escalated agent. And also keep the dialog task in the loop.
    Hope this helps.
    Thanks,
    Raj

  • Automatic leave approval

    Hi Gurus,
    I am getting some problem in leave approval through workflow.
    While I am applying any leave through transaction PTARQ its s approved automatically as it should. But when I am doing the same in production it is not working. the status of leave is shown as sent (not approved). In workflow log is it showing that leave is processed without workflow . Whether the leave should be approved automatically. the workflow we are using is standard. pls let me know which setting I am missing because of that leave didn't go through workflow.

    Hi All
    Issue resolved. Actually IT0007 is not maintained for the suervisot. So leave is not approved automatically.
    Thanks All.
    Edited by: pramod s on Jun 1, 2010 11:50 AM

  • Standard Work flow for Leave approval in HR module

    Hi ,
    My query is there any standard work flow available in HR module for Leave approval and Over time approval. We have negative time management and with out ESS and MSS.
    Pl suggest if any one has used this earlier with out ESS or EP
    Regards
    Punit

    I can think of the following but not without enhancement for the workflow part.
    - Since you are not using ESS, you (leave admin) may create the absence record directly in IT2001 (in LOCK mode).
    - In the user exit of 2001 you may trigger your Workflow process (i.e. call the function module to trigger WF here) depending on the LCCK status. You have to explore if standard WF can be used to your requirement.
    - Upon approval, you can UNLOCK the absence.
    - In the event that UNLOCK is unsuccessful, trigger WF to your Leave Admin for him to update via PA30.
    Standard SAP Workflow
    - Only 1 level approval
    - Using Chief Position
    IF your workflow requirement deviates, then you have to also customize workflow, does not matter whether you are using ESS or not.
    Finally test and retest to make sure all possible events are covered.
    OT is the same, except that you need to use 2007 vs 2002
    Edited by: sapuser909 on Nov 18, 2009 12:07 PM

  • Publishing Approval Workflow breaks when created

    When I attempt to create a Publishing Approval Workflow I receive the error message:  This form cannot be opened in a Web browser. To open this form, use Microsoft Infopath.
    This doesn't even have to be on a list that has been created with infopath.  I tried to create a workflow on a simple list and received the same error message.
    Let me also say that Publishing is enabled as well as the workflow.  It shows as being active too.
    To compound matters when I look at the correlation ID error message in the logs I get some real strange errors that I am not sure how they are related.
    The first message shows the correct site page and the list id:
    Name=Request (POST:http://myserver.com:80/Emp/Health/_layouts/CstWrkflIP.aspx?List=%7BCC7A77B8-BAF9-47B3-82C4-592C66F04D35%7D)
    The next one is throwing me off completely:
    CreatePageFromUrlNoUpperCase failed with ArgumentException. Url = '/SUPPORT/ED/TEAM/SITEPAGES/HOME.ASPX'.
    The  High Level Message says:
    Leaving Monitored Scope (CachedObjectFactory: Caching Page at: /SUPPORT/ED/TEAM/SITEPAGES/HOME.ASPX). Execution Time=21.8362948363549  What does this page even have to do with the workflow?!  I'm beyond confused so I am hoping somone out there
    will know where this is coming from.
    Jennifer Knight (MCITP, MCPD)

    Hi,
    From your error message, I suggest you disable the publishing approval workflow, then enable it again, check the result.
    Thanks,
    Rock Wang
    Rock Wang TechNet Community Support

Maybe you are looking for

  • Is there a way to export to separate folders based on collection organization?

    I am wondering if there is a simple way to export photos from lightroom into seperate folders based on collections. For example, in LR5, I have collection set "2014". Within "2014", there are sub-collections Jan, Feb, March... and so on. How can I ex

  • Receiver File adapter content conversion using StrictXml2PlainBean

    Hi All, For receiver file adapter i am using the module StrictXml2PlainBean, and also i mentioned the module configuration like this parameter name                              parameter value recordTypes                                  Header,Trans

  • Question about getting rented movie from Macbook to Tv

    I rented a movie on my MB yesterday while on the road, today I decided to watch the end of the movie on my tv at home. TV: setting>computer>add shared itunes Lib>Entered the code on my MB My MB itunes is showing on TV but can't find the rented mov

  • Pulling time used for only a certain time period for 11 different fields.

    I have a report that pulls my OR room case times. Each room is set to different "open" times, ( rm1 open 12 hours, rm 2 open 12 hours, room 3 open 12 hours, room 4 open 7.5 hours, with Room 7 "off duty", etc.)  I only want to pull data for the times

  • Advanced table with many columns

    I have a advanced table with more or less 60 columns and the table is greater than the header image. How can I align the table with the advanced table? Thanks. Edited by: Vieira on 3-giu-2010 1.01