Fonction SAP BAPI_SYSTEM_MT_CREATEBYTEMPL - Creates a Monitor Tree Based on a Monitor Template

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
VIS_ON_USR_LEVEL BAPIPARAMS-VISUSRLEV I 4 3 X

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

Paramètre Reférence Long. Facultatif Description
TEMPLATE_NODES BAPITMPLND 232 Monitor Template Nodes
TREE_NODES BAPITNDEXT 440 Monitor Tree Elements

Functionality
This method creates a complete monitor tree using a monitor template.

Notes
A monitor template only consists of the virtual nodes and the top nodesof the real subtrees. A monitor tree, on the other hand, includes thevirtual nodes as well as the monitor tree elements for all realsubtrees.

Description
INCLUDE RETURN_DESC ID TX

Value range
MSG_MONITOR_TEMPLATE_MISSING: The monitor template is not defined.
MSG_CANT_GET_MONI_PRESENTATION: Could not get monitor tree
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 import table contains the monitor template nodes.
INCLUDE BAPI_DATAELEMENT

Description
This (export) table contains the monitor tree elements for thedetermined monitor tree.
INCLUDE BAPI_DATAELEMENT