The Function Module SAP_WAPI_SET_ERROR () is a standard Function Module in SAP ERP and is part of the function group SWRR within the package SWR.
Function Module | SAP_WAPI_SET_ERROR |
Short Text | |
Function Group | SWRR |
Package | SWR |
Module Type | Remote-Enabled |
These are the IMPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
DO_COMMIT | TYPE | XFELD | 'X' | Execute Commit |
LANGUAGE | TYPE | SYLANGU | SY-LANGU | SAP R/3 System, Current Language |
MESSAGE | TYPE | SWR_MSTRUC | ||
MESSAGE_TEXT | TYPE | SWR_MSGTXT | Workflow Interfaces: Message Text | |
USER | TYPE | SYUNAME | SY-UNAME | SAP System, User Logon Name |
WORKITEM_ID | LIKE | SWR_STRUCT-WORKITEMID | Work Item ID |
These are the EXPORTING parameters of this function module.
Parameter Name | Type | Associated Type | Default Value | Short Text |
---|---|---|---|---|
NEW_STATUS | TYPE | SWR_WISTAT | Workflow interfaces: Work item status | |
RETURN_CODE | LIKE | SY-SUBRC | Return Value (0 - 2) |
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 |
---|---|---|---|---|
MESSAGE_LINES | LIKE | SWR_MESSAG | Message Lines | |
MESSAGE_STRUCT | LIKE | SWR_MSTRUC | Message Structure |
This function module does not define any Exceptions.