SAP Function SWW_WI_FORWARD - Forward Work Item (All Types)

Parameter Reference Type Length Default Optional Text
ADMIN_MODE_NO_X_CHECK XFELD C 1 SPACE X Admin Mode: No Execution Check of WI
CURRENT_USER SWWWIHEAD-WI_FORW_BY C 12 SY-UNAME X User Forwarding Work Item
DO_COMMIT SWWCOMMIT-COMMITFLAG C 1 'X' X Indicator for Control of Commit Logic
IM_FUNCNAME FUNCNAME C 30 X Function Name that Is Logged
PRECONDITIONS_CHECKED SWWCOMMIT-CHECKFLAG C 1 SPACE X Indicator for Control of Status Checks and Type Checks
WI_ID SWWWIHEAD-WI_ID N 12 Work Item ID

Parameter Reference Type Length Text
NEW_STATUS SWWWIHEAD-WI_STAT C 12 New Status of Work Item

Parameter Reference Length Optional Text
NEW_AGENTS SWHACTOR 14 Agents Who Receive Forwarding

Exception Text
INVALID_STATUS Forwarding Not Allowed in Current Status
INVALID_TYPE Method Not Allowed for this Work Item Type
UPDATE_FAILED Work Item Cannot Be Updated

Functionality
The function module forwards the work item WI_ID of CURRENT_USER to therecipients NEW_AGENTS. All old recipients of the work item are deletedimplicitly. The status of the work item is set to READY.

Description
If this switch is set, the module does not check the executionauthorization. This is also a prerequisite for an administratorforwards for work items that, for example, do not have a possible agentor their forwarding is not allowed using tasks.
If this switch is set, SAP recommends that an admin replace is runbefore this module is run.