Out of memory Error while querying SQL Script based Calculation View

Hi All,
I wanted to test the performance of Graphical and SQL Script based Calculation views.
Created Graphical (CA_GRPH) and SQL Script (CA_SQL) Calculation views.
Analytic View (AN_GRPH) for both Calculation views are the same which is Graphical based (90 Attributes and 5 Measures)
In Analytic View data foundation I have a Fact table which has 1.5 Billion records and 9 Dimension Tables –collectively 500 million records (7 Attribute Views). 9 Referential joins with cardinality N:1 and 1 Referential join with cardinality N:N.
I wanted to keep (CA_GRPH) and (CA_SQL) as a base Calculation views and leverage those to create various calculation views (Will be creating different Calc views for respective Business segments)
In order to test this I have created below calc views on top of base calc views.
Graphical Based: Created (CA_GRAPH_XYZ) by having CA_GRPH in projection with 30 Calculated Columns. – This retrieves data in 13 secs
SQL Script Based: Created (CA_GRPH_ABC) by having CA_SQL in projection view with 30 calculated columns – This errors out after 1.50 mins.
Could not execute 'SELECT "COLUMN_A","COLUMN _B"," COLUMN _C"," COLUMN _D", SUM("COLUMN _REVENUE") AS ...' in 1:50.480 minutes .
SAP DBTech JDBC: [2048]: column store error:  [2048] column store error: search table error: [1000002] Error executing physical plan: exception 1000002:
ltt/impl/memory.cpp:63
Out of memory ; $size$=1507711; $name$=ihm; $type$=pool; $inuse_count$=170104; $allocated_size$=219215007925
exception 1000002:
Any suggestion / help in fixing this issue will be greatly appreciated.
Regards,
Av

Hi Raj,
Thanks for your time, please find edited snap hot of Analytic View (AN_GRPH) below,
Calculation view(CA_SQL)
        /********* Begin Procedure Script ************/
BEGIN
       var_out =
     SELECT
            "COLUMN_1"
            "COLUMN_2",
            "COLUMN_84",
            "COLUMN_85;",
            SUM("REVN") AS "REVN",
            SUM("MGN") AS "MGN",
            SUM("ORD_QTY") AS "ORD_QTY",
            SUM("SYS_QTY1") AS "SYS_QTY1",
            SUM("SYS_QTY") AS "SYS_QTY"
FROM
      "_SYS_BIC"."XYZ/AN_GRPH"
GROUP BY
            "COLUMN_1"
            "COLUMN_2",
            "COLUMN_84",
            "COLUMN_85";
END
/********* End Procedure Script ************/
Later i have built one more Calculation view(CA_GRPH_ABC) using (CA_SQL)in projection. i have 30 calculated measures in this final calc view. this final calc view is throwing above mentioned error.
Not sure if i can use SQL script based calc view in graphical based calc views?
Regards,
AV

