Skip to Content
author's profile photo Former Member
Former Member

CATS Escalation Feature

Hi All,

We need help / suggestions regarding how to implement Escalation feature in Timesheets for working hours & expenses.

The scenario being a person would enter his timesheets in CATS, the released working time & expenses would then go to his manager for approval. Now if the manager does not approve the working time / expenses in a pre-defined time frame the task would have to be approved by managers manager.

Employee(Mr. ABC) releases working hour --> Manager (Mr. XYZ) does not approve in pre-defined time frame --> task escalated to Mr. XYZ's manager for approval

Currently we are able to have one level of approval that is when employee releases his working hour it goes for approval to his manager, but when the manager does not act on it, it continues to remain in his worklist. we want to avoid this scenario and hence escalation.

Any suggestions / pointers / solutions are welcomed...

Awaiting an early reply...

Thanks & Regards

Sharad Kulle

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Dec 07, 2009 at 09:20 AM

    hi

    you can make a custom workflow and may be some custom code may be required to make this ,

    Regards

    sameer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2009 at 10:08 AM

    Hi Sameer,

    Thanks for the reply. But are you aware of any standard feature that might help us achieve it?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2009 at 01:05 PM

    There is no standard workflow available for escalation, you have to go for custom workflow. We have the same scenario for leave approval escalation and we try to achive in standard hence we don't have any standard workflow for this scenario we went for custom workflow.

    you can be able achieve this requirement thorough custom workflow.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 07, 2009 at 01:40 PM

    You can have a Z workflow

    1) Approvals ( managers would receive workitem his/her worklist and approve

    2) Manager not available workflow would trigger and workitem in 1 up manager (if the manager didnt not action on this item for certain number of days)

    3) Auto approval (if manager didnt approve system should auto approve

    these all possible scenarios you need to think as per your business processes and go for Z workflow

    thanks

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      I have faced same issue and after long investigations conclude that there are 2 possible solutions for this.

      1). Create Custom Workflow :

      As suggested by many people above and a general commom solution.

      Delegate he BOR object CAT to ZCATS and crete a new method -> ZApprove. Copy the standard CAST task to a Z one and change the method from Approve to ZApprove. Use this new custom Task in ur CAC1 config for all related Data Profiles which needs approval.

      Now, in the ZApprove method create a Z Even by Standard method SWI_EVENT_CREATE and a custom workflow which will listen to this event and then trigger.

      Note: The main issue in this process will be to pass the workitem id from event container to workflow container as thats the Key Attribute for this BOR object. So u got to let the Task trigger first which creates the workitem id.

      2). Dirty but easier solution :

      Let the first level approval happen by using the custom task. If u want to change the approver based on custom client logic, you can do that by changing the default Rule in the task OR by the BADI_CATS_APPROVAL.

      Then for Deadline create a custom Report program (which will be scheduled as daily/as reqd. background job) which we need to check from table SWIHEAD all the task which are created using your custom task # say ... TS9000070 (ZCATS Approval task).

      On that list we need to check the start date and start time of the Task.

      We need to calculate the time difference using standard FM ( SD_CALC_DURATION_FROM_DATETIME).

      If the start date is less than eq 7 days then the report program will :

      u2022 Find out the current Agent of that task from SWWORGTASK table

      u2022 Find the next available manager of that agent (use standard Get manager logic)

      u2022 Forward the work item to the managers manager using standard SAP Function moidule (SAP_WAPI_FORWARD_WORKITEM)

      u2022 Remove the current Agent from the from the SWWORGTASK table.

      Hope this helps !!

      Cheers.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.