Menu

SAP Function Module SAP_WAPI_SET_WORKITEM_COMPLETD

Workflow Interfaces: Set Work Item to Completed

Recommended Now

Fire TV Stick Lite Essentials Bundle

This bundle contains Amazon Fire TV Stick Lite and Mission USB Power Cable. The USB power cable eliminates the need to find an AC outlet near your TV by powering Amazon Fire TV directly from your TV's USB port. Includes special power management circuitry that enhances the peak power capability of the USB port by storing excess energy and then releasing it as needed.

Check it out on amazon.com →

The Function Module SAP_WAPI_SET_WORKITEM_COMPLETD (Workflow Interfaces: Set Work Item to Completed) 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_SET_WORKITEM_COMPLETD
Short Text Workflow Interfaces: Set Work Item to Completed
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
ACTUAL_AGENT TYPE SYUNAME SY-UNAME R/3 System, User Logon Name
LANGUAGE TYPE SYLANGU SY-LANGU 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 Reserve
RETURN_CODE LIKE SY-SUBRC Return Code (0, 1, 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.