Fonction SAP BAPI_SYSTEM_MTE_GETTREE - Read subtree expanded by monitor tree element

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
EXTERNAL_USER_NAME BAPIXMLOGR-EXTUSER C 16 Name of the SAP-External User
MAX_TREE_DEPTH BAPIPARAMS-MAXLEVEL I 4 0 X Maximum Required Tree Depth
TID BAPITID u 84 MTE-ID (TID)
VISIBLE_LEVEL BAPIPARAMS-VISUSRLEV I 4 3 X Desired View

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return Messages

Paramètre Reférence Long. Facultatif Description
TREE_NODES BAPITNDEXT 440 Table Containing the Subtree Nodes

Functionality
This tool returns the subtree expanded by the specified monitor treeelement.
You can then use the SysteMonitorTreeElement.SplittData method to splitthe data for a subtree node into logical units.

Notes
The user can also specify the subtree view as well as how deep thenodes of the subtree should go.

Further information
XAL documentation

Description
INCLUDE RETURN_DESC ID TX

Value range
MSG_TID_INVALID: The specified TID is invalid.
MSG_C_CALL_FAILED: The last C function called could not be executed.
MSG_COMMUNICATION_PROBLEM: The system could not call the tool due tocommunication problems (possibly check network connection).
MSG_DB_PROBLEM: The system encountered a problem accessing thedatabase.
INCLUDE RETURN_DEFAULT_RANGE ID TX

Description
INCLUDE EXTERNAL_USER_NAME_DESC ID TX

Value range
INCLUDE EXTERNAL_USER_NAME_RANGE ID TX

Description
This parameter defines the tree depth desired.
A tree depth of one, for example, only displays the nodes that aredirectly under the specified monitor tree element. The nodes belowthese are not displayed.

Value range
0: The entire subtree
>0: The tree depth desired

Default
The default depth is "0"; this returns the entire subtree.

Description
INCLUDE TID_DESC ID TX

Description
This parameter defines the view level desired.
Whether certain nodes are displayed or not depends on the selected viewlevel.

Value range
Three view levels are available ("higher" view levels include the"lower"):
1) OVERVIEW
2) ANALYSIS
3) EXPERT ANALYSIS
The monitor tree element is displayed according to the view levelselected when the monitor tree element was created.

Description
This table contains the reported subtree nodes.
INCLUDE BAPI_DATAELEMENT
You can use the SystemMonitorTreeElement.SplittData method to splitnode data into logical subunits.