Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CCMS BAPIs Import & Export structures

Former Member
0 Likes
976

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.

7 REPLIES 7
Read only

Former Member
0 Likes
874

You can refer the documentation of the BAPI itself.

-Kiran

Read only

Former Member
0 Likes
874

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

Read only

0 Likes
874

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.

Read only

0 Likes
874

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

Read only

0 Likes
874

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.

Read only

0 Likes
874

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

Read only

0 Likes
874

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.