select agent to exclude certain agents from the list

Sushil Guragain sguragain at interpublic.com
Mon May 16 10:54:21 EDT 2005


Thanks Mark!

Please let me know if anyone else encountered this issue. I am raising an OSS message to SAP for now and will start the route of building a custom method.

Thanks,

Sushil 

-----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of Mark Pyc
Sent: Monday, May 16, 2005 9:28 AM
To: SAP Workflow Users' Group
Subject: Re: select agent to exclude certain agents from the list

G'day Sushil,

Interesting. I was pretty sure this worked, but doing a quick test in a 4.7/620 system it doesn't. Looking at the code it doesn't look like it would.

Inside ALLAGENTSOFTASKGETANDDISPATCH there is a call to the methods ALLAGENTSOFTASKGET and DISPATCH (as the name would suggest). The code behind each of these are calls to function modules. It looks like there is an implicit binding missing.

The DISPATCH method seems to only filter excluded agents if the parameter NAMELIST is passed. In the combo method of ALLAGENTSOFTASKGETANDDISPATCH this doesn't seem to happen.

Assuming all this is true (it's only on the basis of 20 mins digging) then really SAP should fix it. Raise it as an OSS message. Presumably some others have hit this????

In the meantime though, it does look like you could relatively easily subtype the object and create your own Z method. The code could be a pretty straightforward copy, just make sure the NAMELIST container element is populated.

If someone has more first hand knowledge please speak up.

Have fun,
Mark

On 5/13/05, Sushil Guragain <sguragain at interpublic.com> wrote:
> Hi WF Gurus,
>
> Is there an easy way to exclude certain people from the list that 
> shows up on Select Agent task (Standard task TS30200146)? I tried by 
> passing the agents to exclude by passing it on &EXCLUDEDAGENTS& 
> parameters but that does not seem to give me a list excluding the EXCLUDEDAGENTS.
>
> When I tested the object WF_TASK, method ALLAGENTSOFTASKGETANDDISPATCH 
> it has EXCLUDEDAGENTS as one of the parameters. I thought it would 
> limit the list by excluding the EXCLUDEDAGENTS when the pop-up window 
> appears but it does not do so. Can someone please explain me what is 
> this parameter supposed to do? If this is not functioning properly is 
> there a note to apply. Or does that parameter have a different 
> purpose? In that case could someone tell me what is the best way to handle this?
>
> I am thinking the route of building a subtype of WF_TASK and copying 
> the ALLAGENTSOFTASKGETANDDISPATCH method into a custom method and 
> putting the logic in method to exclude the agents from the list. 
> Please let me know if there is a better route to handle this.
>
> Thanks,
>
> SushilThis message contains information which may be confidential and 
> privileged.
Unless you are the intended recipient (or authorized to receive
> this message
for the intended recipient), you may not use, copy, disseminate
> or disclose to
anyone the message or any information contained in the
> message. If you have
received the message in error, please advise the sender
> by reply e-mail, and
delete the message. Thank you very much.
(A)
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
>

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug
This message contains information which may be confidential and privileged.
Unless you are the intended recipient (or authorized to receive this message
for the intended recipient), you may not use, copy, disseminate or disclose to
anyone the message or any information contained in the message.  If you have
received the message in error, please advise the sender by reply e-mail, and
delete the message.  Thank you very much.
(A)



More information about the SAP-WUG mailing list