Menu

SAP Function Module SWZ_AI_CREATE

Unsere Literaturempfehlung

SAP – Der technische Einstieg: SAP-Technologien und Konzepte

Sind Sie neu in der SAP-Welt und möchten schnell mitreden? Mit diesem Buch finden Sie sich erfolgreich im SAP-Umfeld zurecht! Sie steigen direkt in die Konzepte und Technologien der SAP-Software ein und lernen die unterschiedlichen Systeme und Prozesse kennen. Schritt für Schritt zeigen die Autoren Ihnen die wichtigsten technischen Aufgaben und die Zusammenhänge zwischen den Objekten. Dank der vielen Beispiele und Abbildungen finden Sie sich schnell im SAP-Umfeld zurecht und können direkt in SAP ERP oder SAP S/4HANA anfangen.

Bei amazon.de ansehen →

The Function Module SWZ_AI_CREATE () is a standard Function Module in SAP ERP and is part of the function group SWZA within the package SWZ.

Technical Information

Function Module SWZ_AI_CREATE
Short Text
Function Group SWZA
Package SWZ
Module Type Normal Module

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
APPLICATION LIKE SWZAI-APPL SPACE Application which created the WQ
APPLICATION_EXEC_FUNCTION LIKE SWZAI-APPLEXFUNC SPACE
CALLBACK_FB LIKE SWWWIHEAD-WI_CBFB SPACE FM for confirming completed WQ
CREATE_EVENT LIKE SWWCOMMIT-EVENTFLAG 'X' Flag for triggering event 'CREATED'
CREATOR LIKE SWWWIHEAD-WI_CREATOR Work queue creator
DEF_TASK LIKE SWZAI-DEF_TASK SPACE Default task overwrites all line tasks
DO_COMMIT LIKE SWWCOMMIT-COMMITFLAG 'X' Flag for controlling commit logic
KEEP_INITIAL_AGENTS TYPE XFELD Feld zum Ankreuzen
LANGUAGE LIKE SWWWIHEAD-WI_LANG SY-LANGU Language of WQ (for reading texts)
OBJECT_TYPE LIKE SWOTOBJID-OBJTYPE 'ARCHLISTWI' Object type of WQ in object repository
PRIORITY LIKE SWWWIHEAD-WI_PRIO SWFCO_NO_PRIO Work queue priority
RELEASED LIKE SWZAI-RELEASED SPACE Immediate execution without explicit release
TEXT LIKE SWWWIHEAD-WI_TEXT SPACE Short text for the work item

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
WI_HEADER LIKE SWWWIHEAD Header data of WQ created
WI_ID LIKE SWWWIHEAD-WI_ID ID of WQ created

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
AGENTS LIKE SWHACTOR Agents for releasing work queue
OBJECT_LIST LIKE SWZAIELEM Container with lines to be copied to WQ
WI_CONTAINER LIKE SWCONT Data container of WQ

Exceptions

These are the Exceptions of this function module.

Exception Name Short Text
ID_NOT_CREATED Work queue ID cannot be created
ID_NOT_EXECUTED Immediate execution not possible
READ_FAILED Higher-level deadlines cannot be read