Menu

SAP Function Module SAP_WAPI_FORWARD_WORKITEM

Workflow Interfaces: Forward Work Item

The Function Module SAP_WAPI_FORWARD_WORKITEM (Workflow Interfaces: Forward Work Item) is a standard Function Module in SAP ERP and is part of the function group SWRC within the package SWR.

Technical Information

Function Module SAP_WAPI_FORWARD_WORKITEM
Short Text Workflow Interfaces: Forward Work Item
Function Group SWRC
Package SWR
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CURRENT_USER TYPE SYUNAME SY-UNAME Forwarding User
DO_COMMIT TYPE XFELD 'X' Execute Commit
LANGUAGE TYPE SYLANGU SY-LANGU SAP R/3 System, Current Language
USER_ID LIKE SY-UNAME User ID
WORKITEM_ID LIKE SWR_STRUCT-WORKITEMID Work Item ID

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
NEW_STATUS TYPE SWR_WISTAT Workflow Interfaces: Work Item Status
RETURN_CODE LIKE SY-SUBRC Return Code (0 - 2, 999)

Changing Parameters

This function module does not define any CHANGING parameters.

Table Parameters

These are the TABLE parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
MESSAGE_LINES LIKE SWR_MESSAG Message Lines
MESSAGE_STRUCT LIKE SWR_MSTRUC Message Structure
USER_IDS LIKE SWRAGENT User

Exceptions

This function module does not define any Exceptions.