Where is my 3d-cube?

Hello!
I have just started to develope some apps for J2ME. Before I have explored Java3D so perhaps I tries to merge these two technics and there for run into this problem.
My plan for my first bigger app would consist of 4 classes.
CubeGame - the midlet
CubeCanvas - the canvas to display and render 3D objects.
Cube - a class that holds everything for a 3D cube-object.
RefreshTask - a timer class that i hope will be replaced by letting CubeCanvas implemets Runnable instead.
I also use a image for the texture for the cube, that one can be found at:
http://developers.sun.com/techtopics/mobility/apis/articles/3dgraphics/texture.png
The problem is that the cube never get's displayed when I start this app. I just see a black screen with my time counter. Perhasps it is there somewhere but is out of sight I do not know??
So if any one could tell me whats wrong and how to get the cube in the display please tell me!
Below is the source code.
Best regards
Fredrik Andersson
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.lang.*;
import java.io.*;
import java.util.*;
import javax.microedition.m3g.*;
public class CubeGame extends MIDlet implements CommandListener
     static CubeGame instance;
     CubeCanvas cubeCanvas = new CubeCanvas();
     public CubeGame()
          this.instance = this;
     public void startApp()
          Display.getDisplay(this).setCurrent(cubeCanvas);
          Command exitCommand = new Command("Exit", Command.EXIT, 0);
          cubeCanvas.addCommand(exitCommand);
          cubeCanvas.setCommandListener(this);
     public void pauseApp()
     public void destroyApp(boolean unconditional)
public static void quitApp()
instance.destroyApp(true);
instance.notifyDestroyed();
instance = null;
     public void commandAction(Command c, Displayable s)
          if (c.getCommandType() == Command.EXIT)
               notifyDestroyed();
import javax.microedition.lcdui.*;
import javax.microedition.m3g.*;
import java.util.*;
import javax.microedition.midlet.*;
public class CubeCanvas extends Canvas
     private Graphics3D      graphics3D;
     private Camera      camera = new Camera();
     private Light      light = new Light();
     private Transform      transform = new Transform();
     private Background      background = new Background();
     private World                world = new World();
     private byte                time = 100;
     private     Group                group = new Group();
     private Timer                timer = new Timer();
     private TimerTask           timerTask = null;
     private Cube                cube = new Cube();
     public CubeCanvas()
          init();
     public void init()
          graphics3D = Graphics3D.getInstance();
          background.setColor(0x33ccff);
          world.addChild(group);
          group.setOrientation(15.0f, 1.0f, 0.0f, 0.0f);
          group.addChild(cube);
          world.addChild(camera);
          world.setActiveCamera(camera);
          camera.setParallel((1<<3)*1.5f, 1.0f, -(1<<3), (1<<3));
     camera.setPerspective( 60.0f, // field of view
          (float)getWidth()/ (float)getHeight(), // aspectRatio
          1.0f, // near clipping plane
          1000.0f ); // far clipping plane
     // create a light
     light.setColor(0xffffff); // white light
     light.setIntensity(1.25f); // overbright
          world.addChild(light);
     public void rotateCube(short cubeId, short dircetion)
     public void connectCubes(short cubeId, short dircetion)
     public void paint(Graphics g)
          if(this == null || world == null)
          return;
          if(timerTask != null)
               timerTask.cancel();
               timerTask=null;
          graphics3D.bindTarget(g);
          graphics3D.clear(background);
          Transform transform = new Transform();
     transform.postTranslate(0.0f, 0.0f, 10.0f);
     graphics3D.setCamera(camera, transform);
     // set up a "headlight": a directional light shining
     // from the direction of the camera
     graphics3D.resetLights();
     graphics3D.addLight(light, transform);
     try
          graphics3D.render(world);
          finally
          graphics3D.releaseTarget();
          g.setColor(0xFFFFFFFF);
          g.drawString(time + " sec", 10, 30, Graphics.LEFT | Graphics.TOP);
          timerTask = new RefreshTask(this);
     timer.schedule(timerTask, 1000);
          time--;
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.lang.*;
import java.io.*;
import java.util.*;
import javax.microedition.m3g.*;
public class Cube extends Group
     private short size;
     private Image[] images;
     private VertexBuffer vertexBuffer; // positions, normals, colors, texcoords
     private IndexBuffer indexBuffer; // indices to vertexBuffer, formingtriangle strips
     private Appearance appearance; // material, texture, compositing, ...
     private Material material = new Material();
     private Mesh          mesh;
     private Image iImage;
     short[] vert = {
          1, 1, 1, -1, 1, 1, 1,-1, 1, -1,-1, 1, // front
     -1, 1,-1, 1, 1,-1, -1,-1,-1, 1,-1,-1, // back
     -1, 1, 1, -1, 1,-1, -1,-1, 1, -1,-1,-1, // left
          1, 1,-1, 1, 1, 1, 1,-1,-1, 1,-1, 1, // right
          1, 1,-1, -1, 1,-1, 1, 1, 1, -1, 1, 1, // top
          1,-1, 1, -1,-1, 1, 1,-1,-1, -1,-1,-1 }; // bottom
     byte[] norm = {
          0, 0, 127, 0, 0, 127, 0, 0, 127, 0, 0, 127,
          0, 0,-127, 0, 0,-127, 0, 0,-127, 0, 0,-127,
     -127, 0, 0, -127, 0, 0, -127, 0, 0, -127, 0, 0,
          127, 0, 0, 127, 0, 0, 127, 0, 0, 127, 0, 0,
          0, 127, 0, 0, 127, 0, 0, 127, 0, 0, 127, 0,
          0,-127, 0, 0,-127, 0, 0,-127, 0, 0,-127, 0 };
     short[] tex = {
          1, 0, 0, 0, 1, 1, 0, 1,
          1, 0, 0, 0, 1, 1, 0, 1,
          1, 0, 0, 0, 1, 1, 0, 1,
          1, 0, 0, 0, 1, 1, 0, 1,
          1, 0, 0, 0, 1, 1, 0, 1,
          1, 0, 0, 0, 1, 1, 0, 1 };
     int[] stripLen = { 4, 4, 4, 4, 4, 4 };
     //public Cube(short s, Image[] i)
     public Cube()
          try
               //size = s;
               //images = i;
               VertexArray vertArray = new VertexArray(vert.length / 3, 3, 2);
               vertArray.set(0, vert.length/3, vert);
               VertexArray normArray = new VertexArray(norm.length / 3, 3, 1);
               normArray.set(0, norm.length/3, norm);
               VertexArray texArray = new VertexArray(tex.length / 2, 2, 2);
               texArray.set(0, tex.length/2, tex);
               VertexBuffer vertexBuffer = new VertexBuffer();
               vertexBuffer.setPositions(vertArray, 1.0f, null); // unit scale, zerobias
               vertexBuffer.setNormals(normArray);
               vertexBuffer.setTexCoords(0, texArray, 1.0f, null); // unit scale, zerobias
               indexBuffer = new TriangleStripArray( 0, stripLen );
               iImage = Image.createImage( "/images/texture.png" );
               Image2D image2D = new Image2D( Image2D.RGB, iImage );
               Texture2D texture = new Texture2D( image2D );
               texture.setFiltering(Texture2D.FILTER_NEAREST, Texture2D.FILTER_NEAREST);
               texture.setWrapping(Texture2D.WRAP_CLAMP, Texture2D.WRAP_CLAMP);
               texture.setBlending(Texture2D.FUNC_MODULATE);
               appearance = new Appearance();
               appearance.setTexture(0, texture);
               appearance.setMaterial(material);
               material.setColor(Material.DIFFUSE, 0xFFFFFFFF); // white
               material.setColor(Material.SPECULAR, 0xFFFFFFFF); // white
               material.setShininess(100.0f);
               mesh = new Mesh(vertexBuffer, indexBuffer, appearance);
          catch(Exception e)
               e.printStackTrace();
     public short getSize()
          return size;
     public Image[] getImages()
          return images;
