SAP ABAP Reports

Share |

SHI01TWBGEN_OLD SAP Report - Hierarchy Tool: Test Plan Generation in Background

SHI01TWBGEN_OLD is a standard ABAP report available within your SAP system (depending on your version and release level). Below is the standard documentation available for this report and a few details of other objects it interacts with such as tables, function modules, includes etc. If you would like to see the full code listing simply enter the object name( SHI01TWBGEN_OLD ) into the relevant SAP transaction such as SE38 or SE80

Within the comments section below there is also an opportunity for anyone to be able add useful hints and information specific to this SAP object. This means that you and other users will be able to find these details quickly by simply searching on the object name.


TRANSACTION CODE: N/A

Includes used within report:

No INCLUDES are used within this report code!


Tables used within report and the associated select statement:

TTREE_GEN select single * from ttree_gen into ttree_gen_wa where id = p_tpl_id and extension = '' and counter = 0 and param_id = 'GEN_STATUS'.

TTREE_GEN select single * from ttree_gen into ttree_gen_wa where id = p_tpl_id and extension = '' and counter = 0 and param_id = 'GEN_STATUS' and param_val = 'ACTIVE'.

TTREE_FLNK select * from ttree_flnk into table it_ttree_flnk where id = p_tpl_id.

TTREE select single type from ttree into reftree_type where id = struct_nodes-tree_id.

TTREE_APPL select id from ttree_appl into read_filter_id up to 1 rows where param_id = 'OCCNODE' and param_val = struct_nodes-node_id.

LINK * Delete deselected nodes from link table loop at it_ttree_flnk_new.

TTREE select single type from ttree into tree_type where id = p_gl_id.


Function Modules used within report and the associated call statement:

STREE_BUFFER_BYPASS_FLAG_SET call function 'STREE_BUFFER_BYPASS_FLAG_SET' exporting read_references_from_db = true.

DB_COMMIT call function 'DB_COMMIT'.

STREE_STRUCTURE_ENQUEUE call function 'STREE_STRUCTURE_ENQUEUE' exporting id = p_tpl_id importing message = message.

STREE_STRUCTURE_READ call function 'STREE_STRUCTURE_READ' exporting structure_id = read_tree_id tables description = descriptions active_nodes = it_active_nodes extension_sequence = extension_sequence.

STREE_STRUCTURE_READ_N_TOP_LEV call function 'STREE_STRUCTURE_READ_N_TOP_LEV' exporting structure_id = p_sgl_id read_all_levels = ' ' read_n_levels = '2' tables structure_table = struct_nodes user_parameters = user_parameters.

STREE_STRUCTURE_EXIST call function 'STREE_STRUCTURE_EXIST' exporting structure_id = struct_nodes-reftree_id do_not_read_devclass = 'X' importing structure_header = ref_struc_header.

STREE_STRUCTURE_READ_N_LEVEL call function 'STREE_STRUCTURE_READ_N_LEVEL' exporting structure_id = read_tree_id filter_id = read_filter_id top_node = top_node_wa top_level = top_level read_all_levels = ' ' read_n_levels = '1' tables structure_table = insert_structure user_parameters = user_parameters.

STREE_GET_PARAMETER_VALUES call function 'STREE_GET_PARAMETER_VALUES' exporting structure_id = param_struct_id tables parameter_values = param_values.

SO_EXPRESS_FLAG_SET call function 'SO_EXPRESS_FLAG_SET' exporting text_info = exp_mess popup_title = exp_title tables rec_tab = receivers exceptions no_receiver_exist = 1 office_name_error = 2 others = 3.

STREE_NODE_READ call function 'STREE_NODE_READ' exporting structure_id = struct_nodes-reftree_id node_id = struct_nodes-refnode_id importing node_info = node_info tables node_references = insert_refs.

BM_STRUCTURE_CONSTRUCT call function 'BM_STRUCTURE_CONSTRUCT' tables struct_nodes = struct_nodes.

STREE_HIERARCHY_SAVE call function 'STREE_HIERARCHY_SAVE' exporting structure_id = p_tpl_id structure_type = 'TWB2' structure_top_node = top_node structure_description = p_gl_des structure_masterlanguage = p_gl_lan structure_responsible = sy-uname transport_order = transp_order development_class = dev_class tables list_of_nodes = struct_nodes list_of_references = struct_refs list_of_texts = struct_texts exceptions no_nodes_given = 1 others = 2.

STREE_UPDATE_PARAMETER_VALUES call function 'STREE_UPDATE_PARAMETER_VALUES' exporting structure_id = p_tpl_id tables parameter_values = param_values.

STREE_STRUCTURE_SAVE call function 'STREE_STRUCTURE_SAVE' exporting header = new_struct_header description = description transport_order = transp_order development_class = dev_class tables active_nodes = it_active_nodes extension_sequence = extension_sequence.

STREE_STRUCTURE_DEQUEUE call function 'STREE_STRUCTURE_DEQUEUE' exporting id = p_tpl_id.

SO_EXPRESS_FLAG_SET call function 'SO_EXPRESS_FLAG_SET' exporting text_info = exp_mess popup_title = exp_title tables rec_tab = receivers exceptions no_receiver_exist = 1 office_name_error = 2 others = 3.

STREE_GET_UNIQUE_ID call function 'STREE_GET_UNIQUE_ID' importing unique_id = unique_id.

STREE_STRUCTURE_READ_REFERENCE call function 'STREE_STRUCTURE_READ_REFERENCE' exporting structure_id = read_tree_id tables list_of_nodes = insert_struct list_of_references = insert_refs.

BM_STRUCTURE_CONSTRUCT call function 'BM_STRUCTURE_CONSTRUCT' tables struct_nodes = struct_table.

STREE_STRUCTURE_EXIST call function 'STREE_STRUCTURE_EXIST' exporting structure_id = insert_id do_not_read_devclass = 'X' importing structure_header = insert_header.

STREE_NODE_READ call function 'STREE_NODE_READ' exporting structure_id = struct_nodes_old-tree_id node_id = struct_nodes_old-node_id importing node_text = struct_texts.

STREE_STRUCTURE_READ_REFERENCE call function 'STREE_STRUCTURE_READ_REFERENCE' exporting structure_id = struct_nodes_old-tree_id tables list_of_nodes = export_nodes list_of_references = insert_ref_new.

STREE_STRUCTURE_READ_TEXTS call function 'STREE_STRUCTURE_READ_TEXTS' exporting structure_id = tree_id_wa language = p_gl_lan tables list_of_nodes = it_nodes list_of_texts = it_texts list_of_references = it_refs user_parameters = user_parameters.


Text pool values


Selection Text: P_GLFILT = Original Filter ID
Selection Text: P_BACKGR = Background Processing
Selection Text: P_APPL = Application
Selection Text: P_ALL = Read All Substructures
Selection Text: P_GL_DES = D Explanatory Text
Selection Text: VIA_SUBM = Call by SUBMIT
Selection Text: P_TPL_ID = Test Plan ID
Selection Text: P_SGL_ID = Filter Structure ID
Selection Text: P_OPTION = Filter & Gen./Generate Only
Selection Text: P_MODE = Action Mode
Selection Text: P_GL_LAN = D Language Key
Selection Text: P_GL_ID = Original Structure ID
Title: Hierarchy Tool: Test Plan Generation in Background
Text Symbol: 001 = Selection to Filter/Generate Test Plans
Text Symbol: 002 = Test Plan Generatn






Share |