Universe level creation using IDT 4.0.
Hi All
I need one clarification regarding Universe level creation using IDT 4.0.
I have created small Universe based on 5 tables and I have one alias on this and I have given necessary joins and Created business layer.
When try to create report using only 2 tables for the report and as we have given join so its taking equal join for others tables which we dnt need for this report, for that we are not getting correct results.
User is requesting that whenever they select any tables it should link each other table and if they want to add any field from other table universe should automatically link each other and provide desired results.
Is there any possible to bulid the universe based on the requirement
Thanks & Regards
Murali
Hi,
could you qualify/quantify what you mean by "wrong results"?
It doesn't sound like the universe is finished, or are these changing requirements you need to implement?
with regards to incorrect results, there must still be joins, cardinalities, loops , contexts missing, or other integrity issues to be finalized first?
Regards,
H
Similar Messages
-
How to Define a Required Prompt at the Universe Level
Apologies if this has already been covered somewhere... I searched and can't find the topic covered yet.
I've been under the impression for a long time that one could configure a Universe such that it would require a prompt on a dimension whenever that Universe was run, regardless of the tool or report. For example, you could configure an eFashion Universe such that any report or analysis built against it (Webi, Crustal, Design Studio, Lumira, PowerQuery... whatever) would trigger a prompt, perhaps on Year or State. The idea is that at the Universe you could prevent developers and self-service users from building "Select All" reports.
However, even with the use of LOV flags in the Data Foundation and Business Layer (e.g. "Force users to filter values before use"), I can't figure out how to make it work.
So, I have two questions...
Is it possible to include required prompts/filters in the Universe definition?
If so, how?
Thanks,
JoshHi...
Is it possible to include required prompts/filters in the Universe definition?
Yes..it’s possible to include prompts at universe level,
If all the reports are using same prompts, you can create at universe level and use same prompt in all the reports. You can define mandatory or optional prompt.
Following is the syntax for the function.
@Prompt('message','type',[lov],Mono|Multi,free|constrained|primary_key,persistent|not_persistent,[default_values])
The following are simple examples of @Prompt syntax.
Minimal use of the @Prompt function:
@Prompt('Displayed text ','A',,,)
Using the @Prompt with a LOV without default values:
@Prompt('Displayed text ','A',{'Paris','London','Madrid'},,)
Using the @Prompt with a LOV and one default value:
@Prompt('Displayed text ','A',{'Paris','London','Madrid'},,,,{'Paris'})
2 : If so, how?
In the condition's SELECT or WHERE field, right-click at the place in the expression where you wantto add a prompt and
select @Prompt editor from the shortcut menu.
In the Message box, type the message that you want the user to see.
Select Keep last value selected if you want the prompt to propose the values used for the previousreport.When the report is run for the first time, the default values (if any) are proposed.
Select Allow multiple selection if the user can enter or select more than one value.
Set the Selection mode. For Free selection, the user can enter any allowed value. For Constrainedselection, the user must select a value from a list of values. For Primary key, the user selects theobject name, but the object's primary key is used by the query. You can only use the Primary keysetting if Index Awareness is set.
Note:
When the Constrained option is selected and a List of Values is not specified, the corresponding Tab color turns to red, OK button is disabled, and on moving the cursor over the highlighted tab, the contextual tooltip displays a message indicating how to rectify the problem.
Set the Value type for the selection mode: Alphanumeric, Number, or Date.
If you have selected Primary key for the selection mode, set the Key type: Alphanumeric, Number,or Date.
If you are using multiple selection, define the list of values. Do one of the following: you can type orimport a list of values, or you can select a universe object.
Click the Default Values tab and define any default values. When you allow multiple selection, youcan set more than one default value.
Click OK.
The "@Prompt" editor closes and the prompt expression is visible in the condition's statement in the "Edit Properties" pane.
Validate the prompt and click Parse.When the syntax is
http://business-objects-xi.blogspot.in/2009/06/prompt.html -
Hi All..
We are trying to create a Universe (using IDT-Version4.0) on top of the HANA Calculation view. The Calculation view has 4 input parameters, So
in Universe side we have created the respective prompts. For the creation of derived table we have used the following code
SELECT *
FROM "_SYS_BIC"."<schema_name>.<CV_Calculation_View_test>"
'PLACEHOLDER'=('$$IP_A$$','@Prompt(A)'),
'PLACEHOLDER'=('$$IP_B$$','@Prompt(B)'),
'PLACEHOLDER'=('$$IP_C$$','@Prompt(C)'),
'PLACEHOLDER'=('$$IP_D$$','@Prompt(D)')
While validating the above code we are getting an error.
I have attached the snapshot of that error for your reference. Please find the attachment and help me in resolving it.
Thanks in advance.Hello George,
I don't have any personalization set on the info space. Also I am using mapped Account in BI to connect to HANA. The confusing part is that it is able to validate the infospace with the input parameters and index it. However query does not return any results. I even tried running the same query which explorer sends to HANA in the SQL editor and there too the same results,the query does not return anything. The model does return data when I do a data preview and if accessed from other tools like AAO.
Also when I use SSO connection to HANA, indexing of the infospace fails. Where can I see the error log?
Thanks, -
How To Capture The Inputs given for a Filter Defined at Universe Level
Hi ,
I have a conditional filter defined at Universe level
Wen this is used for Running Query using web Intelligence, It is asking for a prompt. That is cool and fine
Now my Question is that , I was unable to capture the prompt value being passed while running the Query .
For this object I am passing the values at universe Designer(3.1 SP5)
I would like to capture those prompts, I am not getting the same when I use UserResponse Function
Please Help me on this
Thanks in AdvanceHi
To capture the prompts values entered at query run time.
=UserResponse( "Prompt Text") Like ("Enter Values for Sales ID")
Will give the prompt entered value.
=PromptSummary()
Will give the list of prompts entered at Query run time.
Pleaas find the below link.
http://bobjblog.wordpress.com/tag/userresponse/
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp5_ffc_en.pdf -
Qualifying Prompt at the Universe level
Hi
I wanted to know whether it is possible to create a qualifying prompt at the universe level:
The first prompt will be u2018Select a Timeframeu2019 which will prompt user to select one out of following values
u2018Select Dateu2019 (multi select), u2018Select Weeku2019 (Multi select) and u2018Select Periodu2019 (Multi select). When user selects say any one value like u2018select Weeku2019 value , he will be give the Values for the Week number concenated with Week End Date. On selecting one or more values, the data for selected week numbers will be given. Same for u2018Select Dateu2019 where he can select Multiple Dates and select Period where he can select multiple periods.
Please let me know if there is any solution for this issue as this is a very high priority form my cleints.
Any help is highly appreiciated.Do you users expect a fixed number of possible values in the 2nd selection level regardless which of the 3 selections was done on the 1st level (week, date, period)? Or should they be able to type in in the 2nd level their own values also at least for some of the 1st level selections (eg. period)?
Which database do you use?
Regards,
Stratos -
How to create Current Year Filter at Universe Level ?
Hi,
I want to create a Current Year, Next Year and Last Year filters at Universe Level.
Can anyone help me with this.
I am using Netezza database and not able to find the appropriate date function in Netezza to accomplish this.
Any suggestions ?
ThanksHi,
You would somehow need to extract the Year part from the system date..
then
Current Year = Year
Next Year would be i.e Current Year + 1
Last Year would be i.e Current Year - 1
I guess this is the simple part... but you would need to find those functions on your RDBMS..
Hope this helps
Jacques -
OpenDocument syntax with UserResponse at universe level
HI,
Can any one tell me what is missing or wrong in the following syntax of Open Document. I am using this at the universe level with user response and two parameters.
'<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="UserResponse("Select Name:")l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+'</a>'
Thanks!!!!
Bernard.Hi Bernard,
UserResponse is for WEBI reports, in universe the formula is prompt.
Where clause = <FILTER KEY=u201D[MyVar]u201D>
<CONDITION OPERATORCONDITION="InList">
<CONSTANT NAME="@Prompt('Hierarchy node values','A','Sales
employee\LovHierNodeL03 Sales employeeBase',multi,constrained)"/>
</CONDITION>
</FILTER>
I replace in your syntax the UserResponse for @Prompt
'<a href="../../opendoc/openDocument.jsp?sDocName=abc&sType=wid&sWindow=New&sRefresh=Y&lsSName:="@Prompt('Select Name:','A',{'NAME1','NAME2','NAME3','NAMEn'},mono,constrained)]l"&lsSID:='+dbo.EMPLOYEE ' ">'@Select(Employee Working days view\Employee_Name_ID)+''
This is an exaple of MDX for SAP BI, Choose a dimension among the different u201Ctimeu201D dimensions available in a SAP Netweaver infocube.
0CAL@Prompt('CalendarLevel?','N',{'YEAR','QUARTER','MONTH','DAY'},mono,constrained).[[LEVEL01]]
I hope this help you.
Federico.
Edited by: Federico Sperling on May 11, 2009 4:39 PM
Edited by: Federico Sperling on May 11, 2009 4:39 PM -
Ascending Order of Objects at universe Level
Hi Techies.
I am working on BO 3.1 Designer SP5.
I have one Period (Month Year) object at universe level and I have arranged the order of object as Descending by editing the properties of the object.
and when I use this object in the Query Filter section and making it as a Mandatory prompt, the values are loading in a different way rather than descending order.
Please help me on this......
thanks in Advance...Hi
If you want to sort the LOV’s, use the LOV’s based on custom SQL option.
Please find the below sample code.
Sample Code
SELECT DISTINCT FIELD
FROM
TABLE
ORDER BY 1
And find the below link for more info.
http://scn.sap.com/community/semantic-layer/blog/2014/06/11/how-to-sort-the-list-of-values-in-the-prompts-screen -
Controlling data access at universe level
Hi,
I had a doubt in universe regarding the implementation of security.
Existing process: We had a portal called flex (intranet site)which the BO report has been integrated and for opening the report the name of report was clicked (hyperlink)
This report should show the data specific to the user profile logged into the portal.
Now if we want to restrict the data at universe level for each individual users accessing the report in portal our idea is to create a dervied table (which contains a list of userid's and project id's)in universe so that who ever logged into the portal and clicks on report he will see the data only related to profile
For example: The scenario would be a manager residing in a region need to see the list of projects which he is assigned to but not all of them.
Could you please let me know how can implement at universe. Kindly let me know if you need any futher information.
Thanks,
EswarAnother way to do this is: (a) in your universe create a table that has a list of user names a long with their BOUSER id; (b) associate that list with fact tables or d imensions in the database, either using joins or by using a where clause as a filter or in an object definition using the syntax @variable(bouser); below is an exerpt from BO Designer guide.
Example:
@Variable
In the universe for a human resources database, you have an object called
Employee name. You want to restrict the returned data for Employee name
to the values authorized in the database for each user. This would allow
you to control what employee information each user is allowed to see. This
information is defined by their database profile.
You insert the @Variable function in the WHERE clause as follows:
Employees.Employee_Name = @Variable('BOUSER')
When the object Employee name is used in a query, the data is returned -
Filter at universe level is not working
Hi all,
I am using a filter at Universe level to exclude a list of customers and a couple of customers within the date range.
This works ok for a list of customers, but customers in the date range are not excluded.
Here is my filter in Universe:
@Select(Order Items\Customer No) NOT IN ('10114', '10116', '10119', '10178', '11111', '11118', '11119', '11142', '11150', '11152')
AND
(@Select(Order Items\Request Date) BETWEEN to_date('01/10/2011','mm/dd/yyyy') AND to_date('01/15/2011','mm/dd/yyyy') AND @Select(Order Items\Customer No) NOT IN ('11061','11062'))
Can somebody please let me know ehat am I doing wronng?
Regards,
RRIn this query you are saying the next:
1. You don't want the users that are in the first list
2. But you want the users whose date range is between 1/10/2011 and 1/15/2011
Is this what you want or you really dont want the users between that range?
Perhaps you should try this:
AND
(@Select(Order Items\Request Date) NOT BETWEEN to_date('01/10/2011','mm/dd/yyyy') AND to_date('01/15/2011','mm/dd/yyyy') AND @Select(Order Items\Customer No) NOT IN ('11061','11062'))
Edited by: PadawanGirl on Feb 4, 2011 10:48 PM
Edited by: PadawanGirl on Feb 4, 2011 10:49 PM -
Parsing Issue at Universe Level
Dear All,
I am a BO Consultant, for the past few months we (our report developing team) were trying to create new objects at the Universe level (based on requirement) so that we can use the same in the report level, but unfortunately we failed to do the same.
Actually we are struggling in this case. Every time when we try to create an object with function specified at the Universe level its coming up with errors like this expression is not parsed etc.
We are using,
1. SAP BI 7.0 with DB2
2. SAP BO XI 3.1 Edge
3. Universe Version 12.3.0 and Build 601
Universe on top of BW Cubes have any limitations??????????
Please help us with a solution.
Regards,
Arun Krishnan.G
SAP BO ConsultantHi,
It all depends what your syntax is, and what you are trying to do.
Also, I would not trust the Parser too much in OLAP BAPI universes..
Here is an SDN guide about OLAP universes and some examples of XML markup required for predefined filters for MDX scenarios.
[http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/c0a45246-ce76-2b10-e688-f5c8206203eb?quicklink=index&overridelayout=true]
Regards,
H -
DateTime issue at Universe Level
Hello Experts,
We have stored date in database as datetime format. In Universe, we have created object on this date. But we have to keep type of this objet as u2018Dateu2019 as there is no datetime object type available in universe.
When we dragged this objet in webi, we found that we are getting only date but no timestamp. We can manually do this using report formatting. However we would like to achive this at universe level.
My question is : What should be the type of object in universe for getting datetime at report level ?
We found that, if we keep objet type as char, we may get the desired results. However is there any other alternative?
Regards,
ChinmayHi,
Use the Function Convert to convert into datetime format in the Universe object level.
Syntax:
convert(datetime,field_name,101)
Regards,
Shiva Kumar G.C -
Hi All,
I want to create objects at universe level for the following :
Ver:- BOXIR2, Database is Oracle.
Monthly averages for the last 12 months u2013 Balances for last 12 months are shown in the report. These are previous 12 months, starting from the month of the report date.
Variance between last month and previous month u2013 This column will display the variance between two consecutive months. The optional attributes of FX variance can be used by the user in that case.
Variance between last month and same month from previous year u2013 This is the difference in volume of balances for the last month of the current year and the same month of the previous year.
Year-to-Date (YTD) average u2013 This is an aggregated average of balances up to the current month in the current year.
Previous year average - This is an aggregated average of balances up to the current month, but for the previous year.
Variance between YTD average and Full Year- previous year u2013 This is the difference between the balances YTD and the year ending December 31st of the previous year.
Please contribute your inputs .
Thankyou in advance
Regards,
ChaitanyaLittle hints to get you started.
Monthly averages for the last 12 months u2013 Balances for last 12 months are shown in the report. These are previous 12 months, starting from the month of the report date.
Avg(<columnName>)
Where
Date_dim.reportdate between add_months(<reportdate>, -12) and reportdate
Year-to-Date (YTD) average u2013 This is an aggregated average of balances up to the current month in the current year.
Avg(balance)
where
Date_dim.reportdate between add_months(<reportdate>, - extract(month from sysdate)) and reportdate
Previous year average - This is an aggregated average of balances up to the current month, but for the previous year.
Avg(balance)
Where
Date_dim.reportdate between add_months(add_months(<reportdate>, -12),-extract(month from add_months(<reportdate>, -12))) and reportdate
--Kuldeep -
Hello All,
I would like to do sorting on time peroid objects(year,quarter,month,week)
i can do it at report level using Ascending ,descending,custom sort
but i would like do it at universe level only .
i tried like this:
List of values>>Year>>edit>>here i have set sorting on Year object as descending>>save n close>>then reexported the universe
again tried to query in infoview >> but the data was not sorted in descending order
Please help me in this issue
Regards,
SwethaHi Ann, it is always helpful to have a dim_time table in your data mart where you have these 2 fields (among others):
month_number month_full_name
1 January
2 February
and so on...
Then you can put something like the following SQL in your derived table called "MONTH"....
select distinct month_number, month_full_name
from dim_time
order by 1
Create a dimension object, says, "month_lov". Go the Properties tab, click "Edit", then "SQL". In the query panel, put in something like this...
select month.month_full_name
from
(select distinct month_number, month_full_name
from dim_time
order by 1) month
Make sure you check "Do not generate SQL before running", then click "OK" and "Save and Close". Then create a condition object to point to this LOV. You should be able to get the months listed in the real order.
Hope this helps.
If you are using the BusinessObjects tool, you should join [ASUG|www.asug.com] -
Restrict Item Category Item Creation using Reference Only
Hi All
Here is the scenario, I want "Restrict Item Category Item Creation using Reference Only"
a.Retrieve document number VBELN from sales order header table VBAK for the current order. Check if the sales order is of type ZAB referencing field AUART in table VBAK.
note : Any changes to existing sales order "ZAB" will be performed in thesame sales order type(ZAB) in VA02 transaction.
b.If step a is passed, check internal table structure for sales order item level as XVBAP-PSTYV for possible item category values of 'ZDEF' for the entered line item and document number (XVBAP-VBELN).
c.If the cancel/change item category values are found on the line item, check internal table structure for document flow (XVBFA) if the cancel/change item category was created as reference:
i.Check if entry exists in XVBFA for the preceding document number field VBELV with value equal to value in the subsequent document number field VBELN. This value must equal the current sales document number VBELN in table VBAK.
ii.The above check must be done in conjunction with the following check:
1.Check if entry exists in XVBFA for the preceding document type field VBTYP_V with value C equals subsequent document type field VBTYP_N with value of C.
d.Once the above checks are passed, collect the item number from internal table XVBAP (Field: POSNR) for the change/cancel item category line item added to the sales order.
e.Check if the item number retrieved in the previous step exists in table VBAP (Field: POSNR) with an item category that is not part of the list of cancel/change item category defined in step b.
f. Check if the item number collected in the previous step exists in the subsequent item number (Field : POSNN) in internal table XVBFA for the row that passed checks in steps b and c.
g.If item number exists, check if this subsequent item number field equals the preceding item number field value (Field: POSNV) in table XVBFA.
h.If step g fails, generate an error message stating that the user needs to the create the cancel/change item category line item with reference to the original line item and do not allow the user to proceed with the transaction.
i.If step g succeeds, allow the user to proceed with the transaction.
can any one send me the logic for this scenario.
Rgds
ChinnaHi Chinna,
Please use BADI "BADI_SD_SALES_ITEM" to achieve your requirement..
Let me know if you have further questions..
BR
Rakesh
Maybe you are looking for
-
R12.1.1 Database - 10G to 11G
Greetings, I have a DB question, but since it pertains to the E-Business suite, I thought it would belong in this forum. We are running E-Business R12.1.1, with a 10.2.0.4 DB, on HPUX-PA-RISC. We are planning our move to HPUX-Itanium. My question is
-
firstly - apologies if I offend anyone by not asking a specific Apple monitor question - I chose to ask this question here as I find these forums to be the most helpful i have a smallish (a5) wacom tablet, it worked beautifully with an Electron Blue
-
Flash-gallerie shows wrong collors
Platform: LR 4.4 / Windows 7 After I have edited the pictures I make a LR Flash-gallery. However, this shows a sort of gray film on the photo. See my gallery: http://jandevries-fotograaf.nl/web-gallery/mars/kroepoekfabriek/ How can I make LR Flash-ga
-
How do I change the directory where Firefox stores temporary internet files?
I want to change the directory location where temporary internet files are stored. I am running version 3.5.
-
Help!! recursive function call
* The function which build the category tree public String categoryTree(Statement stat, boolean isMore, int id) { if(!isMore) { return ""; else String sql = " select t_category_relation.category_relati