SAP Reports / Programs

RSCATDELETE SAP ABAP Report - CATT - Delete test cases







RSCATDELETE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program to deleted selected test cases...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 RSCATDELETE 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 RSCATDELETE. "Basic submit
SUBMIT RSCATDELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RSCATDELETE VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: TESTCASE = Test Case
Title: CATT - Delete test cases
Text Symbol: 825 = CATT - Delete test cases
Text Symbol: 823 = Test cases deleted
Text Symbol: 814 = References already exist in Test Organizer
Text Symbol: 813 = Test case & is already referred to
Text Symbol: 812 = Test case original in &
Text Symbol: 175 = No test case found
Text Symbol: 108 = Sort ascending
Text Symbol: 107 = Sort descending
Text Symbol: 106 = Message
Text Symbol: 105 = Title
Text Symbol: 104 = Last chnge
Text Symbol: 103 = Person resp.
Text Symbol: 102 = Dev.cl.
Text Symbol: 101 = Test
Text Symbol: 100 = Sort columns
Text Symbol: 093 = CATT - Delete test cases
Text Symbol: 092 = ?
Text Symbol: 091 = Delete selected test cases
Text Symbol: 090 = Activity canceled
Text Symbol: 080 = No deletable test case selected
Text Symbol: 079 = Specify a test case
Text Symbol: 078 = Test case & does not exist
Text Symbol: 005 = Test Case Attribs
Text Symbol: 004 = Delete
Text Symbol: 002 = Deselect All
Text Symbol: 001 = Select All


INCLUDES used within this REPORT RSCATDELETE

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:

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = dyname dynumb = dynumb translate_to_upper = 'X' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 stepl_not_found = 10 OTHERS = 11.

REPOSITORY_INFO_SYSTEM_F4 CALL FUNCTION 'REPOSITORY_INFO_SYSTEM_F4' EXPORTING * object_type = 'C' object_type = 'GT' "TL13082002 object_name = dynpfields-fieldvalue suppress_selection = ' ' variant = 'SAP&STANDARD' "TL13082002 multiple_selection = 'X' TABLES objects_selected = objects_selected EXCEPTIONS cancel = 1 wrong_type = 2 OTHERS = 3.

CAT_REF_DATA_GET CALL FUNCTION 'CAT_REF_DATA_GET' EXPORTING ablnr = t_tc2delete-tc_name * SPRAS = SY-LANGU * VARID = ' ' * PSVAR = ' ' IMPORTING * KTEXT = * OSPRA = * ATYP = * CBAU = * ABBRU = * RVON = * PRREL = * INAKT = * KONTK = * ERFAS = * AENDER = * MUSER = * SPRAK = * VARTX = * FRANGE = title = t_tc2delete-twb_title * PRIO = * TABLES * PARA = EXCEPTIONS data_not_found = 1 OTHERS = 2 .

S_TWB_A_AUTHORITY_CHECK CALL FUNCTION 'S_TWB_A_AUTHORITY_CHECK' EXPORTING iv_authority_check = 'X' iv_mode = 'M' iv_object = t_tc2delete-tc_name iv_object_type = t_tc2delete-twb_typ * IV_OBJECT_CLASS = 'SCAT' * IV_LANGUAGE = SY-LANGU * IV_SUPPRESS_CORR_CHECK = 'X' * IV_SUPPRESS_LANGUAGE_CHECK = 'X' * IMPORTING * EV_MAINTAIN_LANGUAGE = EXCEPTIONS canceled_in_corr = 1 enqueued_by_user = 2 enqueue_system_failure = 3 illegal_parameter_values = 4 locked_by_author = 5 no_modify_permission = 6 no_show_permission = 7 no_transport_permission = 8 no_run_permission = 9 permission_failure = 10 internal_error = 11 invalid_characters = 12 wrong_parameters = 13 OTHERS = 14 .

TR_TADIR_INTERFACE CALL FUNCTION 'TR_TADIR_INTERFACE' EXPORTING * WI_DELETE_TADIR_ENTRY = ' ' * WI_REMOVE_REPAIR_FLAG = ' ' * WI_SET_REPAIR_FLAG = ' ' wi_test_modus = 'X' wi_tadir_pgmid = 'R3TR' wi_tadir_object = 'SCAT' wi_tadir_obj_name = obj_name * WI_TADIR_KORRNUM = ' ' * WI_TADIR_SRCSYSTEM = ' ' * WI_TADIR_AUTHOR = ' ' * WI_TADIR_DEVCLASS = ' ' * WI_TADIR_MASTERLANG = ' ' * WI_TADIR_CPROJECT = ' ' * WI_TADIR_VERSID = ' ' * WI_REMOVE_GENFLAG = ' ' * WI_SET_GENFLAG = ' ' * WI_READ_ONLY = ' ' * IV_SET_EDTFLAG = ' ' IMPORTING new_gtadir_entry = gtadir new_tadir_entry = tadir EXCEPTIONS tadir_entry_not_existing = 1 tadir_entry_ill_type = 2 no_systemname = 3 no_systemtype = 4 original_system_conflict = 5 object_reserved_for_devclass = 6 object_exists_global = 7 object_exists_local = 8 object_is_distributed = 9 obj_specification_not_unique = 10 no_authorization_to_delete = 11 devclass_not_existing = 12 simultanious_set_remove_repair = 13 order_missing = 14 no_modification_of_head_syst = 15 pgmid_object_not_allowed = 16 masterlanguage_not_specified = 17 devclass_not_specified = 18 specify_owner_unique = 19 loc_priv_objs_no_repair = 20 gtadir_not_reached = 21 object_locked_for_order = 22 change_of_class_not_allowed = 23 no_change_from_sap_to_tmp = 24 OTHERS = 25 .

