SAP Reports / Programs

RSWUODEL SAP ABAP Report - Deletion Report for Workflow Documents







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

SWUO_DEL - Deletion Report for Workflow Docs


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 RSWUODEL. "Basic submit
SUBMIT RSWUODEL AND RETURN. "Return to original report after report execution complete
SUBMIT RSWUODEL 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: P_CK_INS = Only for Deleted Workflows
Selection Text: P_MAXSEL = Max. number of logical objects
Selection Text: P_SHWDOC = Documents (runtime)
Selection Text: P_SHWTPL = Doc. templates (definition)
Selection Text: P_USER = User name
Selection Text: P_WF_ID = Workflow Definition Number
Selection Text: P_WF_INS = Workflow instance number
Title: Deletion Report for Workflow Documents
Text Symbol: 001 = Delete
Text Symbol: 002 = Selection parameter
Text Symbol: 005 = Deletion report
Text Symbol: 104 =
Text Symbol: C01 = Workflow instance number
Text Symbol: C02 = Instance
Text Symbol: D01 = Confirm execution
Text Symbol: D02 = Do you really want to delete all selected documents?


INCLUDES used within this REPORT RSWUODEL

No INCLUDES are used within this REPORT code!


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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING I_SAVE = G_SAVE CHANGING CS_VARIANT = G_VARIANT EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_STRUCTURE_NAME = C_TABNAME IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT[] IS_VARIANT = G_VARIANT IT_EVENTS = GT_EVENTS[] TABLES T_OUTTAB = GT_ITEMS EXCEPTIONS OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_INTERNAL_TABNAME = C_TABNAME I_STRUCTURE_NAME = C_STRUCNAME CHANGING CT_FIELDCAT = P_GT_FIELDCAT[].

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = P_GT_EVENTS.

SDOK_LOIO_FIND_BY_QUERY CALL FUNCTION 'SDOK_LOIO_FIND_BY_QUERY' EXPORTING OBJECT_CLASS = G_LOIO_CLASS TABLES QUERY = LT_QUERY[] RESULT = LT_LOIO[] EXCEPTIONS BAD_CLASS = 1 BAD_QUERY = 2 NOT_AUTHORIZED = 3 OTHERS = 4.

SWUO_GET_PROPERTIES_API CALL FUNCTION 'SWUO_GET_PROPERTIES_API' EXPORTING LOIO_ID = lt_loio IMPORTING PROPERTIES = ls_propty EXCEPTIONS LOAD_FAILED = 1 OTHERS = 99.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = text-d01 TEXT_QUESTION = text-d02 DEFAULT_BUTTON = '2' DISPLAY_CANCEL_BUTTON = ' ' IMPORTING ANSWER = l_answer EXCEPTIONS OTHERS = 0.

SWUO_DELETE_TEMPLATE_API CALL FUNCTION 'SWUO_DELETE_TEMPLATE_API' EXPORTING OBJECT_ID = l_object PROMPT_USER = ' ' EXCEPTIONS OTHERS = 99.

SWUO_DELETE_DOCUMENT_API CALL FUNCTION 'SWUO_DELETE_DOCUMENT_API' EXPORTING OBJECT_ID = l_object PROMPT_USER = ' ' EXCEPTIONS OTHERS = 99.

SWUO_DISPLAY CALL FUNCTION 'SWUO_DISPLAY' EXPORTING LOIO = LOIO PHIO = PHIO APPL_NAME = Text-005 EXCEPTIONS OTHERS = 0.

SDOK_IOS_COMMFILE_BUILD CALL FUNCTION 'SDOK_IOS_COMMFILE_BUILD' TABLES object_list = lt_object COMMFILE_ENTRIES = lt_commFile BAD_OBJECTS = lt_error.

TR_OBJECTS_CHECK CALL FUNCTION 'TR_OBJECTS_CHECK' TABLES wt_ko200 = lt_commFile EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 3.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' TABLES wt_ko200 = lt_commFile EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 OTHERS = 3.



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