WORKBENCH_UNIT_TEST_CLEANUP 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 WORKBENCH_UNIT_TEST_CLEANUP 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: Program to delete objects left over from broken unit test runs
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
TR_TADIR_INTERFACE call function 'TR_TADIR_INTERFACE' exporting wi_test_modus = abap_false wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'ENHO' wi_tadir_obj_name = l_tadir_name wi_tadir_devclass = '$TMP' wi_set_genflag = abap_true exceptions others = 25.
FUNCTION_INCLUDE_SPLIT call function 'FUNCTION_INCLUDE_SPLIT' exporting program = main_prog importing namespace = namespace group = group exceptions others = 1.
SEO_CLASS_DELETE_COMPLETE call function 'SEO_CLASS_DELETE_COMPLETE' exporting clskey = class_key authority_check = abap_false suppress_corr = abap_true exceptions not_existing = 0 others = 6.
SEO_INTERFACE_DELETE_COMPLETE call function 'SEO_INTERFACE_DELETE_COMPLETE' exporting intkey = interface_key authority_check = abap_false suppress_corr = abap_true exceptions not_existing = 0 others = 6.
RS_DELETE_PROGRAM call function 'RS_DELETE_PROGRAM' exporting program = report_name suppress_checks = ' ' "SUPPRESS_CHECKS suppress_commit = ' ' "SUPPRESS_COMMIT suppress_popup = 'X' "SUPPRESS_POPUP with_cua = 'X' "WITH_CUA with_documentation = 'X' "WITH_DOCUMENTATION with_dynpro = 'X' "WITH_DYNPRO with_includes = 'X' "WITH_INCLUDES with_textpool = 'X' "WITH_TEXTPOOL skip_progress_ind = 'X' "SKIP_PROGRESS_IND exceptions object_not_found = 0 others = 5.
FUNCTION_INCLUDE_SPLIT call function 'FUNCTION_INCLUDE_SPLIT' exporting complete_area = fugr_name importing namespace = l_namespace group = l_area exceptions others = 6.
RS_FUNCTION_POOL_DELETE call function 'RS_FUNCTION_POOL_DELETE' exporting area = fugr_name with_korr = ' ' suppress_popups = 'X' skip_progress_ind = 'X' exceptions others = 10.
RS_TREE_OBJECT_PLACEMENT call function 'RS_TREE_OBJECT_PLACEMENT' exporting object = fugr_name operation = 'DELETE' program = wa_pool_frame type = 'OF'. " defined in SAPMSEU4
FUNCTION_DELETE call function 'FUNCTION_DELETE' exporting funcname = func_name suppress_success_message = 'X' exceptions others = 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.
WORKBENCH_UNIT_TEST_CLEANUP - Program to delete objects left over from broken unit test runs WORKBENCH_UNIT_TEST_CLEANUP - Program to delete objects left over from broken unit test runs WORKBENCH_LTR_UI - Start of Scenario Workbench WORKBENCH_LTR_UI - Start of Scenario Workbench WOM_CALL_MB5T - Program WOM_CALL_MB5T WOM_CALL_MB5T - Program WOM_CALL_MB5T