Menu

SAP Function Module SAP_WAPI_COUNT_WORKITEMS

Workflow Interfaces: Number of Work Items for User

The Function Module SAP_WAPI_COUNT_WORKITEMS (Workflow Interfaces: Number of Work Items for User) is a standard Function Module in SAP ERP and is part of the function group SWRC within the package SWR.

Technical Information

Function Module SAP_WAPI_COUNT_WORKITEMS
Short Text Workflow Interfaces: Number of Work Items for User
Function Group SWRC
Package SWR
Module Type Remote-Enabled

Importing Parameters

These are the IMPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
DETAIL_LEVEL LIKE SWR_STRUCT-DETAILLV '0' Detail Level (0, 1, 2)
LANGUAGE TYPE SYLANGU SY-LANGU SAP R/3 System, Current Language
REFRESH_INTERVAL LIKE SWR_STRUCT-REFRESH 600 Refresh Interval (in Seconds)
USER LIKE SY-UNAME SY-UNAME User

Exporting Parameters

These are the EXPORTING parameters of this function module.

Parameter Name Type Associated Type Default Value Short Text
RETURN_CODE LIKE SY-SUBRC Return Code (0, 1, 2, 3, 999)
WI_COUNT LIKE SWR_WIPTS-WI_COUNT Number of Work Items in Inbox

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
MESSAGE_LINES LIKE SWR_MESSAG Message Lines
MESSAGE_STRUCT LIKE SWR_MSTRUC Message Structure
TASK_FILTER_TABLE LIKE SWR_TSKFLT Filter Table
WORKITEMS_PER_TASK LIKE SWR_WIPTS Number of Work Items per Task

Exceptions

This function module does not define any Exceptions.