Menu

SAP Function Module LWE_CREATE_INSTANCE

The Function Module LWE_CREATE_INSTANCE () is a standard Function Module in SAP ERP and is part of the function group LWE_INSTANCE within the package S_LWE_WF_CONNECTOR.

Technical Information

Function Module LWE_CREATE_INSTANCE
Short Text
Function Group LWE_INSTANCE
Package S_LWE_WF_CONNECTOR
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
LEADINGPROCESSOR TYPE SYUNAME SY-UNAME SAP System, User Logon Name
LWEXMLID TYPE LWE_STRING Workflow Container Element for a String
SINGLEINSTANCE TYPE BOOLEAN '-' Boolean Variable (X-true, --false, space-unknown)
WFDID TYPE SWW_TASK Task ID

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN_CODE TYPE SYSUBRC Return Value, Return Value After ABAP Statements
WORKITEMID TYPE SWW_WIID 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
INPUT_CONTAINER LIKE SWR_CONT Container (name-value pairs)
MESSAGE_TAB LIKE SWR_MESSAG Workflow Interfaces: Messages

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
INSTANCE_EXISTS