RSTWB_MIGRATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program converts test catalog data from the old to the new hierarchy store (from Release 4...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 RSTWB_MIGRATE 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: ONLY_OR = Only original test catalogs
Selection Text: OUTLINE = Test catalog
Selection Text: TEST = Test
Selection Text: UPD_NO = No update
Selection Text: UPD_YES = Update
Text Symbol: 001 = Test catalog migration
Text Symbol: 002 = List of converted test catalogs
Text Symbol: 003 = Test
Text Symbol: 004 = Title
Text Symbol: 005 = Test catalog
Text Symbol: 006 = Node Text
Text Symbol: B01 = Migration
Text Symbol: INF = Migration
Text Symbol: S01 = Compare test case short texts/test catalog node texts
Text Symbol: S02 = Replace test case short texts by test catalog node texts
Text Symbol: S03 = Do not replace test case short texts
INCLUDE LS_TWB_HCON.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING popup_title = space start_column = 03 start_row = 09 text_object = 'TWB_MIGRATION_INFO_01' help_modal = 'X' EXCEPTIONS text_not_found = 1 OTHERS = 2.
DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = $repid dynumb = '1000' TABLES dynpfields = dynpfields EXCEPTIONS invalid_abapworkarea = 01 invalid_dynprofield = 02 invalid_dynproname = 03 invalid_dynpronummer = 04 invalid_request = 05 no_fielddescription = 06 undefind_error = 07.
TWB_F4_OUTLINE CALL FUNCTION 'TWB_F4_OUTLINE' EXPORTING outline = outline IMPORTING sel_outline = outline EXCEPTIONS OTHERS = 0.
TR_TADIR_INTERFACE * call function 'TR_TADIR_INTERFACE' * exporting * wi_tadir_pgmid = tadir_pgmid * wi_tadir_object = tadir_object * wi_tadir_obj_name = tadir_obj_name * wi_read_only = 'X' * importing * new_tadir_entry = tadir_entry * exceptions * others = 1.
SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING percentage = 25 text = text.
TOCX_READ_EDIT_VERSION CALL FUNCTION 'TOCX_READ_EDIT_VERSION' EXPORTING aspct = i_dsyah-aspct outline = i_dsyah-outline spras = i_dsyah-spras version = i_dsyah-version attribute = i_dsyah-attribut_1 TABLES hierarchy = old_hierarchy EXCEPTIONS missing_parameters = 1 structure_not_found = 2 text_not_found = 3 OTHERS = 4.
STREE_HIERARCHY_SAVE CALL FUNCTION 'STREE_HIERARCHY_SAVE' EXPORTING structure_id = ' ' structure_type = tree_type structure_description = structure_description language = i_dsyah-spras structure_masterlanguage = i_dsyah-spras structure_responsible = sy-uname no_transport_check = ' ' transport_order = transport_order development_class = tadir_entry-devclass IMPORTING message = message new_structure_id = new_structure_id TABLES list_of_nodes = list_of_nodes list_of_references = list_of_references list_of_texts = list_of_texts EXCEPTIONS OTHERS = 1.
STREE_EXTERNAL_TRANS_ORDER_GET CALL FUNCTION 'STREE_EXTERNAL_TRANS_ORDER_GET' EXPORTING structure_id = new_structure_id IMPORTING * MESSAGE = transport_order = transport_order.
STREE_NODE_READ CALL FUNCTION 'STREE_NODE_READ' EXPORTING structure_id = new_structure_id node_id = list_of_mod_nodes-node_id IMPORTING node_info = node_info TABLES node_references = node_references.
STREE_STRUCTURE_SAVE_NODES CALL FUNCTION 'STREE_STRUCTURE_SAVE_NODES' EXPORTING structure_id = new_structure_id IMPORTING message = message TABLES list_of_all_nodes = list_of_all_nodes insert_nodes = insert_nodes insert_references = insert_references insert_texts = insert_texts delete_nodes = delete_nodes.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING unique_id = unique_id * MESSAGE = EXCEPTIONS OTHERS = 1.
S_TWB_A_EXISTANCE_CHECK CALL FUNCTION 'S_TWB_A_EXISTANCE_CHECK' EXPORTING tc_name = tc_name IMPORTING short_info = short_info EXCEPTIONS tc_and_catt_nonexistant = 1 OTHERS = 2.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING unique_id = unique_id MESSAGE = message EXCEPTIONS OTHERS = 1.
STREE_GET_UNIQUE_ID CALL FUNCTION 'STREE_GET_UNIQUE_ID' IMPORTING unique_id = unique_id MESSAGE = message EXCEPTIONS OTHERS = 1.
CAT_PAR_CONV CALL FUNCTION 'CAT_PAR_CONV' EXPORTING ablnr = p_tc_name EXCEPTIONS data_not_found = 1 data_already_converted = 0 OTHERS = 3.
TOCX_READ_EDIT_VERSION CALL FUNCTION 'TOCX_READ_EDIT_VERSION' EXPORTING aspct = i_dsyah-aspct outline = i_dsyah-outline spras = i_dsyah-spras version = i_dsyah-version attribute = i_dsyah-attribut_1 TABLES hierarchy = old_hierarchy EXCEPTIONS missing_parameters = 1 structure_not_found = 2 text_not_found = 3 OTHERS = 4.
S_TWB_A_EXISTANCES_CHECK CALL FUNCTION 'S_TWB_A_EXISTANCES_CHECK' EXPORTING iv_names = tc_names iv_with_longtext = ' ' IMPORTING ev_textinfo = tc_text_info.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RSTWB_MIGRATE - Data Conversion for Test Catalogs RSTWB_MIGRATE - Data Conversion for Test Catalogs RSTWB_GENERATE_CATALOG - Create test catalog automatically RSTWB_GENERATE_CATALOG - Create test catalog automatically RSTWB_CLEAR_SCRAP_TNODE02R - Program RSTWB_CLEAR_SCRAP_TNODE02R RSTWB_CLEAR_SCRAP_TNODE02R - Program RSTWB_CLEAR_SCRAP_TNODE02R