import java.util.*;
public class RefreshTask extends TimerTask
     CubeCanvas cubeCanvas;
     public RefreshTask(CubeCanvas cc)
          cubeCanvas = cc;
     public void run()
          cubeCanvas.repaint();
}

Hello Mates!
(Greetings from a cold Sweden -20 deg. cel. this morning very unusually so late in the winter)
At last I solved it. Now I think I got hold of this.
I use immediate mode. I do not know if this is a good thing if we talk performance.
My intention was to be able to progamatically create different objects and add them to my world. I'm not so found of creating things in a 3D-program. I rather create them my self. Now I think I know how!
Perhaps you can advise me not to do this if you see that this would leak memory or something else. Perhaps it is better to use m3g-files, I do not know. But I do not like it.
Now my app contains these 4 classes:
TestMIDlet - just the start class for everything
TestCanvas3D - this is the interesting class that contains everything for the rendering and the world to attach objects into.
Cube - All data for a 3D-cube
Pyramid - All data for a Pyramid, I guess, I have copied you Mitch
This app displays these two objects. My intention is now to create a 3D-world progamatically. So please comment this if you in any way think this is stupid.
/Fredrik
The code is below:
Code:
import javax.microedition.lcdui.*;
import javax.microedition.m3g.*;
import java.util.*;
import javax.microedition.midlet.*;
public class TestMIDlet extends MIDlet implements CommandListener
private Display display = null;
private TestCanvas3D testCanvas3D = new TestCanvas3D();
private Command exitCommand = new Command("Exit", Command.ITEM, 1);
public TestMIDlet()
display = Display.getDisplay(this);
testCanvas3D.setCommandListener(this);
testCanvas3D.addCommand(exitCommand);
public void startApp() throws MIDletStateChangeException
try
testCanvas3D.setTitle("TestMIDlet");
display.setCurrent(testCanvas3D);
catch(Exception e)
e.printStackTrace();
public void pauseApp()
public void destroyApp(boolean unconditional) throws MIDletStateChangeException
public void commandAction(Command command, Displayable displayable)
if (command == exitCommand)
try
destroyApp(false);
notifyDestroyed();
catch(Exception e)
e.printStackTrace();
import javax.microedition.lcdui.*;
import javax.microedition.m3g.*;
import java.util.*;
import javax.microedition.midlet.*;
public class TestCanvas3D extends Canvas
private Graphics3D graphics3D = Graphics3D.getInstance();
private Camera camera = new Camera();
private World world = new World();
private Background background = new Background();
private Light light = new Light();
private Pyramid pyramid1 = new Pyramid(0xFFFFFF00);
private Cube cube = new Cube();
private Transform cameraTransform = new Transform();
private Transform worldTransform = new Transform();
private Transform lightTransform = new Transform();
public TestCanvas3D()
Transform transform1 = new Transform();
transform1.postTranslate(-0.5f, 0.0f, -8.0f);
pyramid1.setTransform(transform1);
Transform transform2 = new Transform();
transform2.postTranslate(0.5f, 0.0f, -8.0f);
cube.setTransform(transform2);
world.addChild(pyramid1);
world.addChild(cube);
world.setActiveCamera(camera);
worldTransform.postTranslate(0.0f, 0.0f, 0.0f);
lightTransform.postTranslate(0.0f, 0.0f, 10.0f);
graphics3D.resetLights();
graphics3D.addLight(light, lightTransform);
float aspect = (float) getWidth() / (float) getHeight();
camera.setPerspective(60.0f, aspect, 1.0f, 1000.0f);
cameraTransform.postTranslate(0.0f, 0.0f, 0.0f);
graphics3D.setCamera(camera, cameraTransform);
protected void paint(Graphics g)
graphics3D.bindTarget(g);
try
graphics3D.clear(null);
graphics3D.render(world, worldTransform);
finally
graphics3D.releaseTarget();
import javax.microedition.lcdui.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import java.lang.*;
import java.io.*;
import java.util.*;
import javax.microedition.m3g.*;
public class Cube extends Group
private short size;
private Image[] images;
private VertexBuffer vertexBuffer; // positions, normals, colors, texcoords
private IndexBuffer indexBuffer; // indices to vertexBuffer, formingtriangle strips
private Appearance appearance; // material, texture, compositing, ...
private Material material = new Material();
private Mesh mesh;
private Image iImage;
short[] vert = {
1, 1, 1, -1, 1, 1, 1,-1, 1, -1,-1, 1, // front
-1, 1,-1, 1, 1,-1, -1,-1,-1, 1,-1,-1, // back
-1, 1, 1, -1, 1,-1, -1,-1, 1, -1,-1,-1, // left
1, 1,-1, 1, 1, 1, 1,-1,-1, 1,-1, 1, // right
1, 1,-1, -1, 1,-1, 1, 1, 1, -1, 1, 1, // top
1,-1, 1, -1,-1, 1, 1,-1,-1, -1,-1,-1 }; // bottom
byte[] norm = {
0, 0, 127, 0, 0, 127, 0, 0, 127, 0, 0, 127,
0, 0,-127, 0, 0,-127, 0, 0,-127, 0, 0,-127,
-127, 0, 0, -127, 0, 0, -127, 0, 0, -127, 0, 0,
127, 0, 0, 127, 0, 0, 127, 0, 0, 127, 0, 0,
0, 127, 0, 0, 127, 0, 0, 127, 0, 0, 127, 0,
0,-127, 0, 0,-127, 0, 0,-127, 0, 0,-127, 0 };
short[] tex = {
1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 1, 0, 1,
1, 0, 0, 0, 1, 1, 0, 1 };
int[] stripLen = { 4, 4, 4, 4, 4, 4 };
//public Cube(short s, Image[] i)
public Cube()
try
//size = s;
//images = i;
VertexArray vertArray = new VertexArray(vert.length / 3, 3, 2);
vertArray.set(0, vert.length/3, vert);
VertexArray normArray = new VertexArray(norm.length / 3, 3, 1);
normArray.set(0, norm.length/3, norm);
VertexArray texArray = new VertexArray(tex.length / 2, 2, 2);
texArray.set(0, tex.length/2, tex);
VertexBuffer vertexBuffer = new VertexBuffer();
vertexBuffer.setPositions(vertArray, 1.0f, null); // unit scale, zerobias
vertexBuffer.setNormals(normArray);
vertexBuffer.setTexCoords(0, texArray, 1.0f, null); // unit scale, zerobias
indexBuffer = new TriangleStripArray( 0, stripLen );
iImage = Image.createImage( "/images/texture.png" );
Image2D image2D = new Image2D( Image2D.RGB, iImage );
Texture2D texture = new Texture2D( image2D );
texture.setFiltering(Texture2D.FILTER_NEAREST, Texture2D.FILTER_NEAREST);
texture.setWrapping(Texture2D.WRAP_CLAMP, Texture2D.WRAP_CLAMP);
texture.setBlending(Texture2D.FUNC_MODULATE);
appearance = new Appearance();
appearance.setTexture(0, texture);
appearance.setMaterial(material);
material.setColor(Material.DIFFUSE, 0xFFFFFFFF); // white
material.setColor(Material.SPECULAR, 0xFFFFFFFF); // white
material.setShininess(100.0f);
mesh = new Mesh(vertexBuffer, indexBuffer, appearance);
addChild(mesh);
catch(Exception e)
e.printStackTrace();
public short getSize()
return size;
public Image[] getImages()
return images;
import javax.microedition.lcdui.*;
import javax.microedition.m3g.*;
import java.util.*;
import javax.microedition.midlet.*;
public class Pyramid extends Group
Appearance appearance = new Appearance();
IndexBuffer triangles = null;
VertexBuffer vertices = new VertexBuffer();
Mesh mesh;
public Pyramid(int color)
// Appearance and materials;
Material material = new Material();
appearance.setMaterial(material);
material.setColor(Material.DIFFUSE, color ); // yellow
// coordinates - These are the vertex positions
short[] coordinates = { -1, -2, -1,     1, -2, -1,     0, 2, -1 };
VertexArray vaCoordinates = new VertexArray( (coordinates.length/3), 3, 2);
vaCoordinates.set(0, (coordinates.length/3), coordinates);
vertices.setPositions(vaCoordinates, 1, null);
// Normals - first two point back at the light, the last normal points down just as an experiment
byte[] normals = { 0, 0, 127,    0, 0, 127,    0, -128, 0 };
VertexArray vaNormals = new VertexArray( (normals.length/3), 3, 1);
vaNormals.set(0, (normals.length/3), normals);
vertices.setNormals(vaNormals);
int[] coordIndex = {3};
triangles = new TriangleStripArray(0, coordIndex);
VertexBuffer vertexBuffer = new VertexBuffer();
vertexBuffer.setPositions(vaCoordinates, 1.0f, null); // unit scale, zerobias
vertexBuffer.setNormals(vaNormals);
mesh = new Mesh(vertexBuffer, triangles, appearance);
addChild(mesh);
Remeber that the cube uses the png mentioned above

