Export metadata using report script/data export

Hi all,
I have a cube with 3 dimensions:
1. Accounts
2. Period
3. Products
My purpose is to create a txt file using report script (if someone have a better idea I'm willing to hear) as following:
Accounts (level 0), Period (level 0), Products(level 0), ***Products (parent(level 0))***
The challenge is to create an additional column with metadata information like parent of the previous column in my exapmle.
I will be very happy if someone can help me with that.
**I'm using essbase 11.1.2.3
Thanks,
Yuval

Report Sript - it's tool for DATA
not for MetaDATA
For u purpose use
  *    Applied Outline Export Utility
  *    Maxl Shell command
  *    XMLA https://code.google.com/p/essbase-plsql-interface/downloads/list
ER

Similar Messages

  • Using report scripts in Excel - shameless plug for my blog

    I finished the second installment of my Blog, Using Report Scripts in Excel. It can be found at:
    http://glennschwartzbergs-essbase-blog.blogspot.com/

    Thank you Glenn! I just started to look into report script though we've had the tool for years. And look forward to your next installment.

  • ??? Sign flip on Attribute using report script ???

    We are using an Essbase report script to extract data that we then process with HAL. Since the system we are loading into uses natural balances, we need to flip the sign on a revenue accounts (have 'Revenue' attribute in Essbase).Is there a way to do the sign flip on data based on the value of an attribute? I could do it once the data is back in HAL, but it would be easier if we could do it on the data extract.Thanks,TomB

    I'm using example 4.
    This is what I have: 
    $UpdateUserAttributesArray = 'sn','givenName','initials','displayName','info','mail','departmentNumber','department','telephoneNumber','ipPhone','title','physicalDeliveryOfficeName','employeeType'
    Function StudentNameChange {
        $Attributes=BuildUserTable $UpdateUserAttributesArray
        Set-ADuser $User.sAMAccountName -Replace @{mail="$User.mail";targetAddress="$User.mail";proxyAddressess="SMTP:$User.mail";sn="$User.sn";cn="$User.sn + $User.givename"}
    $UpdateUserAttributesArray sets the value for the import file.
    StudentNameChange should set the updated value has needed.
    The script runs but no settings are changed.
    Set-AdUser $User.sAMAccountName  -mail $User.mail -surname $User.sn
    Like that.,
    Replace is only for optional attribute.
    Function does not specifi $user so that may also be missing.
    I think you need to spend some time learning the basics of PowerShell. It looks like you are just gluing things together thazt you have found with no understranding of how any of the bits work.
    Try just setting one user at a command prompt until you see how the CmdLet and PowerShell work.  Post single simple questions as you try each parameter.
    # build a test user object
    $user New-Object PsObject@{
    SamAccoutnName='somename'
    Mail='[email protected]'
    SN='lastname'
    GivenName='John'
    proxyAddresses='...<list of addresses>'
    #start like this and add items until you understand what is working.
    Get-AdUser $user.SamAccountName |
    Set-AdUser -Surname $user.sn -GivenName $user .GivenName -Replace @{Mail='$($user.Mail'}
    #use Rename-Object to change CN.
    You need to learn the simple bits before you try to do grand things.
    ¯\_(ツ)_/¯

  • Report script export 0 KB file from BSO application

    HI, I am try to export budget data from classic planning application using report script in essbase. Report script is not giving any erros. After successful execution it is creating 0kb file. I am able to export data for the same combination using Calculation script. But, report script is not giving any output. I need to export data using report script only. Can any one help on this.

    Can you post the calculation script too?
    {SUPMISSINGROWS}
    <PAGE(SCENARIO,VERSION,CURRENCY,YEAR,CUSTOME3)
    BUDGET FINAL Local FY13
    <ROW(ENTITY,ACCOUNT,CUSTOME1,CUSTOME2,PERIOD)
    <LINK(IDESCENDANTS(ENTITY) AND <LEV(ENTITY,0))
    <LINK(IDESCENDANTS(ACCOUNT) AND <LEV(Account,0))
    <LINK(IDESCENDANTS(CUSTOME1) AND <LEV(CUSTOME1,0))
    <LINK(IDESCENDANTS(CUSTOME2) AND <LEV(CUSTOME2,0))
    JUL
    <COLUMN(HSP_RATES)
    HSP_INPUTVALUE
    Why do you want to use LINK if you are pulling all level 0 <LEV will do the trick, unless you are targeting a specific parent other than the root.
    Regards
    Celvin

  • Help on Report Script

    Hi All,
    We are trying to write a report script to extract Level 0 data. We have an UDA associated with some parent members under a dimension (say "Entity"). Is there any way we can extract the level zero members of parent which are tagged with that UDA??
    Something like <LINK (<LEV((<DESCENDANTS("Entity") AND <UDA(Entity, ABCD)),0) where ABCD is the UDA tagged to the parent members.
    Please suggest.

    user8927833 wrote:
    Below are the examples to get data out using report scripts using UDA
    <UDA (product, "Sweet")The following example uses the UDA command within a LINK statement to select level 0 products that are sweet:
    <LINK(<UDA(product, "Sweet") AND <LEV(product, 0)).
    If you are on BSO then you can write data export calc scriptI am pretty sure that neither of these will work based on what the OP described. The first one would only get the members with the UDA, the second, only those at Level 0 with that UDA. I think the issue is that you cannot obtain the hierarchy beneath the UDA members. As timg suggested, push the UDA down to level 0, or figure another way out.

  • Essbase report scripts

    Hi,
    Is it possible to make report scripts to the XML format in Essbase (using Report Script Editor)? I've only done report scripts, that is saved in .txt format.
    Thanks in advance!

    Hi, I wan't to export data by using report script editor, but the file that I get from that should be xml. Is it possible?

  • Cartesian Product - Report script

    Hi All,
    I am trying to export data for a specific scenario and version using report script.
    I am taking level 0 members of a specific dimension and it is throwing error as follows:
    "The Product of member counts across all dimensions in the query exceeds 2^64"
    I think the cartesian product is beyond the limit value.
    Is there any alternative method to export data of level 0 members for that dimension?
    or is there any command to select only few members from that dimension, so that I can make into two scripts and execute to export data.
    Thanks.
    Regards
    Rav

    "or is there any command to select only few members from that dimension,"
    Take a look at the member selection report script commands. If you have a hierarchies in your dimensions than you can use these to "break up"/more narrowly focus your report script

  • RE:  Essbase Report Scripts

    Hi all
    i really thanks for your support ...
    Here is my question
    I need a Essbase report script which in essence is a basic query where we would say all lev 0 cost centers excluding the some of the rollup points.
    i.e i need to delete some level 0 members using Rule script and we are in 6.5.4 version please help me out in this situation
    Please i really need this script or else please let me know is this possible using report scripts..
    Please ...
    Thanks
    jai
    Edited by: user9314481 on Mar 11, 2010 5:59 AM

    Hi all
    I am not able to find a solution for this issue , please help me out...
    I need a Essbase report script which in essence is a basic query where we would say all lev 0 cost centers excluding the some of the rollup points.
    i.e i need to delete some level 0 members using Rule script because my level 0 members are combination of product 'A ' and Product 'B' but now my users are interested in Product 'B' data and we are in 6.5.4 version please help me out in this situation
    Please i really need this script or else please let me know is this possible using report scripts..

  • Report Scripts - Please Can Some One Help Me

    Hello Gurus,
    Is it possible to display 2 members of the same dimension in adjacent columns using Report Scripts? if not what is the best available option?
    Consider this Sample Outline
    +Product
    +-Cofee
    +---Cafined
    +-------1100
    +-------1200
    +---Decafined
    +-------1300
    +-------1400
    +-Soda
    +---Coke
    +-------1500
    The format of the desired report is
    ======= Jan Feb Mar
    1100 Cofee 8 8 8
    1200 Cofee 8 8 8
    1300 Cofee 7 7 7
    1400 Cofee 7 7 7
    1500 Soda 6 6 6
    ================
    Please Can some one help me in this regard!
    Thanks In Advance

    If I remember correctly when I wanted to do something similar I imported the report with the level 0 members into SQL Server and then joined on a mapping table (was a parent/child table in our case) to get the other column. In our situation we already had the mapping table readily available because this is where the dimension was built from!

  • Report Scripts Output

    Hi,<BR><BR>Is there any way to display the output membernames with double quotes using Report Script in Essbase.<BR><BR><BR>ie: <BR>"Actual" "Sales" "Market"<BR>"Qtr 1" "Qtr 3" "Qtr 3" "Qtr 4" #Missing<BR><BR>Thanks<BR><BR>Osvaldo

    Hi,<BR><QUOTEMBRNAMES option will help you.

  • Export all dimension using a report scripts

    Does anybody has an idea on how to Export the dimensions from Essbase through a report script? Because i will use this to load the dimensions in odi.
    any idea is highly appreciated.
    Thanks in advance.
    Hanson

    If you look at my blog, I talk about the <preview function. it brings back them members with zeros as the values. It's much quicker than actually returning the data.
    There is a problem in general with your premise of using a report script to do this. For ODI, you will want the dimensions in a parent child format. The report script will not do that for you. I would suggest you look at the outline extractor housed on applied olap's web site. www.appliedolap.com it's free and you can run it in a batch mode.
    I think you should also look at John Goodwin's blog http://john-goodwin.blogspot.com/ he has a series of articles on ODI. you whould be able to extract the dimensionality from a cube and load it into another cube directly from ODI

  • Report script taking too long to export data

    Hello guys,
    I have a report script to export data out of a BSO cube. The cube is 200GB in size. But the exported text file is only 10MB. It takes around 40 mins to export this file.
    I have exported data of this size in less than a minute from other DBs. But this one is taking way too long for me.
    I also have a calc script for the same export but that too is taking 20 mins which is not reasonable for a 10MB export.
    Any idea why a report script could take this long? Is it due to huge size of database? Or is there a way to optimize the report script?
    Any help would be appreciated.
    Thanks

    Thanks for the input guys.
    My DATAEXPORT is taking half the time than my report script export. So yeah it is much faster but still not reasonable(20 mins for one month data) compared to other DBs that are exported very quick.
    In my calc I am just FIXING on level 0 members for most of the dimensions against the specific period, year and scenario. I have checked the conditions for an optimal report script, I think mine is just fine.
    The outline has like 15 dimensions in it and only two of them are dense. Do you think the reason might be the huge size of DB along with too many sparse Dims?
    I appreciate your help on this.
    Thanks

  • Export OSB configuration from eclipse using ant script

    I am trying to export an OSB project from eclipse using ant script
    I followed the link below http://biemond.blogspot.com/2010/07/osb-11g-ant-deployment-scripts.html
    It is using com.bea.alsb.core.ConfigExport to do the export. This export is always set to resource level.
    I see it generates a file ExportInfo setting some properties. It has a property that set the export level as below
    <imp:property name="projectLevelExport" value="false"/>*
    How can I export the project in project level? basically setting projectLevelExport to true?
    So that if a file does not exist in the sbconfig.jar file , then while importing the jar to OSB server it will delete the file from the server instead of skipping it?
    I appreciate any help
    here is the ant script snippet that gets executed to export from eclipse
    <target name="exportFromWorkspace">
         <delete failonerror="false" includeemptydirs="true"
    dir="${metadata.dir}"/>     
                   <!--eclipse.refreshLocal resource="${config.project}" depth="infinite"/-->
    <java dir="${eclipse.home}"
    jar="${eclipse.home}/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar"
    fork="true" failonerror="true" maxmemory="768m">
    <jvmarg line="-XX:MaxPermSize=256m"/>
    <arg line="-data ${workspace.dir}"/>
    <arg line="-application com.bea.alsb.core.ConfigExport"/>
    <arg line="-configProject ${config.project}"/>
    <arg line="-configJar ${config.jar}"/>
    <arg line="-configSubProjects ${config.subprojects}"/>
              <arg line="-exportLevel true"/>
    <arg line="-includeDependencies ${config.includeDependencies}"/>
    <sysproperty key="weblogic.home" value="${weblogic.home}"/>
    <sysproperty key="osb.home" value="${osb.home}"/>
    <sysproperty key="osgi.bundlefile.limit" value="500"/>
    <sysproperty key="harvester.home" value="${osb.home}/harvester"/>
    <sysproperty key="osgi.nl" value="en_US"/>
    <sysproperty key="sun.lang.ClassLoader.allowArraySyntax" value="true"/>
    </java>
    </target>

    yes, I specified the project name to export the whole project.
    Here is few lines from my properties file
    # properties for workspace export
    config.project="OSB Configuration-GW"
    config.jar=D:/workspace/osb/scripts/gateway/mycode2/ant_osb/dist/sbconfig.jar
    config.subprojects="GatewaySecurity"
    config.includeDependencies=true
    workspace.dir=D:/workspace/osb/gateway-workspace
    But this property does not make it to export at project level ,it export the specified project at resource level.
    And while importing this jar to OSB server, if a file is missing it skips the file instead of deleting the file from the OSB server
    If I unjar sbconfig.jar file, open ExportInfo file and update the line in bold below to true then it deletes the file from OSB server, if not exist in sbconfig.jar
    <imp:property name="exporttime" value="Thu Dec 29 13:57:44 EST 2011"/>
    <imp:property name="productname" value="Oracle Service Bus"/>
    <imp:property name="productversion" value="11.1.1.4"/>
    *<imp:property name="projectLevelExport" value="false"/>*
    Here is few lines from Oracle API java doc
    http://docs.oracle.com/cd/E13171_01/alsb/docs26/javadoc/com/bea/wli/sb/management/importexport/ALSBImportOperation.Operation.html
    public static final ALSBImportOperation.Operation Delete
    Indicates that the resource is deleted in the importing domain. This is the default operation when the project is exported in its entirety and the resource exists in the target domain but not in the jar file
    public static final ALSBImportOperation.Operation Skip
    Indicates that the resource is skipped meaning the resource is not touched in the importing domain. This is the default operation if the jar file was exported at the resource level, and a resource that exists in the target domain, does not exist in the jar file.

  • Report script taking very long time to export in ASO

    Hi All,
    My report script is taking very long time to execute and finally a message appears as timed out.
    I'm working on ASO Cubes and there are 14 dimensions for which i need to export all data for all the dimensions for only one version.
    The data is very huge and the member count in each dimension is also huge, so which is making me difficult to export the data.
    Any suggestions??
    Thanks

    Here is a link that addresses several ways to optimize your report script. I utilize report scripts for Level 0 exports in an ASO environment as well, however the majority of our dimemsions are attribute dimensions.
    These are the most effective solutions we have implemented to improve our exports via report scripts:
    1. Make sure your report script is written in the order of how the Report Extractor retrieves data.
    2. Supressing Zero and Missing Data
    3. We use the LINK command within reports for some dimensions that are really big and pull at Level 0
    4. Using Symmetric reports.
    5. Breakout the exports in multiple reports.
    However, you may also consider some additional solutions outlined in this link:
    1. The MDX optimizing commands
    2. Back end system settings
    http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_dbag/drpoptim.htm
    I hope this helps. Maybe posting your report script would also help users to provide feedback.
    Thanks
    Edited by: ronnie on Jul 14, 2011 9:25 AM
    Edited by: ronnie on Jul 14, 2011 9:53 AM

  • Report Script Export to sql

    Hi there again, I test the report script to export data to SQL, for example, on Demo - Basic db, the text file is generated as this:
    New York Stereo Sales 1000.0 950.0
    New York Stereo Cost of Goods Sold 580.0 551.0
    New York Stereo Margin 420.0 399.0
    However when import to sql, I still get everything in one big column, any idea?
    <PAGE(Scenario)
    <COLUMN(Year)
    <ROW(Market, Product, Accounts)
    <CHILD East
    <DESC Product
    { DECIMAL 1
    WIDTH 9
    SUPBRACKET
    SUPCOMMA
    MISSINGTEXT " "
    UNDERSCORECHAR " "
    SUPHEADING
    NOINDENTGEN
    SUPFEED
    ROWREPEAT }
    Budget
    Jan Feb
    <DESC Accounts
    !

    Don, I haven't followed all of your other threads so I'm not sure what tool you're using to import the .txt file to your relational database.
    However, the problem is probably that your import tool isn't recognizing where one field ends and another begins. Pretty much every import tool has a method for specifying the column widths, or to use a delimiter - for example, specify tab delimiters and use {TABDELIMIT} in your report script.

Maybe you are looking for

  • 2010 15" MBP will randomly stop charging and shut off

    Okay guys I have to say this computer has been absolutely bullet proof.  To start I have only noticed this since I have installed mavericks OS.  I tend to use my computer with an external monitor most of the time with the laptop still open so I can h

  • HP Pavilion dv7 Crashed

    Ok here I go While I was deployed my kids managed to crashed my Laptop HP Paviion dv7 Notebook PC, Factory installed OS: Vista, I don't have a recovery disk and when I run the test for the memory and hardrive I get an error #10008 to replace HArd Dis

  • How oracle replaces "carrage return, tab and blank" in v$sql.sql_text??

    Hi. all. I am wondering how oracle replace "carrage return, tab and blank" character to v$sql.sql_text?? I am try to find sql_id by the following query. select * from v$sql where sql_text like 'blur blur %'. However, how can I specify 'blur blur %' w

  • Constrict the authorization for materials in SD-Order

    Hi, this is my first post in SDN, i hope I can find a solution to my question here... I want to constrict the authorization for materials in SD-orders. I tried using the authorization group in material view 'basic data1', but this seems to be unique

  • Aperture quits on opening.

    Aperture which I bought via the App Store now quits on opening. Followed suggestion at support.apple.com/kb/TS3231 but the files referred to did not exist. The App store icon in the dock has a red spot perhaps suggesting an update is available but no