Dimension vs Detail Universe objects
What are the pros and cons of creating Dimension vs Detail Universe objects?
We have created our Universes with both types to logically group some dimension objects with details that can only be one value of it's associated dimension object. We have found that in Webi, Detail objects cannot be merged where two or more queries are written. We are on XIR2 SP2 and are planning to upgrade to XI 3.0 soon. Are any issues resolved in XI 3.0?
Any response would be appreciated.
Thanks,
Mike
Jacques,
Thanks for the helpful reply. If I could as an example, we have several instances where we have defined dates as dimension objects in a universe. Of course a date can have many detail attributes and for these we created them as attributes under the date dimension. So for dimension Month_End_Date we have attributes such as Month_End_Date_Year or Month_End_Date_Quarter; and as mentioned we cannot merge on these attributes. Perhaps one persons dimension is anotheru2019s attribute; potato, potahto. While still somewhat of a newbie with Business Objects it just seems that merging of attributes should be allowed.
Again thanks for your earlier reply and listening to me rant a little.
Similar Messages
-
Find reports using a certain universe object- Dimension
hi,
Is there a possibility to query the repository directly to find reports using a certain universe object?
I need a list of reports using a specified dimension-object, to be able to rework the reports, since data data-structure in database has changed.
- i don't want to go through 1800 reports .
I am using SAP BO 4.1
Please provide your valuable ideas.
Thanks,
PrabhuHi Prabhu ,
There is EXCEL utility available.
http://www.forumtopics.com/busobj/viewtopic.php?t=187444&start=0&sid=09edf46717046b141f5ce73a4cfe8295
hope it'll help. -
Convert Values to Single Value in Universe Object
Hi,
Our environment is BO 3.1 and all universes are on top of SAP BI 7.0.
How do we convert the values coming from a dimension to a single value?
I have created an object as "Active" by copying the existing "E01 Cutomer key" and added a Where clause in the object.
Select -
[ZEU_KUNNR].[LEVEL01].[[2ZEU_KUNNR]].[Value]
Where -
<FILTER KEY="[ZEU_KUNNR].[LEVEL01].[[2ZEU_KUNNR]].[Value]">
<CONDITION OPERATORCONDITION="InList">
<CONSTANT CAPTION='16278'/><CONSTANT CAPTION='16279'/>
</CONDITION>
</FILTER>
When I drag the above object Active (dimension) to the result object; Web I report works fine and retrieve only the values for - 16278 and 16279. But my requirement is to get the value as "Active" instead of filter values.
For eg.,
Active Subtotal2
=================
16278 $100
16279 $400
Instead of above we need to get like this:
Active Subtotal2
=================
Active $500
Is this possible in Universe? Do we have any MDX function/syntax to convert the values in Universe?
Thanks
Jai
Edited by: Jai on Sep 28, 2009 4:21 PMHi,
The best way to obtain your result would be to create a caluclated measure like this:
<EXPRESSION> IIF( [ZEU_KUNNR].currentmember.properties.("[2ZEU_KUNNR]") = "16278", "Active",
IIF( [ZEU_KUNNR].currentmember.properties.("[2ZEU_KUNNR]") = "16279", "Active",""),"")</EXPRESSION>
Then add the where clause you defined in the new calculated measure.
Unfortunately, all calculated measures and calculated members MUST return a numeric value with SAP MDX. In your case you want to return "Active" that is string.
This expression works fine with Microsoft Analysis Services.
So I recommend that you keep the object you defined and create a Web Intelligence formula that will group the 2 values in a single value "Active".
Didier -
Function to show Universe Objects used by reports
Is there a function in XI3.1 to see all of the reports in which a particular Object is being used?
I don't see any of the canned audit reports that would show this.
Example: I have a Universe Object called "Ins. Proper Name'' and I want to see how many of our reports are using this object.
Thanks,
MikeMike,
Here is what I use:
Result Objects:
-Universe Name from Actions/Action Details
-Action Type from Actions
-Document Name from Actions/Document Operation
-Action Time from Actions
-Action Type Detail from Action/Action Type
Query Filters:
-Action Time Between <Begin Date> and <End Date>
Report Filters:
-Action Type In List: SQL Value
Note: Action Type Detail contains the SQL for every query that is run within the date range provided. While the SQL contains the name of every query in every report, it does not use reference a universe object by name. i,e, to check whether a specific universe object exists in the report, you will have to search for the object's sql.
Also, I use an additional another query filter to return only objects that match a specific pattern.
Let me know if you need anything else.
Best,
Srinivas -
Dimensions of a geometric object
Friends,
I want VI which can be used for finding out the dimensions of a geometric object.The camera is placed on top of the object. Further I will find out the co-ordinates of the vertices of the object. I need some algorithm or a example VI for the above.Hello,
NI Vision Development Module has a lot of image processing functions that are intended to be used for doing geometric measurements and analysis. Please see http://sine.ni.com/apps/we/nioc.vp?cid=2881〈=US for detailed information on the NI Vision software. There's also a link for an evaluation copy of this software on the same page.
Please let me know ff you have any questions regarding NI Vision Development Module.
Best regards,
yusuf C.
Applications Engineering
National Instruments -
No detail level objects in Voyager report
Hi All,
I created a report in Voyager workspace....Voyager does not show Detail level objects from the selection panel in the left and shows only Dimensions, and i want to use deatil level objects in reports.
I also see no formula tool bar. I am using an SAP BW query.
Please help. we are on BO xi 3.1 sp2, FP2.5
Edited by: pali1010 on Apr 26, 2010 10:47 PM
Edited by: pali1010 on Apr 26, 2010 10:48 PMDisplay attributes have several string properties which are visible in Voyager:
u2022 Short description
u2022 Medium description
u2022 Long description
u2022 Key and short description
u2022 Key and medium description
u2022 Key and long description
These string properties can be viewed and changed from the Properties tab of the Tab panel.
Key and text properties are concatenated into a single string, and are therefore displayed in a single column or row caption field. They do not appear as separate columns or rows.
Now come to your question where youwant to se detail level.
Can you expand the dimension by clicking on the parent member?
It should expand.
Bashir Awan -
BW OLAP universe object with Aggregate
How to create an BW OLAP universe object with Aggregate to a higher level than the underlying query?
The objective is to synchronize 2 queries by Contract Agreement quantity range and part of the calculation is to obtain the contract total quantity in one of the queries that is by Year and Month. For that query I need the total quantity for the contract.
Example;
Contract # Year Month Qty
1 2011 1 230
6 2011 2 50
14 2011 3 124
u2026
25 2011 12 87
Total Qty --> ?
The following syntax gives the total quantity by contract / Year / Month, not the overall contract quantity. I could not find any MDX reference to use to solve this.
The dimension is [0SALESDEAL].[LEVEL01]
<EXPRESSION> AGGREGATE({[0SALESDEAL].CurrentMember:[0SALESDEAL].CurrentMember},[Measures].[DBKTD232QCONV8CVZYB17B5P0]) </EXPRESSION>
Thanks,
Marco
Edited by: Marco R on Dec 6, 2011 3:25 AM
Edited by: Marco R on Dec 6, 2011 3:27 AM
Edited by: Marco R on Dec 6, 2011 3:31 AM
Edited by: Marco R on Dec 6, 2011 3:33 AM
Edited by: Marco R on Dec 6, 2011 3:35 AMHi Andrew,
Looking at your statement I get the feeling you want this as a dimension/characteristic.
Since an expression has to be numeric and a characteristic in BW cannot be numeric, this will not work.
Only measures/keyfigures are possible.
The direction from SAP is to push any modeling to the BW query or even BW itself.
Hope this helps,
Marianne -
Two universe objects on the same graph axis
I am trying to create a bar-stacked graph in the Web Intelligence document. I add \[Period\] universe object to X axis, \[Total\] object to Y axis. Then I want to add two objects to Z axis:
\[Sector\] (has values: Europe, Asia, America) and \[Status\] (has values: Active, Validating)
The problem that it makes a cartezian product between all value, so the output is:
Europe/Active
Europe/Validating
Asia/Active
Asia/Validating
America/Active
America/Validating
But, what I want is:
Europe
Asia
America
Active
Validaing
Is there any way to do this? Maybe with the help of some universe parameters, or REBean SDK...this is cross topic
-
Possible bug when creating multiple detail view objects
using jdev 11.1.1.0.0 to build jsf/adf applications. I wanted to report what seems like a bug in 11g. I have a parent table which has two child tables. After creating the appropriate entities, associations, views, and view links, the app module looks like this:
MasterView
--DetailView1
--DetailView2
The two detail view objects are on the same level, they are both direct children of the Master view.
Here's what's happening:
1) I create the master entity/view objects (MasterView)
2) I create one of the detail entity/view objects (DetailView1).
3) I create the association and view link to establish relationship between MasterView and DetailView1. Everything works fine.
4) I create the entity/view objects for second detail view (DetailView2)
5) When I attempt to create a second view link (based off an association) to establish the relationship between MasterView and DetailView2, the query clauses of the Create View Link wizard (screens 4 and 5) do not get created properly. I finish the wizard and save. Not only does this view link not get created properly, but in the process the query clauses that were defined in the first view link between MasterView and DetailView1 are wiped out. This will break any coordination between master and detail views in both the app module tester and runtime. Has anyone seen this problem?fyi, it looks like this issue has been resolved with jdev 11.1.1.0.2 (Update 2)
-
How to identify reports that are using a specific universe object?
Any idea how to use BO Auditor or Metadata Manager to identify webi reports that are using a specific universe object or universe prompt in the report SQL?
Hi Samuel,
In case you are using BOXIR2 you can do this by editing the crystalenterprise.webi.xml file.
Replace the CrystalEnterprise.Webi.xml file (Take a backup) with the edited one.
Path where you can find this file- Tomcat/webapps/businessobjects/enterprise115/desktoplaunch/WEB-INF/classes/META-INF/CrystalEnterprise.Webapps/ePortfolio/plugins
Paste the Custom Documentation folder in Tomcat\webapps\businessobjects\enterprise115\desktoplaunch\
May I know your email Id so that I can send you the edited crystalenterprise.webi.xml file.
Regards,
Sarbhjeet Kaur -
Universe object that returns the number of rows in table?
Is it possible to create a Universe object to support the following SQL query:
SELECT * FROM (SELECT ROWNUM rownum1 FROM TABLE) WHERE rownum1 = (SELECT (MAX(ROWNUM)) FROM TABLE)Amr,
Hey dude, welcome back, long time no hear from you.
You were on the right track with "number of rows", but here is the correct syntax:
=NumberOfRows([Query 1])
Thanks,
John -
Identify reports using a specific universe object
Hi,
How do I find out all webi reports using a particular universe object or universe prompt in the report SQL?
Thanks.Samuel,
You might have some success working with an Excel spreadsheet which has been programmed with macros and was developed to access the CMS database and produce a universe to reporting pairing product. The source for this spreadsheet/macro is on the BOB board, available here:
[http://www.forumtopics.com/busobj/viewtopic.php?t=101886&postdays=0&postorder=asc&start=30&sid=41504e1606a79a263d57748b2bcd8ccc]
Thanks,
John -
Problem occured when create a tree table for master-detail view objects using SQL queries?
I am programming a tree table for master-detail view objects using SQL queries and these 2 view objects are not simple singel tables queries, and 2 complex SQL are prepared for master and view objects. see below:
1. Master View object (key attribute is SourceBlock and some varaible bindings are used for this view object.)
SELECT cntr_list.SOURCE_BLOCK,
sum(
case when cntr_list.cntr_size_q = '20'
then cntr_list.cntr_qty
else 0 end ) as cntr20 ,
sum(
case when cntr_list.cntr_size_q = '40'
then cntr_list.cntr_qty
else 0 end ) as cntr40 ,
sum(
case when cntr_list.cntr_size_q = '45'
then cntr_list.cntr_qty
else 0 end ) as cntr45
FROM (
SELECT yb1.BLOCK_M as SOURCE_BLOCK,
scn.CNTR_SIZE_Q,
count(scn.CNTR_SIZE_Q) AS cntr_qty
FROM SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2
WHERE
scm.cmr_n = scn.cmr_n
AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')
OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))
AND scm.shift_mode_c = :ShiftModeCode
AND scm.end_terminal_c = :TerminalCode
AND scm.start_terminal_c = yb1.terminal_c
AND scm.start_block_n = yb1.block_n
AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n
AND scm.end_terminal_c = yb2.terminal_c
AND scm.end_block_n = yb2.block_n
AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n
AND scn.status_c not in (1, 11)
AND scn.shift_type_c = 'V'
AND scn.source_c = 'S'
GROUP BY yb1.BLOCK_M, scn.CNTR_SIZE_Q
) cntr_list
GROUP BY cntr_list.SOURCE_BLOCK
2. Detail View object (key attributes are SourceBlock and EndBlock and same varaible bindings are used for this view object.)
SELECT cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK,
sum(
case when cntr_list.cntr_size_q = '20'
then cntr_list.cntr_qty
else 0 end ) as cntr20 ,
sum(
case when cntr_list.cntr_size_q = '40'
then cntr_list.cntr_qty
else 0 end ) as cntr40 ,
sum(
case when cntr_list.cntr_size_q = '45'
then cntr_list.cntr_qty
else 0 end ) as cntr45
FROM (
SELECT yb1.BLOCK_M as SOURCE_BLOCK,
yb2.BLOCK_M as END_BLOCK,
scn.CNTR_SIZE_Q,
count(scn.CNTR_SIZE_Q) AS cntr_qty
FROM SHIFT_CMR scm, SHIFT_CNTR scn, YARD_BLOCK yb1, YARD_BLOCK yb2
WHERE
scm.cmr_n = scn.cmr_n
AND (scm.plan_start_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS')
OR scm.plan_end_dt BETWEEN to_date(:DateFrom,'YYYY/MM/DD HH24:MI:SS') AND to_date(:DateTo,'YYYY/MM/DD HH24:MI:SS'))
AND scm.shift_mode_c = :ShiftModeCode
AND scm.end_terminal_c = :TerminalCode
AND scm.start_terminal_c = yb1.terminal_c
AND scm.start_block_n = yb1.block_n
AND substr(scn.start_location_c,(instr(scn.start_location_c,',',1,5)+1),instr(scn.start_location_c,',',1,6)-(instr(scn.start_location_c,',',1,5)+1)) BETWEEN yb1.slot_from_n AND yb1.slot_to_n
AND scm.end_terminal_c = yb2.terminal_c
AND scm.end_block_n = yb2.block_n
AND substr(scn.end_location_c,(instr(scn.end_location_c,',',1,5)+1),instr(scn.end_location_c,',',1,6)-(instr(scn.end_location_c,',',1,5)+1)) BETWEEN yb2.slot_from_n AND yb2.slot_to_n
AND scn.status_c not in (1, 11)
AND scn.shift_type_c = 'V'
AND scn.source_c = 'S'
GROUP BY yb1.BLOCK_M, yb2.BLOCK_M, scn.CNTR_SIZE_Q
) cntr_list
GROUP BY cntr_list.SOURCE_BLOCK, cntr_list.END_BLOCK
3. I create a view link to create master-detail relationship for these 2 view objects.
masterview.SourceBlock (1)->detailview.SourceBlock (*).
4. I create a tree table using these 2 view objects with master-detail relationship.
When I set default value for variable bindings of these 2 view objects and the matching records exist, tree table can work well. I can expand the master row to display detail row in UI.
But I need to pass in dymamic parameter value for variable bindings of these 2 view objects, tree table cannnot work again. when I expand the master row and no detail row are displayed in UI.
I am sure that I pass in correct parameter value for master/detail view objects and matching records exist.
Managed Bean:
DCIteratorBinding dc = (DCIteratorBinding)evaluteEL("#{bindings.MasterView1Iterator}");
ViewObject vo = dc.getViewObject();
System.out.println("Before MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
System.out.println("Before MasterView1Iterator ShiftModeCode="+ vo.ensureVariableManager().getVariableValue("ShiftModeCode"));
vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
vo.executeQuery();
System.out.println("MasterView1Iterator vo.getEstimatedRowCount()="+ vo.getEstimatedRowCount());
DCIteratorBinding dc1 = (DCIteratorBinding)evaluteEL("#{bindings.DetailView1Iterator}");
ViewObject vo1 = dc1.getViewObject();
System.out.println("Before DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
System.out.println("Before DetailView1Iterator ShiftModeCode="+ vo1.ensureVariableManager().getVariableValue("ShiftModeCode"));
vo1.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
vo1.ensureVariableManager().setVariableValue("DateTo", dateTo);
vo1.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
vo1.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
vo1.executeQuery();
System.out.println("after DetailView1Iterator vo1.getEstimatedRowCount()="+ vo1.getEstimatedRowCount());
5. What's wrong in my implementation? I don't have no problem to implement such a tree table if using simple master-detail tables view object, but now I have to use such 2 view objects using complex SQL for my requirement and variable bindings are necessary for detail view object although I also think a bit strange by myself.Hi Frank,
Thank you and it can work.
public void setLowHighSalaryRangeForDetailEmployeesAccessorViewObject(Number lowSalary,
Number highSalary) {
Row r = getCurrentRow();
if (r != null) {
RowSet rs = (RowSet)r.getAttribute("EmpView");
if (rs != null) {
ViewObject accessorVO = rs.getViewObject();
accessorVO.setNamedWhereClauseParam("LowSalary", lowSalary);
accessorVO.setNamedWhereClauseParam("HighSalary", highSalary);
executeQuery();
but I have a quesiton in this way. in code snippet, it is first getting current row of current master VO to determine if update variables value of detail VO. in my case, current row is possibly null after executeQuery() of master VO and I have to change current row manually like below.
any idea?
DCIteratorBinding dc = (DCIteratorBinding)ADFUtil.evaluateEL("#{bindings.SSForecastSourceBlockView1Iterator}");
ViewObject vo = dc.getViewObject();
vo.ensureVariableManager().setVariableValue("DateFrom", dateFrom);
vo.ensureVariableManager().setVariableValue("DateTo", dateTo);
vo.ensureVariableManager().setVariableValue("ShiftModeCode", shiftModeC);
vo.ensureVariableManager().setVariableValue("TerminalCode", terminalCode);
vo.executeQuery();
vo.setCurrentRowAtRangeIndex(0);
((SSForecastSourceBlockViewImpl)vo).synchornizeAccessorVOVariableValues(); -
When i place mouse on workset ,needs to display Detailed navigation objects
Hi Experts,
when i place mouse on workset,i would like to dispaly all detailed navigation objects in a list on workset.
If any one knows about this please suggest me and provide the coding too.
Thanks in advance.
Regards,
KiranHi,
YOu need to develop a custom navigation, refer following links to understand developing custom navigation :-
*TLN
Tag Libraries: Creating a Hover Menu in SAP NetWeaver Portal
Creating Hover Menu
Tag Libraries: Creating a Hover Menu in SAP NetWeaver Portal
*Tag Library
http://help.sap.com/SAPHELP_NW70/helpdata/EN/42/f35146a7203255e10000000a1553f7/frameset.htm
http://help.sap.com/SAPhelp_nw04/helpdata/en/42/f498dfd1e31a61e10000000a422035/frameset.htm
Deploying Custom JSP Tags in WAS
EFP: Layout Tag Library
EFP: Navigation and Framework Tag Libraries
Navigation and Framework tag library, layout, quick links etc
EFP: Navigation and Framework Tag Libraries -
Displaying a Master with two detail view objects
Hi,
I have a situation where I need to relate a Master view object to two Detail view objects. Currently I am doing the lookup manually (using viewcriteria!) but I would much rather have the framework handle this. Does anyone know of a way to A: Link two details to one master and B: Display them on the same page.
I am using Jdeveloper 9.0.3.3 (1205) and currently have a straight BC4J/JSP application with no struts or UIX.
Thank you in advance for any help you can provideIf I understand you correctly. You should just have to create two separate viewLinks. Add the datasource tags for the master and the two views via the viewlinks. Then use a rowKey to get the correct master.
Hope that helps!
Maybe you are looking for
-
Cannot delete movie file from iTunes
After converting movie file via Quicktime and adding it to the iTunes library, I am not able to remove it anymore. If you try to delete it, it crashes iTunes and after that all desktop icons are frozen. The movie does not play in iTunes, you cannot e
-
Why is the new keynote not recording the slide show ?
I have been using Keynote for years on my mac book I have just brought a new mac book pro retina running mavericks and the program doesnt do half as much as the original 09..... what is going on..... am imissing something here? I am trying to record
-
Distributed compile distribution issue
I have two computers: an iMac G4 17" 800 MHz machine that I use as my primary computer, and a PowerMac G4 450 DP. I would like to use both machines when compiling. However, when I enable distributed build in Xcode on my iMac and "share this machine f
-
Service products for Maintenance Plan
Hi All, Is it possible to Create maintenance plan from a a Service product - Contract Line item(VA41)? I have come across the Tcode OISF but do not know how to make use of it? Would appreciate if you could throw some light on this? Pranav
-
Documentation with examples for OO ABAP
Hi All out there, I want to learn object oriented ABAP. can you send me some documentation along with examples to [email protected] Thnanks in Advance. Ashutosh.