KPEP_ARCHIVE_WF_DATA 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 KPEP_ARCHIVE_WF_DATA 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: DATFROM = From Date
Selection Text: DATTO = To Date
Selection Text: PROFILE = Task List
Selection Text: TESTRUN = Test Run
Title: Reset Data Written by Scheduler
Text Symbol: 001 = Nothing was deleted
Text Symbol: 002 = None of the task lists selected had the status "Created" or "Completed"
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
SELECT_OPTIONS_RESTRICT CALL FUNCTION 'SELECT_OPTIONS_RESTRICT' EXPORTING RESTRICTION = LT_RESTRICT * DB = ' ' EXCEPTIONS TOO_LATE = 1 REPEATED = 2 * NOT_DURING_SUBMIT = 3 * DB_CALL_AFTER_REPORT_CALL = 4 SELOPT_WITHOUT_OPTIONS = 5 SELOPT_WITHOUT_SIGNS = 6 INVALID_SIGN = 7 * REPORT_CALL_AFTER_DB_ERROR = 8 EMPTY_OPTION_LIST = 9 INVALID_KIND = 10 REPEATED_KIND_A = 11 OTHERS = 12.
KPEP_ARCHIVE_WF_DATA CALL FUNCTION 'KPEP_ARCHIVE_WF_DATA' EXPORTING I_TESTRUN = testrun I_NO_MESSAGES = ' ' TABLES LT_SEL_TREE = lt_sel_tree LT_SEL_TREED = lt_sel_treed.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.