Excluding characteristic attributes in BI query
Hi.
I'm trying to exclude some attributes that are part of a free characteristic in a BI Report. I tried setting the attributes to "no display", but that just changes the default setting, which can be changed back by the person who runs it to display the key.
I also don't think changing these attributes from DIS to NAV will prevent them from displaying. They just need to be removed, but still available for future use.
I've looked in Query Designer and don't see any way to accomplish this.
Please help.
Thanks,
Kevin
I am trying to get a handle on the language.
how do your users run these reports?
what is a "free characteristic" ?
"They just need to be removed, but still available for future use."
for the reports side just delete the fields and add them back when they are needed
Similar Messages
-
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. -
XML attributes makes my query return no rows
Hello everyone,
I've an odd problem.
I'm querying some XML, but the attributes in one of the tags make my query return no rows; if I remove the attributes, then the query works as expected.
The XML is below; it's the attributes in the Report tag that cause the issues:
<result errorCode="0">
<return>
<Report
xsi:schemaLocation="Items_x0020_status_x0020_information http://******-****/ReportServer?%2FReports%2FContent%20Producer%20Reports%2FItems%20status%20information&rs%3AFormat=xml&rc%3ASchema=True"
Name="Items status information" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="Items_x0020_status_x0020_information">
<Tablix1>
<Details_Collection>
<Details ItemId="914P7" Username="test" user_role="IT"
first_name="Barry" last_name="Donovan" organisation=""
content_format="On_Screen" modified_date="26/05/2011 13:16:49"
item_status="Draft" status_date="" component_name="" demand="" />
</Details_Collection>
</Tablix1>
</Report>
</return>
</result>My query is:
select
a.item_id
,a.username
,a.user_role
,a.first_name
,a.last_name
,a.supplier_id
,a.format
,a.modified_date
,a.item_status
,a.completion_date
,a.component_code
from dual
,xmltable
('/result/return/Report/Tablix1/Details_Collection/Details'
passing p_xml
columns
item_id varchar2(1000) path '@ItemId'
,username varchar2(1000) path '@Username'
,user_role varchar2(1000) path '@user_role'
,first_name varchar2(1000) path '@first_name'
,last_name varchar2(1000) path '@last_name'
,supplier_id varchar2(1000) path '@organisation'
,format varchar2(1000) path '@content_format'
,modified_date varchar2(1000) path '@modified_date'
,item_status varchar2(1000) path '@item_status'
,completion_date varchar2(1000) path '@status_date'
,component_code varchar2(1000) path '@demand'
) a;I've tried stripping out the attributes in the tag, which does work, but some of the XML I'm expecting back may be quite large (many records), so that caused issues in itself. I'd rather deal with it and not mess with the XML itself if possible.
Any help would be hugely appreciated!
Thank you very much in advance.
Robin
Edited by: User_resU on Apr 12, 2012 2:50 PMExample:
SQL> ed
Wrote file afiedt.buf
1 with t as (select xmltype('<result errorCode="0">
2 <return>
3 <Report
4 xsi:schemaLocation="Items_x0020_status_x0020_information http://******-****/ReportServer?%2FReports%2FContent%20Producer%20Reports%2FItems%20status%20information&rs%3AFormat=xml&rc%3ASchema=True"
5 Name="Items status information" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
6 xmlns="Items_x0020_status_x0020_information">
7 <Tablix1>
8 <Details_Collection>
9 <Details ItemId="914P7" Username="test" user_role="IT"
10 first_name="Barry" last_name="Donovan" organisation=""
11 content_format="On_Screen" modified_date="26/05/2011 13:16:49"
12 item_status="Draft" status_date="" component_name="" demand="" />
13 </Details_Collection>
14 </Tablix1>
15 </Report>
16 </return>
17 </result>') as xml from dual)
18 --
19 -- end of test data
20 --
21 select
22 a.item_id
23 ,a.username
24 ,a.user_role
25 ,a.first_name
26 ,a.last_name
27 ,a.supplier_id
28 ,a.format
29 ,a.modified_date
30 ,a.item_status
31 ,a.completion_date
32 ,a.component_code
33 from t
34 ,xmltable
35 (xmlnamespaces('Items_x0020_status_x0020_information' as "x0"),
36 '//x0:Report/x0:Tablix1/x0:Details_Collection/x0:Details'
37 passing xml
38 columns
39 item_id varchar2(1000) path '@ItemId'
40 ,username varchar2(1000) path '@Username'
41 ,user_role varchar2(1000) path '@user_role'
42 ,first_name varchar2(1000) path '@first_name'
43 ,last_name varchar2(1000) path '@last_name'
44 ,supplier_id varchar2(1000) path '@organisation'
45 ,format varchar2(1000) path '@content_format'
46 ,modified_date varchar2(1000) path '@modified_date'
47 ,item_status varchar2(1000) path '@item_status'
48 ,completion_date varchar2(1000) path '@status_date'
49 ,component_code varchar2(1000) path '@demand'
50* ) a
SQL> /
ITEM_ID
USERNAME
USER_ROLE
FIRST_NAME
LAST_NAME
SUPPLIER_ID
FORMAT
MODIFIED_DATE
ITEM_STATUS
COMPLETION_DATE
COMPONENT_CODE
914P7
test
IT
Barry
Donovan
On_Screen
26/05/2011 13:16:49
Draft -
Select the same attribute in a query more than once
Hi Experts,
My requirement is to select the same attribute in a query more than once.
How can I acheive this?
Expecting an early solution..
PilligaHi,
Create a calculated attribute that just displays the "same attribute".
(Note: you will need to uniquely name this object).
For example, if you wish to display Emp Name twice in the same query, then create a calculated attribute called Emp Name2 and select it and Emp Name in your query and the same info will be displayed twice in your results set.
Cheers,
Tanish -
hi
Using JDeveloper 10.1.3.3.0, I have this "Selected in Query" attribute, "Never" updatable, in my Entity Object.
The Entity Object is based on the SCOTT.EMP table and the attribute, called "BonusInfo", is defined using the expression " '[bonus info ' || (SAL * 2) || ']' ".
see http://verveja.footsteps.be/~verveja/files/oracle/NoColumnTypeFoundApp-v0.01.zip
While creating this Entity Object, I got a "Business Components" dialog that says:
"Column type is not specified for this attribute. Specifying column-type and precision results in better query performance at runtime. Do you wish to set column type to VARCHAR2(255)?"
I clicked "Yes".
I also created two View Objects based on this Entity Object.
In the "Create View Object" wizard "Step 4 of 7: Attribute Settings" I got a "Business Components" diaglog that says:
"Attributes selected in query with no column type found! Specifying column-type and precision results in better query performance at runtime. Do you wish to set default column type for these attributes?"
I clicked "Yes".
Testing the query in "Step 5 of 7: SQL Statement" showed "Query is valid.".
question:
Why do I keep getting the message ...
"Attributes selected in query with no column type found! Specifying column-type and precision results in better query performance at runtime. Do you wish to set default column type for these attributes?"
... in the View Object Editor if I click on different attributes?
(I don't get such a message the first time I click on an attribute after opening the View Object Editor, but after that it keeps popping up each time I click on a different attribute, no matter what I answer "Yes", "No" or "Cancel".)
many thanks
Jan VerveckenJan,
BC needs the column type and precision so that we can allocate the correct JDBC buffer size; otherwise we would just allocate 2k per string.
Blaise -
Attributes selected in query with no column type found! (solved)
Dear JHeadstart Team,
In the view object Editor I have two entity based attributes attrib1 and attrib2
both with type Number. Both have aliases with type number(9,0)
If attrib1 is null I want to have the value of attrib2.
In the expression box I put: nvl(attrib1,attrib2)
When I press the ok button I get the next error message.
"Attributes selected in query with no column type found!
Specifying column-type and precision results in better query performance at runtime.
Do you wish to set default column type for these attributes? "
When I say ok I get the next message:
"An error occurred. Unable to apply all the wizard changes.
Column type cannot be changed for Entity based attribute.
Exception: oracle.jbo.dt.objects.JboExeption."
The details button serves no extra information.
Since both the attributes have the same type I thought the nvl commando should work.
But what does the "no column type found" sentence mean?
regards,
Marcel.
Message was edited by:
user571204Thanks Jan,
You've put me on the right track.
I found out that this is only possible in the entity object class.
So I have to check my limited java skills. -
Compression fails with Characteristic attribute exists twice
Guys,
I ran a compression on cube 0PP_C03 that failed with "Characteristic
attribute exists twice"
I see that "Note 859320 - Multiple reference points in InfoCubes with non-cumulative v" tells me to run that program to clear up any dups in the E Fact table.
I currently have 4,060,118 rows in the E Fact table.
I ran rsrv program "Multiple Entries in Dimensions of a (Basis) InfoCube" and there are NO dups in the F Fact table.
Running "Note 859320 - Multiple reference points in InfoCubes with non-cumulative v" indicates that I have 42,627 dups. The note talks about running RSCDS_MERGE_DUPL_REF_POINTS and I ran it using no reference points in simulation mode. Maybe I need to specify some selection conditions?
I'd like to make sure I am executing the correct procedure prior to running this pgm live. Additionally, all of a sudden I have this same condition on cubes 0PM_C03, 0SD_C03, and ZSM_C001 as well. This is the first time I have seen this ocurrence.
Has anyone any experienve running this or having this compression error condition?
MikeAs I remember I got the error message:
Characteristic attribute exists twice with DBMAN 231
So I ran se38 pgm:
RSCDS_MERGE_DUPL_REF_POINTS, putting in the cube like 0PM_C03 and pkg size 100
and it fixed the problem.
Hope that helps. I just saw this and we don't have BW anymore. We have moved to HANA and shutdown BW.
Mike -
Hi Experts,
I need to exclude top 10 from the query result. Creating condition in the query with top 10 is easy but how to exclude the top 10 in the query output? ThanksHi Waseem,
Have you tried Ninand Warang procedure . Is it working or not?
If not you have use the APD concept
create a query on top of that infoprovider with out any conditions..
Create A direct update dso..
In APD use Query as source and DSO as target. In between use ABAP program sort them > delete the first 10 records>
Create a query on top of DSO will get the Excluding TOP 10.
Hope it helps..
Regards,
Ranganath. -
Mapping between products in a BOM and var. config. characteristic attribute
Hi,
probably this is a "beginner's" question but we would need to know which tables are used to link products in a BOM material and the according VC characteristic attributes.
We have the following scenario:
- The user enters a configurable material in a sales quotation and starts the configuration. When saving the quotation the BOM explosion will be triggered.
--> Question: Is this based on a 1-1 relationship or based on complicated determination rules and/or dependencies?
What we would like to know is the other way round - from the product to the characteristic attribute.
Thanks a lot for any hint!
Regards,
WolfhardClosed as of now a we found a link between BOM item position and selection dependency.
-
Rollup Error - Characteristic attribute exists twice
BELOW IS THE ERROR DURING ROLLUP step in a process chain .
enqueue set: 100014
compond index checked on table: /BIC/E100014
request statistics calculated for p-dimid 14454
enqueue released: 100014
Characteristic attribute exists twice--status red
please help
Edited by: kartikeyan on Dec 16, 2008 4:08 PMHi,
We are facing similar rollup issue - "Characteristic attribute exists twice". Pls share the solution if you have got one.
Thanks,
Suresh -
Compression Error - Characteristic attribute exists twice
Hi,
We are compressing some top listed productive cubes with process chain every week. But from past 3 iterations one of the cube is failing to do so. It is triggering an error
" *Characteristic attribute exists twice *". We even tried to compress the cube manually..but the same result.
Can any one suggest how to proceed to make the compression upto the mark.
Thanks,
VidyasagarHi,
We are facing similar rollup issue - "Characteristic attribute exists twice". Pls share the solution if you have got one.
Thanks,
Suresh -
COM API Characteristic attribute
What methods do I need to call in order to do the following?
I want to get all the products that have a Numeric (Characteristic) attribute that has a Min value <= X and a Max value >= Yhere is my solution...
XCATCOMLib.Search search = new XCATCOMLib.SearchClass();
XCATCOMLib.FreeFormTableParameter tableParam = search.Parameters.NewFreeFormParameter(PRODUCT_TABLE);
double sysVolume = double.Parse(this.txtSysVolumeftcu.Text);
XCATCOMLib.FreeFormParameters ffParams = tableParam.Fields.New "Category",SearchOperatorEnum.xcSearchOperatorAnd).FreeForm;
XCATCOMLib.FreeFormAttributeParameter volMinParam = ffParams.NewAttribute(178, RatingEnum.xcMinimumRating, SearchOperatorEnum.xcSearchOperatorAnd);
volMinParam.Values.NewCharacteristic(sysVolume, 9, FreeFormSearchTypeEnum.xcLessThanOrEqualToSearchType);
XCATCOMLib.FreeFormAttributeParameter volMaxParam = ffParams.NewAttribute(178, RatingEnum.xcMaximumRating, SearchOperatorEnum.xcSearchOperatorAnd);
volMaxParam.Values.NewCharacteristic(sysVolume, 9, FreeFormSearchTypeEnum.xcGreaterThanOrEqualToSearchType); -
Linq to XML query where clause excluding null attribute in child
I'm quite new to linq/XML and although I'm making progress I'm stuck at combining two levels of elements in a where clause. The XML is something like this
<employees type="cashier">
<employee hired="Jun 1 2000" fired="Jun 1 2013">
<stats name="jane doe">
... other stuff ...
<stats />
<employee/> <employee hired="Jun 1 2000">
<stats name="john doe">
... other stuff ...
<stats />
<employee/>
<employees/>
I'm trying to retrieve all employees of type "cashier" that haven't been fired.
I tried this
IEnumerable<XElement> CashierElements = from el in xDoc.Root.Descendants("employees")
where (string)el.Attribute("type")=="cashier"
&& (string)el.Element("stats").Attribute("fired") != null
select el;
But that returns entries where the fired attribute doesn't exist. I'm not even sure I can reference the stats element attribute in this way but VS2013 doesn't complain about it.
I have managed to muddle past by using two linq selections, the one above without the stats comparison followed by a second on the results that checks for "fired" being null.
How would I achieve this with one select statement?
Thanks!Hi,
1) Your XML contains the attribute "fired" on "employee" element. Your query search this attribute on the "stats" element.
2) you say "that haven't been fired" by you search an attribute fired != null ? I'm not sure about your logic.
If I understand your request, your LINQ Query is more than :
IEnumerable<XElement> CashierElements =
// Loop on <employees>
from emps in xDoc.Root.Descendants("employees")
// only 'cashier' type
where (string)emps.Attribute("type") == "cashier"
// Loop on <employee> in filtered <employees>
from emp in emps.Elements("employee")
// only the employee not fired
where emp.Attribute("fired") == null
// select the employee element
select emp;
Regards
Yan Grenier
Merci de bien vouloir "Marquer comme réponse", les réponses qui ont répondues à votre question, et de noter les réponses que vous avez trouvé utiles. -
Characteristic attribute does not show correctly on BEx Web Analyzer
Hello everyone!
I'm working on a report in BEx Web Analyzer wich has the characteristic 0EMPLOYEE. When I call the context menu for this characteristic and select properties, I get a list of it's attributes. I select one of them for display.
The problem is, the value shown is not the correct one. It's an "old" value.
I change the employee's attribute in R/3 via PA30;
I succesfully update the change in BW (0EMPLOYEE master data);
The value shown is the previous one.
Is there any buffer between the BW system and a BEx Web Analyzer query wich I need to force-clear in order to see the correct data?
Best Regards,
Luís Andrade.Thanks for your response!
It was a buffer issue. I solved it by simply refreshing the query with different selection conditions to force the system to read data from the BW system.
Best Regards, -
Using attributes in a Query, doesnu00B4t work!
I have implemented an infocube 0SD_C03, and i have my material attributes filled in the 0MATERIAL characteristic, but when i use them in the query, the don't appear.
Can somebody help me?
Thank YouHi Dirk,
I'have done everything ok, create the new objects, for our material classifications, create the transfer rules, update roles, infosources, adding the 0material characteristics, put the new attributes as navigational, and filled all with the data necessary, but i have now idea that the master data have to be activated just in the end!!!!
thanks a lot, i have my problem solved!!!!
Maybe you are looking for
-
Photoshop CC 2014.2.2 program error when I place a layer or open a new file
I have just updated to the most recent PS CC2014 version. Twice, in fact, and the same problem persists. At some point while working on a file it will become impossible to place a new layer or open a new file. Other program functions work, but these
-
Hi, When I ope my mail in gmail. I click on a link to open a new tab and show me what ever it is I've just clicked on....Firefox won't just load the page like it did before I upgraded to this latest version. It says: Firefox prevented this page from
-
Customer Open Item Analysis with Aging
Hello, Our company currency is INR. Naturally many transactions will be posted with different document currency like USD / HKD etc. Now we would like see the outstanding of the customer with aging where the currency is Not Equal To INR Please suggest
-
Hello Friends, when i pass outtab value from subroutine to sapscript say for eg 4500 this value is getting passed as char ie 4500 only but i want to print it as 4,500. As per my knowledge itcsy can only pass character value so pls let me knw how to
-
Hi, How to change the frame title, column title at run time in reports. Please explain me with the code. Thanks & Regards vijayanand.