BAPI for reading CCMS values

Hey everyone,
I am currently developing a small application which reads actual values from the CCMS Monitoring, but I got a small problem.
I actual use the BAPI " BAPI_SYSTEM_MTE_GETPERFCURVAL" to read the values from the ccms environment (e.g CPU_Utilisation).
But for some values this is not working. A collegue told me to use " BAPI_SYSTEM_MTE_GETMLCURVAL".
But this one is also not working for all CCMS Items (eg. it is not working for CPU_Utilisation).
Is there a BAPI which can read all CCMS values. It would be great if there is an BAPI which has the same input parameters as the ones above.
Regards
Markus
PS: (Yes, I know in the near future there will be a new monitoring environment (MAI))

Hi,
I figured something out.
Each CCMS Object has a type. (performance, logging, allerting)
https://help.sap.com/saphelp_nw04/helpdata/en/6a/c7453bafc6007ce10000000a11402f/content.htm
I know, that the BAPI " BAPI_SYSTEM_MTE_GETTIDBYNAME" Delivers me the TID for the given MTE-OBJECT-Name tupel. Inside the TID is a field which is called "MTCLASS".
Can anybody tell me, where I can find the values for the field "MTCLASS" so that I can decide wether to use "BAPI_SYSTEM_MTE_GETPERFCURVAL" or "BAPI_SYSTEM_MTE_GETMLCURVAL"?

