RSWDCOR2 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 RSWDCOR2 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.
Title: WF: Repair: Correct Latest Start and Requested End
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 = l_wfdkey IMPORTING act_task = l_wftask EXCEPTIONS internal_not_found = 1 OTHERS = 2.
SWD_GET_WF_HEADER_TABLE CALL FUNCTION 'SWD_GET_WF_HEADER_TABLE' EXPORTING act_task = l_wftask act_wfdkey = l_wfdkey IMPORTING header_data = swd_header EXCEPTIONS internal_not_found = 1 invalid_object_type = 2 OTHERS = 3.
SWD_GET_WORKFLOW_DEFINITION CALL FUNCTION 'SWD_GET_WORKFLOW_DEFINITION' EXPORTING act_wfdkey = l_wfdkey act_object_ext = swd_header-task TABLES wfd_steps = lt_wfd_steps EXCEPTIONS internal_not_found = 1 OTHERS = 2.
SWD_INTERN_SET_BUFFER CALL FUNCTION 'SWD_INTERN_SET_BUFFER' TABLES wfd_steps = lt_wfd_steps.
SWD_STORE CALL FUNCTION 'SWD_STORE' EXPORTING act_task = swd_header-task act_wfdkey = l_wfdkey EXCEPTIONS internal_database_error = 1 internal_no_definition = 2 OTHERS = 3.
SWD_WF_DEFINITION_ACTIVATE CALL FUNCTION 'SWD_WF_DEFINITION_ACTIVATE' EXPORTING act_task = swd_header-task act_wfdkey = l_wfdkey.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSWDCOR2 - WF: Repair: Correct Latest Start and Requested End RSWDCOR2 - WF: Repair: Correct Latest Start and Requested End RSWDCOR1 - WF: Workflow Template: Move Texts from Source to Target Language RSWDCOR1 - WF: Workflow Template: Move Texts from Source to Target Language RSWDCOR0 - WF: Activate Workflow Definition RSWDCOR0 - WF: Activate Workflow Definition