SAP Reports / Programs

RSWIRROR SAP ABAP Report - Work items according to cause of error and task







RSWIRROR 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 RSWIRROR into the relevant SAP transactions such as SE38 or SE80


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 RSWIRROR. "Basic submit
SUBMIT RSWIRROR AND RETURN. "Return to original report after report execution complete
SUBMIT RSWIRROR VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Work items according to cause of error and task
Text Symbol: 001 = Errors from &1 to &2
Text Symbol: 002 = Other Errors
Text Symbol: 003 = System error
Text Symbol: 004 = Application Error
Text Symbol: 005 = Unknown cause of error
Text Symbol: 006 = Work item
Text Symbol: 007 = Error time
Text Symbol: 008 = Agent
Text Symbol: 009 = Associated workflow
Text Symbol: 010 = Error class
Text Symbol: 011 = Error cause
Text Symbol: 012 = Related task
Text Symbol: 013 = Column heading
Text Symbol: 014 = Work item ID
Text Symbol: 015 = Work item data
Text Symbol: 016 = Number of errors
Text Symbol: 017 = List Header


INCLUDES used within this REPORT RSWIRROR

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:

SWP_ADMIN_DATA_READ call function 'SWP_ADMIN_DATA_READ' importing wf_settings = wf_settings exceptions others = 1.

RH_GET_ACTIVE_WF_PLVAR call function 'RH_GET_ACTIVE_WF_PLVAR' importing act_plvar = plvar exceptions no_active_plvar = 1 others = 2.

SWW_WI_TYPE_TEXT_GET call function 'SWW_WI_TYPE_TEXT_GET' exporting language = sy-langu tables typetext = type_tab exceptions read_failed = 1 others = 2.

RS_TREE_CONSTRUCT call function 'RS_TREE_CONSTRUCT' tables nodetab = tree_tab exceptions tree_failure = 01 id_not_found = 02 wrong_relationship = 03.

RS_TREE_EXPAND call function 'RS_TREE_EXPAND' exporting all = 'X' node_id = 1 exceptions not_found = 01.

RS_TREE_COMPRESS call function 'RS_TREE_COMPRESS' exporting node_id = node_id exceptions not_found = 1 others = 2.

RS_TREE_LIST_DISPLAY call function 'RS_TREE_LIST_DISPLAY' exporting callback_program = 'RSWIRROR' callback_user_command = 'EXIT_ROUTINE' callback_color_display = 'COLOR_DISPLAY'.

RH_OBJECT_SHOW call function 'RH_OBJECT_SHOW' exporting act_plvar = ' ' act_otype = task_type act_objid = task_key exceptions no_active_plvar = 01 object_not_found = 02 other_error = 03 others = 04.

SWL_WI_DISPLAY call function 'SWL_WI_DISPLAY' exporting wi_id = wi_key * DISP_WITH_ORG_RESTRICTION = ' ' * DISP_FLOW_HEADER = ' ' * EXTENDED_DISPLAY = ' ' * MULTI_MODE = ' ' * IMPORTING * WORKITEM_MODIFIED = * MODIFIED_WORKITEM = * NEXT_FUNCTION = exceptions read_failed = 1 others = 2.

SWI_ERROR_ANALYSIS call function 'SWI_ERROR_ANALYSIS' exporting wi_id = wi_key exceptions workitem_does_not_exist = 1 workitem_not_in_error_state = 2 no_diagnostic_possible = 3 others = 4.

SWL1_WI_CHANGE call function 'SWL1_WI_CHANGE' exporting wi_id = wi_key exceptions no_authority_to_change = 1 error_in_wi_enqueue = 2 others = 3.

SWL_ADM_WI_RESTART call function 'SWL_ADM_WI_RESTART' exporting wi_id = wi_key importing return = return * CHANGING * WORKITEM = exceptions others = 0.

SWL_ADM_WI_RESTART call function 'SWL_ADM_WI_RESTART' exporting wi_id = wi_list-id importing return = return * CHANGING * WORKITEM = exceptions others = 0.

RH_READ_OBJECT call function 'RH_READ_OBJECT' exporting plvar = plvar otype = org_objtype_user realo = list-agent importing stext = list-agent_text exceptions not_found = 1 others = 2.

RH_READ_OBJECT call function 'RH_READ_OBJECT' exporting plvar = plvar otype = org_objtype_user realo = list-agent importing stext = list-agent_text exceptions not_found = 1 others = 2.



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 RSWIRROR or its description.