disable forward option in SAP Office

Fabrice Turboult Fabrice.Turboult at alcatel.fr
Fri Jun 8 04:07:43 EDT 2001


Hi Jocelyn, Dave
 
I have found a solution to disable forwarding work item in SAP Office without doing any core code modification.
For that purpose, I have created two field exits for the data element SEARK :
   the first one is assigned to the screen 0500 of program SAPLRHW0
   the second one is assigned to the screen 0600 of the program SAPLRHW0
One of  these two screens may appear when a user wants to forward a work item.
The abap code related to them is the same for both :
 
   output = input
   if the user wants to cancel his action (sy-ucomm = 'EXIT') --> end of processing of the field exit
   otherwise, call the function module SWW_WI_AUTHORITY_CHECK for the activity 25 (actvt_change_user defined in program rswuincl)
   if the call fails, an error message is displayed and output is cleared
 
This solution is based on the authorization object S_WF_WI but it could be replaced with a specific authorization object.
Furthermore, it does not disable the forward option in the office folder.
 
Regards
 
Fabrice
 


More information about the SAP-WUG mailing list