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

Similar Messages

  • ESS Leave Approver Problem

    Hi,
    Any employee XYZ used to report to MR. A.
    For testing purpose I changed his reporting to Mr. B.
    ( Changed A002 - reports to Mr. B).
    Now I want the Original situation that XYZ shud report to Mr. A.
    I changed his A002 to Position of Mr. A.
    However the system is still showing his approver as Mr. B.
    ( In Report RPTREQAPPRCHK -
    In Check Application Function - I m getting Mr. B - wrong one
    In Check Basic Function - I m getting Mr A - right)
    I want XYZ to report to Mr. A.
    Plz. let me know the solution.
    Regards,
    Param

    Dear Sir,
    1. Rule Group is 00000001 SAP Standard.
    2. Determine Next Agent : Last Agent, Then Line Manager
    3. PTARQ>Determine Approver - Shows Mr. B
    ( I Want Mr. A - Original Approver).
    Waiting for an Answer.
    Thanks & Regards,
    Param

  • CATS multiple level approval

    Hi,
    Is there a possibility of having multiple level approval for CATS workflow to be initiated from ESS using Java WD application.
    Much Appreciated.
    Karthik.

    Hi,
    We have a similar requirement . I have developed a workflow and dummy task to trigger the workflow . But since it is a background task this cannot be maintained in the config.
    Secondly how can i retrieve the pernr and key date from the CATS DB table.
    Can you please let me know how this can be achieved.
    Thanks,
    Saujanya

  • 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

  • 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

  • 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

  • SP10 - multiple approver problem with CUP

    We have SP10 (patch 1) in our development system and cannot move forward to production because of a real show stopper.  I have currently reported this to SAP thru an OSS message (and it is in development) but would like to know if anyone else is having this issue with SP10.  (this happened even before applying patch 1)
    We have multiple approvers when creating NEW users or CHANGING users in CUP.  We have it configured to allow just one of the approvers to approve before going on to the next stage.  Since we put in SP10, CUP is requiring ALL approvers to approve the request before going on to the next stage.  We get the following message when one of the approvers approve the request:  Request no: 5020. is approved, pending for other Approvers. 
    I've seen this reported for UAR and SOD but not for CUP.  In fact, there is a fix for UAR in Patch 1 of SP10.  I applied this patch but it hasn't fixed the CUP issue.  I also don't have the issue when rejecting a CUP request, or when approving it through the configuration --> Request --> Administration screen (what I consider the Back-door since only security administrators get the configuration area).
    Thanks for your input.
    Peggy

    Christian,
    I totally agree with you.
    The good news is.... We installed SP11.1 and the multiple approver problem is fixed. 
    We have decided to leave our production system at SP8 until this system settles down a bit.  Of course, this means we can't use many of the new fixes and features (such as UAR).  We use our sandbox system to apply new support packs and do very rigorous testing.  And our DEV system is at SP8 too.
    Good Luck.
    Peggy

  • Configuring multiple level approval workflows

    Hi,
    1. I would like to know how to configure multiple levels of approval in a workflow.
    For example, when a user self registers himself, the request must be sent to level1 manager and after his approval it must be sent to level2 manager for final approval.
    2. I would like to know the difference between "provisioning" and "provisioned".
    Path : Process definition->task->TasktoObjectStatusMapping
    Thanks in advance

    Hi,
    For question no 1.
    1.You need to create a approval process.
    2.Create a approval task for example "Approve by Manger1". assign this to Manager level 1.If its not static assignment then you need to create task assignment adapter.
    3.Create another approval task for exmaple "Approve by Manger 2" assign this to manager level2.
    4.Have the 2nd task depends one first one so that until one is completed 2nd one will not start.
    For question 2.
    Provisioning status refer to when provisioning process is not complete.
    Provisioned status refer to when provisioning process is complete.
    You can map this status on the completion or rejection of any task.Usually provisioned status is mapped with success of create identity task.
    Let me know if you have any more questions.
    Regards
    Nitesh

  • 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

  • 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

  • Multiple leave requests

    Hi All,
    I am new to ESS Portal. I am facing a problem.
    If multiple leave requests of same  employee comes in portal and boss selects the last leave in uwl, earlier ones disappear, do not show up until someone applies for leave again. In case no one applies, then after 3 reminders system automatically rejects the leave (not done).
    Let me know how to resolve this issueu2026.
    Regards
    Naresh

    You need to do these steps as listed''
    1.  Use the R/3 transaction SWFVISU to add the visualization parameter
         DYNPARAM and the visualization parameter value
         wi_id=${item.externalId} to the following tasks:
       TS12300097 WebDynpro Java
       TS12300116 WebDynpro Java
    2.  Reregister the work item type in the UWL. To do this, refer the
         documentation
         <http://help.sap.com/saphelp_dimp50/helpdata/EN/
         59/6e0986d3bb4b05a08196a76c4a575f/content.htm>.
    3.  To implement the front-end corrections, you can download an SAP_ESS
         600 Support Package 15 or SAP_ESS 603 Support Package 4 patch from
         SAP Service Marketplace.
    4.  Deploy the service.
    5.  Use SNOTE to implement the ABAP corrections, and activate these.

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

  • 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

  • Leave Approver in ESS

    Dear All,
    I am facing some problem  in the Leave Approver:
    Employee  A was previously reporting to Manager B.
    Now Employee A is reporting to Manager C.
    I have maintained the reporting relationship in the position for Employee A.( A reports to C -> It is Ok).
    But when I execute the report RPTREQAPPRCHK,  the system is picking up his old manager :
    1. Check Applicaiton Function - It shows A reports to B (which is not right as per our expections)
    2. Check Basis Function - It shows A reports to C (which is OK).
    I have maintained the following values in the table V_PTARQ_TPROCESS
    --> Determine Next Agent = MNGR Line Manager.
    While applying for leave the approver for Emp A is still displayed as Manager B.( it should be Manager C).
    Please let me know if any extra config is required for this?
    Thanks & Regards,
    Param

    Param,
    You have to get the workflow refreshed for that. As the Determine Next Agent would have already determined the old Manager and kept it in the cache. See the date on which the Agent Determination has taken place in the Workflow for that Task. If the Agent determiantion has taken place before the transfer then you have ask you workflow adminstrator to correct the workflow with the new manager details or kill that task and re-execute the branch of that task again.
    Hope this helps.
    cheers, Bharath.

Maybe you are looking for