STREE_GET_STRUCT_FOR_GIVEN_REF CALL FUNCTION 'STREE_GET_STRUCT_FOR_GIVEN_REF' EXPORTING check_selected_tree_types = 'X' search_generic = 'X' TABLES i_references = l_hier_ref i_treetypes = l_treetypes e_structures = l_structures e_nodes = e_nodes e_references = e_references.

RS_CUA_EXISTENCE_CHECK CALL FUNCTION 'RS_CUA_EXISTENCE_CHECK' EXPORTING program = program IMPORTING rcode = rc_cua.

RS_CATT_MAINTAIN CALL FUNCTION 'RS_CATT_MAINTAIN' EXPORTING ablnr = tc_name teilobjekt = 'ATTR' aktion = 'SHOW' EXCEPTIONS wrong_call = 1 internal_error = 2 OTHERS = 3.

HELP_START * CALL FUNCTION 'HELP_START' * EXPORTING * help_infos = help_infos ** IMPORTING ** SELECTION = ** SELECT_VALUE = ** RSMDY_RET = * tables * dynpselect = dynpselect * dynpvaluetab = dynpvaluetab * .

RS_CATT_MAINTAIN CALL FUNCTION 'RS_CATT_MAINTAIN' EXPORTING ablnr = tc_name teilobjekt = 'ATTR' aktion = 'SHOW' EXCEPTIONS wrong_call = 1 internal_error = 2 OTHERS = 3.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING language = sy-langu message_id = sy-msgid message_number = sy-msgno message_var1 = sy-msgv1 message_var2 = sy-msgv2 message_var3 = sy-msgv3 message_var4 = sy-msgv4 IMPORTING message_text = message_text * TABLES * LONGTEXT = EXCEPTIONS message_not_found = 1 OTHERS = 2 .

POPUP_TO_CONFIRM_LOSS_OF_DATA CALL FUNCTION 'POPUP_TO_CONFIRM_LOSS_OF_DATA' EXPORTING textline1 = 'Wollen Sie die markierten Testfälle'(091) textline2 = 'wirklich löschen?'(092) titel = 'CATT - Testfälle löschen'(093) * START_COLUMN = 25 * START_ROW = 6 IMPORTING answer = answer .

TR_PRESENT_REQUESTS_SEL_POPUP CALL FUNCTION 'TR_PRESENT_REQUESTS_SEL_POPUP' EXPORTING iv_organizer_type = trwbo_wbo iv_username = sy-uname is_selection = ls_selection is_new_request_props = ls_new_request_props IMPORTING es_selected_request = ls_selected_request.

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING wi_trkorr = ls_selected_request-trkorr wi_dialog = ' ' wi_langu = sy-langu wi_sel_e070 = 'X' wi_sel_e071 = 'X' wi_sel_e071k = 'X' wi_sel_e07t = 'X' IMPORTING we_e070 = we_e070 we_e07t = we_e07t TABLES wt_e071 = l_e071 wt_e071k = l_e071k EXCEPTIONS not_exist_e070 = 1 no_authorization = 2.

CAT_EM_DELETE CALL FUNCTION 'CAT_EM_DELETE' EXPORTING ablnr = t_tc2delete-tc_name.

DOKU_DELETE_ALL CALL FUNCTION 'DOKU_DELETE_ALL' EXPORTING doku_id = 'HY' doku_object = l_docu doku_typ = ' ' generic_use = ' ' suppress_authority = 'X' suppress_enqueue = 'X' suppress_transport = ' ' * IMPORTING * VARTEXT = EXCEPTIONS * HEADER_WITHOUT_TEXT = 1 * INDEX_WITHOUT_HEADER = 2 * NO_AUTHORITY_FOR_DEVCLASS_XXXX = 3 * NO_DOCU_FOUND = 4 * OBJECT_IS_ALREADY_ENQUEUED = 5 * OBJECT_IS_ENQUEUED_BY_CORR = 6 * TECHN_ENQUEUE_PROBLEM = 7 * USER_BREAK = 8 OTHERS = 9 .

S_TWB_A_ATTRIBUTES_METHODS CALL FUNCTION 'S_TWB_A_ATTRIBUTES_METHODS' EXPORTING iv_action = 'DQ' iv_dialogue = ' ' iv_tc_name = t_tc2delete-tc_name iv_tc_type = t_tc2delete-twb_typ iv_language = sy-langu EXCEPTIONS OTHERS.

TR_MODIFY_COMM CALL FUNCTION 'TR_MODIFY_COMM' EXPORTING wi_e070 = we_e070 wi_e07t = we_e07t wi_sel_e071 = 'X' wi_sel_e071k = 'X' TABLES wt_e071 = l_e071 wt_e071k = l_e071k EXCEPTIONS OTHERS = 20.

TRINT_SPLIT_OBJECT





CALL FUNCTION 'TRINT_SPLIT_OBJECT' EXPORTING iv_obj_name = g_obj_name IMPORTING ev_prefix = g_prefix ev_stem = g_stem EXCEPTIONS invalid_prefix = 1 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 RSCATDELETE or its description.