SAPWFPR3 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 SAPWFPR3 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: F_DELETE = Delete immediately
Selection Text: F_IGN_ST = Ignore state stack
Selection Text: F_MRK_ON = Flag as deleted only
Selection Text: LDATE = Last change: date
Selection Text: PRCTP = Process type
Selection Text: STATE = State
Title: Workflow: Reorganization Report For Processes
Text Symbol: 002 = Deleted
Text Symbol: 100 = The process type
Text Symbol: 101 = is not intended for automatic reorganization
Text Symbol: 102 = Reorg.date:
Text Symbol: 110 = You are not authorized to delete
INCLUDE RSWFCPRC.
INCLUDE RSWFCACT.
No SAP DATABASE tables are accessed within this REPORT code!
WF_DYNP_PROCESS_EDIT CALL FUNCTION 'WF_DYNP_PROCESS_EDIT' EXPORTING PROCESS_ID = WFPRCK IMPORTING EXIT_FCODE = SY-UCOMM EXCEPTIONS * COMPONENT_NOT_AVAILABLE = 01 * FOREIGN_LOCK = 02 * PROCESS_NOT_EXIST = 03 * PROCESS_NO_AUTHORIZATION = 04 * SYSTEM_INVALID = 05 * USER_NOT_EXIST = 06.
GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = TABNAME LANGU = SY-LANGU TABLES FIELDTAB = DD03P_TAB EXCEPTIONS NO_TEXTS_FOUND = 2.
GET_FIELDTAB CALL FUNCTION 'GET_FIELDTAB' EXPORTING TABNAME = TABNAME LANGU = SY-LANGU TABLES FIELDTAB = DD03P_TAB EXCEPTIONS NO_TEXTS_FOUND = 2.
WF_PROCESS_DELETE CALL FUNCTION 'WF_PROCESS_DELETE' EXPORTING F_IGNORE_STATE = F_IGN_ST F_MARK_DELETED_ONLY = F_MRK_ON PROCESS_ID = WFPRCK WITH_COMMIT = ON EXCEPTIONS OTHERS = 01.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPWFPR3 - Workflow: Reorganization Report For Processes SAPWFPR3 - Workflow: Reorganization Report For Processes SAPWFPR2 - Workflow: Selection Program For Processes SAPWFPR2 - Workflow: Selection Program For Processes SAPWFPR1 - Start WF Process in the Background SAPWFPR1 - Start WF Process in the Background