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

Workflow forwarding restriction

Hi All,

We are having a requirement where we need to restrict the users to whom a workflow has to be forwarded.The restriction and validation would be based on the spendlimit which has to be checked from a Z table.

We have tried the following,

1) Implement the Program exit in the workflow corresponding to the forwarding functionality which is not getting called! with method Before_execution of Interface IF_WAPI_WORKITEM_CONTEXT.

2)enabling general forwarding not allowed in the workflow along with rule and role logic. But we could not use it as we have BADI which gives us the next agent assignment. The rule over-writes the BADI logic. So we couldnt use this.

Workflow :14000134.

Can anyone suggest what else we could try in the option 1 or any other suggestions.

Thanks in advance!

Regards,

Gowthami.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 20, 2011 at 12:50 PM

    Hi,

    I am not sure whether there are any badis or user exits that you could use to restrict the forwarding functionality. You might want to check the possibility to do an enhancement (check the following thread):

    Administrator Forward Exit or BADI

    Regards,

    Karri

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 20, 2011 at 03:39 PM

    Hi,

    What is the reason why so many workitems are constantly forwarded in your system??

    One of the reasons to use SAP business Workflow is to ensure that the correct people get their work.

    If any forwarding is needed you could always just give a limited number of people,like teamleaders access to SWIA.

    Or just create a new procedure if forwarding is needed that this is handled by the workflow administrator.

    Kind regards, Rob Dielemans

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2011 at 06:33 AM

    I guess the option 2 should be the proper one. why are you fetching the agent assignment from a BADI? then what details are you trying to fetch in the rule?

    with regards,

    Sudhahar R.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 23, 2011 at 08:14 PM

    Hi

    1. How are the work items forwarded.

    1. Try to determine all the agents to whom the work items can forwarded and populate them as Possible agents....

    2. Make the task agent assignment as General forwarding allowed and populate the possible agents so the work item can be forwarded among these populated agents that's all

    Regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

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.