ASO data slice export using MDX

Hi
Can any one help in syntax for exporting data slice from ASO cube using Mdx and Maxl?

spool
http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?maxl_commands_spool.html
ogin test test on test;
Spool on to 'mxlDefectAll.txt';
set column_width 36;
SELECT NON EMPTY {( [Actual])} ON COLUMNS,
NON EMPTY
CrossJoin (CrossJoin ([Product].children, [Market].children),
CrossJoin([Year].Children, [Measures].children))
ON ROWS
FROM Sample.Basic
spool off;
logout;
or use maxl-perl interface
http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?maxl_perl_examples.html

Similar Messages

  • Unable to do data form export using FormDEfUtil.cmd

    Hi all,
    I'm not able to do the data form export using FormDEfUtil.cmd.
    D:\hyperion\planning\bin\FormDEfUtil.cmd export <formname> localhost admin password <appname>
    I get this below message when tried the above script in cmd prompt.
    usage: HspFormDefUtil <import/export> <filename/formname/-all> <server> <username> <password> <application>.
    Any help is appreciable.
    Thanks!!
    Rev

    It works..but still i dint get the .xml file..when checked the log,it is updated as below,
    hbrserver.log:
    +2010-08-17 07:54:44,346 WARN main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity+
    FormDefUtil.log:
    Single sign on validation failed.
    there could be any prob in authentication.??
    Thanks!!
    Rev

  • How to get planning function in customized data slice?

    Hi all,
    we are using a customized data slice which implements IF_RSPLS_DATASLICE. Now we have the requirement that the data slice only protects the data when it calls via query. The data slice will not protect data if a planning function is executed. How can we implement this requirement? Is it possible in the method IF_RSPLS_DS_METHODS ~ IS_PROTECTED to read this information from an instance of the planning function (CL_RSPLS_CR_CONTROLLER?) or the buffer or something else? Or can we find some information about the query?
    At the moment we only check if a planning sequence is called by a process chain. This works fine
    IF sy-batch IS NOT INITIAL.
        e_noinput = rs_c_false.
        EXIT.
      ENDIF.
    Thanks for your help!

    Hi,
    I think this topic was already discussed in this forum.
    By design, it should not matter whether a query or a planning function is not allowed to change records. This is what data slices were designed for.
    OK, you need a different behaviour.
    1. Maybe you can detect from the planning function filter or query filter whether you run function or a query. If this is the case use the method IS_OVERLAPPING of the data slice. There you get the filter as a I_TSX_SELDR or as a range table when you call SELDR_TO_RANGE. When you return r_is_overlapping = rs_c_false. the data slice will not be called.
    2. Another option is to call the factory of the data slice and to use a flag in the data slice that indicates that the data slice is used in the context of a planning function. The factory method is GET_INSTANCE. Set a break point there to find out how the system calls this method. But when to call the factory? Check note 1101726. This note provides infrastructure to change the filter of a planning function at run time. But you can use this exit to call the factory method mentioned above. The nice thing is that you can raise the excpetion EMPTY in the exit, thus the function will not be called. So use a planning sequence with dummy1, your function, dummy2. For dummy1 switch on flag on, raise EMPTY, dummy1 will not be executed (almost no run time is needed), then 'your function' will be called (do nothing in the exit', then function dummy2 will be called, here switch the flag off again.
    Check also the following link where the above technique is used to for the conditional execution of planning functions:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0785271-1446-2d10-6987-d1e44f08e97c
    Regards,
    Gregor

  • Lock for data in data partition/data slice

    Hi
    we are on SAP BI IP and we have the following scenario.
    We defined a planning web tempate "WT AA0"  based using char Version with value "AA0".
    User A plans data and then "locks" them using a data slice/partition.
    User B  works a planning web template "WT AA1" where char Version has value "AA1" ; as soon as user B runs a planning function (based on custom class using IF_RSPLFA_SRVTYPE_IMP_EXEC) and user A opens web template "WT AA0" , user B is locked.
    Now I have two questions:
    1. is correct that data "locked" from partitions/data slice are used in lock?
    2. if use in the class the if IF_RSPLFA_SRVTYPE_IMP_EXEC_REF, and change the filter on char Version (using only AA1), can I avoid this lock??
    many thanks in advance.
    S.

    Hi Stefania,
    just for clarification: data slices have nothing to do with transaction data locks.
    Data slices protect records from being changed at run time. Data slices can be changed at run time, e.g. in an exit implementation. This is why data slices have no effect on transaction data locks.
    Transaction data locks ensure that the set of data records described by filter of a query or planning function can only be changed by one user (concurreny locks) in one user session. The filter used at run time to set the transaction data locks will be determined at run time:
    - query: the filter of the query and restricted key figures with the 'lock relevant setting' (cf. Query Designer) will be used to compute the filter to be used to set the lock
    - planning function: the filter used in the configuration will be used to set the lock; reference data will not be used to set exclusive locks
    In your example the queries use different versions in the filter, so two users using these 'their' version will not lead to a lock conflict. If a planning function needs version AA0 as reference to change data for version AA1 you have to use AA0 as reference data and only AA1 in the filter of the planning function.
    Regards,
    Gregor

  • Data slice in IP

    hi
    i know data slice is used for lockinging concept, what do u mean i have seen in IP material its shwoing with version and year some other combination its locking? can u give any example how locking system will work?
    regards
    suneel.

    Hello Suneel,
    Please refer this document for Locking
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2b7bd590-0201-0010-0cbb-f52f1802907b
    For Data Slice
    http://help.sap.com/saphelp_sem40bw/helpdata/en/13/ddfb2be53611d3b7900000e82debc6/content.htm
    For example see the last entry of this thread
    Data Slices
    Thanks
    Chandran

  • Difference in file size between EM Export and Export using cmd.....

    Hi ,
    I use the following command in a command prompt to export a schema....
    C:\oracle\product\10.2.0\database10g\BIN\exp.exe system/*****@local FILE=C:\FILES.DMP ROWS=Y OWNER=USER_DB LOG=C:\TEST.LOG
    which produces a file around 900KB.
    When i exported on the same database , the same dataschema , both the data and the db objects ... using the EM the file produced was around 4000KB.....
    Why is this difference.....????
    I noticed in the log file of the exported file using EM some additional info... such as :
    'estimated USER_DB.TABLE_NAME 64KB'
    Can this info justify the difference in file size between the two methods..????
    Note: I use OraDb 10g v.2
    thanks a lot
    Simon

    The export done from EM is from Data Pump export.
    The manual export you did is original export.
    Try do a manual data pump export using expdp and compare the size.

  • How can I use the data pump export from external client?

    I am trying to export a bunch of table from a DB but I cant figure out how to do it.
    I dont have access to a shell terminal on the server itself, I can only login using TOAD.
    I am trying to use TOAD's Data Pump Export utility but I keep getting this error:
    ORA-39070: Unable to open the log file.
    ORA-39087: directory name D:\TEMP\ is invalid
    I dont understand if its because I am setting the parameter file wrong or if the utility is trying to find that directory on the server whereas I am thinking its going to dump it to my local filesystem where that directory exists.
    I'd hate to have to use SQL Loader to create ctl files for each and every table...
    Here is my parameter file:
    DUMPFILE="db_export.dmp"
    LOGFILE="exp_db_export.log"
    DIRECTORY="D:\temp\"
    TABLES=ACCOUNT
    CONTENT=ALL
    (just trying to test it on one table so far...)
    P.S. Oracle 11g
    Edited by: trant on Jan 13, 2012 7:58 AM

    ORA-39070: Unable to open the log file.
    ORA-39087: directory name D:\TEMP\ is invalidDirectory here it should not be physical location, its a logical representation.
    For that you have to create a directory from SQL level, like create directory exp_dp..
    then you have to use above created directory as DIRECTORY=exp_dp
    HTH

  • Is there any way to export IT Resource data from OIM using the export tool?

    Hello,
    we are trying to migrate an OIM development environment to a preproduction environment and we need to migrate more than 400 IT Resources. We have exported some IT Resources and when we imported them in the preproduction environment their data was not migrated. Is there any way to export IT Resource data from OIM using the export tool? Or is there any other way to do this without doing it by hand?
    Thank you for your help
    Kind Regards

    Well , OIM doesnot provide any such facility to export ITResource data along with ITResource .
    Directly updating the DB could be an option ..
    Thanks

  • How to use variables in data slices?

    Hello,
    in BI-IP I have tried to use variables in a data slice.
    The user should fill these variables.
    How can one use and fill these variables?
    Thank you
    Daniel

    Hello Horst,
    data slice is a very strong system lock. It is normally not a good decission to allow users to control this part becuse it sould be in administration of a responsible person.
    If you allow users in the web to open or close data slices, this is like a "open period" funtion in financials: Think about what could happen, if anyone else than the responsible person could do that....
    This is my point of view.
    I would do it in anoter way: Create an User exit and fill a variable like desribed above. You read each line and make a decission whether the user might see this line or not (e. g. period open? yes or no?). The period and the status for the period could be maintained in a table or in a characteristic. table might be easier.
    regards
    Eckhard

  • Exporting whole database (10GB) using Data Pump export utility

    Hi,
    I have a requirement that we have to export the whole database (10GB) using Data Pump export utility because it is not possible to send the 10GB dump in a CD/DVD to the system vendor of our application (to analyze few issues we have).
    Now when i checked online full export is available but not able to understand how it works, as we never used this data pump utility, we use normal export method. Also, will data pump reduce the size of the dump file so it can fit in a DVD or can we use Parallel Full DB export utility to split the files and include them in a DVD, is it possible.
    Please correct me if i am wrong and kindly help.
    Thanks for your help in advance.

    You need to create a directory object.
    sqlplus user/password
    create directory foo as '/path_here';
    grant all on directory foo to public;
    exit;
    then run you expdp command.
    Data Pump can compress the dumpfile if you are on 11.1 and have the appropriate options. The reason for saying filesize is to limit the size of the dumpfile. If you have 10G and are not compressing and the total dumpfiles are 10G, then by specifying 600MB, you will just have 10G/600MB = 17 dumpfiles that are 600MB. You will have to send them 17 cds. (probably a few more if dumpfiles don't get filled up 100% due to parallel.
    Data Pump dumpfiles are written by the server, not the client, so the dumpfiles don't get created in the directory where the job is run.
    Dean

  • IIf condition between dates using mdx query

    Hi,
    how to check IIF condition between dates using mdx query.
    I able to check single year,plese check below mdx query.I need to check members between years.
    my requirement is member is belongs to between years(2007 to 2010),display "yes" else "NO";
    Could you please give me exact mdx query.
    From,to-2007,2010,if member belongs to 2007to 2010 then disply "yes"else "no".
    how to pass two members in IIf condition.
    WITH
    MEMBER Measures.[test]
    AS Iif([Date].[Calendar Year].currentmember
    is [Date].[Calendar Year].&[2007],"no","yes")
    SELECT {Measures.[test]}
    on 0
    ,[Product].[Subcategory].[Subcategory].MEMBERS * [Date].[Calendar Year].[Calendar Year]
    ON 1
    FROM [Adventure Works]
    indu

    Hi Sriindu,
    consider the following:
    WITH
    MEMBER measures.[test] AS
    IIF
    Exists
    [Date].[Calendar Year].CurrentMember
    [Date].[Calendar Year].&[2007] : [Date].[Calendar Year].&[20010]
    ).Item(0)
    IS
    [Date].[Calendar Year].CurrentMember
    ,"yes"
    ,"no"
    SELECT
    {measures.[test]} ON 0
    [Product].[Subcategory].[Subcategory].MEMBERS
    [Date].[Calendar Year].[Calendar Year] ON 1
    FROM [Adventure Works];
    Philip,

  • How to Export Iphone application Recorded data to PC using wi-fi ?

    Hi,
    I have made Iphone application.
    In my application whatever data i have recorded; all that data i want to export to the Computer using the application.
    Is there any way available to sent data to computer using wifi using developed application?
    Can we use Bluetooth or Http connection to send application from device to the PC?
    if we can than how can we manage the bluetooth and how to use it without Jailbreaking?
    if any body has any solution,please give any code or any link or any other solution which would appreciated.
    Thanks,
    Mishal

    Seen this thread yet?
    http://discussions.apple.com/thread.jspa?messageID=9864422&#9864422

  • Allocations using MDX in ASO?

    Can allocations be done in an Essbase ASO application using MDX calc scripting? If so, is it worth moving to it considering the work involved? It is fairly easy to develop and support in BSO applications. Thanks.

    Hi Hiren,
    According to your description, you will not select Country, State & City at the same time, right?
    So as per my understanding, you needn't to create the hierarchy, just create three attributes Country, State and City. Then when you select one of the attributes in the PowerPivot table, the attribute can be the filter which you can see on the screenshot
    below.
    Regards,
    Charlie Liao
    TechNet Community Support

  • Error in Exporting HRMS people data to excel using WEB EDI.

    Hi ,
    I am using an existing integrator to export people data to excel using WEB ADI.
    When the excel opens it first shows the it is trying to download data, but later shows an error message saying that an error has occurred in the script on this page
    line 18
    Char 5
    Error Object doesn't support this property or method.
    Can anyone please throw some light as to what can be the cause of the error.
    Regards
    Deepak

    Hi experts,
    When I click the "Upload" button on GL Journal WebADI, The following error message is displayed:
    http://myservername:port/OA_HTML/BneApplicationService?bne:encoding=UTF-8
    I think this error is similar as your previous discussion, and I tried the solution as you mentioned, but not worked. If there is any new solution for the errors of this kind?
    Some Environment parameters are as following:
    Product: EBS 12.1.1
    Browser: IE 7.0 and Firefox 3.5.5
    Hope for your advice.
    Thanks in advance.

  • Error extracting data from essbase cube using MDX method

    Hi,
    We have some problems extracting data from essbase cube using MDX method, we believe that the problem is the MDX query, this is the problem and query:
    ERROR:
    [DwgCmdExecutionThread]: Cannot perform cube view operation. Analytic Server Error(1260046): Unknown Member SELECTNON used in query
    com.hyperion.odi.essbase.ODIEssbaseException: Cannot perform cube view operation. Analytic Server Error(1260046): Unknown Member SELECTNON used in query
         at com.hyperion.odi.essbase.wrapper.EssbaseMdxDataIterator.init(Unknown Source)
    MDX:
    SELECT
    NON EMPTY {[YearTotal].[Jan]} ON COLUMNS,
    NON EMPTY {[Total Movimientos].[Presupuesto Base]} ON AXIS(1),
    NON EMPTY {[Año].[FY11]} ON AXIS(2),
    NON EMPTY {[Escenario].[Presupuesto_1]} ON AXIS(3),
    NON EMPTY {[Version].[Trabajo]} ON AXIS(4),
    NON EMPTY {[Moneda].[Moneda Input]} ON AXIS(5),
    NON EMPTY {[Centros de Costo].[1101]} ON AXIS(6),
    NON EMPTY {Descendants([Resultado Operacional],4)} ON AXIS(7)
    FROM [DSR02].[ROP]
    We try extract data using a sample cube and work fine, this is the mdx query:
    SELECT
    {[Actual],[Budget]} ON COLUMNS,
    {[Sales]} ON ROWS,
    NON EMPTY {[Product].levels(0).members} ON PAGES,
    NON EMPTY {[East].levels(0).members} ON AXIS(3),
    NON EMPTY {[Year].levels(0).members} ON AXIS(4)
    FROM Sample.Basic
    The model reversed ([DSR02].[ROP]) have the same structure than query need, the query and the model are fine, definitely we can´t see the problem, someone can help us?
    Regards

    You will be able to test the MDX query in EAS, it is usually best to test the query first before trying to use it in ODI.
    Is there any reason you are using MDX to extract the data, have you tried reportscript as I usually find it more efficient to extract the data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • PowerShell: Update SharePoint multiple value lookup column?!

    Hi. I have some PowerShell scripts that access, update and insert data into various SharePoint 2010 lists. This all works nicely but there is one thing I'm having trouble with. I want to populate a lookup column in a list with multiple values. The co

  • Error 1719 during Office 2010 Silent installation

    Hi,  I have created a logoff vbs script enforced through GPO for a silent installation of office 2010 SP. The main part of the script run the following command:  SetupCommand = ShareDir & "\x86\setup.exe /config " & ShareDir & "\x86\ProPlus.WW\config

  • N96 facebook app problem

    I downloaded nokia facebook client to my n96 and it install the facebook app for me.But any time I tried to login it gives message "invalid app ID".Please any help cuz i like the sis fb app than J2me fb app.Thanks

  • Adobe QT32 Server ( ne réponds pas ) ?

    Bonjour à tous, J'ai déjà publier sur ce forum et ça toujours été utile pour moi. Depuis deux jours, il m'a aussi permis de remédier à de gros soucis, je me permet donc de faire un point avec vous sur les problèmes que j'ai eu bien qu'ils soientt rés

  • HT1444 PowerBook G4 17" 10.5.8

    I need all about the systems software changed and updated messages (Mac OS X v10.5.8 Leopard for PowerBook G4 17") Tks