SAP Function SAP_WAPI_GET_DEADLINES - Workflow Interfaces: Read Work Item Deadlines

Parameter Reference Type Length Default Optional Text
LANGUAGE SYLANGU C 1 SY-LANGU X SAP System, Current Language
USER SYUNAME C 12 SY-UNAME X ABAP System, User Logon Name
WORKITEM_ID SWR_STRUCT-WORKITEMID N 12 Work Item ID

Parameter Reference Type Length Text
DESIRED_END SWR_DEADL u 40 Requested End
DESIRED_START SWR_DEADL u 40 Requested Start
LATEST_END SWR_DEADL u 40 Latest End
LATEST_START SWR_DEADL u 40 Latest Start
RETURN_CODE SYST-SUBRC I 4 Return Code (0, 1, 999)

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

Functionality
The deadline data of the work item is read and provided in the relevantexport parameters. A structure is provided for each deadline type,which provides both the internal format and the external format of thedeadline. The external date is formatted in accordance with thesettings made by the user logged on.

Description
Requested end

Description
Requested start date (template date)

Description
Latest end

Description
Latest start
INCLUDE WF_FB_RETURN_CODE OBJECT DOKU ID TX
INCLUDE WF_FB_RETURN_CODE_0_1_999 OBJECT DOKU ID TX

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