Refreshing the role resolution of a step in a running workflow

Ulrich Mende wug at mende-edv-beratung.de
Thu Mar 14 07:52:40 EST 2002


Hi Frank, Stefan -
modelimg it is a good idea - but:
- will give a new workitem when the user changes-
- can be carried out from the inbox only, not by program
 
To do it from outside the workflow manually or from an ABAP, you could
try the following:
 
- If you dont have it, find the workitem via SWW_WI_TO_OBJECT_FIND
- Read the current user from this WI from table SWWUSERWI
- Read the container of that WI or its father (= the workflow)
  via SWW_WI_CONTAINER_READ
- Make a new role resolution via RH_RESOLVE_RESPONSIBILITY
  using the container
- Forward the workitem to the new user via SWW_WI_FORWARD using
  the result of the resolution
 
But this is only an unimproved idea.
Best regards Uli
 
 
 
 
Frank Reichenbach <frankreichenbach at dontgotmail.com> schrieb am
14.03.2002, 11:39:30:
> Hi,
> being on a 46b sytem I am currently working on a workflow with a step that has a role with responsibilities.
> Is is possible to refresh the role resolution after the corresponding workitem of that step has already been created? (I am especially interested in a function module that refreshes the data of swwuserwi.)
> Let's say user A was found as an agent of that task because of certain values of container elements that were passed over to the role. After manually changing the values of the container during runtime I would like the workflow management system to repeat the role resolution of that step which would bring up user B!
>
> Any suggestions are very welcome.
>
> Best regards,
>
> Frank Reichenbach
>
>
> _____________________________________________________________
> ===========================
> Kick start your hits today with www.SearchGalore.com! Be in the #1 spot for as little as one cent.
> ===========================
> Get YOUR FREE email address today! http://www.dontgotmail.com
> "Don't Got Mail!"
>
> _____________________________________________________________
> Run a small business? Then you need professional email like you at yourbiz.com from Everyone.net  http://www.everyone.net?tag
 


More information about the SAP-WUG mailing list