Similar Messages

  • Getting 'Out of memory' error while opening the file. I have tried several versions of Adobe 7.0,9.0,X1. It is creating issue to convert PDF into TIFF. Please provide the solution ASAP

    Hello All,
    I am getting 'Out of memory' error while opening the file. I have tried several versions of Adobe 7.0,9.0,X1.
    Also, it is creating issue to convert PDF into TIFF. Please provide the solution ASAP.

    I am using Adobe reader XI. When i open PDF it gives "OUT of memory" error after scrolling PDF gives another alert "Insufficient data for an image". after clicking both alerts it loads full data of PDF. It is not happening with all PDFs. couple of PDFs are facing this issue. Because of this error my software is not able to print these PDFS into TIFF. My OS in window7*64. I tried it on win2012R2 and XP. Same issue is generating there.
    It has become critical issue for my production.

  • Out of Memory Error While deploying as EAR file

    Hai,
    I was trying to deploy an EAR file of size 63 MB which inturn containing about 60 EJB.jars. No WARs. application.xml has all the entries for the JARs. While I am deploying it is giving Out of Memory Error. Is there any way to tweak this problem. I am using my own hand written java application which uses the SunONE deployment APIs for deployment. Can u please tell how to tackle this problem. I am running my application through a batch file which uses jdk1.4.
    Please help me regarding this issue.

    You can set the initial heap size and maximum heap size for the JVM, either in the app-server admin console, or maybe in one of your scripts. You look-up the syntax!...
    I had this error yesterday. I too had run out of memory (150Mb). You simply need to allocate more to the app-server.

  • Why do I get a Track out of memory error while running open loop frequency response?

    MatrixX Build 61mx1411: I get a "Track out of memory" error when I run the Open Loop Frequency Response from the MatrixX pull down tools. What can I do to prevent this? We are running on an HP B1000 with 768 MB of RAM under HP-UX 10.2.

    In the old days of Mx say Version 5 and prior the user actually selected the amount of memory that would be allocated. Depending on the size of the model etc. you would have to allocate memory. In version 6.0 and going forward there is no need for the user to manually allocate the memory.
    Build {rstack=50000,istack=200000,sstack=50000,cstack=50​0 000}
    If this is a command in a script file that you are running and the error is resulting from that then I would try commenting out everything after the letter d in the word build and then starting it back up.
    i.e. only use Build
    I don't believe that there is a way to manually allocate the initial SystemBuild Stack size.
    I believe initially the stack size is set to 10010.
    However, one way
    you can manually set the initial SystemBuild stack size,is to create a large StateSpace as soon as you start up SystemBuild. This will prevent piece-meal reallocs while using SystemBuild.
    You can created a new SuperBlock in SystemBuild and then drop down a StateSpace Block with 199 inputs and 199 Outputs and 1 State and entered ones(200,200)as the StateSpace Matrix without any problems. This would resize this internal stack to at least 40000.
    You really should not have to do this but if that helps then you might think about doing this in your startup.ms file you could use SBA or load the file then you could delete the superblock and begin working.
    "Bob" gave me this little tid bit.
    Please let me know if any of this is of use.
    Garrett
    Garrett Thurston
    [email protected]
    Phone: 781.993.5540

  • Out of Memory error while builng HTML String from a Large HashMap.

    Hi,
    I am building an HTML string from a large map oject that consits of about 32000 objects using the Transformer class in java. As this HTML string needs to be displayed in the JSP page, the reponse time was too high and also some times it is throwing out of memory error.
    Please let me know how i can implement the concept of building the library tree(folder structure) HTML string for the first set of say 1000 entries and then display in the web page and then detect an onScroll event and handle it in java Script functions and come back and build the tree for the next set of entries in the map and append this string to the previous one and accordingly display it.
    please let me know whether
    1. the suggested solution was the advisable one.
    2. how to build tree(HTML String) for a set of entries in the map while iterating over the map.
    3. How to detect a onScroll event and handle it.
    Note : Handling the events in the JavaScript functions and displaying the tree is now being done using AJAX.
    Thanks for help in Advance,
    Kartheek

    Hi
    Sorry,
    I haven't seen any error in the browser as this may be Out of memory error which was not handled. I got the the following error from the web logic console
    org.apache.struts.actions.DispatchAction">Dispatch[serviceCenterHome] to method 'getUserLibraryTree' returned an exceptionjava.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:996)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6452)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3661)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2630)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.OutOfMemoryError
    </L_MSG>
    <L_MSG MN="ILHD-1109" PID="adminserver" TID="ExecuteThread: '14' for queue: 'weblogic.kernel.Default'" DT="2012/04/18 7:56:17:146" PT="WARN" AP="" DN="" SN="" SR="org.apache.struts.action.RequestProcessor">Unhandled Exception thrown: class javax.servlet.ServletException</L_MSG>
    <Apr 18, 2012 7:56:17 AM CDT> <Error> <HTTP> <BEA-101017> <[ServletContext(id=26367546,name=fcsi,context-path=/fcsi)] Root cause of ServletException.
    *java.lang.OutOfMemoryError*
    Please Advise.
    Thanks for your help in advance,
    Kartheek

  • U0093Critical program error occurred .u0093Client out of memory error u0093 - Query

    I have a problem with Query in BI 7.0
    Query works perfectly in BW3.5 environment.  BI 7.0 Vista and Excel 2007 environment – I have date range in the query – If I provide date range 4 months interval it is working fine.
    If I provide 5, 6,7, months interval – I am getting the error ,
    “Critical program error occurred .The program has to close. Please refer to the trace for further information.”
    Communication error, CPIC return code 020, SAP returns code 223
    “Client out of memory error “
    When I execute each interval this query and calculated the no of records – it is only less than 19,000 records.
    The same query working fine in Bw3.5  for more than year interval.
    Advance Thanks .

    It depends on the ssytem settings. The problem with your query is that it is not able to fetch all the data due to lack of memory. However, when you are giving smaller range, you are getting the output. You can either ask the basis guy to increase the memory space or try running the query by giving smaller date range. You can have some filters on your query also.
    Thanks...
    Shambhu

  • Out of memory error while starting NWDS

    Hi.
    I have NWDS 7.0.08 installed. I'm developing DC's assigned to a DTR. While working, I had about 10 projects open in the workspace and when I tried opening another one, NWDS crashed giving an "out of memory" error. And when I try to reopen NWDS, I get the error "Problems during startup. Check the .log file in the .metadata directory of your workspace".
    When I look at the log, I see the following lines:
    !ENTRY org.eclipse.core.runtime 4 2 Feb 19, 2007 16:32:18.78
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
    !STACK 1
    org.eclipse.core.internal.resources.ResourceException(null)[567]: java.io.EOFException
         at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:400)
         at java.io.DataInputStream.readUTF(DataInputStream.java:633)
         at java.io.DataInputStream.readUTF(DataInputStream.java:610)
         at org.eclipse.core.internal.dtree.DataTreeReader.readNode(DataTreeReader.java:57)
         at org.eclipse.core.internal.resources.WorkspaceTreeReader.readTree(WorkspaceTreeReader.java:44)
         at org.eclipse.core.internal.resources.SaveManager.restoreTree(SaveManager.java:776)
         at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:488)
         at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1033)
         at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1734)
         at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1537)
         at org.eclipse.core.resources.ResourcesPlugin.startup(ResourcesPlugin.java:268)
         at org.eclipse.core.internal.plugins.PluginDescriptor$1.run(PluginDescriptor.java:736)
         at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:748)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !ENTRY org.eclipse.core.resources 4 567 Feb 19, 2007 16:32:18.78
    !MESSAGE Problems reading workspace tree.
    !STACK 0
    java.io.EOFException
         at java.io.DataInputStream.readUnsignedShort(DataInputStream.java:400)
         at java.io.DataInputStream.readUTF(DataInputStream.java:633)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !ENTRY org.eclipse.core.runtime 4 2 Feb 19, 2007 16:32:18.93
    !MESSAGE Plug-in com.tssap.util was unable to load class com.tssap.util.startup.WBLauncher.
    !STACK 0
    org.eclipse.core.internal.boot.DelegatingLoaderException: org.eclipse.core.runtime.CoreException: Problems encountered starting up plug-in: "org.eclipse.core.resources".
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:754)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !ENTRY org.eclipse.core.runtime 4 2 Feb 19, 2007 16:32:18.93
    !MESSAGE Plug-in com.tssap.util was unable to load class com.tssap.util.startup.WBLauncher.
    !STACK 0
    org.eclipse.core.internal.boot.DelegatingLoaderException: org.eclipse.core.runtime.CoreException: Problems encountered starting up plug-in: "org.eclipse.core.resources".
         at org.eclipse.core.internal.plugins.PluginDescriptor.internalDoPluginActivation(PluginDescriptor.java:754)
         at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:188)
         at org.eclipse.core.internal.plugins.PluginClassLoader.activatePlugin(PluginClassLoader.java:112)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    !SESSION -
    !ENTRY org.eclipse.core.launcher 4 0 Feb 19, 2007 16:32:18.109
    !MESSAGE Exception launching the Eclipse Platform:
    !STACK
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    Caused by: java.lang.IllegalArgumentException: Application not found: com.tssap.util.WBLauncher.
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:856)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         ... 7 more
    I cut off some parts as they are too long and seem to be useless.
    I guess NWDS is trying to reopen the projects I was working on while it crashed. So, how can I prevent it?
    I can't change my workspace because I have open activites in DTR, so I shouldn't loose my DCs.
    Help? Anybody?
    Thanks in advance..

    Hi guys.
    I've solved my problem. I deleted the project navigator tree structure files from workspace, and NWDS opened up with a clean workspace . But the projects themselves were there though. So I recreated my DC projects, but didn't download the sources, modified local copies are used instead.
    I deleted the these files:
    <workspace>\.metadata\.plugins\org.eclipse.core.resources\.safetable\org.eclipse.core.resources
    <workspace>\.metadata\.plugins\org.eclipse.core.resources\.root\###.tree
    Then I opened NWDS and it was clean. I opened the Development Configurations perspective, in the Local DCs view, right-clicked on each DC and choosed "Create Project". This looks like a safe method, it worked for me.

  • Out of memory error, while using Adobe InDesign

    I have been running Adobe inDesign for a couple of years with no problems. This is the first time I got a, "Out of memory" error when attempting to save the document as a PDF.
    Windows 7, Dell Studio XPS, 2.80 GHz Processor, Memory: 9 GB Dram, Hard Drive: 1.5 TB, 1.56 MB cache.
    Firefox v33.02
    What should I do to get back the memory?
    Thank you,
    Don Schaaf

    Hi Don, is this an Adobe site you are using in a Firefox tab, or the stand-alone InDesign application?
    If it's in the application, you may want to try Adobe's forum. You also could try closing other open applications to have them release memory and then try creating the PDF again.
    Please note that if Firefox has been running for a long time and is using a lot of memory, it may take several minutes to release it all, as various files are (slowly) updated at shutdown. You can monitor its progress in the Windows Task Manager on the Process tab. Press Ctrl+Shift+Esc to open the Task Manager, and then click the processes tab. Firefox will be listed under firefox.exe here. Please allow it to shut down normally instead of using the End Process button, unless it appears to hang (no movement in the amount of memory used for several minutes).

  • Out of memory error while importing work repository.

    any suggestions? The model is created. But project isnt.
    thanks in advance.
    Edited by: user9546555 on Jun 25, 2009 5:35 AM

    Hi,
    I tried 4-5 times . all the time i got out of memory error. Then i changed the odiparam file and increased heap size to 4 times higher.
    Next time i imported it worked just Fine
    thanks anyway.

  • CS6 Running out of memory Error while rendering

    Hey everyone,
    I recently upgraded to After Effects CS6 thinking it would be a great investment. So far, I have been horribly wrong!
    Here's my computer's specs: (this is a huge upgrade from the computer I was running 5.5 on without any problems other than it being slow)
    Intel i7-3615QM 2.3GHz Ivy Bridge processor
    8GB GDDR5 RAM
    NVIDIA GeForcs 650M w/ 2GB GDDR5 dedicated RAM
    Here's what's happening:
    I've been doing recording for my job at 1080p in front of a green screen. I record 16 minute sections. I use Keylight to replace the background with a still picture, and then export the video at half resolution, with audio as H.264 (.mp4) files. Normally I would set up the 16 minute sections to render in queue, but it kept having the "out of memory" error shortly after starting the one second in line. So then I started just doing one at a time... and now it won't even make it through one!
    I have noticed that even after rendering is done, AE is still using 6 gigs of RAM! Usually I can purge the ram, but now even doing that doesn't change anything - I have to close the program to get my RAM back. I have tried enlarging my page file, I've tried rendering in different resolutions and file types - I feel like I've tried everthing. I've looked all over the internet and I haven't found any real solutions (just talk from 2008 about "secret" menus that I can't get to work).
    Please help!!
    Thank you!!
    Dominic

    I wouldn't mind getting more RAM except that the computer I used to do this very same work with (except with 5.5) only had 6GHz of RAM and a pathetic processor and GPU in comparison.
    I've tried doing the same editing in PrP but it just doesn't have enough tools . Changing my output format hasn't helped either unfortunately. I think the program has a memory leak.
    I really think I might just go back to 5.5. I called support today and it took forever just to get the poor girl helping me to understand my name has an "m" in it. She wasn't really able to understand the problem. As far as I can tell, CS6 has been a 100% downgrade.
    Thank you both for the help!
    Dominic

  • Hyperion IR : Getting out of memory error while fetching data for whole year through web client (wrokspace)

    Hi,
    While fetching data though IR wen client from workspace for a year(all 12 months) I am getting error as ("Out of Memory .Advice : Close other applications or windows and try again").
    If I am trying same through IR studio it does not give any output and show me same repoting front page.
    If i am selecting periods till 8 months it is giving the required data in both IR web client and IR studio.
    Could you please suggest how can we resolve this issue.
    Thanks,
    D.N.Rana

    Issue Cause :
    Sometimes this is due to excessive data which brings the size of the BQY file up around one gigabyte uncompressed in size (for processing may take twice as actual RAM, plus the memory space space for the plugin, and the typical memory limit on a 32-bit system is 2 gigabytes).
    Solution :
    To avoid excessive BQY size exceeding memory availability:
    Ensure that your computer has at least 2Gb of free RAM before he runs IR Studio.
    Put a limit to the number of rows that can be pulled down: Right click on Request label of Query section and put a value in Return First xxx Rows (and check the check box).
    Do not pull down more than 750 MB of data (remember it may be duplicated while processing).
    Place limits or aggregations in Query section (as opposed to Result section) to limit data entering the BQY.

  • Out-of-Memory Error while Installing AS 1.0.2.2.0

    I am getting the following error while Installing Application Server 1.0.2.2.0. The progress bar shows 100% at this time and this screen hangs there.
    The hardware config of the machine are
    Windows 2000 Professional
    256Ram
    Processor AmdDuron 500
    Hard disk 20GB
    Note: The Oracle 9i database is on another machine.
    java.lang.OutOfMemoryError
         at java.lang.String.<init>(Compiled Code)
         at oracle.sysman.oii.oiip.oiipg.OiipgEnvironment.getEnv(Compiled Code)
         at oracle.sysman.oii.oiix.OiixSpawner.unsetJavaHome(OiixSpawner.java:638)
         at oracle.sysman.oii.oiix.OiixSpawner.beginExecute(OiixSpawner.java:443)
         at oracle.sysman.oii.oiix.OiixSpawner.beginExecute(OiixSpawner.java:572)
         at Spawn.doSpawn(Spawn.java:92)
         at Spawn.installAction(Spawn.java:48)
         at oracle.sysman.oii.oiis.OiisCompActions.doActionWithException(Compiled Code)
         at oracle.sysman.oii.oiis.OiisCompActions.doActionImpl(Compiled Code)
         at oracle.sysman.oii.oiis.OiisCompActions.doAction(Compiled Code)
         at CompActions.doActionP3Spawn4(CompActions.java:350)
         at CompActions.stateChangePhase2Actions(CompActions.java:287)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiilActionThr.run(Compiled Code)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase.executeProductPhases(Compiled Code)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase.doInstalls(OiicInstallActionsPhase.java:1398)
         at oracle.sysman.oii.oiic.OiicInstallActionsPhase$OiInstRun.run(OiicInstallActionsPhase.java:2015)
         at java.lang.Thread.run(Compiled Code)

    The 10g and later drivers trade memory for performance. They use much more memory than the 9i drivers, but are much faster. If you look at the JDBC FAQ here on OTN there is some more info on where the memory is going. The stack trace you posted is what I would expect to see from buffer allocation described in the FAQ.
    Douglas

  • Out of memory error while rendering

    Trying to render a 1 minute comp and part way through it tanks out with a "7::66 Unable to allocate enough memory" error. I watch the RAM usage indicator at the bottom of the render screen and it just gradually climbs until it hits 100% and crashes.
    System is a 2013 Mac Pro running latest version of Yosemite and latest version of CC. I have 64GB of RAM installed so at this point I'm going to disregard AE's advice that I bump this up.
    Also using Element 2 in the comp so that may be a culprit.
    Anyhow, if anyone has any advice on how to troubleshoot this I would greatly appreciate it.

    When you say latest version of CC, do you mean version 12.2.1.5?
    What is in your comp besides the layer with Element on it?
    Have you used a minute-long comp with Element 2 in the past?
    What are the rest of your system specs?
    Have you tried the "secret" preferences setting to purge after a certain number of frames?
    Another suggestion would be to render an image sequence. Then, if it crashes, you can just pick up the render from where it left off.

  • Underlying SQL or SQL Script for Calculated Views Create Graphically

    Hello,
    Is it possible to view the SQL or SQL script generated for calculated views that are created graphically?

    Hi Mike,
    For your calculation view you will find the corresponding column view created in schema '_SYS_BIC'-->Column Tables->
    <packagename>/<Calculation view> --> Open Definition of this and check the 'create statement'.
    Note: This is a information modeler generated SQL script which will show the generated Calculation Scenario and the respective Column View.
    Regards, Rahul
    Seems the answer was already given by Murali while I typed
    Edited by: Rahul Pant on Mar 2, 2012 5:22 AM

  • Using Attribute views in Script based Calculation views

    I am trying to create a view for analysis on a fact table which has measure name as a dimension as opposed to having multiple measures. Here is an example of what the data looks like.
    #Customer, Product, Measure, Data
    Customer1, Product1, ASP, 4.2
    Customer1, Product1, Units, 100
    Customer2, Product2, ASP, 4.4
    Customer2, Product2, Units, 200
    ... and so on and so forth.
    I had build Attribute views with hierarchies for both customer and product dimensions and build analytic views. However now I have the need to flatten the Measures dimension and have the resulting Fact view look like:
    #Customer, Product, ASP, Units
    Customer1, Product1, 4.2, 100
    Customer2, Product2, 4.4, 200
    ... and so on and so forth.
    Now I want to build analytic views on this flattened view of my Fact table.
    I was able to create a calculation view using Script mode, on the fact table and write a SQL to flatten the Measure dimension. But I am not able to now join this calculation view with the attribute views. Is there a way to leverage the existing Attribute views and their hierarchies in this case?
    The only way I can see for now is to use manual SQL to build out the entire view, including joining the attribute views and re-build the hierarchies in the definition of the calculation view. This essentially wastes work I have already done in the attribute views and forces me to build the entire thing using SQL.
    Is there a better approach?

    It's extremely annoying that the FLD() command isn't yet availlable in NW, unless it's coming with 7.5 or has been included in one of the more recent support packs.
    As a an alternative you may be able to use the following MDX routine:
    Returns the value of a property of the current member of a dimension
    *function PRO(%DIMENSIONNAME%,%PROPERTYNAME%)
    %DIMENSIONNAME%.Properties("%PROPERTYNAME%")
    *endfunction
    Unfortunately I've never been able to use this with a When statement, so you may have to ask an ABAP resource to develop a BADI to achieve your required results.

Maybe you are looking for

  • Cant find submit to sap in webdynpro under library

    Hi ,, I have recently installed ADS,,and configured.. All set to develop in NWDS,,checked the Adobe lifesycle designer,,but cant find the webdynpro group at all..I need submit to SAP button,, From wher can i get..? Do i need to upgrade any patch for

  • How do I get Folio builder on Indesign

    I am working in digital publishing and I cannot access folio overlays. When I click folio builder it says that I need to update my software but everything is up to date. Also, I tried downloading Adobe digital publishing patch thinking that that woul

  • How do I delete built in BB ringtones?

    My phone came with over 60 standard BB ring tones.  I'd like to remove all but 3 of them.  How do I do that?

  • Returning Business Objects to View?

    All, I was just in a meeting where two different approaches to returning data to the view were discussed. In a nutshell, here are the two options presented: 1) The service layer should return the Business Entities entirely (which happen to be Hiberna

  • Song in iTunes library won't play in iMovie

    +The song "Autumn to Winter - New Age Piano Music for Relaxation" could not be used because the original file could not be located.+ I would like to use the song mentioned above in an iMovie project. I just bought and downloaded it from the iTunes st