How can I get  the MDX-statement which is generated in a query?

Can I somehow get the MDX statement, which is generated when I create a Query via BeX Query Designer? I am using JCo to connect to BW (3.0b) and to execute MDX statements from a standalone JAVA-application. It would be very helpful to have the statements, so that I don't have to create them by myself.
If this it not possible...is there any reference regarding the MDX statements, I could use?

Hi Markus,
The Query Designer generates no MDX, so you can't find any persisted MDX Statements. But you can do a trick, you can use the SAP BW OLE DB Provider in Excel. This Tool generates MDX Statements check this link:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/a06a51f3-0201-0010-8591-b742cfafd267
I hope this helps.
best regards
Kai

Similar Messages

  • I downloaded new Firefox but now can't open Firefox at all. It says it is not supported on my system. How can I get the earlier version which I deleted?

    I downloaded new Firefox but now can't open Firefox at all. It says it is not supported on my system. How can I get the earlier version which I deleted?

    http://www.mozilla.com/en-US/firefox/4.0/system-requirements/ <br />
    Mac
    Operating Systems
    * Mac OS X 10.5
    * Mac OS X 10.6
    Recommended Hardware
    * Macintosh computer with an Intel x86 processor
    * 512 MB of RAM
    * 200 MB hard drive space
    For older Macs that aren't supported in Firefox 4.0, try TenFourFox for PowerPC's running Mac 10.4.11 & 10.5.8 . <br />
    http://www.floodgap.com/software/tenfourfox/

  • How Can I Get The Cpu State With Java?

    are there any method to use??
    what's more,I also wanna to know how can I get
    the current ram that the System is using
    and the threads the System are running?
    Will you please share your knowledge here or
    write to tell me at [email protected]?
    Thanks!!

    if you know how to do this in c++, you can write native methods and use them in java.
    native methods forum:
    http://forum.java.sun.com/forum.jsp?forum=52
    tobias

  • How can I get the lib files which supported jsf?

    In one book , That introduce me to get the lib files from a jsf folder ,after you install the jwsdk1.3 ,now ,I installed the 1.5,but I cann't find this jsf folder.where I can get these lib files ? Thanks very much.

    Try data rescue or some other program. However, before proceeding turn off TM and avoid that muck up the next time you connect. AFAIK, however, it shouldn't have happened without a dialog box popping up allowing you to not use it for TM.
    See Pondini's TM FAQs for more information..

  • How can i get the component value which is in jtable

    hi all,
    i have a JTable and i added JSpinner component in 1st column.
    i want to get the value of the component.
    i tried to get the value using the following code
    for(int i=0;i<5;i++)
    ((JSpinner)tableDisbursals.getEditorComponent().getComponentAt(i,1)).getValue()it throwing NullPointerException
    is that correct? what i did
    thanks in advance
    daya

    hi all,
    thanks for replay
    the following code is demo
    import hivosCommonMain.function.ComProperties;
    import hivosCommonMain.function.FillCompFN;
    import java.awt.Component;
    import java.util.Date;
    import java.util.Vector;
    import javax.swing.AbstractCellEditor;
    import javax.swing.JFrame;
    import javax.swing.JSpinner;
    import javax.swing.JTable;
    import javax.swing.JTextField;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.TableCellEditor;
    public class SpinnerDemo extends JFrame{
         DefaultTableModel tableModel;
         JTable table;
         private String[] columnNames = {"First Name",
                "Last Name",
                "Sport",
                "# of Years",
                "Vegetarian"};
         private Object[][] data = {
                   {"Mary", "12/Aug/2005",
                   "Snowboarding", new Integer(5), new Boolean(false)},
                   {"Alison", "12/Aug/2005",
                   "Rowing", new Integer(3), new Boolean(true)},
                   {"Kathy", "12/Aug/2005",
                   "Knitting", new Integer(2), new Boolean(false)},
                   {"Sharon", "12/Aug/2005",
                   "Speed reading", new Integer(20), new Boolean(true)},
                   {"Philip", "12/Aug/2005",
                   "Pool", new Integer(10), new Boolean(false)}
         public SpinnerDemo(){          
            tableModel     = new DefaultTableModel(data, columnNames);
            table   = new JTable(tableModel) {
                 public boolean isCellEditable(int row, int col) {
                      return true;
            table.getColumnModel().getColumn(1).setCellEditor(new MyCellEditor());
            Component c = table.getEditorComponent();
            Component c2 = c.getComponentAt(1, 0);
            JSpinner spinner = (JSpinner)c2;       
            System.out.println(spinner.getValue());
            getContentPane().add(table);
            setVisible(true);
            pack();
         public static void main(String args[]){
              new SpinnerDemo();
         class MyCellEditor extends AbstractCellEditor implements TableCellEditor {
              JSpinner sDate;
              Object value;
              public MyCellEditor() {
                   sDate = new JSpinner(FillCompFN.getJSpinnerModel());
                   sDate.setEditor(new JSpinner.DateEditor(sDate, ComProperties.DATE_FORMAT));
                   ((JSpinner.DefaultEditor)sDate.getEditor())
                                       .getTextField().setHorizontalAlignment(JTextField.RIGHT);
                   sDate.setOpaque(true);
              public Object getCellEditorValue() {
                   return ((JSpinner.DefaultEditor)sDate.getEditor())
                        .getTextField().getText();
              public Component getTableCellEditorComponent(JTable table,
                   Object value,
                   boolean isSelected,
                   int row,
                   int column) {
                   this.value = value;
                   try{
                        if(value.toString().length() > 0)
                             ((JSpinner.DefaultEditor)sDate.getEditor())
                             .getTextField().setText(value.toString());
                        else
                             sDate.setValue(new Date());
                   }catch(Exception e){
                        e.printStackTrace();
                        sDate.setValue(new Date());
                   return sDate;
    }

  • How can I get the file path which located on webapps/MY_APPS ?

    Hi,
    I use tomcat as our servlet container.OS is win2k srv
    my project was put on x:\tomcat\webapps\MY_APPS
    and I could use getServletContext().getRealPath("/") within a servlet to get x:\tomcat\webapps\ROOT\MY_APPS,
      public void doPost(HttpServletRequest request,
                         HttpServletResponse response)
        throws ServletException, IOException
           String myAppsPath = getServletContext().getRealPath("/");
      }but I could not utilize this method within a normal help class
    any suggestion will be welcome.
    thanks in advance.

    try this:
    package com.sample;
    import java.io.File;
    public class SampleClass
      public SampleClass()
       * @param args
      public static void main(String[] args)
        SampleClass sampleClass = new SampleClass();
        File f = new File("SampleClass.class");
        System.out.println(f.getAbsolutePath());
    }

  • How can I get the position assigned to the user in CRM .

    Hi all ,
    How can we get the positions to which a  user is assigned as a holder in CRM .
    Thanks ,
    Naval bhatt .

    Hi,
         Use the PPM toolkit class CL_CRM_PPM_UM_TOOLKIT. You can use the method You can use the method GET_ASSIGNMENTS_OF_USER which returns positions held by an user(user name).  You may also find the method GET_POSITION_OF_USER useful. It accepts username and the organization ID and will return the positions held by the user under that organization.
      This class always uses the current plan (01). If you want otherwise, you can use the FM RH_STRUC_GET. As to how this FM should be used, look inside the above said methods.
    Regards,
    Arun Prakash
    Edited by: Arun Prakash Karuppanan on May 11, 2010 11:40 AM

  • DDL statements in v$sql tables, how can i get the password.....

    Hi friends,
    When I create a user by issuing a statement like
    create user abcd identified by xyz;
    user created.
    but, how can i get the password without encryption in the v$XXXXX tables. Is there any dynamic table which stores the statement executed above in the current session, so that I can get the original password given.
    but when selecting the password by the query
    select password from sys.user$
    where name = 'abcd';
    Password
    ==========
    345ISDF9K4590DFJ35
    .........this is not my password(yes it is!) but not understandable..,
    Anybody please, show me the right way or query..,
    Post-Query Thanx..
    Praveenkumar Talla (Pune, India)

    I would hope there is no way to get this data. I wouldn't want a mechanism to grab passwords out of the SGA. Passwords are stored encrypted in the database. If you need to know the password, run another 'alter user username identified by password' and make not of what you changed it to.

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • I purchased a magazine using the Zinio app which I'd recently downloaded on to a recently purchased iPad. I received an error message at the time (can't recall the details) but have since been invoiced for the $8.99. How can I get the Magazine I purchased

    I purchased a magazine using the Zinio app which I'd recently downloaded on to a recently purchased iPad. I received an error message at the time (can't recall the details) but have since been invoiced for the $8.99. How can I get the Magazine I purchased?

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: [email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • How can we get the image which is stored in clipboard by labview, is there any functions available like text from clip board

    How can we get the image which is stored in clipboard by labview, i can get the text in clipboard by using invoke node directly.but i cannot get the image, is there any functions or vi available.(image is in Png format)

    The Read from Clipboard method is, unfortunately, limited to text. If the clipboard contains an image then you need to use OS-specific functions calls. This is an example program for Windows. It's old, but it should still work.

  • How can I get the Voiceover Keyboard shortcuts to show up in a form in which I can copy

    I have low vision & have been trying to learn to use Voiceover on both my iPhone & my Mac mini for months. Very frustrating.
    1. How can I get the Voiceover keyboard shortcut commans to show up in a form in which I can copy & paste them into a pages document so I can print it out & use for quick reference?? The one that shows up when I press VO +HH won't let me copy & paste it, & it won't show up in the Help section no matter what subject I enter. The help topics shown do not correlate with the topics I'm entering. why is that??
    2. Please make the cursor able to be wider, like in the software program Zoomtext, that I used when I had a PC. The razor-thin cursor (in this text box!) in Pages is impossible for me to see.
    Thank you for any help you can provide.

    http://www.applevis.com/guides/voiceover-keyboard-shortcuts-mac-os-x
    You should be able to copy them from there.

  • I would like to read a text file in which the decimal numbers are using dots instead of commas. Is there a way of converting this in labVIEW, or how can I get the program to enterpret the figures in the correct way?

    The program doest enterpret my figures from the text file in the correct way since the numbers contain dots instead of commas. Is there a way to fix this in labVIEW, or do I have to change the files before reading them in the program? Thanks beforehend!

    You must go in the labview option menu, you can select 'use the local
    separator' in the front side submenu (LV6i).
    If you use the "From Exponential/Fract/Eng" vi, you are able to select this
    opton (with a boolean) without changing the labview parameters.
    (sorry for my english)
    Lange Jerome
    FRANCE
    "Nina" a ecrit dans le message news:
    [email protected]..
    > I would like to read a text file in which the decimal numbers are
    > using dots instead of commas. Is there a way of converting this in
    > labVIEW, or how can I get the program to enterpret the figures in the
    > correct way?
    >
    > The program doest enterpret my figures from the text file in the
    > correct way since the numbers contain dots instea
    d of commas. Is there
    > a way to fix this in labVIEW, or do I have to change the files before
    > reading them in the program? Thanks beforehend!

  • How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your repl

    How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!

    It's good to read Antoniad's post.  It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing.  However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested.  He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do.  I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing.  Those sources were quite specific and the information seemed clear.  I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad.  I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go.  The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon.  I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers.  Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account?  I don't know.  I have to find out.  If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.

  • I downloaded an app off the store which said it was free and part of the 5 year promotion. I've been charged for the app by the store. I don't want the app and there's no one to speak to about it. Who can I call and how can I get the app off my phone?

    I downloaded an app off the store which said it was free and part of the 5 year promotion.
    I've been charged for the app by the store. I don't want the app and there's no one to speak to about it.
    Who can I call?
    How can I get the app off my phone?
    How do I get my money back from something I wouldn't have ordered?

    You cannot call anyone.  You contact them as everyone else does:  http://www.apple.com/support/itunes/contact/
    You delete the app as you do any other app.  Hold an icon until they wiggle.  Tap the "x".  This is covered in the manual.

Maybe you are looking for