Menu

SAP Function Module SAP_WAPI_CREATE_EVENT

Workflow interfaces: Create event

Recommended Now

All-new Echo Dot Smart speaker with Alexa

This bundle includes Echo Dot (3rd Gen) Charcoal and Philips Hue White A19 Medium Lumen Smart Bulb, 1100 Lumens. Built in Smart Home hub. Ask Alexa to control Zigbee-compatible devices. No additional Philips Hue hub required. Two choices for easy smart lighting - Start setting the mood with Hue Smart bulbs and your Echo device, supporting up to 5 Hue Bluetooth & Zigbee smart bulbs. Add the Hue Hub for whole-home smart lighting (up to 50 light points) and bonus features.

Check it out on amazon.com →

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.