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

RSWDCOR2 SAP ABAP Report - WF: Repair: Correct Latest Start and Requested End







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


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


Text pool values


Title: WF: Repair: Correct Latest Start and Requested End


INCLUDES used within this REPORT RSWDCOR2

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:

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.



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