How to create MDX query

Hi friends I want to know more about MDX query creation, please let me know where I can get information about this topic

Hi!
may be this helps
http://help.sap.com/saphelp_nw04/helpdata/en/14/a3639e028a144d8c8b7dd403b22a1a/frameset.htm
and also take a look at the microsoft website
http://msdn.microsoft.com/library/en-us/olapdmad/agmdxfunctions_9elw.asp?frame=true
Hope this helps
Regards
San!

Similar Messages

  • How to create a query view in sap bw?

    can any one please tell me how to create a query view in sap bw 3.5?

    Hi,
    you can do this by using Bex analyzer and WAD ..
    gop through this link ..
    http://help.sap.com/saphelp_nw70/helpdata/en/0e/1339427f82b26be10000000a155106/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/0d/af12403dbedd5fe10000000a155106/frameset.htm
    hope this helps you ..
    Reagrds,
    shikha

  • How to create a query to see Opening stock and closing stock as on particul

    Hi All,
    How to create a query to see Opening stock and closing stock as on particul.
    Regards
    Albaik

    Hi,
    In BI 0IC_C03 will provide u the  required information and also having standard queries provided by the SAP.
    Plz find the list of Queries provided by the SAP.
    =======================================================================================================
    Inventory turnover      0IC_C01_Q0001
    Range of coverage - quantity      0IC_C01_Q0002
    Range of Coverage - Value      0IC_C01_Q0003
    Range of coverage of finished goods - quantity      0IC_C01_Q0004
    Range of Coverage of Finished Goods - Value      0IC_C01_Q0005
    Range of coverage of raw materials - quantity      0IC_C01_Q0006
    Range of Coverage of Raw Materials - Value      0IC_C01_Q0007
    Obsolete Stock on Hand      0IC_C01_Q0008
    Period-dependent requirement coverage      0IC_C01_Q0009
    Value of stock on hand      0IC_C01_Q0010
    Quantity of stock on hand      0IC_C01_Q0011
    Material consumption      0IC_C01_Q0012
    Material Movements      0IC_C01_Q0013
    Consignment stock: receipts and issues      0IC_C01_Q0014
    Valuated stock: receipts and issues      0IC_C01_Q0015
    Material stock and movements      0IC_C01_Q0016
    Material Movements (Healthcare)      0IC_C01_Q0020
    Material Consumption (Healthcare)      0IC_C01_Q0021
    Material Availability      0IC_C01_Q0022
    Inventory Turnover Frequency (Value)      0IC_C01_Q0023
    Consignment Stock Received and Issued per Unit      0IC_C01_Q0024
    Material Consumption (Quantity)      0IC_C02_Q0001
    Valuated Stock Receipts and Issues (Quantity)      0IC_C02_Q0002
    Range of Valuated Stock (Quantity)      0IC_C02_Q0003
    Inventory Turnover      0IC_C02_Q0004
    Receipt and Issue Consignment Stock at Customer      0IC_C03_Q0001
    Receipt and Issue Quality Inspection Stock      0IC_C03_Q0002
    Vendor Consignment Stock Receipt and Issue      0IC_C03_Q0003
    Receipt and Issue Stock in Transit      0IC_C03_Q0004
    Receipt and Issue of Blocked Stock      0IC_C03_Q0005
    Valuated Stock      0IC_C03_Q0006
    Stock in Quality Inspection      0IC_C03_Q0007
    Stock in Transit      0IC_C03_Q0008
    Blocked Stock      0IC_C03_Q0009
    Vendor Consignment Stock      0IC_C03_Q0010
    Consignment Stock at Customer      0IC_C03_Q0011
    Stock Overview      0IC_C03_Q0012
    Stock Overview (as of 3.1 Content)      0IC_C03_Q0013
    Quantities of Valuated Project Stock (as of 3.1 Content)      0IC_C03_Q0014
    Valuated Stock (as of 3.1 Content)      0IC_C03_Q0015
    Quantities of Valuated Sales Order Stock (as of 2.1 Cont.)      0IC_C03_Q0016
    Inventory Turnover      0IC_C03_Q0017
    Days' Supply      0IC_C03_Q0018
    SUS: Vendor Consignment Stock      0IC_C03_Q0019
    Scrap      0IC_C03_Q0020
    Inventory Aging      0IC_C03_Q0021
    Stock Overview - extended      0IC_C03_Q0022
    Demand Supply Match      0IC_C03_Q0023
    Warehouse Stock Analytics – Inventory Turnover      0IC_C03_Q0024
    Warehouse Analytics - Obsolescence and Variance      0IC_C03_Q0025
    Stock Overview: Materials      0IC_C03_Q0030
    Average Stock Value Over Time      0IC_C03_Q0031
    Stock Overview Over Time      0IC_C03_Q0032
    Range of Coverage Over Time      0IC_C03_Q0033
    ==================================================================================================
    Regards
    Ram.
    Edited by: Ramakanth Deepak Gandepalli on Jan 18, 2010 8:06 AM

  • How to create sap query with "or" relationship

    dear experts,
    I need a report to display the employee whoese WSR is
    changed in the month for infotype 0007.
    that is ,we want to search with selection
    begda OR endda between 2008-01-01 and 2008-01-31.
    how to create sap query with "or" relationship?

    hi use like this,
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr                 =  p_pernr
        infty                   =  '0007'
       BEGDA                =  p_date1
       ENDDA                 = p_date2
      TABLES
        infty_tab             = itab .
    hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
    loop at itab where condition.
    endloop.
    may it helps u,
    regards,
    venkat.

  • How to create sap query

    how to create sap query if any one has the documentation pls foward to this mail id [email protected]
    thanks
    avinash

    check these links...
    http://www.sap-basis-abap.com/sapquery.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    http://help.sap.com/saphelp_nw04/helpdata/en/25/8f4dd72b0f9f4fa6712fcf2f65f505/frameset.htm

  • How to create quick query region?

    Hi,
    How to create quick query region?
    I have got some tip from OAF developer guild:
    OAPageLayoutBean pageLayout = pageContext.getPageLayout();
    pageLayout.setQuickSearch(quickSearchRN);
    But I don't know how to create 'quickSearchRN'.
    So, I try to create a stacklayout region as quickSearchRN, and add it into pageLayout.
    But there are two stacklayout region displayed. One in qucik query region, other in main region.
    please give me some sample code.

    OAFlowLayoutBean quickQueryRN = (OAFlowLayoutBean)createWebBean
    (pageContext,OAWebBeanConstants.FLOW_LAYOUT_BEAN, null, "QuickQueryRN");
    OAMessageTextInputBean condition = (OAMessageTextInputBean)createWebBean
    (pageContext,OAWebBeanConstants.MESSAGE_TEXT_INPUT_BEAN, null, "condition");
    condition.setPrompt("Name");
    quickQueryRN.addIndexedChild(condition);
    pageLayout.setQuickSearch(quickQueryRN);

  • How we create abap query

    how we create abap query can any1 tell me?

    Reporting tool :Standard reports
    Purpose :Provide solutions for your most frequent reporting requirements
    Advantages :Can be used immediately
    No developments required
    Limitations :Limited flexibility
    Output fields cannot be selected as required
    HIS
    Purpose :Hierarchies are displayed as graphics
    Reports are executed using selected structures or substructures, that is, using preselected sets of objects
    Advantages :User-friendly method of displaying hierarchical structures
    Integration with InfoSet Query and standard reports
    No need to switch from one HR application to another if you want to execute reports from different applications
    Little training required
    Limitations : Limited flexibility
    Tool is used to execute standard reports and customer reports
    It cannot be used to create reports
    InfoSet Query
    Purpose :Intuitive, general SAP reporting tool used to create customer reports
    Enables you to create reports for all areas of HR
    When InfoSet Query is accessed from Human Resources (HR), the Query area and User group parameters already contain values and you can only perform ad hoc reporting. If InfoSet Query is accessed this way, it is called Ad Hoc Query in HR (see HR in InfoSet Query).
    Advantages :User-friendly interface
    Very easy to use
    No programming required
    If integrated with SAP Query, you can continue processing queries using SAP Query
    Set operations enable you to create sets of objects as required for which data must be output
    Can be included in roles using a suitable InfoSet
    Limitations :InfoSets and user groups must be defined in SAP Query before you can use InfoSet Query
    Multiline lists cannot be displayed
    SAP Query
    Purpose :General SAP reporting tool used to create customer reports
    Individual definition of user groups, InfoSets, and queries
    Advantages :Extremely flexible
    No programming required
    Queries can be provided in the SAP Easy Access menu
    Includes numerous options for aggregating data, performing calculations, and displaying graphics
    Enables you to display multiline lists
    Enables you to define one basic list and several statistics and ranked lists for each query
    Limitations :Restricted to data from the R/3 System
    Each HR query can process data from just one HR logical database:
    PNP: Administration, Time Management, and Payroll
    PCH: Generally for all areas, but particularly suitable for reporting on data from Personnel Planning
    PAP: Recruitment
    Requires much more training than other options
    Limitations:Data is extracted from OLTP systems, that is, real-time data is not accessed
    Business Information Warehouse
    Purpose :Analytical reporting tool used for information and decision-making purposes
    Advantages : Extremely flexible
    Facilitates complex calculations (calculation of averages, time series comparisons)
    Enables you to access non-SAP data
    Easy to use
    Uses OLAP technology
    Includes detailed Business Content (HR extractors, InfoCubes, key figures, and standard queries
    i think it is adhoc query not abap query

  • How to create sql query for item master with operator LIKE with variables?

    hi all,
    How to create sql query for item master with
    operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
    Jeyakanthan

    Hi Jeyakanthan,
    here is an example (put the like statement into the where field)
    SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
    The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
    Regards Steffen

  • How to convert MDX query to SQL

    Hi everyone,
    can you please suggest me, how to convert the below mdx query to sql query. can you please tell me what it is doing?
    CREATE MEMBER CURRENTCUBE.[Measures].[calculation]
     AS IIF(([Measures].[Clear Call Count],[Trouble Code].[Is Battery].&[Battery T-Code],[Service Provider].[Is Towmark].&[Towmark],[Provider Technician].[Is Towmark].&[Towmark]) = 0, NULL,
    ([Measures].[ Total Shipped],[Service Provider].[Is Towmark].&[Towmark],[Provider Technician].[Is Towmark].&[Towmark])/
    ([Measures].[Clear Call Count],[Trouble Code].[Is Battery].&[Battery T-Code],[Service Provider].[Is Towmark].&[Towmark],[Provider Technician].[Is Towmark].&[Towmark])),
    FORMAT_STRING = "Percent",
    VISIBLE = 1 ,  ASSOCIATED_MEASURE_GROUP = 'Sale'; 
    Thanks
    Vishu

    Hi Vishu,
    As Olaf said, this is a calculated member which used in MDX script in your cube, we cannot execute it in SQL Server Management Studio directly. Here are some document about calculated members and MDX script for your reference.
    Defining Calculated Members
    MDX Scripting Fundamentals (Analysis Services)
    Regards,
    Charlie Liao
    TechNet Community Support

  • Any hint on how to create a query faster?

    Hi Guru:
    I use query designer for many years, but actually I feel this tool is not really easy to use. For example, I need to right click on a line in a structure, get the popup and then use drag and drop to define a selection for a row.
    Is there any easier way like to input the selection directly or in the future release we will have it? Compare to crystal report, the query designer is really hard to use.
    Eric

    Eric,
    It is what it is and you cannot simplify the development of query further using BEx Query designer. I heard some newa that the reporting is altogether taking a different direction once the Business Object front is combined with SAP BI Backend. Until then you have to use what is there. You could write an ABAP (ofcourse extremly complex) and create MDX files (how query is stored inside SAP). But it is like re-inventing what SAP is doing, and level of success is extremly limitted.
    I feel the pain. But unfortunately there are no other way to achive.
    Goodluck,
    Alex.

  • How to Find MDX Query

    Hi,
    I have created a WEBI report on an OLAP universe on top of a BEx query. Is it possible to see the MDX query being generated by my WEBI report? If yes, then could someone please guide me as to how do I see the exact MDX query generated by the report? Thanks!
    Regards,
    - Noman Jaffery

    Hi Ingo,
    Thanks for the answer. We are having an issue and I was wondering if you could shed somelight on this.
    Our WEBI report running on top of an OLAP Universe on BEx query is taking forever to run and in the end does not return any data.
    We are monitoring the query through BW and apparently it is stuck in the step:  CL_RSR_MDX_BXML_FLATTENING.
    Through logging we got the underlying MDX query and ran it in BEx Editor and it ran in seconds. But when the same MDX query in ran in BEx Editor using the XML option, it is stucking on the same step i.e. CL_RSR_MDX_BXML_FLATTENING
    My hunch is that the result is being converted into XML format from MDX native format before it is passed on to InfoView and this conversion/flattening is taking forever. Is it a known issue? Is there any way around? Thanks!
    - Noman Jaffery

  • How to create a Query iView based on user's parameter?

    Hello,
    I've created a Query iView which depends on a Costumize parameter that the user enters - On stage 5 of the wizard I've entered a customize parameter on a certain field and called it "user_param". The wizard entered the Query: WHERE... = {$user_param}. So far so good...
    My question is, after creating this iView, how Do I implement it at the Portal so the user will have a place to enter his parameter and receive the result?
    when opening the Query I don't see such place. According to SPA's documentation, the user should enter the parameter at the "personalize" menu. When I put this iView in a page and open the "Personalize" menu there is no such place.
    Which further configurations should I do in order it to work?

    If you open the iview, there should be a personalize property or setting for the URL parameter. Make sure that it is set to read/write. I just got off a portal project where I did a few of these, but I don't have access to one right now, so I can't give you the exact steps, but you should get the idea.
    Good luck,
    Tom \

  • How to create infoset query

    Hi,experts
    Can anybody give me documents on infoset query and step by step showing how to create infosetquery. I will really greatful to you all.
    Thanks
    Preeti

    Hi Preeti,
    1. You can query the data using 'Listcube' transaction.
    2. Instead of builing on tables, it sits on ODS (no need to worry about underlying tables).
    3. Visible on the Bex 'info area' as like other infoproviders.
    4. It generates additional key figure called 'Number of records' in the Bex. This will be useful for query.
    5. No additional ABAP can be used. But in RSQ02, you can use piece of ABAP.
    6. Queries created on data provider infoset can work like other queries including transport functionality.
    Hope helps.
    For more info check Re: Query on Infoset
    Bye
    Dinesh

  • How to create ageing query?

    Hi Folks,
    Could you give me an idea how to create an AGEING query  by below requirement ?
    Purpose is to calculate the Ageing, which can be defined as the difference between the Document Date and the current date.
    As the current date is not practical (the AR gets updated once a month, and financial ageing reports usually report compared with end-of-the-month), I propose the
    u2018Last working day of previous month.
    When this interval is created per document the total revenue should be divided into columns based on the ageing:
    1-30 days
    31-60 days
    61-90 days
    91-120 days
    121-360 days
    >360 days.
    Reporting Fields  are :
    Rows & Columns
    Company code
    SAP ID
    Customer name
    Country
    City
    Address
    Postal code
    Total AR
    Current
    1-30
    31-60
    61-90
    91-120
    >120
    >360
    Appreciate your response on this.  Thanks  : Surendra

    Hi,
    In this  you follow th ebelow steps easy
    Go To Create CK F menu-----
    Craete  one Formual Variable on Document Date  with replacement path as 0document posted date
    one more variable Formula Variable with customer exit  on cal cal day
    for that getting the current date  write below code
    WHEN 'ZCDATE'.
    CLEAR: L_S_RANGE.
    L_S_RANGE-LOW = SY-DATUM.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPENDL_S_RANGETO E_T_RANGE.
    ENDCASE.
    when you are creating varaible there is tab in that ( last tab) currency/unit  here you should mention date.
    now use these two formula varaibles Current date formula variable- document date formula varaible
    now uare getting the days
    based on your requirement
    use that
    same Ckf
    one ckf cuurent datevariable -posting datevariable  >30( it gives 0-30)
    in next Ckf current adte - posting date >30<60
    like that you can create as you like.
    Thansk & Regarsd,
    sathish

  • How to create a query in 3.1i system?

    Hi,
    In transaction RSO2 in 3.1i system , we get two options -  Extraction from View and Extraction from Query.
    Could you please me How to create Query for Extraction?
    Is it by using SQ01? If so, could you please explain me the steps?
    Thanks in advance.
    Regards,
    Zehra

    Thanks for your help Frank.
    But when i display my query to be executed by the entityManager it is like that
    Select o from Trp_Sprojects o where o.project_id not in (2,1,4,5,12,14,15,16,17,18,20,6,7,8,9,10,11,13,22,19,3,26,21,23)
    Regards
    Lutchumaya

Maybe you are looking for

  • Forgot icloud password and dont have email or securtiy question access

    Ok so I updated my phone and I cant connect to the network because I cant connect to my icloud.  The problem is that I dont remeber my security questions and the email that I provided has been deactivated.  How can I change the icloud over to my new

  • Complex Logic - Custom Script - Some other solution?

    Evening All, FDM v11.1.1.3 Goal:_ To have conditional mapping based on a currency column. Original accts translate to summary account plus specific C2 member based on the currency. Solution is needed to aid in Currency Exposure reporting. I have been

  • Change of PO currency

    Hi Experts After creation of PO, i wish to change the order currency in the PO. It is possible and any implications due to that? Warm regards ramSiva

  • RSO2 in BW

    Hi Experts, Can someone give a scenario that using RSO2 in BW not in R/3? Thanks, Bill

  • Import XML file into rpd file

    Hi Gurus, it seems to be very easy to import XML files into repos, but I could find suitable driver in my ODBC Data Source Administrator. Could You help me? Many thanks in advance! Regards Laszlo