Menu

SAP Function Module SAP_WAPI_CREATE_EVENT

Workflow interfaces: Create event

The Function Module SAP_WAPI_CREATE_EVENT (Workflow interfaces: Create event) is a standard Function Module in SAP ERP and is part of the function group SWRR within the package SWR.

Technical Information

Function Module SAP_WAPI_CREATE_EVENT
Short Text Workflow interfaces: Create event
Function Group SWRR
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
COMMIT_WORK LIKE SWR_STRUCT-COMMITFLAG 'X' Do not trigger 'Commit Work' at end
EVENT LIKE SWR_STRUCT-EVENT Event
EVENT_LANGUAGE LIKE SY-LANGU SY-LANGU Event language
IFS_XML_CONTAINER TYPE XSTRING Event Container as XML Data Stream
LANGUAGE TYPE SYLANGU SY-LANGU SAP R/3 System, Current Language
OBJECT_KEY LIKE SWR_STRUCT-OBJECT_KEY Business Object Repository object key
OBJECT_TYPE LIKE SWR_STRUCT-OBJECT_TYP Business Object Repository object type
USER TYPE SYUNAME SY-UNAME SAP System, User Logon Name

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
EVENT_ID LIKE SWR_STRUCT-EVENT_ID Event ID
RETURN_CODE LIKE SY-SUBRC Return code (0 - 3, 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
INPUT_CONTAINER LIKE SWR_CONT Input container (name-value pairs)
MESSAGE_LINES LIKE SWR_MESSAG Message Lines
MESSAGE_STRUCT LIKE SWR_MSTRUC Message Structure

Exceptions

This function module does not define any Exceptions.