Menu

SAP Function Module SAP_WAPI_EXECUTE_WORKITEM

Workflow interfaces: Execute work item

The Function Module SAP_WAPI_EXECUTE_WORKITEM (Workflow interfaces: Execute 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_EXECUTE_WORKITEM
Short Text Workflow interfaces: Execute 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
LANGUAGE TYPE SYLANGU SY-LANGU SAP R/3 System, Current Language
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 LIKE SWR_WISTAT New Status After Execution
RETURN_CODE LIKE SY-SUBRC Return Code (0, 1, 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

Exceptions

This function module does not define any Exceptions.