how to restrict roles from selection criteria

Bijay Shrestha Bijay.Shrestha at genmills.com
Wed May 11 15:17:16 EDT 2005


Hi Sushil,
 
How is your approver list maintained? Is it in Org. structure or
maintained in table? If it's in table and you use Role resolution PFAC
that will give you only the approvers list. If you're maintaining Org.
Structure then you can use evaluation path in your code.
 
Another alternative is use Function module  RH_TYPE_STRUC_HELP. You can
choose user, position or Organization depending upon your passed Otype
parameter.
 
Hope it helps.
 

Bijay Shrestha



	-----Original Message-----
	From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]
On Behalf Of Sushil Guragain
	Sent: Wednesday, May 11, 2005 11:39 AM
	To: SAP Workflow Users' Group
	Subject: how to restrict roles from selection criteria
	
	
	Hi WF Gurus,
	 
	We are using roles (AG) to establish possible agents for a task
and allowing users to select an approver from the list. I have used
wizard to add the select agent task. However, it seems to list the role
also on the list of approvers along with the users associated. Could
someone tell me how I can just list the users (assigned to those roles)
on the selection screen without showing roles?
	 
	Thanks for your help,
	 
	Sushil
	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)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050511/0518146c/attachment.htm


More information about the SAP-WUG mailing list