Similar Messages

  • Bapi for Periodwise consumption values in MM

    HI,
    I need a bapi or funcation module for Periodwise consumption values in MM .
    Thanks,
    babu

    try this
    BAPI_MATPHYSINV_GETDETAIL
    Parameters
    PHYSINVENTORY
    FISCALYEAR
    HEAD
    ITEMS
    RETURN
    ags.

  • Execute BAPI for different input values and dispaly data in a table

    Hi all,
    I have a specific problem about executing BAPI multiple times for different input values and didplay result in a table.
    I am using the code similar to the following logic.
    Bapi_Mydata_Input in = new Bapi_Mydata_Input();
    wdContext.nodeBapi_Mydata_Input().bind(in);
    String in = wdContext.currentperdataElement.getnumber();
    in.setDestination_From(10)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(20)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(30)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    And I want to display the data in a single table. I want the result in a table for Bapi execution based on input parameters passed 10,20 30.
    But I am getting the table data only for the input parameter 30.I mean its actually display the data in table only for the last input parameter.
    So May I ask you all if you know the solution for this problem.PLease advise me with some tips .or sample code is very much appreciated.I promise to award points to the right answer/nice advises.
    Regards
    Maruti
    Thank you in advance.

    Maruti,
    It seems that WDCopyService replaces content of node, rather then adds to content.
    Try this:
    Bapi_Persdata_Getdetailedlist_Input frelan_in = new Bapi_Persdata_Getdetailedlist_Input();
    wdContext.nodeBapi_Persdata_Getdetailedlist_Input().bind(frelan_in);
    final Collection personalData = new ArrayList();
    String fr1 = wdContext.currentE_Lfa1Element().getZzpernr1();
    frelan_in.setEmployeenumber(fr1);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    String fr2=wdContext.currentE_Lfa1Element().getZzpernr2();
    frelan_in.setEmployeenumber(fr2);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    wdContext.nodeNewPersonalData().bind( personalData );
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Any FM avaliable for reading domain value range

    Hi experts,
    Is there any FM avaliable to read values from value range of a domain.
    I need to fetch short  descriptions for corresponding fixed values in value range.
    Please help.
    Thanks in advance,
    Neelima

    Hi,
    Is there any FM avaliable to read values from value range of a domain?
    Yes. Of course, you can try using the following.
    Let me assume that there is a domain called ZGENDER and it has the following fixed values:
    Value  Description
    M        Male
    F         Female
    U         Unknown.
    Then do the following code:
    DATA: l_t_gender TYPE TABLE OF dd07v.
    To get the possible list of Genders
      CALL FUNCTION 'GET_DOMAIN_VALUES'
        EXPORTING
          domname         = 'ZGENDER'
        TABLES
          values_tab      = l_t_gender
        EXCEPTIONS
          no_values_found = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    I need to fetch short descriptions for corresponding fixed values in value range.
    Yes. After calling the function module, l_t_gender-ddtext will have the short descriptions.
    Please revert back for any clarifications.
    Best Regards,
    Suresh

  • BAPI for read FI documents in material document

    Hi all,
    with transaction ME23N i can display Material Document and in the tab 'Doc. info' i can display FI Documents if i click on the button. I'm looking for a BAPI to read this FI documents from the material document.
    Thanks for your help.
    Cheers

    If you mean that you need to know what BAPI's a particular transaction uses, which I can only assume that's what you mean, then you should access the code behind the transaction and search for 'CALL'. That normally is the standard method that think that most people use. 
    Suppose you want to find the bapi for creating a sales order, you usually use transaction VA01 for this. 
    1. Find out the package of the transaction. 
    Start Va01 go to system --> status. 
    Double click on transaction 
    Package is VA 
    Open this package in SE80 
    Open business engineering-->Business object types 
    Find the BO which sounds the most appropriate 
    I would suggest BUS2032 Sales Order 
    Double click. 
    Open methods. 
    Find the released method with from data or something similar in the name 
    , Createfromdat2 
    Position the cursor in it and click the program button 
    Scroll down to find the bapi used in this method 
    With this way you can also find out programs and FM's 
    2. Start va01 go to system-->status 
    Double click transaction VA01 
    Double click on package 
    Read the application component. (this is SD-SLS Sales) 
    Then open the transaction BAPI 
    Sales and distribution>Sales>sales order 
    createfromdat2

  • Best practice for reading GUI values?

    I am using a Matisse GUI. This GUI has a number of variables and buttons that will invoke methods from other classes. How do I pass or otherwise make the variables in the GUI jText... jLabel... to the receiving function without passing each variable individually?

    You should define objects for each Panel.
    For example, your application will consist of a lots of Panels.
    Each panel will have 2 methods. One method will accept
    an object, and set all the GUI fields. One object will
    return a new object based on values in the GUI fields.
    E.g.
    public class CirclePanel extends JPanel {
         JLabel radiusLabel = new JLabel("Circle Radius");
         JTextField radiusTF = new JTextField();
         public CirclePanel() {
              // .. layout GUI components
         public void setFields(Circle c) {
              radiusTF.setText(c.radius);
         public Circle getCircle() {
              return new Circle(Double.parseDouble(radiusTF.getText()));
    }Now, let's say you want to have this Panel in a dialog.
    You should put your ok and cancel button in the dialog.
    Don't put the buttons in the panel because you may want
    to use that panel somewhere else that doesn't need the
    buttons.
    public class CircleDialog extends JDialog implements ActionListener {
         JButton okButton = new JButton("OK");
         JButton cancelButton = new JButton("Cancel");
         CirclePanel panel = new CirclePanel();
         ActionListener a = null;
         Object src = null;
         public CircleDialog() {
              // ... add circle panel
              // ... add buttons
              okButton.addActionListener(this);
              cancelButton.addActionListener(this);
         public void actionPerformed(ActionEvent evt) {
              a.actionPerformed(evt);
         public Object getSource() {
              return src;
         public void show(Object src, ActionListener a) {
              this.a = a;
              this.src = src;
              super.show();
    }Suppose you have a menubar that launches the dialog:
    public clas CircleMenuBar extends JMenuBar implements ActionListener {
         JMenuItem circleItem = new JMenuItem("Make Circle");
         public void actionPerformed(ActionEvent evt) {
              Object src = evt.getSource();
              if (src == circleItem) {
                   circleDialog.show(src, this);
              else if (src == circleDialog.okButton) {
                   Circle c = circleDialog.panel.getCircle();
                   // do something with it
                   // like call CircleAPI.add(c); // adds circle to database
                   circleDialog.close();
              else if (src == circleDialog.cancelButton) {
                   circleDialog.close();
    }This architecture is basically allow your dialogs to be non-modal.
    Typically for a GUI application, I create a Dialogs class that has
    all the dialogs the GUI uses. The dialogs are created only if the
    user asks for the dialog. Basically the singleton pattern
    for each dialog.

  • BAPI for reading capacity of a workplace/work center?

    Hi,
    I'm looking for a BAPI/RFC using SAP MII to read the capacity of a workplace/work center in a given time period (eg. one or more days/weeks/...). I would like to use the import parameters plant ( WERKS ), date from, date to, workplace/work center (eg. CRHD-ARBPL ) and capacity category (eg. KAKO-KAPAR ). As output I would like to get a list of (planed/used) capacities as the working time for the given time period at the specified workplace/work center.
    In theory the BAPI CBP_EXC_WC_CAPACITY_REQUEST nearly does what I want. The only drawback is, that it outputs the "wrong" time.
    Let me give an example: The work center uses at a given day a capacity from 6 to 22 clock, including one hour break. This gives us a working time of 15 hours for this workplace and day. And "15h" is the time I need. But as there are working 5 worker at this work center the BAPI CBP_EXC_WC_CAPACITY_REQUEST returns 75 hours (which is 5 * 15). But the result "75" is useless for me as long as I don't additonal get the number of workers.
    I've searched in our SAP system and in this forum, but wasn't able to find another BAPI that gives me the correct time. As an alternative I would need another BAPI to get me the number of workers for a workplace/work center at a given time. But I also was out of luck finding one.
    Looking out for help,
    Simon

    Thanks for your fast reply!
    I have looked to both functions before. Beside that they are both not remote enabled (which is not such a big problem as I could copy them or build a custom BAPI around them) I'm not quite sure how they could solve my problem.
    If I got it right, I would first use CR_CAPACITIES_OF_WORKCENTER to get the KAPID and using it as input for CLOI_WC_CAPACITY_READ. But I have problems to understand the output of CLOI_WC_CAPACITY_READ. The data type of the capacity is a float ( FLTP ) and the number seems to be to big, eg. 9.800000000000000E+01= 98h for one day.
    Could you try to explain your solution once again?
    Thanks,
    Simon

  • BAPI for setting holiday values

    Hi,
    I'm badly searching for a BAPI to set the holiday information from outside of SAP.
    We have a very nice and higly accepted system to request and confirm holiday of an employee. Full workflow supported.
    The only thing missing is to automatically set the accepted and confirmed holiday in SAP. Till now we have to enter the data again manually in SAP.
    Unfortunately I don't find anything.
    Is there a already existing BAPI?

    Hi,
    thanks for info, but SAP shows me the function is obsolet, outdated:
    "Note!  This API method writes exclusively the IT 2001 (absences).  It should not be used any longer.  The use of these API method can lead to inconsistent time data."
    Unfortunately, they don't lead me to which function I should use instead.
    The BAPI should set all neccessary absence data including IT 0005 and remaining holidays...
    Thanks in advance

  • FM or BAPI for reading invoice data from backend

    Hi Experts,
    We use SRM 4.0 and need to read invoice data from Back end (creation time and number).
    Which FM I can use?
    Thanks in advance
    Evgeniy Vazhev

    Hi,
    look at the below BAPI's
    BAPI_CUSTOMER_DISPLAY
    BAPI_CUSTOMER_GETDETAIL2
    Regards
    Sudheer

  • Bapi for reading project information

    hello gurus can any one tell me the bapi which is used to read the project from sap , i,e ps module it should read the wbs elements and activities and newtorks relation of a project
    thanx in advance
    afzal

    hi ,
    there 3 bapi's
    <b>BAPI_PROJECT_MAINTAIN
    BAPI_PROJECT_GETINFO
    BAPI_PROJECT_SAVEREPLICA</b>
    <b>Reward points if useful</b>
    Regards
    Ashu

  • FM/ Bapi for  hierarchy   classification

    Hi
    I am looking for FM/ Bapi for  reading values of  hierarchy   classification.
    I tried  BAPI_OBJCL_GETDETAIL,  however the bapi read only the value of the high level
    of the class and not all the hierarchy values.
    Any idea how to read all the hierarchy values ?
    Thanks Moshe

    Check Function Group V51B in SE80.

  • Bapi for Delivery Status

    Hi Experts!
    Can anyone tell me the BAPI to Display the Delivery Status
    for a particuler sales order no or document no.
    Thank U...

    hi,
    BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlieferug SFA-Kontext: Anle
                                                                                    LE_SHP_DB_DELIVERY_BUFFER      Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_GETLIST          BAPI for Reading Delivery Data                                                                               
    OIU_DELIVERY_NETWORK           Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_NETWORK_CHANGE   Delivery Network BAPI for Changes                                    
    BAPI_DELIVERY_NETWORK_CREATE   BAPI for creating a delivery network                                 
    BAPI_DELIVERY_NETWORK_READ     Display delivery network details                                                                               
    BAPI_INB_DELIVERY_CHANGE                                                                            
    BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for Inbound Delivery Verification from a Decentralized System   
    BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries           
    BAPI_OUTB_DELIVERY_CHANGE                                                                           
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System  
    BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference                                 
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order                                
    BAPI_OUTB_DELIVERY_CREATE_STO  Generates Delivery for Stock Transport Order                         
    BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries          
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    and for "Shipment
    BAPI_SHIPMENT_CHANGE           Change Shipment                                                      
    BAPI_SHIPMENT_COST_ESTIMATE    Calculate Shipment Costs of Different Forwarding Agents for Shipment 
    BAPI_SHIPMENT_CREATE           Create Shipment

  • Can't read int value

    import java.io.*;
    class binary
         public static void main(String args[])
              BufferedReader br;
              int ch=0;
              br = new BufferedReader(new InputStreamReader(System.in));
              System.out.println("enter value");
              try    
                   ch = (int)br.read();
              catch(IOException e)
                   System.out.println("Exception Caught");
              System.out.println("the value entered is :" +  ch);
    }the read method used above reads an character and returns it integer value and if we want to read an integer value how to do so, i tried it in the above code but it doesn't work
    is there any specific function for reading int values or we need to use the ByteStream classes instead of the Character ones
    plz reply

    thanks it worked
    i read my number using the readLine() method as a
    String and then converted it back to an int value
    ut is there no method by which i could read values as
    int from the console n not have to do the conversion
    part.plz heply guys

  • Gamecanvas - Reading the value of the cellphone keypad

    I have a J2ME application for reading the value of the cellphone keypad. However, the key "Fire" has the value "-8". The problem is that the "Backspace" key (which serves to clear the last entered character), also displays the value "-8".
    How do I differentiate these values? Why do they receive the same keycode? Someone went through a similar problem?
    Thanks

    New question...
    In package the javax.microedition.lcdui.Canvas, the key "Fire" gets the value "8". Like the "Backspace".
    The problem now is ... The package javax.microedition.lcdui.game.GameCanvas receives the value "256" to press "Fire". (Public static final int FIRE_PRESSED 256)
    The question is: Is there any way of the press "Backspace" to assume a different value of key "Fire"? Can I assign the key "Fire" with value "8", with the package Canvas.
    And assign the key "Backspace" the value "256" awarded by the package "GameCanvas?

  • Bapi for MIRO: INVFO-WMWST with value and INVFO-XMWST blank

    Hi,
    for bapi_incominginvoice_create or bapi_incominginvoice_park,
    is it possible to create an invoice with value in header field
    "Tax amount in document currency" INVFO-WMWST
    and at the same time
    keeping header field
    "Calculate tax automatically" INVFO-XMWST
    blank ?
    Could someone please give some hint?
    Best regards
    Edited by: Pablo Casamayor on Apr 13, 2010 12:20 PM

    it is possible using table taxdata in the bapi call.

Maybe you are looking for

  • Report not working if scheduled in background as a job

    Dear friends please help me in this. We are having a z report. This report works fine in foreground and wont work ( means it will be in active state for more than 5 days but no result will come) when we schedule it in background as a job. In this rep

  • Macbook Pro sound problem... sometimes....

    My girlfriend has a MBP with a Bootcamp installation with windows XP on it for "windows only" programs. Macbook Pro 15" 2.4Ghz 2GB ram 2 partition hard drive (OSX and XP) Windows XP SP2 However, occasionally we have been having problems regarding sou

  • Model rotation about multiple axis

    Can anyone tell me how I can limit the rotation of a model to a specific angle without using camera rotation? I do know how to limit the rotation when the model has only been rotated in one axis (simple maths comparison of either x, y, or z depending

  • Why won't Safari 2 display sites with .dll files?

    My new powerbook, running OSX 10.4.3, and Safari 2.02, won't access my brokerage account. When I try to log in, I get a blank browser window, and it downloads a file with a .dll extension to my desktop. The problem is that it downloads the file inste

  • FLash 9 - How to mute flv on load?

    I'm having a *really* hard time trying to set up a small flv player so that the sound (and mute button) are off by default when the player loads the movie. The only control I want available with the player is the mute button so that a user can enable