Approval of Working Time & Multi Level CATS approval

Hi experts,
We have implemented CATS multi level approval as below.
1. In the CATS user exit we call a Workflow which is a multi level
workflow.
2. We are using the standard Webdynpro for CATS entry and approval.
Problem:
Once the first level manager(Say A) approves the timesheet work item
gets triggered for the next level approver(Say B). Since approval is a
standard webdynpro, the status of the CATS record immediately changes
from 20 to 30. So in the workflow, before sending the work item to
second level approver, we change the status of the time record back to
20 (Since it is yet to go through all approvals).
Now in the Team--> Approve working time section of the MSS, manager 'A'
still sees the record for approval, even though now the approval is
pending from 'B'. Moreover 'A' can approve this item as well (which
should not be the case).
Please provide a solution so that 'A' will not have the working time
item in his 'Working time section' after the A approves it in the UWL.
Thanks
Krishna

Solved it myself.
My solution is documented here.
http://learnhrabap.blogspot.com/2010/09/cats-multiple-level-approval.html
Please leave your comments if you have any better solution for multi level approval.
Thanks in advance,
Krishna

Similar Messages

  • Approval of Working Times tasks show in UWL and shouldn't

    Our employees use ESS to record their working time and the managers use MSS to approve that time.  Occasionally the task Approval of Working Times, along with the sender date, name and a Cats attachment, appears in the managers UWL which makes it look like someone has time to be approved however, we do not go to the UWL to approve time.  If this task is clicked on in the UWL a u201CService cannot be reached HTTP 404 u2013 Not foundu201D error is thrown.  The send date of this task does correspond with a date when the employee entered time in ESS which the manager approved a few days later in MSS.  So it appears that occasionally but not regularly or in any sort of pattern, time workflows to both MSS where the managers approve it and to the UWL where we donu2019t want it and sits there and drives the managers crazy.  (Managers do go to the UWL to approve PCRs.)  We have checked the workflow log and cannot see a split.  How do we prevent the time approval from routing to the UWL?

    Hi,
    For me it seems that the the workflow should be turned off. There are ways to disable tasks from UWL, etc. (to not show them), but I would definately take a look to the CATS configurations in SPRO (unfortunately I don't remember the exact path, but it should not be too difficult to find). Basically there is place where you define that which workflow task is send to the manager when the employee releases the timesheet. You can perhaps remove this task from the configuration or perhaps there is some checkbox or something where you can turn of the workflow or whatever. Take look to this first. If you have CATS/HR people on your site, they will probably know what I am talking about.
    Another perhaps good option could be that you do certain configurations for UWL and then the CATS approval application is opened when the managers click the item in UWL -. but I would first try to prevent the work item to be sent to the workflow at all, if it should not be sent there at the first place.
    Regards,
    Karri

  • Collective approval of working Time

    Collective Approval of Working Time iview displays list off EE's by pernr. I would like to display the name also, next to the pernr. Can anyone point me to the correct path? I have looked at the ECC MSS config and made changes for the formatted name of employee to appear. Is this a Portal change to the iview?
    Help appreciated.

    Hi guys,
    This can be configured if you set the approval criterion to be the Personnel Number and select the option "With description column".
    It has worked for me at least.

  • Approve/Reject Working Time through the Enterprise Portal Workflow

    Hey Everyone,
    We are currently working on a project to rollout a number new portal services.  I was wondering if anyone in ECC or Portal has experience with enhancing the Time Entry Approval process.  Is it possible to trigger an email notification when a manager rejects an employees time for any of the configured reasons.  I would like an email back to the email to let them know they should change their hours or that their overtime was rejected.  I have been spoiled by the deeper config options available for Leave Request.
    In the standard workflow task the Item does turn red when rejected, but if employees aren't reviewing their entries they may never know it was rejected before they check their pay stubs.
    I would be pretty surprised if the BADI or workflow task would be unable to know there was a rejection because it clearly asks you for a rejection reason and changes the colour of the request in the Record Working Time screen.
    Thank you in advance,
    Doug

    Sid,
    I believe we are or have looked into RSWUWFML2, but I will confirm.
    After trying a number of different options we are currently looking at using the Rejection check-box and determine if BASIS can redirect the messages to the employee's IT0105 subtype 0010 email address.
    Here are some of the notes we have looked at.
    http://forums.sdn.sap.com/thread.jspa?threadID=1725144 (Email Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=1397351 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=2084622 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=1947223 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=1686788 (SO16 Forwarding)
    http://forums.sdn.sap.com/thread.jspa?threadID=2093332 (Rejection to External Email - opened by our team)
    http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/2b/d926324b8a11d1894c0000e8323c4f/frameset.htm
    Our Version:  EP 7 EHP 3
    I wish Record Working Time had similar config to Leave Request.  If you have additional input please let me know.
    Doug
    Edited by: Doug Robbins on Dec 7, 2011 5:30 PM

  • MSS - Approval of working time

    Hi
    As a manager (MSS) i am getting three option when an emp(ESS) submits working time, viz, approve all, reject all, resubmit all.
    I want to delete the resubmit all option. I have checked in R/3, the documentation says that this entry is defaulted by SAP.
    is there is any way by which we can modify this option?
    Regards
    Minal

    Dear Minal,
    Do you manage to hide the resubmit all button? I am facing the same problem. BTW, do you know the different between resubmit and reject. I have try both and it seem the same to me.
    Thanks
    Regards,
    Bryan

  • ESS - Record Working Time Error Display and Approved Time in Calendar doesn't update color

    Hi Experts,
    We are using EHP7/NWBC. On ESS under Record Working Time when an employee enter time, system error message displayed on screen. Even through the message appears, employee able to submit time and manager can approve it.
    We would like to know, how to remove this error message. We tried through clearing error log but when employee logs back in, it again appears.
    And also, when Manager approves time, for the approved data Calendar doesn't get updated and employee don't have details that manager approved or not.
    Appreciate your response to resolve these two issues.
    Error Message Screenshot:
    Thanks,
    Ashish

    http://scn.sap.com/thread/3346594 http://scn.sap.com/thread/2135503

  • MSS approve working time error?

    Hello Friends,
    Iam planning to approve working time through UWL using "Approve Working Time " web application. When i click on the workitem to call the web application i get the following error
    Exception condition "PROFILE_NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE
    Iam new to MSS , what are the settings to be done at the backend
    Regards
    Sriram

    Hi all,
            I have maintained the CATS_APPR_PROF parameter in my login ID. and in backend i have used the workflow TS31000006. Time administrator(radiobutton selected), with approval procedure(radiobutton selected), checkbox checked (with sap business workflow) as well as checkbox checked (with auto determination of recipient).
    I am applying the overtime from ESS screen. I am able to record, able to release also. i run the CATS tcode in backend i shows my pending overtime approvals, but it is not showing in UWL. I haven't selected the approver in this process as it didn't asked me anywhere. So whose UWL should i check?. wht am i missing???????

  • Approve Working time Exception : NOT FOUND

    Hi friends,
    I am getting problem when trying to "Approve Time Sheet data " from MSS. I am not using Work flow but the link given in MSS Team. When i am clicking on the link the first page is comming and i can see the requested working time for approval. But when i click on the review an error occured. the details is:
    Exception condition "NOT_FOUND" raised., error key: RFC_ERROR_SYSTEM_FAILURE
    From R3 by ST22 i checked the error. Its like...
    Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
    Exception CX_SY_REF_IS_INITIAL
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_MSS_CAT_APPR_APPLICATION===CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    I can approve the working time from R3 by cats_appr_lite transaction.
    Please help.
    Thanks,
    Sekhar

    This pretty much means that the customization is not complete for the CATS Approval profile that you have set for the manager in profile parameters.
    Incomplete customization is the cause

  • 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

  • Approve Working Time

    Dear All
    I have a requirement.
    When an employee books time in the section "Record Working Time", it goe for approval in "Approve Time sheet data" in MSS under Work Overview>Team>Employee Working Times>Approve Time sheet data.
    Now my client needs that it should come in the UWL under the section "Tasks" as it comes in case of a leave request approval.
    I just wanted to inform that in the table TCATS in the section "Workflow" we have neither checked "With SAPBusiness Workflow" and nor "With auto determination of recipient".The Task field is empty.
    So please help me to know what exactly to do.
    Thnks a lot

    Hi
    No in SBWP I am not able to see. But all the leave requests that are generated can be seen.
    This is the case for both the approver and the person who requests the leave.
    But no such aaproval of work time is visible in sbwp
    Please give me a solution

  • Approve Working Time Error

    Hi
    We are on EP7 with ECC6.0 as backend.
    We are trying to use the Approve Working Time iview in MSS but it gives the following error:
    Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      The ASSERT condition was violated., error key: RFC_ERROR_SYSTEM_FAILURE
    We have maintained the following customizing in backend(
    1.Define Approval view: SAP_LINE ( SAP Approval by Line Manager)
    2.Define Field Selection for Individual Approval view:  SLIN1 and  with it Field customizing Field label
    Personnel Number , Attendance or Absence Type,Text for Attendance or Absence Type, WorkBreakdown Structure Element, Receiver Order etc.
    3. Define Field Selection for Detail View: Attendance, Counter etc
    4.Define Profiles and Assign to Views: SAP_Line: Initial View=SAP_Line.
    5. Create Rule Groups: SAP Standard( 01)
    6 Adjust Webmo feature: Time Sheet Application..assigned rule group: SAP Standard(01)
    The Approver is a Manager with A012 relationship with a particular org unit.
    Kindly suggest where may lie the problem.....we have a requirement of Collective Approval of Working Times of his subordinates by the Manager.
    I would like to add here that we are able to approve Working time requests individually through UWL...but we need to use the Approve Working Time Iview.

    Hi
    We are using the standard taskTS20000460.   But we want to use the Approve Working Time service iview. 
    When we were using the evaluation path for approving the working time data through A012( Chief) in MSS, we were able to see all the working times recorded by the subordinates of the said Chief( Manager) in the service Approve Working Time itself, we did not necessarily have go to UWL and approve from there....Now after we have made the required changes in the evaluation path and made A002 as the approver, the same iview Approve Working Time has a message that "No date exists that needs to be approved'.
    At the same time we are able to view and approve the working time data from UWL of A002.
    Is there a change that needs to be done in the service to get it working  ? or it this because of some other reason.
    Please advise.

  • MSS: Approve working times

    Dear experts,
    a user runs a MSS transaction "Approve working times" but he receives the message: "No data exists that needs to be approved".
    The user who runs this transaction is holder of chief position in the organizational plan and one position reports to him.
    If the same user runs the transaction "cats_appr_lite" in SAP R/3, records to be approved are displayed.
    The MSS user uses the profile "SAP Approval by Line Manager".
    Why there are no data displayed in MSS transaction?
    Thank you in advance,
    Vana Sounta

    What about this situation?  Manager 1 would like Manager 2 to approve the working time of his staff while away from the office.  We setup a substitution in the UWL of Manager 1 to give time approval tasks to Manager 2.  Manager 2 receives the tasks as expected.  When executing the task (Approve working time) however, the employees from Manager 1 do not appear in the list.  I would expect that Manager 2 should see and have the ability to approve the time.
    Any thoughts would be greatly appreciated on this type of substitution.
    Best regards,
    Joe Earley

  • To Approve work time

    Dear All,
    After releasing the time sheet(releasing work time data) by the employee through Portal-ESS, It needs to go his line manger. In this case I am able to release from ESS but I did not find any link for approval.

    For working time approval there is an application available. You can access this one with the standard MSS Portal role.
    regards,
    Markus

  • MSS - CATS -  Approve All to Resubmit All

    Hi,
    One of the requirements of the client is as:
    "Time Approval in MSS (UWL/Approve Working Times):
    Currently default for approval in the Aprove Working Time is set to "Approve All" (in the drop down list).
    Can this default be changed to "Resubmit All"?"
    What are the ways of achieving this.
    As far my investigation, this cannot be achieved through configuration in backend.
    Secondly, the drop dopwn list cannot be changed via Ctrl+Right Click on the iView.
    Please suggest.

    No need for an enhancement. Simply modify the application configuration under the parameters tab.
    Set parameter DEFAULT_APPROVAL of app. config HRMSS_AC_CATS_APPROVAL to 3. Keep in mind, after a server round trip there is SAP code that sets the default value to 4 regardless of your application parameter. I used an implicit enhancement overwrite to comment this out as a fix. Never could figure out why they set it to 4 and ignore the user parameter after a rebuild of the table.

  • Three level sc approval wf

    Hi all,
    I am currently working on three level sc approval workflow...
    the 1st level approval is based on product category,2nd level is based on costcentre and the 3rd level is based on the shopping cart value...i am currently working on the BADI...what value should i give for the approval index for each level..i am not clear abt the actual approval index..can anyone help me..
    Thanks&Regards,
    Hari.

    hi ,
    there is default implementation already provided by SAP along with the system --> please have a look.
    if you have three approvers
    1) first approver will have index 1 , second will have 2 , third will have 3.
    you have to code your BADI in such a way ---> that approval table will have correct number of approvers depending on the input of the shopping cart.
    approval_table is very critical in badi ---> this defines the approvers involved in approval chain
    Edited by: khan voyalpad usman on Jan 11, 2008 1:13 AM

Maybe you are looking for

  • Ichat doesn't log all the time/poor camera connectivity

    My ichat doesn't always log on. Sometimes it will after using the computer for thirty minutes or so and sometimes not at all(same is true with AIM). However, my firefox and safari both work all the time so it's not an internet connection problem. I'm

  • Will I get full screen view using my Samsung LED TV (UE46D5500

    will I get full screen view using my Samsung LED TV (UE46D5500)

  • Safari barely works. VERY SLOW.

    Three days ago, March 27, evening, Pacific Daylight Time, I tried to download something from iTunes from my Mac.  I had always used my iPad before.  It downloaded it, then when I went to play it, it said the Mac was not authorized and window came up

  • How can I fix this camera software issue?

    My iPhone 5 was most recently updated to iOS 7.1, and now my rear camera is showing up black. The front camera works, however it freezes when I attempt switching back to the rear camera. How can I fix this software issue? Please Help.

  • Where can I find JInitiator for downloading?

    From where can I download JInitiator 1.1.7.30 or 1.1.7.32. I was told by Support services that the above versions exits. thx