Similar Messages

  • Where are partitioning a cube based on calmonth & fiscper

    Q1.where are partitioning a cube based on calmonth & fiscper ok In partitioning cube there are two types 1.physical partition & 2.logical partition so i want to know the both things and diferrences.

    Hi Kishore,
    Logical Partitioning means dividing the data into two or more cubes. The cubes will have the same structure, but will store mutually exclusive data sets. For eg. storing data from Calendar year 2000 to 2005 in one cube, 2006 to 2008 in another cube and 2009 to 2011 in another cube. As these three cubes will have the same structure, we can create a multiprovider to combine these cubes for comprehensive reporting. This can be done any characteristic....like company code, controlling area, sales organization, distribution channels or any time characteristics. This is more of data model designing option.
    Physical Partitioning is done on one cube. This is based on the Calender Month or the Fiscal period. This physically partitions the Fact table of the cube. For eg. you want to partition a cube that stores 2 years of data. The maximum no. of partitions allowed here are 26... (24 for each of the 24 months and two for data not belonging to these 24 months - these two partitions are system defaults and we have not control over). However, we can define any number  less that 26 and the system calculates the maximum number to be utilized. Supposing we specify, a maximum of 18 partitions to be used, the system will use a 14 partitions only - 12 partitions for the 24 months (each 2 months) and 2 on either side of the time scale.
    rgds
    Naga

  • Where to put LUT(.cube) files on SD card to be loaded with F55?

    I have downloaded several LUTs(.cube) and wish to put them onto my SD card so I can load them using my F55.. I want to use them as monitor LUTs. Can anybody tell me where in the SD cards file structure I have to put them? I've searched all over the web and haven't found any information about this.

    artcastel wrote:
    I have downloaded several LUTs(.cube) and wish to put them onto my SD card so I can load them using my F55.. I want to use them as monitor LUTs. Can anybody tell me where in the SD cards file structure I have to put them? I've searched all over the web and haven't found any information about this.It doesn't work like that, that's why there's no info. You can't load 3D LUTs into the camera. There are pre-contructed 3D LUTs already in the camera's 3.0 firmware referred to by Sony as "Looks", but as of FW 3.0, you can't load your own. If in the future they do allow this, it looks as though 3D LUTs from Resolve would first have to be loaded into Raw Viewer and converted into something more camera friendly, and then Raw Viewer wrotes it to an SD card in the correct file/folder structure. You CAN do 1D LUTs today though, using Raw Viewer.

  • Where used - info cubes

    I am aware that I can see the where used from the cube itself.  Does anyone know a table or set of tables which will also give me where used information?  Thanks

    Hi Niten,
    If you want details on the cube then
    Goto SE11 and check for tables RSCUBE.
    If you want to find where the cube is used then you can check the metadata repository for the cube.
    Regards
    Dinesh

  • A/P & Consignment data pull to Planning Cube.....

    I put this in "BC & Extractors" section, but did not get any response.....
    Need couple of clarifications (brief background is provided.....):
    1. We do DELTA extractions using 0FI_AP_3 adn 0FI_AR_4 to a base cube which includes both 'Open' and 'Cleared'
    items. From this cube we do a DELTA load to a Planning Cube on a DAILY basis. We filter the data on Company Code
    and 'Item Status' (OnlyOPEN Items) for Planning purposes. The key figure pulled to Planning Cube is '0DEB_CRE_DC'.
    The bsae cube has data at Line Item Document level, where as the planning cube is only at Customer & Vendor level.
    The question is - Will this Daily DELTA to Planning cube with filter on Open Item bring correct key figure? For example,
    if the status of one of the items pulled as OPEN in earlier Delta changes to "CLEARED" the subsequent day, will the Key
    Figure reflect the changes and show correct value? Is there any impact on the key figure due to the filter on Open Item?
    My thinking is the key figure 0DEB_DRE_DC will reflect he correct number (adjsuted) since it is a summated key figure.
    I could be totally wrong and want to understand this with comments from experts.
    2. Has anyone worked with pulling Consignment (SMI) data into Planning cube? We pull this data using a generic extractor
    from a SAP table "RKWA" with some logic. Since I pull A/P data that contains SMI & Non-SMI transactions. To avoid
    Double Counting, how can I avoid bringing in the SMI transactions from A/P? There is no flag to diffferentiate the SMI /
    Non-SMI transactions....
    I am hoping someone has worked in these area to offer expert comments/ recommendations.
    Thanks.. Shaun
    Please post one question only once
    Edited by: Vikram Srivastava on Aug 13, 2010 1:02 PM

    Hello Lee,
    For your first question as you are using the Filter on the status of the record,
    lets say today the status is OPen and as a part of the filter the Delta will be able to pick this record as the status is OPen but if the status is changed to Closed tomorrow then this record will be completely ignored and hence in the next level target you will not have the right status at all.
    So you need to plan your filters accordingly.
    Hope this helps.
    Thanks
    Murali

  • 11g Cube not showing any data with no Rejected records

    Hi David ,
    Strangely one of my 11g Cube is not showing data from today as it is showing all records rejected . However when I lookup Rejected records table I didn't find any records .Not sure what is happening . When I want to peep out the AWM queries from CUBE_BUILD_LOG and ran to the database in the AWM schema the records are retruning perfectly fine . I wonder same query is firing during Cube load but without any data ? My Cube build script has only LOAD and Aggregate .
    after maintain My dimensions data are looking fine but no data populated after Cube maintenance . My MV switch off across all dimensions and cubes .
    I navigate to CUBE_OPERATION_LOG and not able to comprehend about the content.
    Any advice ?
    Thanks and Regards,
    DxP

    Hi David ,
    To be very frank today is very bad day ... Please see below my observation:
    Executed below to make sure that no key values in dimension is missing but present in fact . All below query returns no row.
    select distinct owner_postn_wid from w_synm_rx_t_f
    minus
    select distinct row_wid from postn_dh
    select distinct payer_type_Wid from w_synm_rx_t_f
    minus
    select distinct row_wid from wc_ins_plan_dh
    select distinct market_wid from w_synm_rx_t_f
    minus
    select distinct row_wid from w_product_dh
    select distinct period_day_wid from w_synm_rx_t_f
    minus
    select distinct row_wid from w_daytime_D
    select distinct contact_wid from w_synm_rx_t_f
    intersect
    select distinct row_wid from w_person_d
    select distinct X_TERR_TYPE_WID from w_synm_rx_t_f
    minus
    select distinct row_wid from W_LOV_D
    ============================
    Below returns count of 0 rows : ensure no NULL present
    select count(1) from w_synm_rx_t_f where contact_wid is null;
    select count(1) from w_synm_rx_t_f where owner_postn_wid is null;
    select count(1) from w_synm_rx_t_f where payer_type_Wid is null;
    select count(1) from w_synm_rx_t_f where period_day_wid is null;
    select count(1) from w_synm_rx_t_f where X_TERR_TYPE_WID is null;
    select count(1) from w_synm_rx_t_f where market_wid is null;
    +++++++++++++++++++++++++++++++++
    Cube Build Log has below entry:
    796     0     STARTED     CLEAR VALUES     MKT_SLS_CUBE     CUBE          NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.08.267000000 PM +05:30          JAVA     1          C     47141     67     0     1     
    796     0     COMPLETED     CLEAR VALUES     MKT_SLS_CUBE     CUBE          NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.08.267000000 PM +05:30          JAVA     1          C     47141     67     0     2     
    796     0     STARTED     LOAD     MKT_SLS_CUBE     CUBE          NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.08.283000000 PM +05:30          JAVA     1          C     47142     68     0     1     
    796     0     SQL     LOAD     MKT_SLS_CUBE     CUBE     "<SQL>
    <![CDATA[
    SELECT /*+ bypass_recursive_check cursor_sharing_exact no_expand no_rewrite */
    T16_ROW_WID ALIAS_127,
    T13_ROW_WID ALIAS_128,
    T10_ROW_WID ALIAS_129,
    T7_ROW_WID ALIAS_130,
    T4_ROW_WID ALIAS_131,
    T1_ROW_WID ALIAS_132,
    SUM(T20_MKT_TRX) ALIAS_133,
    SUM(T20_MKT_NRX) ALIAS_134
    FROM
    SELECT /*+ no_rewrite */
    T1."CONTACT_WID" T20_CONTACT_WID,
    T1."MARKET_WID" T20_MARKET_WID,
    T1."OWNER_POSTN_WID" T20_OWNER_POSTN_WID,
    T1."PAYER_TYPE_WID" T20_PAYER_TYPE_WID,
    T1."PERIOD_DAY_WID" T20_PERIOD_DAY_WID,
    T1."MKT_NRX" T20_MKT_NRX,
    T1."MKT_TRX" T20_MKT_TRX,
    T1."X_TERR_TYPE_WID" T20_X_TERR_TYPE_WID
    FROM
    NN_OLAP_POC."W_SYNM_RX_T_F" T1 )
    T20,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T16_ROW_WID
    FROM
    NN_OLAP_POC."W_DAYTIME_D" T1 )
    T16,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T13_ROW_WID
    FROM
    NN_OLAP_POC."W_PERSON_D" T1 )
    T13,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T10_ROW_WID
    FROM
    NN_OLAP_POC."WC_INS_PLAN_DH" T1 )
    T10,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T7_ROW_WID
    FROM
    NN_OLAP_POC."W_LOV_D" T1 )
    T7,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T4_ROW_WID
    FROM
    NN_OLAP_POC."POSTN_DH" T1 )
    T4,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T1_ROW_WID
    FROM
    NN_OLAP_POC."W_PRODUCT_DH" T1 )
    T1
    WHERE
    ((T20_PERIOD_DAY_WID = T16_ROW_WID)
    AND (T16_ROW_WID = 20100101)
    AND (T20_CONTACT_WID = T13_ROW_WID)
    AND (T20_PAYER_TYPE_WID = T10_ROW_WID)
    AND (T7_ROW_WID = T20_X_TERR_TYPE_WID)
    AND (T20_OWNER_POSTN_WID = T4_ROW_WID)
    AND (T20_MARKET_WID = T1_ROW_WID)
    AND ((T20_PERIOD_DAY_WID) IN ((20100107.000000) , (20100106.000000) , (20100128.000000) , (20100124.000000) , (20100121.000000) , (20100118.000000) , (20100115.000000) , (20100109.000000) , (20100125.000000) , (20100114.000000) , (20100111.000000) , (20100110.000000) , (20100104.000000) , (20100101.000000) , (20100129.000000) , (20100123.000000) , (20100117.000000) , (20100113.000000) , (20100108.000000) , (20100131.000000) , (20100120.000000) , (20100116.000000) , (20100119.000000) , (20100105.000000) , (20100102.000000) ,
    (20100130.000000) , (20100127.000000) , (20100122.000000) , (20100112.000000) , (20100103.000000) , (20100126.000000) ) ) )
    GROUP BY
    (T1_ROW_WID, T4_ROW_WID, T7_ROW_WID, T10_ROW_WID, T13_ROW_WID, T16_ROW_WID)
    ORDER BY
    T1_ROW_WID ASC NULLS LAST ,
    T4_ROW_WID ASC NULLS LAST ,
    T7_ROW_WID ASC NULLS LAST ,
    T10_ROW_WID ASC NULLS LAST ,
    T13_ROW_WID ASC NULLS LAST ,
    T16_ROW_WID ASC NULLS LAST ]]>/>
    </SQL>"     NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.08.627000000 PM +05:30          JAVA     1     MAP1     C     47142     68     0     2     
    796     0     COMPLETED     LOAD     MKT_SLS_CUBE     CUBE     "<CubeLoad
    LOADED="0"
    REJECTED="4148617"/>"     NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.40.486000000 PM +05:30          JAVA     1          C     47142     68     0     3     
    796     0     STARTED     UPDATE     MKT_SLS_CUBE     CUBE          NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.40.501000000 PM +05:30          JAVA     1          C     47143     69     0     1     
    796     0     COMPLETED     UPDATE     MKT_SLS_CUBE     CUBE          NNOLAP     NN_OLAP_POC     P14:JAN2010          17-AUG-11 07.12.40.548000000 PM +05:30          JAVA     1          C     47143     69     0     2     
    +++++++++++++++++
    You can observer clear rejection of 4 million rows ... Ran the above query which returns my data successfully.
    Look out to CUBE_REJECTED records take the sample record and put into the above query it is returning the data fine with my measures and dimension WID's :(PLEASE SEE BELOW THE FILTERS on ROW_WID)
    =========================
    SELECT /*+ bypass_recursive_check cursor_sharing_exact no_expand no_rewrite */
    T16_ROW_WID ALIAS_127,
    T13_ROW_WID ALIAS_128,
    T10_ROW_WID ALIAS_129,
    T7_ROW_WID ALIAS_130,
    T4_ROW_WID ALIAS_131,
    T1_ROW_WID ALIAS_132,
    SUM(T20_MKT_TRX) ALIAS_133,
    SUM(T20_MKT_NRX) ALIAS_134
    FROM
    SELECT /*+ no_rewrite */
    T1."CONTACT_WID" T20_CONTACT_WID,
    T1."MARKET_WID" T20_MARKET_WID,
    T1."OWNER_POSTN_WID" T20_OWNER_POSTN_WID,
    T1."PAYER_TYPE_WID" T20_PAYER_TYPE_WID,
    T1."PERIOD_DAY_WID" T20_PERIOD_DAY_WID,
    T1."MKT_NRX" T20_MKT_NRX,
    T1."MKT_TRX" T20_MKT_TRX,
    T1."X_TERR_TYPE_WID" T20_X_TERR_TYPE_WID
    FROM
    NN_OLAP_POC."W_SYNM_RX_T_F" T1 )
    T20,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T16_ROW_WID
    FROM
    NN_OLAP_POC."W_DAYTIME_D" T1 )
    T16,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T13_ROW_WID
    FROM
    NN_OLAP_POC."W_PERSON_D" T1 )
    T13,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T10_ROW_WID
    FROM
    NN_OLAP_POC."WC_INS_PLAN_DH" T1 )
    T10,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T7_ROW_WID
    FROM
    NN_OLAP_POC."W_LOV_D" T1 )
    T7,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T4_ROW_WID
    FROM
    NN_OLAP_POC."POSTN_DH" T1 )
    T4,
    SELECT /*+ no_rewrite */
    T1."ROW_WID" T1_ROW_WID
    FROM
    NN_OLAP_POC."W_PRODUCT_DH" T1 )
    T1
    WHERE
    ((T20_PERIOD_DAY_WID = T16_ROW_WID)
    AND (T16_ROW_WID = 20100101)
    AND (T20_CONTACT_WID = T13_ROW_WID)
    AND (T20_PAYER_TYPE_WID = T10_ROW_WID)
    AND (T7_ROW_WID = T20_X_TERR_TYPE_WID)
    AND (T20_OWNER_POSTN_WID = T4_ROW_WID)
    AND (T20_MARKET_WID = T1_ROW_WID)
    AND T13_ROW_WID = 255811
    AND T7_ROW_WID = 122
    AND T4_ROW_WID =3
    AND T1_ROW_WID=230
    AND T10_ROW_WID = 26
    AND ((T20_PERIOD_DAY_WID) IN ((20100107.000000) , (20100106.000000) , (20100128.000000) , (20100124.000000) , (20100121.000000) , (20100118.000000) , (20100115.000000) , (20100109.000000) , (20100125.000000) , (20100114.000000) , (20100111.000000) , (20100110.000000) , (20100104.000000) , (20100101.000000) , (20100129.000000) , (20100123.000000) , (20100117.000000) , (20100113.000000) , (20100108.000000) , (20100131.000000) , (20100120.000000) , (20100116.000000) , (20100119.000000) , (20100105.000000) , (20100102.000000) ,
    (20100130.000000) , (20100127.000000) , (20100122.000000) , (20100112.000000) , (20100103.000000) , (20100126.000000) ) ) )
    GROUP BY
    (T1_ROW_WID, T4_ROW_WID, T7_ROW_WID, T10_ROW_WID, T13_ROW_WID, T16_ROW_WID)
    ORDER BY
    T1_ROW_WID ASC NULLS LAST ,
    T4_ROW_WID ASC NULLS LAST ,
    T7_ROW_WID ASC NULLS LAST ,
    T10_ROW_WID ASC NULLS LAST ,
    T13_ROW_WID ASC NULLS LAST ,
    T16_ROW_WID ASC NULLS LAST
    =================================
    THE XML export of CUBE as below:
    <!DOCTYPE Metadata [
    <!ENTITY % BIND_VALUES PUBLIC "OLAP BIND VALUES" "OLAP METADATA">
    %BIND_VALUES;
    ]>
    <Metadata
    Version="1.2"
    MinimumDatabaseVersion="11.2.0.1">
    <Cube
    ETViewName="MKT_SLS_CUBE_VIEW"
    Name="MKT_SLS_CUBE">
    <Measure>
    <BaseMeasure
    SQLDataType="NUMBER"
    ETMeasureColumnName="TRX"
    Name="TRX">
    <Description
    Type="LongDescription"
    Language="AMERICAN"
    Value="TRX">
    </Description>
    <Description
    Type="ShortDescription"
    Language="AMERICAN"
    Value="TRX">
    </Description>
    <Description
    Type="Description"
    Language="AMERICAN"
    Value="TRX">
    </Description>
    </BaseMeasure>
    </Measure>
    <Measure>
    <BaseMeasure
    SQLDataType="NUMBER"
    ETMeasureColumnName="NRX"
    Name="NRX">
    <Description
    Type="LongDescription"
    Language="AMERICAN"
    Value="NRX">
    </Description>
    <Description
    Type="ShortDescription"
    Language="AMERICAN"
    Value="NRX">
    </Description>
    <Description
    Type="Description"
    Language="AMERICAN"
    Value="NRX">
    </Description>
    </BaseMeasure>
    </Measure>
    <CubeMap
    Name="MAP1"
    IsSolved="False"
    Query="W_SYNM_RX_T_F"
    WhereClause="W_DAYTIME_D.ROW_WID = 20100101">
    <MeasureMap
    Name="TRX"
    Measure="TRX"
    Expression="W_SYNM_RX_T_F.MKT_TRX">
    </MeasureMap>
    <MeasureMap
    Name="NRX"
    Measure="NRX"
    Expression="W_SYNM_RX_T_F.MKT_NRX">
    </MeasureMap>
    <CubeDimensionalityMap
    Name="TIME"
    Dimensionality="TIME"
    MappedDimension="TIME.CALENDER.MONTHLY"
    JoinCondition="W_SYNM_RX_T_F.PERIOD_DAY_WID = W_DAYTIME_D.ROW_WID"
    Expression="W_DAYTIME_D.ROW_WID">
    </CubeDimensionalityMap>
    <CubeDimensionalityMap
    Name="CUSTOMER"
    Dimensionality="CUSTOMER"
    MappedDimension="CUSTOMER.CUSTOMER_HIERARCHY.DETAIL_LEVEL"
    JoinCondition="W_SYNM_RX_T_F.CONTACT_WID = W_PERSON_D.ROW_WID"
    Expression="W_PERSON_D.ROW_WID">
    </CubeDimensionalityMap>
    <CubeDimensionalityMap
    Name="INS_PLAN_DH"
    Dimensionality="INS_PLAN_DH"
    MappedDimension="INS_PLAN_DH.INS_PLAN.DETAIL"
    JoinCondition="W_SYNM_RX_T_F.PAYER_TYPE_WID = WC_INS_PLAN_DH.ROW_WID"
    Expression="WC_INS_PLAN_DH.ROW_WID">
    </CubeDimensionalityMap>
    <CubeDimensionalityMap
    Name="LIST_OF_VALUES"
    Dimensionality="LIST_OF_VALUES"
    MappedDimension="LIST_OF_VALUES.LOV_HIERARCHY.DETAIL_LEVEL"
    JoinCondition="W_LOV_D.ROW_WID = W_SYNM_RX_T_F.X_TERR_TYPE_WID"
    Expression="W_LOV_D.ROW_WID">
    </CubeDimensionalityMap>
    <CubeDimensionalityMap
    Name="POSITIONDH"
    Dimensionality="POSITIONDH"
    MappedDimension="POSITIONDH.POST_HIER.DETAIL"
    JoinCondition="W_SYNM_RX_T_F.OWNER_POSTN_WID = POSTN_DH.ROW_WID"
    Expression="POSTN_DH.ROW_WID">
    </CubeDimensionalityMap>
    <CubeDimensionalityMap
    Name="PRODH"
    Dimensionality="PRODH"
    MappedDimension="PRODH.PRODHIER.DETAILLVL"
    JoinCondition="W_SYNM_RX_T_F.MARKET_WID = W_PRODUCT_DH.ROW_WID"
    Expression="W_PRODUCT_DH.ROW_WID">
    </CubeDimensionalityMap>
    </CubeMap>
    <Organization>
    <AWCubeOrganization
    MVOption="NONE"
    SparseType="COMPRESSED"
    MeasureStorage="SHARED"
    NullStorage="MV_READY"
    CubeStorageType="NUMBER"
    PrecomputePercent="35"
    PrecomputePercentTop="0"
    PartitionLevel="TIME.CALENDER.MONTHLY"
    AW="&AW_NAME;">
    <SparseDimension
    Name="TIME"/>
    <SparseDimension
    Name="CUSTOMER"/>
    <SparseDimension
    Name="INS_PLAN_DH"/>
    <SparseDimension
    Name="LIST_OF_VALUES"/>
    <SparseDimension
    Name="POSITIONDH"/>
    <SparseDimension
    Name="PRODH"/>
    <DefaultBuild>
    <![CDATA[BUILD SPEC LOAD_AND_AGGREGATE
      LOAD NO SYNCH,
      SOLVE
    )]]>
    </DefaultBuild>
    </AWCubeOrganization>
    </Organization>
    <Dimensionality
    Name="TIME"
    ETKeyColumnName="TIME"
    Dimension="TIME">
    </Dimensionality>
    <Dimensionality
    Name="CUSTOMER"
    ETKeyColumnName="CUSTOMER"
    Dimension="CUSTOMER">
    </Dimensionality>
    <Dimensionality
    Name="INS_PLAN_DH"
    ETKeyColumnName="INS_PLAN_DH"
    Dimension="INS_PLAN_DH">
    </Dimensionality>
    <Dimensionality
    Name="LIST_OF_VALUES"
    ETKeyColumnName="LIST_OF_VALUES"
    Dimension="LIST_OF_VALUES">
    </Dimensionality>
    <Dimensionality
    Name="POSITIONDH"
    ETKeyColumnName="POSITIONDH"
    Dimension="POSITIONDH">
    </Dimensionality>
    <Dimensionality
    Name="PRODH"
    ETKeyColumnName="PRODH"
    Dimension="PRODH">
    </Dimensionality>
    <Description
    Type="LongDescription"
    Language="AMERICAN"
    Value="MKT SLS CUBE">
    </Description>
    <Description
    Type="ShortDescription"
    Language="AMERICAN"
    Value="MKT SLS CUBE">
    </Description>
    <Description
    Type="Description"
    Language="AMERICAN"
    Value="MKT SLS CUBE">
    </Description>
    <ConsistentSolve>
    <![CDATA[SOLVE
      SUM
        MAINTAIN COUNT
         OVER ALL
    )]]>
    </ConsistentSolve>
    </Cube>
    </Metadata>
    +++++++++++++++++++++++
    I dropped the AW and create new from exported XML and maintain all dimensions and then rebuild . Still have the issue :(
    Any thing you can hightlight from above ?
    Thanks,
    DxP
    Also I sustpect whethere it is a issue due to below error caused when I click on one of my Position_Hier view from AWM : even if I select that view it is throwing the error in SQL developer after displaying first couple of rows (while page down)
    java.sql.SQLException: ORA-33674: Data block size 63 exceeds the maximum size of 60 bytes.
    at oracle.olap.awm.util.jdbc.SQLWrapper.execute(Unknown Source)
    at oracle.olap.awm.querydialog.PagedQueryDialog$1.construct(Unknown Source)
    at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    Edited by: e_**** on Aug 17, 2011 8:41 PM

  • How to build the Logical cube and physical cube

    Hi All,
    I have to build the logical cube and physical cube ,i dont have idea about this ,that means i think for that we have to do the partition for the cube
    may i correct , correct me if i wrong ,plz help me on this
    Thanks

    Hi,
    1. Firsty, logical model and physical model are the terms ,which we generally use in the context of database modelling excercise.
    2. Coming to essbase, I am not sure ,what exactly you are trying to co relate . but as you termed 'partitions'. There is one of the types in partitioning called 'Transparent Partition'. Where, you have one cube ( which has data in it) and you can have one mroe cube ( which actually has no data in it). But it can be connected to the former cube with the help of transparent partition. This way, you have 2 cubes , but only one cube has data in it.
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Help with sort on OLAP cubes

    Hi,
    I have a requirement to provide a D4O report where one of the cube measures is sorted desc. As I have explored on discoverer, I don't think my problem will be solved on the report side.
    Can I create a sort on the cube but this sort will not affect the cube's default sort? This a new report requirement on an existing cubes and I was thinking if I can have a sort in the cube where it will not affect any of the existing reports. Do I need to create a new measure for this? If so, how will I populate the measure?
    Example:
    Dimensions : TIME, GEOGRAPHY, CUSTOMER
    Cube Measures: Amount1, Amount2, TotalAmount
    Desired output on the report:
    Crosstab report where the rows are : Customer , Amount1, Amount2, TotalAmount
    PageItem: Time and Geography
    Sort on Total Amount desc.
    How to populate a new sort-measure such that it will be for all hierarchies of the dimensions in the cube?
    Any help will really be appreciated.
    Cheers,
    Gina

    Hi Gina,
    This can in fact be done using Discoverer, within the Query Builder. But you cannot sort the cube, this does not make sense from an OLAP perspective. You need to define a sort for each of your dimensions.
    In query builder, in the "Selected" panel on the right side of the dimensions tab there is a "Sort" button at the bottom of the selected list. Clicking on this button will launch the sort dialog. Click on the "Sort Members By:" radio button to enable the buttons on the right side of the dialog, then click on the "Add" button.
    In the "Sort By" pulldown, you will find a list showing the available sort options, such as: name, attribute values, measures included in the query, and a "more" option that will allow you to select any measure not currently included in the query. If you select the requiered measure "Total Amount", set the "Direction" to descending then the last step is to determine the QDR for the sort - that is the dimension selections for the other dimensions that make up the measure "Total Amount". For any dimensions that are on the page edge, or where the dimension is to the left of the dimension being sorted when more than one dimension is in the row edge, the QDR selector will allow a "For Each" selection which will make the sort dynamic for those dimensions. This "For Each" feature seems to be nicely hidden and not really covered in any of the documentation but is a very powerful feature and can be used in query filters as well, such as Top 10, Bottom 10 etc. In this case, using it in a sort, as the user selects a new page member, the sort will be re-applied. For other dimensions, such as the column edge you will have to pick a specific dimension member.
    You will need to repeat this process on each of your dimensions - Time, Geography and Customer (as an FYI, I would expect Customer and Geography to be the same dimension?). When you apply the sort, it will adhere to the hierarchy for your dimension, so as your drill down the members at each level will be correctly sorted using the measure "Total Amount".
    Hope this helps.
    Keith Laker
    Oracle EMEA Consulting
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • How to make data in Essbase cube equal to data in DW when drilling through

    Is there standard ways in Oracle BI + Essbase to make data in Essbase cube and DW equal (corresponding)?
    For example when we are drilling down from cube to DW in this moment in DW may be loaded additional data (new data) which are not loaded in the cube yet.
    So we have situation where data in the cube not correspond to data in the DW.

    I think rebuilding the cube on a more frequent basis not solves the problem – there will be significant time between the moment when data loaded in DW and when data updated in the cube.
    I thought of creating 2 tables in DW (“new” and “old”) and 2 cubes (“new” and “old”).
    So the process of loading data will look like this:
    1. We have corresponding data in table “old” and cube “old”. User always works with “old” objects.
    2. Load data to table “new”.
    3. Load data to cube “new” from table “new”.
    4. Rename tables and cubes: “old” to “new”, “new” to “old”. Here users starting to work with updated cube and table.
    5. Add new changes go cube and table “new” (there will be old data).
    6. Go to step 2.
    But this way is too expensive (storage amount doubles).
    And maybe easier way can be found?...

  • Problem in joining the 10G AWM Cubes

    Hi,
    I have created a Cube in 10G AWM. But while mapping the Cube I am not being able to find the row to drag and put joining condition between the Cube and the Dim. Also I am finding that the 'Maintain Cube' option is disabled.
    I have worked in 11G AWM but I have not faced this issue and was able to bui;d the Cubes there.
    The version I am using arre:
    AWM --> 10.2.0.3.0A
    Oracle --> Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit
    Can you please help me in this regard.
    Thanks in advance,
    ChD

    Hi David,
    Thanks for the reply. But frankly speaking I did not understand the things that I need to do. :(:(. Can you please tell me based on the requiremnt of mine how I can map the fact in the AWM 10G and where/how tell the Cube that 'these' are my Fact --> Dim mappings.
    I found out that once I built a Cube in 10G AWM, if I needed to do away with any Dim I was not able to do so. The select and add Dim Pane in the Cube remains disabled. I need to again create a cube and experiment with lesser Dim tables. Is it the way 10G AWNM is destined to behave?
    Also, again referring to my requirements, where I have a Fact table, a Dim table and a Dim Hierarchy table, how can I map my Dim with the Dim hierarchy in 10G AWM? Suppose my higher level roll up should happen based on the Dim Hierarchy table. So I plan to join Fact --> Dim and then Dim --> Hierarchy (for rolling up measures on top Hiererachy). How am I going to do that in the 10G AWM?
    I just now faced the follwoing error for the INS_PLAN_DH (Insurance Plan Hierarchy table):
    ***Error Occured: Error Validating Measure Mappings. Measure key expression for INS_PLAN_DH.DIMENSION dimension, mapping group MARKET_SALES_CUBE.MAPGROUP2.CUBEMAPGROUP does not exist.
    Did not understand the menaing of it.
    Please advice.
    Thanks...
    ChD
    Edited by: 875976 on Aug 4, 2011 5:04 AM

  • Set Unit-item in Cube

    Hi
    I take unit-item for other object table.
    and I want to set unit-item in cube.
    but I don't understand where input.
    Please tell me where input part in cube.
    sorry  a little englishskill...

    Hi,
    If you are on Apex 3.x or higher , try
    function getTheCurrentRow(triggerItem){  
    alert( triggerItem.slice(6));
    $s("P4_SELECT", triggerItem.slice(6));   
    /* Alert hidden item value you did set */
    alert($v("P4_SELECT"));
    </script>Here is link to Apex JavaScript API document where you can find functions $s and $v I did use
    http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/javascript_api.htm#CDEEIGFH
    Regards,
    Jari

  • Cube is not synchronize with the ODS

    Hello,
    I have a SL cube which gets the data from ODS and work perfect for almost 3 years. Today I tried to compare between the ODS to the cube and found big gaps in the next period (the old data is fine). All the recent uploads where fine. The cube indexes are fine and everything look good except of the data.
    What can it be?
    Please Advice,
    David

    David,
    If you have automatically update data to data targets , check if you have every request going into the Cube ... also check in the report andnot in Listcube , the additive delta option sort of skews data , best way is to check the data in a report.
    Arun
    Assigning points is a way of saying thank you in SDN
    Message was edited by: Arun Varadarajan

  • Error when querying SSAS 2000 OLAP cube with WebI (BOXIR2)

    Hi,
    I'd like to access a OLAP cube on Microsoft Analysis Server 2000 through Web Intelligence. The BO server is running BO XIR2 FP 5.7 on Windows Server 2003.
    I've installed the pivot table services on the BO server and am able to connect to the SSAS. I then created a connection, and on top of that connection an universe. The universe categories and objects where retrieved from the cube.
    When I now try to query the new universe, I get the following error message:
    BusinessObjects115.OLAPI.Cube.1] : Failed to set properties (Database 'ITZD_2010' does not exist.).
    ITZD_2010 is the name of the "folder" from which I selected the cube when creating the connection. The cube itself is called NFOTD and this name is also displayed as (not editable) database name in the connection details.
    Any help is greatly appreciated!
    Jochen

    In CCM i find 4 services:
    Apache
    Server Intelligence Agent
    WinHTTP
    World Wide Web Pubblish Service
    Is Server Intelligence Agent the service to change?
    i can't find WebI service....

  • MediaSense CUBE recording with UCCX

    Customer has MediaSense installed with UCCX currently and is somewhat frustrated that when an agent puts a call on hold, MediaSense breaks the recording and starts a new one once the call resumes.  I know, I know...that's the phone, not MediaSense, but that's not the question here.
    Customer wants to "fix" this, and understands that forking the media from a CUBE would allow them to have a single recording.  Customer uses MGCP gateways currently.
    In looking at the problem, I'm trying to figure out exactly WHERE to place a CUBE in this.  Call comes in from PSTN via MGCP gateway.  I'm thinking that we could set a route pattern to CUBE (which might even be co resident on the MGCP gateway...I think it should have sufficient horsepower here), and then hairpin the call back to CUCM using a different CSS on the inbound side.  The call would then hit UCCX and then the agent's DN. 
    I drew this all out in Visio, and I *think* it should work.  I'm going to end up labbing the whole thing up to verify it but was trying to figure out if there is any obvious problem that will make this not a workable solution. 
    Screen shot of the visio drawing are attached.  Looking for some critical thinking here to help confirm or poke holes in this idea.
    TIA
    Cliff

    In my lab I send a block of number such as 31xx to the CUBE via a route pattern. In the CUBE I swap the leading 3 to a 2 so the number becomes 21xx and then send back to CUCM. 21xx can then be your CCX route point or a phone. As long as you can get the call to cross the CUBE as a SIP to SIP call you can fork the media.
    This will record the full call from your CCX welcome message via the MoH to the agent.
    You should also think about recording outbound calls and where in the call flow the CUBE would fit. Most agents do not present their extension when they dial out. So if the call crosses the CUBE presenting the Contact Centre number that is the number you would see in the recording and it is difficult to identify the agent making the call.
    Graham

  • Regarding Cube size

    Hi
    Please tell me "how to know cube size in essbase "
    i mean where we can see cube size
    Regards
    Siva

    Hi,
    Database -> properties -> storage tab, will not give you the size of your current cube . rather , It gives you a clear picture of how much storage and which drive you have accomadated for storage.
    Sandeep Reddy Enti
    HCC
    http://analytiks.blogspot.com

Maybe you are looking for

  • G4 DVD Dual Layer question

    I have a 14" G4 1.07GHz iBook with a Non DVD Burning CD/CDR/CDRW/DVD drive. My question is, will it READ a dual layer DVD? Thanks!

  • Why do my sync'd photos all look pink

    I just upgraded itunes to 10.5 and my iPad1 to iOS 5.  When I sync my photos, they all have a pink tint to them.  Previously, my photos were true to the pics that I have saved on my PC.  Is anyone else seeing this? 

  • Save Color Label Set with Collection

    I'd like to be able to save a Color Label Set with a Collection. I'm getting ready to process a bunch of images and I have two destinations for them: a web site slide show, and Flickr. I want to do a slideshow of a small subset of images, but I want

  • HT201301 Pages does not show up as an app that supports file sharing in my iTunes.  Why??????

    I just downloaded Pages & Open Word onto my iPad because I want to be able to load my recipes from my iMac onto my iPad to use in my kitchen.  When I try to use iTunes to transfer the files, neither app shows up as working with file sharing.  What am

  • Script to copy files when connecting camera?

    Being ever increasingly worried about losing data, especially photos/movies of our family etc, I'd like to have some sort of script/automated process so that when I connect my camera (Canon 400D) - my iMac grabs a copy of the original images from the