SAP Reports / Programs

RSWINTRO SAP ABAP Report - Access to Work Item Analysis (SWI2)







RSWINTRO is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RSWINTRO into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

SWI2_FREQ - Work Items per Task
SWI2_DURA - Work Items by Processing Duration
SWI2_DIAG - Diagnosis of Workflows with Errors
SWI2_DEAD - Work Items with Monitored Deadlines
SWI2_ADM2 - Work Items with Deleted Users
SWI2_ADM1 - Work Items Without Agents


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RSWINTRO. "Basic submit
SUBMIT RSWINTRO AND RETURN. "Return to original report after report execution complete
SUBMIT RSWINTRO VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: YEAR = Last year
Selection Text: WEEK = Last week
Selection Text: TODAY = Today
Selection Text: TASKGROU = Task group
Selection Text: TASK = Task
Selection Text: NO_USER = Orphaned Only
Selection Text: MONTH = Last month
Selection Text: LOWDAY = From
Selection Text: INTERVAL = Interval
Selection Text: HIGHDAY = To
Selection Text: FUNCAREA = Application Component
Selection Text: FLOW = (Sub-)Workflow
Selection Text: DIALOG = Dialog step
Selection Text: DAY = on
Selection Text: BNAME = User
Selection Text: BATCH = Background step
Selection Text: ANYDAY = Time
Title: Access to Work Item Analysis (SWI2)
Text Symbol: 041 = ID
Text Symbol: 040 = Type
Text Symbol: 030 = Selected Processors
Text Symbol: 020 = Block
Text Symbol: 019 = Task group (TG)
Text Symbol: 018 = Background
Text Symbol: 017 = (Sub-)Workflow
Text Symbol: 016 = Dialog
Text Symbol: 015 = Work item type
Text Symbol: 014 = To
Text Symbol: 013 = From
Text Symbol: 012 = on
Text Symbol: 011 = Interval
Text Symbol: 010 = Time
Text Symbol: 009 = Last 365 days
Text Symbol: 008 = Last 30 days
Text Symbol: 007 = Last 7 days
Text Symbol: 006 = Today
Text Symbol: 005 = Application Component
Text Symbol: 004 = Task group (T)





Text Symbol: 003 = Task
Text Symbol: 002 = Task filter
Text Symbol: 001 = Monitoring period


INCLUDES used within this REPORT RSWINTRO

INCLUDE: RSWUINCL.


TABLES used within REPORT and the associated SELECT statement:

No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

RH_SEARCH_TASK CALL FUNCTION 'RH_SEARCH_TASK' IMPORTING act_object_ext = task EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 no_valid_task_type = 3 OTHERS = 4.

RH_SEARCH_TASK CALL FUNCTION 'RH_SEARCH_TASK' EXPORTING act_otype = 'T' IMPORTING act_object_ext = taskgrou EXCEPTIONS no_active_plvar = 1 no_org_object_selected = 2 no_valid_task_type = 3 OTHERS = 4.

RH_WF_OBJID_UNPACK CALL FUNCTION 'RH_WF_OBJID_UNPACK' EXPORTING act_object_ext = task IMPORTING act_object_ext = task.

RH_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_ORG_OBJECT_EXISTS' EXPORTING act_object_ext = task IMPORTING act_stext = task_text EXCEPTIONS no_active_plvar = 01 no_org_object = 02 org_object_not_found = 03.

RH_WF_OBJID_UNPACK CALL FUNCTION 'RH_WF_OBJID_UNPACK' EXPORTING act_object_ext = taskgrou IMPORTING act_object_ext = taskgrou.

RH_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'RH_CHECK_ORG_OBJECT_EXISTS' EXPORTING act_object_ext = taskgrou IMPORTING act_stext = task_text EXCEPTIONS no_active_plvar = 01 no_org_object = 02 org_object_not_found = 03.

SWI_GET_RELATED_TASKS CALL FUNCTION 'SWI_GET_RELATED_TASKS' EXPORTING task_id = taskgrou TABLES task_list = task_list EXCEPTIONS not_found = 1 no_active_plvar = 2 OTHERS = 3.

SWD_TASK_GROUPS_GET CALL FUNCTION 'SWD_TASK_GROUPS_GET' EXPORTING object = lv_object TABLES task_list = lt_task_list EXCEPTIONS not_found = 1 OTHERS = 2.

SWD_FCT_TASKS_GET CALL FUNCTION 'SWD_FCT_TASKS_GET' EXPORTING fct_range = lv_fct_range TABLES task_list = lt_task_list EXCEPTIONS not_found = 1 OTHERS = 2.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SWI2_FREQ' TABLES p_exclude = p_exclude EXCEPTIONS OTHERS = 1.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SWI2_DURA' TABLES p_exclude = p_exclude EXCEPTIONS OTHERS = 1.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SWI2_DEAD' TABLES p_exclude = p_exclude EXCEPTIONS OTHERS = 1.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SWI2_ADM1' TABLES p_exclude = p_exclude EXCEPTIONS OTHERS = 1.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SWI2_ADM2' TABLES p_exclude = p_exclude EXCEPTIONS OTHERS = 1.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = 'SWI2_ADM1' TABLES p_exclude = p_exclude EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RSWINTRO or its description.