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.
Function Module | SWZ_AI_CREATE |
Short Text | |
Function Group | SWZA |
Package | SWZ |
Module Type | Normal Module |
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 |
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 |
This function module does not define any CHANGING 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 |
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 |