Hierarchy Nodes Display problem in the query
Hi
I have an organizational hierarchy upto 6 levels of nodes.
When it is displyed in the query only the first three levels are getting displayed.
When i see in the restricted area ( when restricting values ) i find all the nodes displayed but when query is executed i dont see anything.
Are there setting thats needs to be made in order to see the entire hierarchy.
regards
sundaresan
When you restrict any query you can see all the nodes of hierarchy, but when you run it you can see only those nodes for which value exists in infoprovider.
Corss check if you have any other restrictions also.
Similar Messages
-
How to solve the image display problem in the iTunes Store
Hi guys!
I just want to give a work-around for all of you having the image display problem in the iTunes Store. In my case only the square images in the slider sections won't load:
I had this in my last W7-installation and got it again in W8 after the first few weeks.
There are a lot of reports about this problem out there and adhoc solutions like 'clear the cache' or 'reinstall and drink ice tea' that do not work. It is obviously a file request error. It is all about finding out which server addresses get blocked by your computer.
Solution: Go to your firewall and your Anti-virus-program. There must be a whitelist option. In Kaspersky, check the web-options, the banner-options and the firewall-options, because the all have whitelists. The following addresses have to be whitelisted:
*.apple
*.mzstatic.apple.com.akadns.net
*.mzstatic.com.edgesuite.net
*.da1.akamai.net
*.itunes.apple.com
se.itunes.apple.com
upp.itunes.apple.com
ax.init.itunes.apple.com
xp.apple.com
*.mzstatic.com
client-api.itunes.apple.com
www.apple.com.edgekey.net
www.isg-apple.com.akadns.net
Press Ctrl + R in the iTunes Shop then and browse throught the music sections. All images should be displayed correctly now.
If not, there might be more Apple servers involved in your case. You can find them by running a DNS sniffing tool like the DNS query sniffer by Nirsoft or Wireshark.Phone restarting randomly could be loose battery. Tighten by putting a small strip of electrical tape on the back edge.
THE BITTERNESS OF POOR QUALITY, LINGERS LONG AFTER THE CHEAPNESS OF PRICE, IS SOON FORGOTTEN. -
Hi
DECLARE @XMLA nvarchar(3000)
, @DateSerial nvarchar(35);
-- Change date to format YYYYMMDDHHMMSS
SET @DateSerial = CAST(GETDATE() AS DATE);
--SELECT @DateSerial
Set @XMLA =
N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
<ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
<KeyErrorLimit>-1</KeyErrorLimit>
<KeyNotFound>IgnoreError</KeyNotFound>
<NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
</ErrorConfiguration>
<Parallel>
<Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
<Object>
<DatabaseID>MultidimensionalProject5</DatabaseID>
<CubeID>giri</CubeID>
<MeasureGroupID>Fact Internet Sales</MeasureGroupID>
</Object>
<Type>ProcessFull</Type>
<WriteBackTableCreation>UseExisting</WriteBackTableCreation>
</Process>
</Parallel>
</Batch>';
EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
iam executive the query when iam getting below error.
[Execute SQL Task] Error: Executing the query "DECLARE
@XMLA nvarchar(3000)
, @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
correctly, or connection not established correctly.
how to solve this error;
please help meWhat are you trying to do? What sort of data source is SHALL-PCAdventureWorksDw?
When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
If you explain why you think this would work in the first place, maybe we can help you.
Erland Sommarskog, SQL Server MVP, [email protected] -
Hi .
I was creating the pass the values t in temp tables though s sis package vs2012 .
First I was taken on executive SQL TASK.
IN EXCUTIVE SQL TASK . I was write the stored proce:
Sp;
reate procedure USP_GETEMP2333
AS
begin
Select eid,ename,dept,salary from emp
end;
create table #temp(eid int,ename varchar(20),dept varchar(20),salary int)
insert into #temp
exec USP_GETMP02333
go.
It was executive correctly.
I was taken another sequence container. In the sequence container iam creating one executive sql
In 2<sup>nd</sup> excutive sql task: sql statements is
if object_id('emp_fact_sal') is not null
drop table emp_fact_sal
select eid,ename as emp_name,sal_bar=
case when salary<=5000 then 'l'
when salary >5000 and salary<=7000 then 'm'
else
'h'
end
into emp_fact_sal from #temp.
and one falt flies it was taken to designation .
iam changing all connection properties:
in oldeb connection:
in excutive sal task properties .
delay validation is true,
and retain connection maner is also true,
and package mode is 64 bit is false.
But iwas excutive in 2<sup>nd</sup> excutive ql task .
Iam getting this type of errors,
[Execute SQL Task] Error: Executing the query " if object_id('emp_fact_sal') is not null
drop ta..." failed with the following error: "Invalid object name '#Temp'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
correctly.
Please help meArthur suggestion works but you shouldnt even be doing this on a SQL Task.
Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
is an undocumented behavior and should not be relied upon. -
Hierarchy node filtering - BEx 3.5 query
Hi
I am having a problem with a BEx 3.5 query with a filter on customer hierarchy. The filter is a variable which allows single value selection.
When I run the query in Analyzer and get prompted for the customer hierarchy I can either type a customer number or press F4 and navigate through the hierarchy structure to find the node I want.
When I press F4 and navigate to the hierarchy nodes I always get data for all nodes I have tried, but when I type in the node number directly in the selection screen I get data for some nodes wheras for others I get "No applicable data found".
When I navigate in the hierarchy I can see that below each node there is a leaf with the same customer number (see example below), and that when I type in a customer hierarchy node number in the selection screen the query chooses the node for some numbers (and data is displayed) and for some numbers chooses the leaf (and no data is displayed).
Example:
0035 (node)
- 0035 (leaf)
- 11003 (leaf)
- 11004 (leaf)
- 11005 (leaf)
It would be preferrable if I could type in the values directly as this would save time. So I would like to know if there is a way to make sure that the node is always selected rather than the leaf, or if it is just random?
All help is much appretiated!
Edited by: christian.nilsson on Sep 28, 2011 5:40 PMHi
Thanks for the answer. I tried it but unfortunately it did not solve my problem. The issue is that for some hierarchies the leaf is found instead of the node (see my earlier post).
So if there would be a way to only search for only nodes, that could be a solution.
Kind regards -
Hierarchy Node Suppression in a BeX Query
Hi,
We haev a hierarchy with 3 levels
Level 1 (Root) - Customer Hierarchy
Level 2 - Customer Groups
Level 3 - Customer Number
Is it possible to display the Customer Groups (level 2) without displaying the Root Node (level 1) in a BeX query. If we Expand to level 2 , the query displays both level 1 & level 2. We have a requirement to see level 2 only. Is that possible?
If anyone has done this, would really appreciate if you can respond.
Thanks,
AnitaHi Anita,
I am sure that as you have created hierarchy for Customer Number, you have to have customer group as its attribute. Dont you have that?
And if you have your transcational data, you will have them posted against customer number.
you must have Customer Number in the query already and that is the reason you could enable its hierarchy.
My suggestion was to make Customer group as navigational attribute and add them into InfoProvider. You dont have relaod the data again for this.
Moreover, Once you have customer group as navigational attribute, disable the hierarchy for customer number and in your query designer under ROW put Customer Group and Customer Number as two seperate characteristics.
This will elminiate ROOT from the result and you will have customer group and Customer number in the result.
Here the only difference is, instead of showing Customer Number below Customer group, it will be dispalyed in the next column.
- Danny -
Hierarchy node authorization problem
Hi All,
We are on SP10 for BI.
We are restricting user to a node (fund center) in the hierarchy (based on fund centers).
1) When a user executes the query and selects a node (in the filter
selection criteria) to which he is authorized, the output of the query is
restricted to the authorized node. This is what we want. Test is successful.
After the query is executed, when the user tries to play around with the
Fund Center info-object by moving it to the Free Characteristics space and
back to the Rows, the node restriction still works and the user is again
restricted to the authorized node. This is what we want. Test is successful.
2) When a user executes the query and selects a higher node (in the filter
selection criteria) to which he is NOT authorized, the output of the query
is still restricted to the authorized node. This is what we want. Test is
successful.
After the query is executed, when the user tries to play around with the
Fund Center info-object by moving it to the Free Characteristics space and
back to the Rows, the node restriction no longer works and the user is now
able to the data for the complete hierarchy. Now here our security fails and
we do not want this to happen.
Possible approach for a solution:
We would want the user to see only the authorized nodes in the filter
selection criteria. By doing this, the user will not be able select any
other nodes and would be restricted to Testing scenario 1, thus avoiding testing scenario 2. Is this approach feasible? I found couple of OSS note but none of them exactly match to our situation here. Did anyone encounter this problem?
Is there any other solution for this problem?
Thanks,
JayHello,
this is interesting and sounds like system failure.
I would suggest to open an OSS message and explain the system behaviour to the support. I'm sure they can help you.
For me it sounds like the node authorization restriction should be active anytime.
Best, Michael -
0ORGUNIT hierarchy version assignment problem using BI7 Query Designer
Dear All,
I have a problem with Hierarchy Version for 0orgunit using BI7.0 Query Designer.
for activating heirarchy i have selected the hierarchy in the query designer but version it is not showing , instead of 01 it is showing as #.
what may be the problem with BI7.0 Query designer.
If I use BW3.5 query desingner there version in showing and I can able to show the heirarchy.
We are using BI7.0 and SP level is 13.
Best Regards,
SGKDear SGK,
did you get this problem solved ?
I have the same problem.
Regards,
Gerhard -
I am facing problem using RRI feature.
In my first Query I have Two customer Exit variables to fetch values of 2 dates and i am showing records for dates in between them. The query is working very fine.
Now jumping from this query to another Query which will display all data where a date(different info object than query 1) lies between two dates of previous query(which are customer exit variable).
I can filter data in my second query by applying range of values to both the customer exit variables of query 1.Please help.
Now I just want to know how to pass the values of the customer exit variables form query 1 to query 2.
Message was edited by: SachinHi,
You're trying to use Table Alias(T0), i'm guessing its not allowed. Try also to remove dbo, try @EMPA or just EMPA.
HTH
Manuel -
Hierarchy nodes as characteristics in a query
Hi all,
I would like to ask if there is a way to use hierarchy nodes of InfoObject 0cost_elemnt as characteristics in a query.
In other words I have a grouping of cost elements in R/3 and uploaded this group as a hierarchy in BW. Now the users want to have the ability to drag and drop in a query report any node of this hierarchy.
Can this be done?
Thanks in advance,
PanosHi,
I guess, if I am getting you correctly the user wants to see teh hierarchy levels individually or on adhoc basis.
Is that right?
Regards,
Ray -
Restric to hierarchy nodes and characteristics at the same time
Hi together,
I've got a profit center hierarchy and an authorization object with those fields:
0CO_AREA
0PROFIT_CTR
0TCTAUTHH
The controling area is compounded to the profitcenter.
Then I created an authorization definition for hierarchies where i added a node from my profit center hierarchy.
But aditionaly I want to add a single Profit center, which is not below this node. but it does not work. I only get the profit centers below the node i maintained for the hierarchy authorization and not the single entry for the profit center
How can I setup this situation where I need to maintain on the one side one or more nodes in a hierarchy and then a single profit center which might be under another hierarchy node although this node is not explicitly allowed?
Kind regards
StefanThanks for the reply. This issue is becoming a major problem for lots of implementations. I have sent out several forum and OSS on this but no solution.
-
Display Problem with the Key Figures
Hi,
I working on the query where i need to display three Key Figures. I have no problem with the first two Key Figures , but the third Key figure values need to be display by day wise. (0Calday). i.e., the third key figure value should be displayed based no of days 0Calday has.
For Example if 0Calday is holding 4 days... then third keyfigure Value should be display as 4 columns with their respective values by dividing into day wise, remaining first two key figures should not be changed.
When i am trying to call the 0Calday into the Column, all the three Key Figures values are displaying as many as no of days 0calday has.
For Example if 0Calday has 2 day....the three Key Figures are values are breaking into two days values and displaying, so totally we can see 6 Key figure values. But i need first two values should not break but the last key figure should be divide into two days as values and display.
Thanks & Regards
Agama.Hi Venkat
This can be achieved by supressing 0 values.
1) In the Query Designer: Go toquery properties
2) Select Suppress Zeros
3) Select option Active
4) Under Effect On : try with Column or row o (Not infront of system , so cannot exactly remember)
This will allow you to get the exact result as per your requirement. We had the same issue and we could resolve this by following this.
Hope it helps.
Cheers -
Can't find out the problem in the query.
emp Table->
(name varchar2(10),
shot_seq varchar2(1)
The emp table contains around 2 million records.
When I run the following query the output comes within 20 seconds.
select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = 1
group by name;
But when i made the change in the query by putting ' shot_seq = '1' ', so that query is now:
select name,sum(decode(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
group by name;
The output doesn't comes, sqlplus just hangs up.
Please explain what is the reason behind this.
Thanks for ur time,
skala.1.
I think the problem is with sum and decode part:
..sum(decode(shot_seq,1,1,0)) as ...
If <shot_seq> is character then you need to convert it to_number before using any group functions....
2.
Check your decode:
......(shot_seq,1,1,0)) as pd2 from emp where shot_seq = '1'
I think it should be something like that(after you convert chars to nums)....
null -
Hai All,
I have created a login form in screen painter (which contains two textbox and a login button). When login button is clicked, I want to check whether the username and password matches in the table (@EMPA).
I have a problem while checking with the query
This is User Defined Function a have used
Private Sub UDFCheckInTableLog()
Try
Dim rs As SAPbobsCOM.Recordset = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
rs.DoQuery("SELECT T0.U_user FROM [dbo].[@EMPA] T0 WHERE T0.U_user ='" & euser & "' AND TO.U_pass ='" & epass & "'")
rscount = rs.RecordCount
If rscount > 0 Then
'//There is a record that Matches
REC = True
'//To clear the values in the text box
UDFClear()
Else
'//This means NO Record Matches
REC = False
End If
Catch ex As Exception
SBO_Application.MessageBox("UDFCheckInTableLog :" & ex.Message)
End Try
End Sub
I get this error message
UDFCheckInTableLog:
1)[microsoft][ODBC SQL Server Driver][SQL Server] Incorrect syntax near the keyword 'TO'.
2))[microsoft][ODBC SQL Server Driver][SQL Server] Statement(s) could not be prepared.Hi,
You're trying to use Table Alias(T0), i'm guessing its not allowed. Try also to remove dbo, try @EMPA or just EMPA.
HTH
Manuel -
How to display attributes in the query
Hi frnds,
I want to show the attributes of material ( mat group , mat type ), vendor ( Sort field ) in the report.
We loaded master data for material and vendor.
I dragged the char and the relevant attributes in the query designer and executed the query. But in the output the attributes values are not displayed.
What could the reason ?
Regards,
V N.Hi all,
Thanks for the reply.
"Display attributes will also get displayed if you include the infoobject for which they are attributes."
Suppose for 0vendor the attr is 0sortl. By defualt it is display attr. I dragged in the query the 0vendor and its attr 0sortl and executed. It didnot displayed any values for this 0sortl
I changed it to Nav Attr. And rerun the query, it is displaying values.
In the first case i included Display attr and the infoobject for which it is attr in the query. Please explain me why it didnot displayed the values.
And after changing it to Nav attr it displayed the values.
Please explain me what happened actually.
Regards,
V N.
Maybe you are looking for
-
Macbook Air can no longer find camera
Kinda goofy, but I had covered the camera on my Macbook Air (v. 10.7.5) awhile back and now Photo Booth, Ichat, and Skype all say that the camera is not connected. (I did remove the cover first!) Have tried all recommended fixes. Thoughts?
-
Acrobat Pro 9.4.5 crashes when I open PDF file - How can I fix it ??
Dear Fellow Mac Users, I have a MacPro4,1 with a 2 X 2.226 Ghz Quad-Core Intel Xeon Processor and 16 GB 1066 MHz DDR3 Memory. On my MacPro4,1, I have Adobe CS4 Suite installed. I now have Adobe Acrobat version 9.4.5. Whenever I open a PDF file, regua
-
I had it sitting on my desk, and I was talking to a friend at the door. I closed the door and turned around and accidentally hit my water bottle, but only a little spilled on it. I cleaned it up and it seemed alright. My friend sent me an IM and as s
-
My two year old got ahold of my I-touch and figured out how to set the passcode. I do not know what numbers he punched in and now I have been unable to get onto my I-touch. Any suggestions on what to do?
-
WLC 4402 and coverage hole error software version 5.2.157.0
Hello! Can you tel me what RRM coverage hole error: %RRM-3-RRM_LOGMSG: rrmLrad.c:2462 RRM LOG: RRM Verify Coverage Hole returned L7_FAILURE means and how it can be fixed. Thank you in advanced Lasse