SAP Function SAP_WAPI_DISPLAY_WORKITEM - Workflow Interfaces: Display Work Item

Parameter Reference Type Length Default Optional Text
WORKITEM_ID SWR_STRUCT-WORKITEMID N 12 Work Item ID

Parameter Reference Type Length Text
RETURN_CODE SYST-SUBRC I 4 Return Code (0, 1, 999)
WORKITEM_ATTRIBUTES SWR_WIHDR u 628 Work Item Attributes

Parameter Reference Length Optional Text
MESSAGE_LINES SWR_MESSAG 274 X Message Lines
MESSAGE_STRUCT SWR_MSTRUC 224 X Message Structure

Functionality
A work item is displayed using SAPGUI, for which a (remote) functioncall with dialog is necessary.
Other operations on work items can be called from the work item display(for example, reserve or forward).
INCLUDE WF_FB_RETURN_CODE OBJECT DOKU ID TX
INCLUDE WF_FB_RETURN_CODE_0_1_999 OBJECT DOKU ID TX

Description
Work item attribute

Description
Work item identification (numerical value)

Description
The message lines contain two fields:
- MSG_TYPE: Type of message (S: success, E: error, etc.)
- LINE: This contains a textual description of what happened: in theevent of success (RETURN_CODE = 0) a success message, in the event offailure more detailed information about the errors that occurred.

Description
Table with fields Message ID, Message type, Message number and Messagevariables.