Executing workitems from reports SWI1 and SWI2_FREQ

de Valensart Schoenmaeckers, Patrick deValensartSchoenmaeckers.Patrick at pmintl.ch
Fri Aug 17 05:24:46 EDT 2001


Peter,
 
I have had the same problem.
 
I have solved it by creating a method that
1. get all the selected agents of the workitem with function module
'RH_WI_ORGTASK_READ'
2. transform that list of agent into a list of users (function module
'RH_GET_STRUCTURE')
3. compare that list of users with sy-uname. Give an error message if
sy-uname is not in the list.
 
I have then set that method as secondary method before execution of the task
you want to protect.
 
Hope this can help.
 
Patrick de Valensart
Associate IS Analyst
NV Philip Morris Belgium SA
 
 
-----Original Message-----
From: Roehlen, Peter [mailto:PRoehlen at powercor.com.au]
Sent: Friday, August 17, 2001 11:12 AM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Executing workitems from reports SWI1 and SWI2_FREQ
 
 
Fellow workflow fans,
 
To be better able to support SAP workflow in general, all of our SAP support
team have a need to use the workflow adminstration reports such as
SWI2_FREQ, Work Items Per Task and SWI1, Work Item Selection.  It appears
however, that it is possible to drill down on the output for both of these
reports to the workitem itself and from there reserve or execute it even if
you are not one of the selected agents for that workitem.
 
Does anyone know if it is it possible to secure these reports in such a way
that they can still be viewed but the option to execute or reserve workitems
is not active?
 
Peter Roehlen
Team Lead - SAP Technical & Development
Powercor Australia Ltd
0409 950 263
 
 
**********************************************************************
This email and any file attachments are confidential and intended
solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please tell us
immediately by return email and delete the document.
**********************************************************************
 


More information about the SAP-WUG mailing list