NETZWEB1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Example Program for Network Graphics This program shows the amount of conversion needed to convert the previous programming model into the model needed to access a control...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 NETZWEB1 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: PRF_NAME = Name
Selection Text: PRF_INDX = Index
Selection Text: PRF_GRUP = Group
Selection Text: OCX = Call as control
Title: Demonstration Program: Network Control
Text Symbol: 028 = Typ.6
Text Symbol: 033 = Node 4
Text Symbol: 032 = Node 3
Text Symbol: 031 = Node 2
Text Symbol: 030 = Node 1
Text Symbol: 029 = Typ.7
Text Symbol: 022 = No Object Selected
Text Symbol: 023 = Typ.1
Text Symbol: 024 = Typ.2
Text Symbol: 025 = Typ.3
Text Symbol: 026 = Typ.4
Text Symbol: 027 = Typ.5
Text Symbol: 005 = Node modified
Text Symbol: 004 = Edge inserted
Text Symbol: 003 = Node / link deleted
Text Symbol: 002 = Node copied
Text Symbol: 001 = Node inserted
Text Symbol: 006 = Link modified
Text Symbol: 021 = Test
Text Symbol: 010 = Graphics profile
Text Symbol: 009 = Title
Text Symbol: 008 = Positions determined
Text Symbol: 007 = Selections determined
Text Symbol: 034 = Node 5
Text Symbol: 055 = Text l
Text Symbol: 054 = Text k
Text Symbol: 053 = Text j
Text Symbol: 052 = Text i
Text Symbol: 051 = Text h
Text Symbol: 056 = Frame modified
Text Symbol: 050 = Text g
Text Symbol: 039 = Text c
Text Symbol: 038 = Text b
INCLUDE APPLG_AUTO_TEST_INIT.
INCLUDE APPLG_AUTO_TEST_FORM.
No SAP DATABASE tables are accessed within this REPORT code!
CNET_LOGIC_NETWORK CALL FUNCTION 'CNET_LOGIC_NETWORK' TABLES all_lines = all_lines_tab all_lvals = all_lvals_tab all_nodes = all_nodes_tab all_nvals = all_nvals_tab deletions = delete_tab lines = lines_tab lvals = lvals_tab nodes = net_nodes_tab nvals = nvals_tab.
CNET_GRAPHIC_PAI CALL FUNCTION 'CNET_GRAPHIC_PAI' EXPORTING control_handle = netz_ocx "für Umstellung auf OCX IMPORTING gr_mes = gr_mes gr_mode = mode gr_sel_field = sel_field TABLES boxes = boxes_tab bvals = bvals_tab clusters = clusters_tab cvals = cvals_tab deletions = delete_tab frames = frames_tab fvals = fvals_tab lines = lines_tab lvals = lvals_tab nodes = net_nodes_tab nvals = nvals_tab positions = positions_tab EXCEPTIONS inv_winid = 01.
SGRC_POPUP_TO_CHANGE_HEADER CALL FUNCTION 'SGRC_POPUP_TO_CHANGE_HEADER' EXPORTING text_imp = headertext default_text_imp = def_headertext IMPORTING text_exp = headertext.
CNET_LOGIC_NETWORK CALL FUNCTION 'CNET_LOGIC_NETWORK' EXPORTING confirm = net_const-confirm_yes lg_mes = lg_mes lg_mode = mode TABLES all_lines = all_lines_tab all_lvals = all_lvals_tab all_nodes = all_nodes_tab all_nvals = all_nvals_tab deletions = delete_tab lines = lines_tab lvals = lvals_tab nodes = net_nodes_tab nvals = nvals_tab.
CNET_FIELD_TO_INDEX_CVALS CALL FUNCTION 'CNET_FIELD_TO_INDEX_CVALS' EXPORTING cluster_type = all_clusters-type TABLES cvals = cvals.
CNET_FIELD_TO_INDEX_LVALS CALL FUNCTION 'CNET_FIELD_TO_INDEX_LVALS' EXPORTING line_type = all_lines-type TABLES lvals = lvals.
CNET_FIELD_TO_INDEX_NVALS CALL FUNCTION 'CNET_FIELD_TO_INDEX_NVALS' EXPORTING node_type = all_nodes-type TABLES nvals = nvals.
CNET_SET_LEGEND CALL FUNCTION 'CNET_SET_LEGEND' EXPORTING foot_line = foot_line head_line = head_line legend_type = net_const-type_a TABLES legend = legend.
GRAPH_SET_CUA_STATUS CALL FUNCTION 'GRAPH_SET_CUA_STATUS' EXPORTING program = prog status = 'GRAFIK' TABLES excluding = excluding_tab EXCEPTIONS inv_cua_info = 1.
CNET_MAKE_BOXES CALL FUNCTION 'CNET_MAKE_BOXES' TABLES boxes = boxes bvals = bvals.
CNET_SET_TIMEEGG_TEXT CALL FUNCTION 'CNET_SET_TIMEEGG_TEXT' EXPORTING text = time_egg_text.
CNET_SET_LABEL CALL FUNCTION 'CNET_SET_LABEL' EXPORTING id = nvals-id text = text.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = entry_act entry_to = entry_to last_page_full = space loops = line_count ok_code = save_ok-code IMPORTING entry_new = entry_new EXCEPTIONS no_entry_or_page_act = 01 no_entry_to = 02 no_ok_code_or_page_go = 03.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = entry_act entry_to = entry_to last_page_full = space loops = line_count_1 ok_code = save_ok-code IMPORTING entry_new = entry_new EXCEPTIONS no_entry_or_page_act = 01 no_entry_to = 02 no_ok_code_or_page_go = 03.
SCROLLING_IN_TABLE CALL FUNCTION 'SCROLLING_IN_TABLE' EXPORTING entry_act = entry_act entry_to = entry_to last_page_full = space loops = line_count_1 ok_code = save_ok-code IMPORTING entry_new = entry_new EXCEPTIONS no_entry_or_page_act = 01 no_entry_to = 02 no_ok_code_or_page_go = 03.
NETWORK_SET_FUNCTION_CODE CALL FUNCTION 'NETWORK_SET_FUNCTION_CODE' EXPORTING handle = netz_ocx function_code = save_ok-code IMPORTING return = retval EXCEPTIONS cntl_system_error = 1 cntl_error = 2 OTHERS = 3.
CNET_GRAPHIC_NETWORK_PBO CALL FUNCTION 'CNET_GRAPHIC_NETWORK_PBO' EXPORTING abap_cmd = abap_cmd stat = stat control_handle = netz_ocx.
CNET_GRAPHIC_NETWORK_PBO CALL FUNCTION 'CNET_GRAPHIC_NETWORK_PBO' EXPORTING abap_cmd = abap_cmd confirm = net_const-confirm_yes profile = profile stat = stat status_text = status_text control_handle = netz_ocx TABLES clusters = clusters_tab cvals = cvals_tab deletions = delete_tab inodes = inodes_tab lines = lines_tab lvals = lvals_tab nodes = net_nodes_tab nvals = nvals_tab positions = positions_tab EXCEPTIONS err_in_profile = 1 inv_profile = 2 inv_winid = 3.
CNET_GRAPHIC_PAI CALL FUNCTION 'CNET_GRAPHIC_PAI' EXPORTING control_handle = netz_ocx at_control_destroy = sgrc_const-yes.
CONTROL_DESTROY CALL FUNCTION 'CONTROL_DESTROY' CHANGING h_control = netz_ocx EXCEPTIONS OTHERS = 1.
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 NETZWEB1 or its description.
NETZWEB1 - Demonstration Program: Network Control NETZWEB1 - Demonstration Program: Network Control NETZOCX2 - Demonstration Program: Network Control with Callback Processing NETZOCX2 - Demonstration Program: Network Control with Callback Processing NETZOCX1 - Demonstration Program: Network Control NETZOCX1 - Demonstration Program: Network Control