SAP Reports / Programs

NETZ_BO3 SAP ABAP Report - Demo Program: Network Graphic in Maintenance Mode (Enhanced Version)







NETZ_BO3 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Demo program for network graphics...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 NETZ_BO3 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 NETZ_BO3. "Basic submit
SUBMIT NETZ_BO3 AND RETURN. "Return to original report after report execution complete
SUBMIT NETZ_BO3 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: SEND = Send
Selection Text: PRF_NAME = Name
Selection Text: PRF_INDX = Index
Selection Text: PRF_GRUP = Group
Selection Text: CONTENTS = Document title
Title: Demo Program: Network Graphic in Maintenance Mode (Enhanced Version)
Text Symbol: 010 = Graphics profile
Text Symbol: 011 = Office
Text Symbol: 021 = Red Riding Hood
Text Symbol: 001 = Node inserted
Text Symbol: 002 = Node copied
Text Symbol: 003 = Node / link deleted
Text Symbol: 004 = Link inserted
Text Symbol: 005 = Node modified
Text Symbol: 006 = Link modified
Text Symbol: 027 = Type 5
Text Symbol: 026 = Type 4
Text Symbol: 025 = Type 3
Text Symbol: 024 = Type 2
Text Symbol: 023 = Type 1
Text Symbol: 028 = Type 6
Text Symbol: 029 = Type 7
Text Symbol: 030 = Node 1
Text Symbol: 031 = Node 2
Text Symbol: 032 = Node 3
Text Symbol: 033 = Node 4
Text Symbol: 022 = No Object Selected
Text Symbol: 009 = Title
Text Symbol: 008 = Positions determined
Text Symbol: 007 = Selections determined
Text Symbol: 034 = Node 5
Text Symbol: 056 = Frame modified
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: 040 = 6





Text Symbol: 039 = Text c
Text Symbol: 038 = Text b
Text Symbol: 037 = Text a
Text Symbol: 036 = Node 7
Text Symbol: 035 = Node 6
Text Symbol: 050 = Text g
Text Symbol: 049 = Text f
Text Symbol: 048 = Text e
Text Symbol: 043 = Frame 1
Text Symbol: 044 = Frame 2
Text Symbol: 047 = Text d


INCLUDES used within this REPORT NETZ_BO3

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:

CNET_SET_OPTIONS CALL FUNCTION 'CNET_SET_OPTIONS' EXPORTING noboxmove = net_const-yes.

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_NETWORK_PBO CALL FUNCTION 'CNET_GRAPHIC_NETWORK_PBO' EXPORTING abap_cmd = abap_cmd confirm = net_const-confirm_yes profile = profile so_contents = contents so_send = send stat = stat status_text = status_text 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 = 01 inv_profile = 02 inv_winid = 03.

GRAPH_RECEIVE CALL FUNCTION 'GRAPH_RECEIVE' IMPORTING errorcode = err_no mcode = m_typ "Messagetyp rwnid = rwnid EXCEPTIONS inv_communication = 1 no_batch = 2.

CNET_GRAPHIC_PAI CALL FUNCTION 'CNET_GRAPHIC_PAI' 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.

CNET_GRAPHIC_PAI CALL FUNCTION 'CNET_GRAPHIC_PAI' 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.



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