The GRAPH_HIERARCHY_MENUE Function Module 
The GRAPH_HIERARCHY_MENUE function module executes a call to the SAP Hierarchy graphics program. Unlike the GRAPH_HIERARCHY function module, this module allows you to program hierarchy displays with menues. The user who clicks on a node gets a menu of options.
The following table contains a list of all possible parameters you can use with this function module.
For a detailed description of parameters and exceptions, see the R/3 system documentation (Tools
® ABAP Workbench, Function library button, or transaction code SE37).Parameters specific to GRAPH_HIERARCHY_MENUE
Name |
Status |
Initial Value |
BOXLN |
Import |
SPACE |
COL11...COL16 |
Import |
SPACE |
COL21...COL26 |
Import |
SPACE |
COL31...COL36 |
Import |
SPACE |
COL_BACK |
Import |
SPACE |
COL_LINE |
Import |
SPACE |
COL_NODE |
Import |
SPACE |
CONF |
Import |
Do Not Use |
DMODE |
Import |
SPACE |
INBUF ** |
Import |
SPACE |
LMODE |
Import |
SPACE |
MAIL_ALLOW |
Import |
SPACE |
MENPOS |
Import |
SPACE |
MODIF |
Import |
Do Not Use |
MTITL |
Import |
SPACE |
NDIMS |
Import |
SPACE |
NLOOK |
Import |
SPACE |
NLVAL |
Import |
SPACE |
NTEXT |
Import |
SPACE |
NTXHL |
Import |
SPACE |
ORDER |
Import |
SPACE |
PWDID ** |
Import |
SPACE |
REGION |
Import |
Do Not Use |
RELBOXHT |
Import |
0 |
RELBOXWD |
Import |
0 |
RELWD_HT |
Import |
0 |
RMODE |
Import |
SPACE |
SHAPE |
Import |
SPACE |
SMODE |
Import |
SPACE |
STAT ** |
Import |
SPACE |
SUPER ** |
Import |
SPACE |
TINDX |
Import |
'0' |
TTEXT |
Import |
SPACE |
USEHLE |
Import |
SPACE |
VALD1...VALD3 |
Import |
0 |
VALU1...VALU3 |
Import |
100 |
VAL11...VAL15 |
Import |
0 |
VAL21...VAL25 |
Import |
0 |
VAL31...VAL35 |
Import |
0 |
VINDX |
Import |
SPACE |
VTXT1...VTXT3 |
Import |
SPACE |
WINID ** |
Import |
SPACE |
WINPOS |
Import |
SPACE |
WINSZX |
Import |
'50' |
WINSZY |
Import |
'50' |
ZOOMFAC |
Import |
0 |
CUA_ID |
Export |
|
H_MES |
Export |
|
M_TYP ** |
Export |
|
MENNR |
Export |
|
NODES |
Export |
|
RBUFF ** |
Export |
|
RWNID ** |
Export |
|
DATA |
Internal Table |
|
MENU |
Internal Table |
Note: ** denotes a dialog parameter
For GRAPH_HIERARCHY_MENUE, only the DATA and MENU parameters are required.
An ABAP program that calls this function module must be sure to use the STAT parameter. At least one of the calls to a graphics function module (not necessarily to GRAPH_HIERARCHY_MENUE) must be made with a Wait-for-input STAT value.
After the hierarchy is displayed, the online user can either close the window or select a node. If a node is selected, the SAP Hierarchy displays the requested menu. If the user then selects a menu entry, SAP Hierarchy places a message reporting user input on the message queue. The waiting function module receives this message and returns to the ABAP program with the number of the entry. (See the descriptions of the MENU and MENNR parameters for more information.)