‎2006 Jul 07 1:25 PM
Hi all,
I am using BC-CCMS-MonitoringTreeElement BAPIs (For example: BAPI_SYSTEM_MTE_GETTREE). It is getting very difficult to provide the input arguments to this BAPIs.
Is there any documentation available on these BAPIs and the information about the IMPORT & EXPORT paramenters (detailed).
Thanks,
Nagarjuna.
‎2006 Jul 07 1:27 PM
‎2006 Jul 07 1:30 PM
In the FM , there wil be a button for documentation.Click that to get some info.
FU BAPI_SYSTEM_MTE_GETTREE
____________________________________________________
Short Text
Read subtree expanded by monitor tree element
Functionality
This tool returns the subtree expanded by the specified monitor tree
element.
You can then use the SysteMonitorTreeElement.SplittData method to split
the data for a subtree node into logical units.
Notes
The user can also specify the subtree view as well as how deep the nodes
of the subtree should go.
Further information
XAL documentation
Parameters
TID
MAX_TREE_DEPTH
VISIBLE_LEVEL
EXTERNAL_USER_NAME
RETURN
TREE_NODES
MTE-ID (TID)
Description
Describes the monitor tree element ID (TID)
In general, the individual TID fields do not need to be considered
individually.
Maximum Required Tree Depth
Description
This parameter defines the tree depth desired.
A tree depth of one, for example, only displays the nodes that are
directly under the specified monitor tree element. The nodes below these
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.
Desired View
Description
This parameter defines the view level desired.
Whether certain nodes are displayed or not depends on the selected view
level.
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 level
selected when the monitor tree element was created.
Name of the SAP-External User
Description
The name of the user in the external system that triggered the method
call. The entry should be used to document who activated the call.
Therefore there are no authorization checks.
Value range
Name of the user in the external system in plain text
Return Messages
Description
This structure contains the method call confirmations.
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 to
communication problems (possibly check network connection).
MSG_DB_PROBLEM: The system encountered a problem accessing the database.
MSG_UNKNOWN_PROBLEM: An unknown problem occurred when the method was
executed.
MSG_CANT_LOG: The method call terminated due to an error in the R/3
external management tool logging system.
MSG_EXT_USER_MISSING: The call did not contain the name of the external
user. This name indicates which user in the external system transmitted
the call.
MSG_NOT_LOGGED_ON: The external system management tool did not log on to
the CCMS external management tool interface. The method call was
therefore terminated.
Table Containing the Subtree Nodes
Description
This table contains the reported subtree nodes.
For more information on the individual parameter fields, see the data
element documentation in the ABAP Dictionary.
You can use the SystemMonitorTreeElement.SplittData method to split node
data into logical subunits.
Regards,
ravi
‎2006 Jul 07 1:35 PM
Hi,
Thanks for your reply. But my exact requirement is <b>"I want to know about the values passed to these IMPORT parameters".</b> (Any example list for all the BAPIs)
I am new to ABAP and I am writing a Java Application to get the information from BAPIs using JCO connections.
Thanks,
Nagarjuna.
‎2006 Jul 07 1:40 PM
You will have to do some research in SAP. To start with you could execute BAPI_SYSTEM_MTE_GETTIDBYNAME whose export parameters(TID) give you the values to be passed to import parameters(TID) of BAPI_SYSTEM_MTE_GETTREE
-Kiran
‎2006 Jul 07 1:46 PM
Kiran,
I thought of the same and tried to use the BAPI_SYSTEM_MTE_GETTIDBYNAME bapi.
But again, I am struck at the CONTEXT_NAME, OBJECT_NAME, MTE_NAME Import parameters.
Regards,
Nagarjuna.
‎2006 Jul 07 1:59 PM
Well u should ask some abaper to debug the BAPI_SYSTEM_MTE_GETTIDBYNAME function to find out what are the correct parameters to be passed.
-Kiran
‎2009 Mar 18 11:20 AM
Just a late reply...the names/parameters you pass are case sensitive so make sure your TID values are exactly the same as on the tree.