SAPWFPR2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This is a simple selection report for processes...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter SAPWFPR2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WF00 - Workflow: Choose Processes
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: STATE = State
Selection Text: PRCTP = Process type
Selection Text: PRCNR = Process number
Selection Text: OBJTYP = Link object: Object type
Selection Text: OBJKEY = Link object: Key
Selection Text: NUSERNAM = Next agent
Selection Text: LUSERNAM = Last Agent
Selection Text: LUSER = Last change: SAP name
Selection Text: LDATE = Last change: Date
Title: Workflow: Selection Program For Processes
Text Symbol: 002 = Deleted ;
Text Symbol: 001 = Description
INCLUDE RSWFCPRC.
INCLUDE RSWFCFCD.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.