CNET_GRAPHIC_HIERARCHY_PBO is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CNET_GRAPHIC_HIERARCHY_PBO into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CNET
Released Date:
16.04.1997
Processing type: Normal fucntion module
CALL FUNCTION 'CNET_GRAPHIC_HIERARCHY_PBO' "Start the hierarchy graphics at PBO time
* EXPORTING
* abap_cmd = SPACE " net_graph-abap_cmd Command to graphics
* confirm = SPACE " net_set-confirm Indicator: Confirm mode
* control_handle = " cntl_handle Control handle
* indxkey = " indx-srtfd Database key for archive
* profile = 'SAP DEFAULT 0' " net_profil Graphics profile
* pwdid = SPACE " net_graph-pwdid Parent window ID
* set_focus = 'X' " net_graph-flag Indicator: Set focus
* sort = 'X' " net_graph-flag Indicator: Sort nodes
* so_contents = SPACE " sos00-s_objdes Document title
* so_send = SPACE " net_graph-flag Indicator: Send graphic
* stat = SPACE " net_graph-stat Status
* status_text = SPACE " net_graph-statustext Status line text
* super = SPACE " net_graph-super Parameter for closing windows
* titlebar = SPACE " net_graph-titlebar Window title
* wait_for_input = 'X' " net_graph-flag Indicator: Wait for input
* winid = SPACE " net_graph-winid Window identification
* instance = " cl_gui_netchart Network nesting
* TABLES
* clusters = " cng_clustr Cluster (currently w/o function)
* cvals = " net_cvals Cluster attributes (currently w/o function)
* deletions = " net_delete Objects to be deleted
* inodes = " cng_inodes Insertable nodes
* nodes = " chg_nodes Nodes
* nvals = " net_nvals Node attributes
* pnodes = " cng_pnodes Stack nodes
* pvals = " net_nvals Stack node attributes
EXCEPTIONS
ERR_IN_PROFILE = 1 " Error in the graphics profile
INV_PROFILE = 2 " Incorrect graphics profile
INV_WINID = 3 " Incorrect window ID
. " CNET_GRAPHIC_HIERARCHY_PBO
The ABAP code below is a full code listing to execute function module CNET_GRAPHIC_HIERARCHY_PBO including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| it_clusters | TYPE STANDARD TABLE OF CNG_CLUSTR,"TABLES PARAM |
| wa_clusters | LIKE LINE OF it_clusters , |
| it_cvals | TYPE STANDARD TABLE OF NET_CVALS,"TABLES PARAM |
| wa_cvals | LIKE LINE OF it_cvals , |
| it_deletions | TYPE STANDARD TABLE OF NET_DELETE,"TABLES PARAM |
| wa_deletions | LIKE LINE OF it_deletions , |
| it_inodes | TYPE STANDARD TABLE OF CNG_INODES,"TABLES PARAM |
| wa_inodes | LIKE LINE OF it_inodes , |
| it_nodes | TYPE STANDARD TABLE OF CHG_NODES,"TABLES PARAM |
| wa_nodes | LIKE LINE OF it_nodes , |
| it_nvals | TYPE STANDARD TABLE OF NET_NVALS,"TABLES PARAM |
| wa_nvals | LIKE LINE OF it_nvals , |
| it_pnodes | TYPE STANDARD TABLE OF CNG_PNODES,"TABLES PARAM |
| wa_pnodes | LIKE LINE OF it_pnodes , |
| it_pvals | TYPE STANDARD TABLE OF NET_NVALS,"TABLES PARAM |
| wa_pvals | LIKE LINE OF it_pvals . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_abap_cmd | TYPE NET_GRAPH-ABAP_CMD , |
| it_clusters | TYPE STANDARD TABLE OF CNG_CLUSTR , |
| wa_clusters | LIKE LINE OF it_clusters, |
| ld_confirm | TYPE NET_SET-CONFIRM , |
| it_cvals | TYPE STANDARD TABLE OF NET_CVALS , |
| wa_cvals | LIKE LINE OF it_cvals, |
| ld_control_handle | TYPE CNTL_HANDLE , |
| it_deletions | TYPE STANDARD TABLE OF NET_DELETE , |
| wa_deletions | LIKE LINE OF it_deletions, |
| ld_indxkey | TYPE INDX-SRTFD , |
| it_inodes | TYPE STANDARD TABLE OF CNG_INODES , |
| wa_inodes | LIKE LINE OF it_inodes, |
| ld_profile | TYPE NET_PROFIL , |
| it_nodes | TYPE STANDARD TABLE OF CHG_NODES , |
| wa_nodes | LIKE LINE OF it_nodes, |
| ld_pwdid | TYPE NET_GRAPH-PWDID , |
| it_nvals | TYPE STANDARD TABLE OF NET_NVALS , |
| wa_nvals | LIKE LINE OF it_nvals, |
| ld_set_focus | TYPE NET_GRAPH-FLAG , |
| it_pnodes | TYPE STANDARD TABLE OF CNG_PNODES , |
| wa_pnodes | LIKE LINE OF it_pnodes, |
| ld_sort | TYPE NET_GRAPH-FLAG , |
| it_pvals | TYPE STANDARD TABLE OF NET_NVALS , |
| wa_pvals | LIKE LINE OF it_pvals, |
| ld_so_contents | TYPE SOS00-S_OBJDES , |
| ld_so_send | TYPE NET_GRAPH-FLAG , |
| ld_stat | TYPE NET_GRAPH-STAT , |
| ld_status_text | TYPE NET_GRAPH-STATUSTEXT , |
| ld_super | TYPE NET_GRAPH-SUPER , |
| ld_titlebar | TYPE NET_GRAPH-TITLEBAR , |
| ld_wait_for_input | TYPE NET_GRAPH-FLAG , |
| ld_winid | TYPE NET_GRAPH-WINID , |
| ld_instance | TYPE CL_GUI_NETCHART . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CNET_GRAPHIC_HIERARCHY_PBO or its description.
CNET_GRAPHIC_HIERARCHY_PBO - Start the hierarchy graphics at PBO time CNET_GRAPHIC_HIERARCHY - Start hierarchy graphics CNET_GRAPHIC_CLUSTER_PBO - Start graphical cluster editor at PBO time CNET_GRAPHIC_CLUSTER - Start graphical cluster editor CNET_GET_PROFILE_CONTENTS - Determine the data belonging to the graphics profile CNET_GET_NODES_ORDERED - Determine order of the hierarchy nodes