Menu

SAP Function Module SWR_START_WORKFLOW

Workflow-Schnittstellen: Workflow starten

The Function Module SWR_START_WORKFLOW (Workflow-Schnittstellen: Workflow starten) is a standard Function Module in SAP ERP and is part of the function group SWR1 within the package SWR.

Technical Information

Function Module SWR_START_WORKFLOW
Short Text Workflow-Schnittstellen: Workflow starten
Function Group SWR1
Package SWR
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
CREATE_STATUS_EVENT LIKE SWWWIHEAD-STATUS_EVT SPACE Flag: Whether Event STATUS_CHANGED Is To Be Triggered (FIs)
LANGUAGE LIKE SWR_STRUCT-WILANGUAGE SY-LANGU Language
TASK LIKE SWR_STRUCT-TASK Task (According to PD org.)
WI_CONTAINER_HANDLE CLASS IF_SWF_CNT_CONTAINER Container - Implementation of a 'Collection'
WI_TYPE LIKE SWWWIHEAD-WI_TYPE Work Item Type
XML_PROTOCOL LIKE SWD_PROTCL Settings for XML Data Transfer

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN_CODE LIKE SY-SUBRC Return code (0 - 6, 999)
WORKITEM_ID LIKE SWR_STRUCT-WORKITEMID Work Item ID

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.