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

Workflow for Time sheet

Hi all,

here I am with another scenario about workflow and a problem to solve.

I'm involved in the development of the workflow for <b>time sheet</b> and I need to use as approver the supervisor of the employee (read from IT0001),avoiding the standard solution with the organizational structure.

I've copied the standard task TS20000460 and defined a rule to read this superior (it works in test).

I set this task in customizing. When I write hours in CAT2 tx the workflow correctly starts but it doesn't set the user that the rule provides in output. I've not still set the checkbox "Automatic recipient" in SPRO to see the approver's user ID.

Did anyone solve this problem? Thanks.

Kind regards,

Angelo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jun 13, 2006 at 12:38 AM

    Hi Angelo,

    I take it you are using the "default rule" option to link the rule to your single step task?

    Did you check you have set up the possible agents for the task - i.e. the security on the task. If the user isn't a possible agent they are not allowed to be a recipient.

    Transaction PFTC menu path Additional Data > Agent Assignment. Use the Attributes... button to set it to general task for testing purposes. You can reassign it to a security role later if you like.

    Also check HR struc auth is not stopping access to the task (object type TS) or the rule (object type AC).

    Regards,

    Jocelyn

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jocelyn,

      thanks for your reply.

      I set the "Automatic recipient" in customizing for timesheet and so the employee will not choose the recipient. The code in the custom function module I defined for the rule of supervisor read in IT0001 now seems to work. It provides the userID of the correct superior (read in IT0105) starting from his personal number.

      A strage error is still present: when I click on the hyperlink of the workitem received by the supervisor, I get a dump.

      Kind regards,

      Angelo

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.