SAP Reports / Programs | Basis Components | Business Management | SAP Business Workflow(BC-BMT-WFM) SAP BC

RSWWWIDE SAP ABAP Report - WIM (public): Delete Work Item







RSWWWIDE 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 RSWWWIDE 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

SWWL - WIM: Delete Work Item


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 RSWWWIDE. "Basic submit
SUBMIT RSWWWIDE AND RETURN. "Return to original report after report execution complete
SUBMIT RSWWWIDE 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: I_TOPLVL = Top-Level Work Items Only
Selection Text: I_MAXHIT = Maximum Number of Hits
Selection Text: I_DISPLY = Delete immediately
Selection Text: I_DELLOG = Delete log data as well
Selection Text: I_COMMIT = Number of work items per LUW
Selection Text: IT_TYPE = Type
Selection Text: IT_TASK = Task
Selection Text: IT_STAT = Status
Selection Text: IT_IUSER = Recipients
Selection Text: IT_ID = ID
Selection Text: IT_CT = Creation time
Selection Text: IT_CD = Creation date
Selection Text: IT_AED = End Date
Selection Text: IT_AAGNT = Agent
Title: WIM (public): Delete Work Item
Text Symbol: 021 = None
Text Symbol: 020 = Work Items to Be Deleted (&1 Entries)
Text Symbol: 019 = Additional Selection Criteria
Text Symbol: 018 = Deleted
Text Symbol: 017 = Deletion error
Text Symbol: 016 = Technical settings
Text Symbol: 014 = Work item physically deleted
Text Symbol: 013 = Agent
Text Symbol: 010 = Task
Text Symbol: 009 = Creation time
Text Symbol: 008 = Creation date
Text Symbol: 007 = Status
Text Symbol: 006 = Text
Text Symbol: 005 = Type
Text Symbol: 004 = ID
Text Symbol: 003 = Radio button
Text Symbol: 001 = Work item


INCLUDES used within this REPORT RSWWWIDE

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:

SWU_F4_FOR_TASKS CALL FUNCTION 'SWU_F4_FOR_TASKS' EXPORTING i_program = 'RSWWWIDE' i_dynpro = '1000' i_dynpro_field = 'IT_TASK-LOW' i_task_type_ts = cross i_task_type_ws = cross i_task_type_t = cross i_task_type_wf = cross i_task_type_tg = space.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = textline1 textline2 = textline2 titel = ' ' start_column = 35 start_row = 6 IMPORTING answer = answer.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RSWWWIDE' i_callback_pf_status_set = 'SET_STATUS' i_callback_user_command = 'USER_COMMAND' * i_buffer_active = 'X' i_structure_name = 'GT_WI_HEADER' * i_grid_title = i_grid_title is_layout = g_layout it_fieldcat = gt_field_catalogue[] it_events = gt_events[] i_save = 'A' TABLES t_outtab = gt_wi_header[] EXCEPTIONS OTHERS = 99.

SWW_WI_DELETE CALL FUNCTION 'SWW_WI_DELETE' EXPORTING wi_id = p_wi-wi_id do_commit = l_do_commit delete_log = p_dellog IMPORTING delete_count = p_del_count EXCEPTIONS update_failed = 01.

SWW_WI_FIND_DEPENDANT_WIS CALL FUNCTION 'SWW_WI_FIND_DEPENDANT_WIS' EXPORTING wi_id = p_wi-wi_id direct_dependants_only = ' ' TABLES dependent_wis = lt_dependant_wis.

SWL_SHOW_PROCESS_DATA CALL FUNCTION 'SWL_SHOW_PROCESS_DATA' EXPORTING wf_id = -wi_id EXCEPTIONS OTHERS = 99.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING defaultoption = 'N' textline1 = textline1 textline2 = textline2 titel = ' ' start_column = 35 start_row = 6 cancel_display = space IMPORTING answer = answer.

REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING es_layout = ls_layout EXCEPTIONS OTHERS = 1.

REUSE_ALV_GRID_LAYOUT_INFO_SET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_SET' EXPORTING is_layout = ls_layout.

SWT_TRACE_HANDLE_SET CALL FUNCTION 'SWT_TRACE_HANDLE_SET' EXPORTING handle = l_trace_handle.

SWW_WI_LOG_FLUSH CALL FUNCTION 'SWW_WI_LOG_FLUSH'.

RH_INBOX_VIEW_CREATE CALL FUNCTION 'RH_INBOX_VIEW_CREATE' EXPORTING iv_do_commit = space "--- 1555091 --- TABLES inbox_view = lt_inbox_view wi_head = lt_wi_head EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_checked text = space info = info add_stdinf = 'X' IMPORTING result = p_icon_ok EXCEPTIONS OTHERS = 0.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = icon_failure text = space info = info add_stdinf = 'X' IMPORTING result = p_icon_error EXCEPTIONS OTHERS = 0.

APPL_LOG_DISPLAY CALL FUNCTION 'APPL_LOG_DISPLAY' EXPORTING object = c_rswwwide_log_object object_attribute = 1 subobject = c_rswwwide_log_subobject subobject_attribute = 1 external_number = ' ' external_number_attribute = 0 title_list_screen = ' ' title_selection_screen = ' ' date_from = l_datefrom "#EC DOM_EQUAL date_to = sy-datum "#EC DOM_EQUAL time_to = '235959' "#EC DOM_EQUAL external_number_display_length = 20 i_variant_report = l_repid EXCEPTIONS no_authority = 01.



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