RSWDCOR7 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 RSWDCOR7 into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: UPDATE = Write to Database
Title: WS: Remove Remains of Deleted Workflow Definition
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RH_TASK_CHANGE CALL FUNCTION 'RH_TASK_CHANGE' EXPORTING act_otype = l_otype act_objid = l_objid EXCEPTIONS no_active_plvar = 1 task_not_found = 2 task_type_not_valid = 3 OTHERS = 4.
SWD_GET_TASK_OUT_OF_WF_VERSION CALL FUNCTION 'SWD_GET_TASK_OUT_OF_WF_VERSION' EXPORTING act_wfdkey = swdsheader-wfdkey IMPORTING act_task = l_task1 EXCEPTIONS internal_not_found = 1 OTHERS = 2.
SWD_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'SWD_CHECK_ORG_OBJECT_EXISTS' CHANGING act_object_ext = l_task1 EXCEPTIONS org_object_not_found = 1 OTHERS = 2.
SWD_DELETE CALL FUNCTION 'SWD_DELETE' EXPORTING act_task = l_task1 act_wfdkey = swdsheader-wfdkey.
SWD_GET_TASK_OUT_OF_WF_VERSION CALL FUNCTION 'SWD_GET_TASK_OUT_OF_WF_VERSION' EXPORTING act_wfdkey = swd_header-wfdkey IMPORTING act_task = l_task1 EXCEPTIONS internal_not_found = 1 OTHERS = 2.
SWD_CHECK_ORG_OBJECT_EXISTS CALL FUNCTION 'SWD_CHECK_ORG_OBJECT_EXISTS' CHANGING act_object_ext = l_task1 EXCEPTIONS org_object_not_found = 1 OTHERS = 2.
SWD_DELETE CALL FUNCTION 'SWD_DELETE' EXPORTING act_task = l_task1 act_wfdkey = swd_header-wfdkey.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSWDCOR7 - WS: Remove Remains of Deleted Workflow Definition RSWDCOR7 - WS: Remove Remains of Deleted Workflow Definition RSWDCOR6 - Eliminates Upgrade Inconsistencies RSWDCOR6 - Eliminates Upgrade Inconsistencies RSWDCOR5 - WS: Reference Date/Time to Expressions Deleted After Upgrade RSWDCOR5 - WS: Reference Date/Time to Expressions Deleted After Upgrade