SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Workbench Tools: Editors, Painters, Modelers(BC-DWB-TOO) SAP BC

WORKBENCH_UNIT_TEST_CLEANUP SAP ABAP Report - Program to delete objects left over from broken unit test runs







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


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


Text pool values


Title: Program to delete objects left over from broken unit test runs


INCLUDES used within this REPORT WORKBENCH_UNIT_TEST_CLEANUP

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:

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.



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