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

Similar Messages

  • Leave Approval in MSS Displays Only Header

    Hi all,
    I have a problem with leave approval in MSS using the MSS Add-On.  I checked all the backend configurations and they seem OK.  I modified the UWL config file following the SAP note (which by the way said the config file should have been updated when installing MSS Add-On - but that didn't happen!).
    When I click on the leave request in UWL, a new screen opened and after a few seconds a blank header appears in the screen and nothing else.  When I previewed the leave approval in portal content, it works.
    I've searched for notes on this but nothing.  Can anyone help?
    Thanks in advance.

    Hi Krishan
    solution is simple.
    1. Raise an oss message and SAP would ask you to apply patch update from note 1720040.
    I am not too sure if this would solve the problem.
    Second option is
    1. go to your uwl xml and in your default xml paste following code for task 21500003.
    <ItemType name="uwl.task.webflow.TS21500003.SAP_ECC_HumanResources" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="defaultAction" executionMode="default">
    <ItemTypeCriteria systemId="SAP_ECC_HumanResources" externalType=" TS21500003" connector="WebFlowConnector"/>
    <CustomAttributes>
    <CustomAttributeSource id="WEBFLOW_CONTAINER" objectIdHolder="externalObjectId" objectType="WebflowContainer" cacheValidity="final">
    <Attribute name="REQUESTID" type="string" displayName="Request ID"/>
    </CustomAttributeSource>
    </CustomAttributes>
    <Actions>
    <Action name="defaultAction" groupAction="" handler="ObjectNavigationLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes">
    <Properties>
    <Property name="ObjectValue" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
    <Property name="Operation" value="approveleaverequest"/>
    <Property name="ObjectName" value="employee"/>
    <Property name="openInNewWindow" value="true"/>
    <Property name="System" value="SAP_ERP_HumanResources"/>
    <Property name="DynamicParameter" value="LRF_REQUEST_ID=${item.REQUESTID}"/>
    </Properties>
    <Descriptions default="defaultAction"/>
    </Action>
    </Actions>
    </ItemType>
    After applying above if you still face same issue then download your mss addon 1.0 zip file from uwl admin page.
    extract com.sap.pct.erp.mss.addon.xml from com.sap.pct.erp.mss.addon.zip.
    paste above xml code for task 21500003 (please assure there is only one action for this task).
    and UPLOAD THE com.sap.pct.erp.mss.addon.xml
    Please make sure you upload the xml and not the zip. Please don't upload zip as that causes issues.
    Please don't rename the zip to xml etc. upload the changed com.sap.pct.erp.mss.addon.xml.
    After above it will work. in case there are issues please respond on this message.

  • 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

  • Custom Leave approval task problem

    Dear All,
       I have a problem with my custom leave approval webdynpro task.
      Actually I was using standard task , TS12300097 for leave approval. It was working fine from SAP worklist from portal. If someone tries to approve from SAP R/3 it was providing an information like, this cannot be executed from SAP R/3.
      I had a requirement to add certain custom fields information to the task description, so I copied and created a new task similar to that and added the containers and filled the description to that. Then i cofigured the new task in SWFVISU also. It working fine from enterprise portal sap worklist.
      But some tries to approve from SAP Inbox in R/3 the workflow results in error. Its not providing the same information which was coming earlier with standard task.
    The error is as follow :
    Work item 000000885207: Object CL_PT_REQ_WF_ATTRIBS method DUMMY cannot be executed
    Dereferencing of the NULL reference
    Dereferencing of the NULL reference
    Error handling for work item 000000885207
    Let me how we can solve this issue.
    regards,
    Sabari Prabhu.

    We are changing our Leave Request workflow, and I also came across this problem while testing.
    In our situation, the problem is that we changed the approval task.  We used to have it as a call to report RPTARQAPP, but then changed back to the standard method of calling CL_PT_REQ_WF_ATTRIBS DUMMY.
    For us, it is only the old work items that go into error if the user tries to execute them in R/3.  If the workflow is then re-started, the item is once again available and can be processed in the UWL.  New work items come back with the pop-up message "The request cannot be started from the Business Workplace", like in the standard workflow.
    I think we will just add some encouraging wording to the task so that people will (hopefully) not attempt to execute the work items in R/3, like this:
    Please log on to ESS to approve this Leave Request through the Universal Worklist (UWL).
    It is not possible to complete this work item from within R/3, DO NOT execute this work item here.
    Once you have processed the request in ESS, this work item will automatically be completed.
    Good luck

  • I want a report which gives leave approver for an employee

    HI All,
    Please help in this issue
    I want a report which gives leave approver for an employee.
    Thanks,
    Guddia

    Hi
    The report to get the leave approver is 'RPTARQ'.
    Enter the personnel no and the application ID which can be 'ESS_LR' and execute.
    Also, you may determine the same without using the report as a whole.
    Check the MSTBR field of the table PA0001 of the corresponding PERNR and you will get the supervisor of the employee who generally is the leave approver.
    Hope this helps.
    Harsh

  • ESS Leave Approval: No authorization to start service

    Hello,
    User is not able to approve leave requests of sub-ordinates.
    When user clicks on Approve or Reject button, nothing happens.
    But when I checked in Default trace, I found below error:
    You do not have the authorization to start service
    sap.com/ess~lea/LeaveRequestApprover.
    [EXCEPTION]
    I checked portal content permissions for this user and found that those
    are ok.
    In ECC there is no dump (ST22) related to authorization.
    Can you please suggest the solution.
    Regards,
    Vinod

    Hello Karthik and Vivek,
    Thanks for replies. But we have created ZMSS role in ECC which is assigned to all managers.
    For all other managers the leave approval is working fine. The problem is with only 1 user.
    So I dont think there is any issue in ECC authorizations.
    Also there is no ABAP dump. Is there any other way like some trace from where we ll come to know about the missing authorization.
    With Best Regards,
    Vinod Patil

  • 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

  • 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

  • Approval issue very urgent

    Hi Experts,
    I knew to WF
    We get the approval issue . In Ebuy of China, we have the approval workflow as go to the highest approver if the approval limit is over the default approver manager. That is User A have mgr B with limit 40,000 and mgr B have mgr C with limit 80,000. If raise a Shopping cart to 50,000, the shopping cart will go to Mgr C. User A need to add the mgr B as the first approver. But after all mgrs are added, and ordered, and back to Check status, the first 2 mgrs are disappeared. can u help on this issue?
    Thanks & Regards
    Vijay

    Hi Nazeer,
    The value of Tan(45) is beng wrongly calculated by ABAP because internally the data type for all the Trignometric functions are represented as Floating point numbers.
    Please refer to this:
    The results of the following functions have the data type f:
    &#61599;     Trigonometric functions: cos, acos, sin, asin, tan, atan
    &#61599;     Hyperbolic functions: tanh, sinh, cosh
    &#61599;     Exponential functions (base e): exp
    &#61599;     Natural logarithms (base e): log
    &#61599;     Logarithms (base 10): log10
    &#61599;     Square root: sqrt
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • Leave approver UWL - Multiple entry

    Hi Expert,
      We have configured the UWL to display the Leave Request. Lets say there is 2 entries pending for approver to approve. He/she would received 2 entries in UWL. This is fine. When he/she click the leave request in UWL, system would launch the Leaver approver application. 
    However, the Leave approver application would display all entires pending for he/she to approved. User need to select the row and approve one by one which is very confusing to them. Many user complaint that he/she supposed to approver leave request for one person (i.e cause he click the entry for particular leave request), how come system would display also the leave request for another person. Also, it was very often for them to forget to approve all entries.
    It this a bug or by desing? Any insight?

    hi,,
    Check this link
    http://help.sap.com/saphelp_nw70/helpdata/en/d6/eddef503944dc6bbe8d81a2cec44e8/frameset.htm
    Regards
    Sameer

  • 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

  • Best way to implement ESS, Leave approval matrix.

    Hi Gurus,
    Please suggest me the best possible way to map the leave approval matrix for ESS.
    we had a plan to prepare our leave approval matrix based on "Position". Just wanna know Is it the right way to figure out the Leave approval matrix. Initially We received a suggestion to prepare the Leave approval matrix with Employee number but by seeing the attration rate/separation/inter org.unit transfer etc., It'll be very difficult to maintain the post seperation data maintenance.
    We had maintained a unique position id for each position(at present), If in near feauture if the same piece of task is assign to two person, we'll descriminate through there entry date(i.e. date of confirmation/Date of Joining).
    IS it the right way of doing it. Seeking expert suggestion.
    Thanks for your continuous support.
    Thanks,
    SMrinal
    Edited by: smrinal on Oct 29, 2010 12:21 PM

    This is usually pretty easy.  Place all the files/pages you wish to appear as the sub domain in a folder on your site, then have your host create a "A" record for the subdomain you wish to create - so it will look like this  http://YourSubDomain.YourDomain.com - then route this "A" record to the folder. Be sure the home page in this folder is a default page, such as index.htm or default.htm, or whatever your server uses for the default home page file name.
    Hope this helps.
    Lawrence Carmer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Complete Shopping Cart Application for
    Dreamweaver, available in ASP, PHP and ColdFusion
    Stay updated - http://blog.cartweaver.com

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

  • Time/LEave approval in Business Package for Manager Self-Service 60.1

    Hi all,
    Currently implementing ESS MSS on 4.7 system with EP 6.0 SP19.
    The BP we plan to use is Business Package for Manager Self-Service 60.1.
    My basic question is, we approve leave requests in BP for my SAP ERP (2004s) in the Universal worklist. How do we do the same in  Business Package for Manager Self-Service 60.1. There i sno mention on time approval and leave requests approval in the MSS standard documentation ( or probably i missed it).
    Any inputs in this regards are highly appreciated.
    regards
    Sam

    Balaji,
    in mySAP we had the opition to lauunch the applications in web dynpro. like launch leave approval in web dynpro. do we have this kind of optiion where the manager can approve the work item on the portal application or will it call a transaction based iview to open the work item in the R/3
    regards
    Sam

  • Business package for leave approval in BlackBerry

    Hello
    We just want to know is there any Business Package available for
    Leave Approval using BlackBerry Handsets.We are using SAP Netweaver 2004s
    having EP 7.0 and R/3 system is ECC-6.
    Regards
    Debasish

    Debasish ,
                  I want to know the busines Package for Leave approvel in BlackBerry ,If  you find the Let me know.

Maybe you are looking for