In Classificaiton datsource - Error "Characteristic has multiple values"
Hello All,
I have created classification data source 1CL_OMAT001 for material ATTR.. When adding the "PRODLINE" as one of characteristic I am facing this error "Characteristic has multiple values". I want to extract the Prod line to BW after this extraction.
Adding info, This PRODLINE is under a class "BUSINESS LINE". It is a only component of this class type, If i add characteristic of any other type say engineeering class.
Please help. If any information u want from me let me know.
Regards, Karthik
Hello Karthik,
classification allows to assign multiple values for one charateristics to the same classified object, if the characteristic is defined accordingly (see please transaction CT04). Because only one value per characteristic and object can be extracted, CTBW checks the definitions of the characteristics you are assigning to a datasource. It refuses to assign characteristics, which allow multiple values, to a datasource. That's what you have observed.
In some cases characteristics allow multiple values for technical reasons, but actually only one value is assigned when objects are classified. For such cases you may turn the observed error to a warning (see please SAP note 350296). The first found value will be extracted. Further values would be ignored.
If you need to extract multiple values, you may use a solution like described in SAP note 1002105.
Regards,
Rolf
Similar Messages
-
PATH() issue - The Value 'Val123' has multiple values
Im using PATH() to get a flattened hierarchy. I keep getting the following error:
Calculation error in column 'Detail'[]: Each value in 'Detail'[UniqueID] must have the same value in 'Detail'[ParentTest]. The value 'A00012:A123' has multiple values.
I know with 100% certainty that there are not multiple values for A00012:A123.
I have also copied the data ( from the powerpivot Designer) to another workbook and cannot reproduce the issue.
Can anyone advise what might be going on here? Im using Excel 2010 32bit, if its any use. If i can supply any further information please let me know.
ThanksI found the issue. In a seperate set of rows there was a duplicate. the rows had nothing to do with the rows that were actually mentioned in the error message. so a cause has been identified.
Thanks -
Getting Error - Dimension has multiple leaf levels which are not identical
Hi All,
While creating two hierarchies with in same dimension , i am getting error like - Dimension has multiple leaf levels which are not identical.
Does this error mean , the number of levels in both hierarchies should be same or it has some thing else meaning.
I was creating hierarchies like below -
LE details
- LRU Details
- LRU's Registration Details
- LE's Registration Details
How should i create the hierarchy?
Thanks ,AshishHi... Ashish
Look at this... http://oraclebizint.wordpress.com/2007/11/30/oracle-bi-ee-101332-one-dimension-multiple-hierarchies/
Thanks & Regards
Kishore Guggilla -
Passing variable which has multiple values to cursor as parameter
declare
i varchar2(4000):='0';
j varchar2(100):='0';
cursor c1
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF');
cursor c2 (l_ref varchar2)
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF'
and reference_2 not in (l_ref));
begin
for cur_record in c1
loop
j:=cur_record.reference_2;
end loop;
i:= i||','''||j||'''';
dbms_output.put_line(i);--here i has 254 values separated by ','
for cash_rec in c2(i)
loop
dbms_output.put_line('this is loop 2');
dbms_output.put_line(cash_rec.reference_2||','||cash_rec.reference_1);--Here this output is not displayed
--i think the code in this cursor c2 is not executing
--please tell me the solution
end loop;
end;
I already use pl-sql table with array..it is not sufficietn to my requirement.because when i use it we must increment the index of that table ..so every time not in operator works in cursor2.so it shows wrong result
From last three days i am working on this only please let me know as early as possible friends
Edited by: 805567 on Oct 28, 2010 11:30 PM
Edited by: 805567 on Oct 29, 2010 1:05 AMyou said two cases
in first case
place my second cursor in first cursor
if i place like that here i use not in operator
so it prints for every value it will print not in of that value
so it was wrong result
i want not in all values
in second case
i took values from cursor not from table
like as shown below
declare
credit_amount number:=0;
debit_amount number:=0;
v1 number:=0;
v2 number:=0;
v3 varchar2(500);
v4 varchar2(500);
v5 varchar2(240);
v6 varchar2(240);
v7 number;
v8 varchar2(240);
v9 varchar2(240);
v10 number;
v11 number;
v12 varchar2(240);
v13 varchar2(240);
v14 varchar2(240);
v15 number;
v16 number;
--This cursor is for liability records which are in GL not in AP
cursor c1(p_header_id number,p_reference_2 varchar2,p_reference_4 varchar2)
is
(select
jl.je_header_id "JE_HEADER_ID"
,jl.period_name "PERIOD"
,glcc.concatenated_segments "ACCOUNT_CODE"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr)"ACCOUNTED_DEBIT"
,DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "ACCOUNTED_CREDIT"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr) - DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "NET"
,glcc.CODE_COMBINATION_ID "CODE_COMBINATION_ID"
,jl.SET_OF_BOOKS_ID "SET_OF_BOOKS_ID"
,jl.PERIOD_NAME "PERIOD_NAME"
,DECODE(Jl.entered_dr,null,0,Jl.entered_dr)"ENTERED_DEBIT"
,DECODE(Jl.entered_cr,null,0,Jl.entered_cr) "ENTERED_CREDIT"
,jl.reference_1 "SUPPLIER"
,jl.reference_2 "INVOICE_ID"
,jl.reference_3 "CHECK_ID"
,jl.reference_4 "CHECK_NUMBER"
,jl.reference_5 "INVOICE_NUM"
,jl.reference_6 "'AP_PAYMT_JUST_INSERTED'"
,jl.reference_7 "set_of_books_id"
,jl.GL_SL_LINK_ID "GL_SL_LINK_ID"
,jl.REFERENCE_8 "INVOICE_DIST_LINE_NUMBER"
,jl.reference_9 "INVOICE_PAYMENT_ID"
,jl.REFERENCE_10 "LIABILITY"
,jl.TAX_CODE_ID "TAX_CODE_ID"
,jl.TAX_GROUP_ID "TAX_GROUP_ID"
FROM
gl_je_lines jl
, apps.gl_code_combinations_KFV glcc
, gl_je_headers jh
WHERE
jl.period_name='Mar-10'
and glcc. code_combination_id in (1016,1296,1298)
and jh.je_header_id = jl.je_header_id
AND glcc.code_combination_id = jl.code_combination_id
and jh.je_source = 'Payables'
AND jl.je_header_id = p_header_id
and jl.reference_2 = p_reference_2
and jl.reference_4 = p_reference_4
MINUS
select
ir.je_header_id
, h.period_name "APPERIOD"
,g.CONCATENATED_SEGMENTS "AP ACCOUNT CODE"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) "AP ACCOUNTED_DR"
,DECODE(l.accounted_cr,null,0,l.accounted_cr) "AP ACCOUNTED_CR"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) - DECODE(l.accounted_cr,null,0,l.accounted_cr) "NET"
,l.CODE_COMBINATION_ID "AP_CCID"
,h.set_of_books_id
,h.PERIOD_NAME "PERIOD_NAME"
,DECODE(l.entered_dr,null,0,l.entered_dr)"ENTERED_DEBIT"
,DECODE(l.entered_cr,null,0,l.entered_cr) "ENTERED_CREDIT"
,l.reference1 "SUPPLIER"
,l.reference2 "INVOICE_Id"
,l.reference3 "reference_3"
,l.reference4 "reference_4"
,l.reference5 "INVOICE_NUM"
,l.reference6 "reference_6"
,l.reference7 "reference_7"
,l.GL_SL_LINK_ID "GL_SL_LINK_ID"
,l.REFERENCE8 "REFERENCE_8"
,l.reference9 "reference_9"
,l.REFERENCE10 "REFERENCE_10"
,l.TAX_CODE_ID "TAX_CODE_ID"
,l.TAX_LINK_ID "TAX_LINK_ID"
from
ap_ae_lines_all l,
ap_ae_headers_all h,
gl_code_combinations_kfv g
,gl_import_references ir
where
ir.gl_sl_link_id=l.gl_sl_link_id
AND g.CODE_COMBINATION_ID = l.CODE_COMBINATION_ID
and h.ae_header_id = l.ae_header_id
AND h.period_name ='Mar-10'
AND g.CODE_COMBINATION_ID in (1016,1296,1298)
AND ir.JE_HEADER_ID = p_header_id
and l.reference2 = p_reference_2
and l.reference4 = p_reference_4);
--This cursor is for writeoff records
cursor c2
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF'
and reference_2 in ('525706','525600'));
credit number:=0;
debit number:=0;
j varchar2(240);
i varchar2(4000):='0';
cursor c3 (p_invoice_id varchar2)
is
(select
jl.je_header_id "JE_HEADER_ID"
,jl.period_name "PERIOD"
,glcc.concatenated_segments "ACCOUNT_CODE"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr)"ACCOUNTED_DEBIT"
,DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "ACCOUNTED_CREDIT"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr) - DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "NET"
,glcc.CODE_COMBINATION_ID "CODE_COMBINATION_ID"
,jl.SET_OF_BOOKS_ID "SET_OF_BOOKS_ID"
,jl.PERIOD_NAME "PERIOD_NAME"
,DECODE(Jl.entered_dr,null,0,Jl.entered_dr)"ENTERED_DEBIT"
,DECODE(Jl.entered_cr,null,0,Jl.entered_cr) "ENTERED_CREDIT"
,jl.reference_1 "SUPPLIER"
,jl.reference_2 "INVOICE_ID"
,jl.reference_3 "CHECK_ID"
,jl.reference_4 "CHECK_NUMBER"
,jl.reference_5 "INVOICE_NUM"
,jl.reference_6 "'AP_PAYMT_JUST_INSERTED'"
,jl.reference_7 "set_of_books_id"
,jl.GL_SL_LINK_ID "GL_SL_LINK_ID"
,jl.REFERENCE_8 "INVOICE_DIST_LINE_NUMBER"
,jl.reference_9 "INVOICE_PAYMENT_ID"
,jl.REFERENCE_10 "LIABILITY"
,jl.TAX_CODE_ID "TAX_CODE_ID"
,jl.TAX_GROUP_ID "TAX_GROUP_ID"
FROM
gl_je_lines jl
, apps.gl_code_combinations_KFV glcc
, gl_je_headers jh
WHERE
jl.period_name='Mar-10'
and glcc. code_combination_id in (1016,1296,1298)
and jh.je_header_id = jl.je_header_id
AND glcc.code_combination_id = jl.code_combination_id
and jh.je_source = 'Payables'
and jl.reference_2 in (p_invoice_id)
MINUS
select
ir.je_header_id
, h.period_name "AP PERIOD"
,g.CONCATENATED_SEGMENTS "AP ACCOUNT CODE"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) "AP ACCOUNTED_DR"
,DECODE(l.accounted_cr,null,0,l.accounted_cr) "AP ACCOUNTED_CR"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) - DECODE(l.accounted_cr,null,0,l.accounted_cr) "NET"
,l.CODE_COMBINATION_ID "AP_CCID"
,h.set_of_books_id
,h.PERIOD_NAME "PERIOD_NAME"
,DECODE(l.entered_dr,null,0,l.entered_dr)"ENTERED_DEBIT"
,DECODE(l.entered_cr,null,0,l.entered_cr) "ENTERED_CREDIT"
,l.reference1 "SUPPLIER"
,l.reference2 "INVOICE_Id"
,l.reference3 "reference_3"
,l.reference4 "reference_4"
,l.reference5 "INVOICE_NUM"
,l.reference6 "reference_6"
,l.reference7 "reference_7"
,l.GL_SL_LINK_ID "GL_SL_LINK_ID"
,l.REFERENCE8 "REFERENCE_8"
,l.reference9 "reference_9"
,l.REFERENCE10 "REFERENCE_10"
,l.TAX_CODE_ID "TAX_CODE_ID"
,l.TAX_LINK_ID "TAX_LINK_ID"
from
ap_ae_lines_all l,
ap_ae_headers_all h,
gl_code_combinations_kfv g
,gl_import_references ir
where
ir.gl_sl_link_id=l.gl_sl_link_id
AND g.CODE_COMBINATION_ID = l.CODE_COMBINATION_ID
and h.ae_header_id = l.ae_header_id
AND h.period_name ='Mar-10'
AND g.CODE_COMBINATION_ID in (1016,1296,1298)
and l.reference2 in (p_invoice_id)); --here if i put l.reference2 in (p_invoice_id)) it must show the details of
-- of all.but it doesnot display sir
--here if i put l.reference2 not in (p_invoice_id)) it shows that id also sir
BEGIN
for writeoff_rec in c2
LOOP
FOR Main_cur in c1(writeoff_rec.je_header_id,writeoff_rec.reference_2,writeoff_rec.reference_4)
LOOP
j:='0';
IF writeoff_rec.accounted_dr is not null AND Main_cur.ACCOUNTED_CREDIT<>0
THEN
v10:=Main_cur.ACCOUNTED_CREDIT;
credit_amount:= credit_amount+Main_cur.ACCOUNTED_CREDIT;
ELSIF writeoff_rec.accounted_cr is not null AND Main_cur.ACCOUNTED_DEBIT<>0
THEN
v11:=Main_cur.ACCOUNTED_DEBIT;
debit_amount:= debit_amount+Main_cur.ACCOUNTED_DEBIT;
END IF;
if c1%found then
j:=Main_cur.INVOICE_ID;
end if;
END LOOP;
-- i:=i||','||j;
i:= i||','''||j||'''';
END LOOP;
dbms_output.put_line(i); --Here i got all invoiceids of varchar2 records without single qutations
--its look like '0','23232','2324234' etc.
for cash_clearing_cur in c3(i)--here is the problem i am sending i with 250 values separated by ',' is it correct
loop
v3:=0;
v4:=0;
v5:=0;
v6:=0;
v7:=0;
v8:=0;
v9:=0;
v10:=0;
v11:=0;
v12:=0;
v13:=0;
v14:=0;
v15:=0;
v16:=0;
credit:=credit+cash_clearing_cur.ACCOUNTED_CREDIT;
debit:=debit+cash_clearing_cur.ACCOUNTED_DEBIT;
v3:=cash_clearing_cur.JE_HEADER_ID;
v4:=cash_clearing_cur.INVOICE_ID;
v5:=cash_clearing_cur.CHECK_NUMBER;
v6:=cash_clearing_cur.LIABILITY;
v7:=cash_clearing_cur.CODE_COMBINATION_ID;
v8:=cash_clearing_cur.PERIOD;
v9:=cash_clearing_cur.ACCOUNT_CODE;
v10:=cash_clearing_cur.ACCOUNTED_CREDIT;
v11:=cash_clearing_cur.ACCOUNTED_DEBIT;
v12:=cash_clearing_cur.SUPPLIER;
v13:=cash_clearing_cur.CHECK_ID;
v14:=cash_clearing_cur.INVOICE_NUM;
v15:=cash_clearing_cur.GL_SL_LINK_ID;
v16:=cash_clearing_cur.SET_OF_BOOKS_ID;
DBMS_OUTPUT.PUT_LINE('HEAd '||v3||','||'inv_id '||v4||','||
'chk_num '||v5||','||'ref10 '||v6||','||'CCID '||V7||','||'PED '||V8
||','||'acctcode '||v9||','||'acct_Ct '||V10
||','||'acct_Dt '||v11||','||'chk_id '||v13||','||'inv_num '||V14
||','||'link '||v15||','||'sob '||v16||','||'suplir '||V12);
end loop;
DBMS_OUTPUT.PUT_LINE( 'Dr Amt ' ||debit || 'Cr amt ' || credit );
EXCEPTION
when too_many_rows then
dbms_output.put_line('Invalid no of rows');
when no_data_found then
dbms_output.put_line('no data found exception');
when others then
dbms_output.put_line('Other than Invalid no of rows');
dbms_output.put_line(SQLERRM);
END;
/ -
Insert a field twice (that has multiple values) onto same row in report
I am new to design so hopefully this is an easy question...
I have three tables in my report that are linked.
Table 1 "TMDE"
Mfg
Model
Type_Id (Linked to "FEE(PRICE)"
Table 2 "FEE"
Price
Service_ID (Linked to "SERVICE(ID)"
Table 3 "SERVICE"
ID
Service_Type
What I am trying to do is create a report that displays two different prices based on two diffent Service "ID"'s on the same row.
My report keeps creating a second row for the second Service "ID"
Example:
MFG MODEL TYPE PRICE
Fluke 87 Calibration $40.00
Fluke 87 Calibration w/data $60.00
What I woiuld like to see is:
MFG MODEL Calibration $ Calibration w/data $
Fluke 87 40.00 60.00
Can you help?Thanks Noel but I don't think that is the answer.
Let me try to explain a little further...
My TMDE table has a field called "Type_ID". Let's say that record 1 has a "Type_ID" field value of 27. The "Typer_ID" field is linked to the PRICE table. The linked field in the PRICE table is called "ID" "ID" may have several 27 valuies for the different prices. These prices are based on the PRICE"Service_ID" field.
Hopefully, this will explain it better...
TABLE:TMDE
MFG:Fluke; MOIDEL:87; TYPE_ID:27 (linked to PRICE:ID)
TABLE:PRICE
ID:27; FEE:40; SERVICE_ID:1 (linked to SERVICE:ID
ID:27; FEE:50; SERVICE_ID:2 (linked to SERVICE:ID
ID:27; FEE:60; SERVICE_ID:3 (linked to SERVICE:ID
TABLE:SERVICE
ID:1; TYPE:Calibration
ID:2; TYPE:Calibration w/data
ID:3; TYPE:Calibration-Accredtied
What I would like to see is:
MFG MODEL Calbration price Calibration w/Data Price
Fluke 87 40 50
Thanks -
Is there a way to match property or dimension has multiple values?
I have Endeca records indexed from database. Each record will have:
ID, Name, CategoryID, CategoryName.... Each record may belong to multiple category. So after reindex, the record looks like the following:
ID:0001
Name: Name 1
CategoryID:1
CategoryID:2
CategoryName: Cat Name 2
CategoryName: Cat Name 1
My question is "is there a way I can know categoryID:1 is matching categoryName: Cat Name 1, and categoryID:2 is matching categoryName: Cat Name 2"?Hi,
There are a couple of ways to accomplish this that I've used. There may be others that I have not seen or considered.
First is to create records with this category information and use RRN to combine the two. However, RRN may have licensing issues.
So, you would have something like the book example:
BookName: Freakonomics
AuthorIds: 1, 2
RecordType: Book
AuthorId: 1
AuthorName: Stephen Dubner
RecordType: Author
AuthorId: 2
AuthorName: Steven Levitt
RecordType: Author
Then it's a standard RRN exercise to combine the books and authors at query time.
The second approach is to create what I call aggregated or complex properties where you combine the subfields that are associated.
Name: abc
Category_Combined: CatId1<DELIM>CatName1
Category_Combined: CatId2<DELIM>CatName2
Your app code would have to split out the Category_Combined property into the sub-fields for display.
Now, if you don't want to have CatId a searchable field, put a non-searchable character in front of it and configure it in your Search Characters. For example, choose some ASCII code that cannot be entered directly from a keyboard. Thus your property becomes:
Category_Combined: <FunkyChar>CatId1<DELIM>CatName1
This adds complexity to your pipeline code in that it has to create the concatenated fields and on your app code for searching, splitting, etc. But it works.
-Tim -
IPlanet 4.1 Error log has multiple "Exiting JVM" entries
Anybody ever run into this problem?
I just did a clean install of iPlanet Enterprise Server (SP8) on my HP-UX
box (PA_RISC2.0). Java servlets run fine in Tomcat on this box, but whenever
I try to even turn on the servlet engine in iPlanet, the webserver hangs. In
the error log I get the message below repeated as long as I let my browser
continue to try and retrieve the info at a location on the server (static
doc or servlet):
info ( 7256): Exiting JVMThis is an application server forum. Try asking your question in an
Enterprise Server newsgroup. (iplanet.server is one suggestion)
David
KurtHeston wrote:
Anybody ever run into this problem?
I just did a clean install of iPlanet Enterprise Server (SP8) on my HP-UX
box (PA_RISC2.0). Java servlets run fine in Tomcat on this box, but whenever
I try to even turn on the servlet engine in iPlanet, the webserver hangs. In
the error log I get the message below repeated as long as I let my browser
continue to try and retrieve the info at a location on the server (static
doc or servlet):
info ( 7256): Exiting JVM -
How to Extract R/3 Multiple Valued variant Classification Data in BI
Dear Gurus,
got stuck in a situation where I am in need of your help. My Client want to extract the R3 Classification Data(Variant, Batch) into BI. I will share till what point I had reached. Used Transaction Code CTBW, was Trying to create Datasource based on Basic datasource 2LIS_11_VAITM for transactional Data. when I was trying to add the new Characteristics (CVN_L_AVG_SH) using Class with type 300(Variant), Getting an error "Characteristic has Multiple Values". I do know that Characteristics (CVN_L_AVG_SH and a fewmore) is having Multiple values, how can I add the same so that I can create classification datasource. Tried SDN got a PDF " How to Extract R/3 Classification Data in BI by Affine" but didn't helped Much.
Looking ahead to hear from you.Hi Harsha,
You cannot extract the multiple values using classification data sources, this data can be extracted by creating a generic extractor based on a view (with join on tables AUSP and INOB). this extractor brings the data in the following format.
OBJEK | ATINN | ATZHL | ATWRT
1 | HOBBY | 1 | CRICKET
1 | HOBBY | 2 | PAINTING
1 | HOBBY | 3 | READING
2 | HOBBY | 1 | CRICKET
2 | HOBBY | 2 | PAINTING
3 | HOBBY | 1 | READING
i.e. for field Hobby these are values assigned, if you want you can create 3 InfoObjects in BW and flatten this data by setting flags as below.
OBJEK | HOBBY_CRICKET | HOBBY_PAINTING | HOBBY_READING
1 | X | X | X |
2 | X | X | |
3 | | | X |
Let me know if you need more details.
Regards,
Rk -
We are getting this alert on a fair few of our VMs with VHDXs and Dynamic VHDs. Everything seems OK but I am not sure what this actually means and what I need to do to resolve the issue. How do I reset the error count if that is what is required? Thanks
in advance.
Alert: Error Count Monitor Resolution state: New
Error Count Monitor Source: MyVm01 Path: MyHost.MyDomain.local;MyHost.MyDomain.local;FE71577B-A2E2-45C0-B757-2FBCEC9311DE Last modified by: System Last modified time: 2/9/2013 2:08:48 PM Alert description: Instance c:-clusterstorage-volume1-MyVm01-virtual
Sat 09/02
To:Administrator
09 February 2013 14:09
Alert: Error Count Monitor
Source: MyVm01
Path: MyHost.MyDomain.local;MyHost.MyDomain.local;FE71577B-A2E2-45C0-B757-2FBCEC9311DE
Last modified by: System
Last modified time: 2/9/2013 2:08:48 PM
Alert description: Instance c:-clusterstorage-volume1-MyVm01-virtual hard disks-MyVm01-DATA02.vhdx
Object Hyper-V Virtual Storage Device
Counter Error Count
Has a value 9
At time 2013-02-09T14:08:48.0000000+00:00
DarrenBut I am getting this alert from SCOM and SCOM has no information about the alert for me to find out what to do - thought that was the point of SCOM to let you know of problems and how to resolve them. :)
The alert is coming from the Error Count Monitor that is part of the Hyper-V Management Pack Extensions (v 4.0.0.0)
I have tried looking in the Event Logs on the Host and there doesn't seem to be any storage related errors there. I am trying to establish if this is a false positive, why it is happening and if it is safe to override and ignore.
There is nothing on the Product Knowledge tab and nothing on the Alert Context other than what I have already mentioned (see below).
Thanks for responding.
Time Sampled:
09/02/2013 14:08:48
Object Name:
Hyper-V Virtual Storage Device
Counter Name:
Error Count
Instance Name:
c:-clusterstorage-volume1-myvm-virtual
hard disks-MyVM-DATA02.vhdx
Value:
9
Darren -
CV04N, classification fields w/multiple values be listed on results screen?
When using CV04N to search for document info records, I have a classification field that has multiple values. The search results screen only displays the first value of the multiple values. Is there a way to display all of the values that are selected on the search results screen?
Hi Heidi,
Please note that this is the standard display beahvior in transaction CV04N. Unfortunatly it is not possible to display all saved values of a multiple value characteristic. Therefore only the first value is displayed. As only the first value of the characteristic is displayed also the filter functionality doesn't not display a document if you enter the second or third value.
Best regards,
Christoph
P.S.: Please reward points for useful information. -
ORA-35563: Multiple values exist for an attribute of this dimension member
After following the tutorial Building OLAP Cubes I was trying to make a cube with aggregation down to the day instead of down to the month.
I created a times table pretty similar to the one used in the tutorial:
CREATE TABLE EVENT_TIMES (
HOUR_KEY DATE NOT NULL,
DAY_ID VARCHAR2(10),
DAY_NAME VARCHAR2(10),
DAY_END_DATE DATE,
DAY_TIME_SPAN NUMBER,
MONTH_ID VARCHAR2(30) NOT NULL,
MONTH_NAME VARCHAR2(40),
MONTH_END_DATE DATE,
MONTH_TIME_SPAN NUMBER,
YEAR_ID VARCHAR2(30) NOT NULL,
YEAR_NAME VARCHAR2(40),
YEAR_END_DATE DATE,
YEAR_TIME_SPAN NUMBER
As you can see, instead of a DAY_KEY like in the tutorial, I now use an HOUR_KEY.
This is a sample of the data I inserted in this table:
select to_char(hour_key,'YYYYMMDDHH24MISS'),DAY_ID,DAY_NAME,DAY_END_DATE,DAY_TIME_SPAN,MONTH_ID,MONTH_NAME,MONTH_END_DATE,MONTH_TIME_SPAN,YEAR_ID,YEAR_NAME,YEAR_END_DATE,YEAR_TIME_SPAN from event_times;
TO_CHAR(HOUR_KEY,'YYYYMMDDHH24MISS') DAY_ID DAY_NAME DAY_END_DATE DAY_TIME_SPAN MONTH_ID MONTH_NAME MONTH_END_DATE MONTH_TIME_SPAN YEAR_ID YEAR_NAME YEAR_END_DATE YEAR_TIME_SPAN
20140104050000 Y2014M1D4 Y2014M1D4 04-JAN-14 1 Y2014M1 Y2014M1 31-JAN-14 31 Y2014 Y2014 31-DEC-14 365
20140104060000 Y2014M1D4 Y2014M1D4 04-JAN-14 1 Y2014M1 Y2014M1 31-JAN-14 31 Y2014 Y2014 31-DEC-14 365
I then created my TIME dimension with DAY as the lowest level.
When I try the maintain cube option it fails at the 'LOAD NO SYNCH' step with the rejected records having an error message that says:
ORA-35563: (XSRWLD17) Multiple values exist for an attribute of this dimension member.
To me, this is a very cryptic message and the only explanation I find online is:
Cause
Multiple source table rows containing different values for a dimension attribute were found. Only the first of the multiple rows has been loaded.
Action
Fix the mapping or remove the rows with conflicting attribute values..
This confuses me. In the tutorial the lowest level was day and the TIMES table contained 1 record for each day.
In my example, the lowest level is hour and the TIMES table contains 1 record for each hour.
Which attribute has multiple values? And which values?
The rejected records (101) are not very clear:
ALIAS_1 = 'MONTH_Y2014M1' AND ALIAS_3 = to_date('31JAN14') AND ALIAS_4 = 31 AND ALIAS_5 = 'Y2014M1' AND ALIAS_6 = 'Y2014M1' AND ALIAS_7 = 'YEAR_Y2014'
If anyone can help point me in the right direction, it would be greatly appreciated.I have seen this recently. The issue is with the dimension load itself. You have a hour level record table but the rules relating to hierarchy/attribute values etc are checked/reinforced during the load and this error comes up sometimes.
I would guess that the issue seems to be with your month level information present in the higher level month columns. There are many records corresponding to a single month in ur case, month of Y2014M1. Information relating to Month level member Jan 2014 or member MONTH_Y2014M1 is present in these records: 31 (days) *24 (hours) = 744 records. The data in these 744 records for columns - MONTH_ID, MONTH_NAME, MONTH_END_DATE, MONTH_TIME_SPAN need to be exactly the same in order for the single member MONTH_Y2014M1 to have month attributes loaded with valid values.
For e.g: if records #1 to #743 contain month_timespan=31 but for some unknown reason record #744 contains month_timespan=30 then this error will come up. OLAP does not know which value to load (31 or 30), and only 1 value can be loaded onto the month level member corresponding to month Y2014M1.
A quick check of the data should give you the answer. Typically there may be some mistake/invalid assumptions made with the boundary records (in your case, check for values for records corresponding to hour=0 or hour=23/24) which is causing the issue.
HTH
Shankar -
Cursor-pasing multiple values as a cursor parameter
declare
credit_amount number:=0;
debit_amount number:=0;
v1 number:=0;
v2 number:=0;
v3 varchar2(500);
v4 varchar2(500);
v5 varchar2(240);
v6 varchar2(240);
v7 number;
v8 varchar2(240);
v9 varchar2(240);
v10 number;
v11 number;
v12 varchar2(240);
v13 varchar2(240);
v14 varchar2(240);
v15 number;
v16 number;
--This cursor is for liability records which are in GL not in AP
cursor c1(p_header_id number,p_reference_2 varchar2,p_reference_4 varchar2)
is
(select
jl.je_header_id "JE_HEADER_ID"
,jl.period_name "PERIOD"
,glcc.concatenated_segments "ACCOUNT_CODE"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr)"ACCOUNTED_DEBIT"
,DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "ACCOUNTED_CREDIT"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr) - DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "NET"
,glcc.CODE_COMBINATION_ID "CODE_COMBINATION_ID"
,jl.SET_OF_BOOKS_ID "SET_OF_BOOKS_ID"
,jl.PERIOD_NAME "PERIOD_NAME"
,DECODE(Jl.entered_dr,null,0,Jl.entered_dr)"ENTERED_DEBIT"
,DECODE(Jl.entered_cr,null,0,Jl.entered_cr) "ENTERED_CREDIT"
,jl.reference_1 "SUPPLIER"
,jl.reference_2 "INVOICE_ID"
,jl.reference_3 "CHECK_ID"
,jl.reference_4 "CHECK_NUMBER"
,jl.reference_5 "INVOICE_NUM"
,jl.reference_6 "'AP_PAYMT_JUST_INSERTED'"
,jl.reference_7 "set_of_books_id"
,jl.GL_SL_LINK_ID "GL_SL_LINK_ID"
,jl.REFERENCE_8 "INVOICE_DIST_LINE_NUMBER"
,jl.reference_9 "INVOICE_PAYMENT_ID"
,jl.REFERENCE_10 "LIABILITY"
,jl.TAX_CODE_ID "TAX_CODE_ID"
,jl.TAX_GROUP_ID "TAX_GROUP_ID"
FROM
gl_je_lines jl
, apps.gl_code_combinations_KFV glcc
, gl_je_headers jh
WHERE
jl.period_name='Mar-10'
and glcc. code_combination_id in (1016,1296,1298)
and jh.je_header_id = jl.je_header_id
AND glcc.code_combination_id = jl.code_combination_id
and jh.je_source = 'Payables'
AND jl.je_header_id = p_header_id
and jl.reference_2 = p_reference_2
and jl.reference_4 = p_reference_4
MINUS
select
ir.je_header_id
, h.period_name "APPERIOD"
,g.CONCATENATED_SEGMENTS "AP ACCOUNT CODE"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) "AP ACCOUNTED_DR"
,DECODE(l.accounted_cr,null,0,l.accounted_cr) "AP ACCOUNTED_CR"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) - DECODE(l.accounted_cr,null,0,l.accounted_cr) "NET"
,l.CODE_COMBINATION_ID "AP_CCID"
,h.set_of_books_id
,h.PERIOD_NAME "PERIOD_NAME"
,DECODE(l.entered_dr,null,0,l.entered_dr)"ENTERED_DEBIT"
,DECODE(l.entered_cr,null,0,l.entered_cr) "ENTERED_CREDIT"
,l.reference1 "SUPPLIER"
,l.reference2 "INVOICE_Id"
,l.reference3 "reference_3"
,l.reference4 "reference_4"
,l.reference5 "INVOICE_NUM"
,l.reference6 "reference_6"
,l.reference7 "reference_7"
,l.GL_SL_LINK_ID "GL_SL_LINK_ID"
,l.REFERENCE8 "REFERENCE_8"
,l.reference9 "reference_9"
,l.REFERENCE10 "REFERENCE_10"
,l.TAX_CODE_ID "TAX_CODE_ID"
,l.TAX_LINK_ID "TAX_LINK_ID"
from
ap_ae_lines_all l,
ap_ae_headers_all h,
gl_code_combinations_kfv g
,gl_import_references ir
where
ir.gl_sl_link_id=l.gl_sl_link_id
AND g.CODE_COMBINATION_ID = l.CODE_COMBINATION_ID
and h.ae_header_id = l.ae_header_id
AND h.period_name ='Mar-10'
AND g.CODE_COMBINATION_ID in (1016,1296,1298)
AND ir.JE_HEADER_ID = p_header_id
and l.reference2 = p_reference_2
and l.reference4 = p_reference_4);
--This cursor is for writeoff records
cursor c2
is
(select * from gl_je_lines
where period_name='Mar-10'
and reference_10='WRITEOFF'
and reference_2 in ('525706','525600'));
credit number:=0;
debit number:=0;
j varchar2(240);
i varchar2(4000):='0';
cursor c3 (p_invoice_id varchar2)
is
(select
jl.je_header_id "JE_HEADER_ID"
,jl.period_name "PERIOD"
,glcc.concatenated_segments "ACCOUNT_CODE"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr)"ACCOUNTED_DEBIT"
,DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "ACCOUNTED_CREDIT"
,DECODE(jl.accounted_dr,null,0,jl.accounted_dr) - DECODE(jl.accounted_cr,null,0,jl.accounted_cr) "NET"
,glcc.CODE_COMBINATION_ID "CODE_COMBINATION_ID"
,jl.SET_OF_BOOKS_ID "SET_OF_BOOKS_ID"
,jl.PERIOD_NAME "PERIOD_NAME"
,DECODE(Jl.entered_dr,null,0,Jl.entered_dr)"ENTERED_DEBIT"
,DECODE(Jl.entered_cr,null,0,Jl.entered_cr) "ENTERED_CREDIT"
,jl.reference_1 "SUPPLIER"
,jl.reference_2 "INVOICE_ID"
,jl.reference_3 "CHECK_ID"
,jl.reference_4 "CHECK_NUMBER"
,jl.reference_5 "INVOICE_NUM"
,jl.reference_6 "'AP_PAYMT_JUST_INSERTED'"
,jl.reference_7 "set_of_books_id"
,jl.GL_SL_LINK_ID "GL_SL_LINK_ID"
,jl.REFERENCE_8 "INVOICE_DIST_LINE_NUMBER"
,jl.reference_9 "INVOICE_PAYMENT_ID"
,jl.REFERENCE_10 "LIABILITY"
,jl.TAX_CODE_ID "TAX_CODE_ID"
,jl.TAX_GROUP_ID "TAX_GROUP_ID"
FROM
gl_je_lines jl
, apps.gl_code_combinations_KFV glcc
, gl_je_headers jh
WHERE
jl.period_name='Mar-10'
and glcc. code_combination_id in (1016,1296,1298)
and jh.je_header_id = jl.je_header_id
AND glcc.code_combination_id = jl.code_combination_id
and jh.je_source = 'Payables'
and jl.reference_2 in (p_invoice_id)
MINUS
select
ir.je_header_id
, h.period_name "AP PERIOD"
,g.CONCATENATED_SEGMENTS "AP ACCOUNT CODE"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) "AP ACCOUNTED_DR"
,DECODE(l.accounted_cr,null,0,l.accounted_cr) "AP ACCOUNTED_CR"
,DECODE(l.accounted_dr,null,0,l.accounted_dr) - DECODE(l.accounted_cr,null,0,l.accounted_cr) "NET"
,l.CODE_COMBINATION_ID "AP_CCID"
,h.set_of_books_id
,h.PERIOD_NAME "PERIOD_NAME"
,DECODE(l.entered_dr,null,0,l.entered_dr)"ENTERED_DEBIT"
,DECODE(l.entered_cr,null,0,l.entered_cr) "ENTERED_CREDIT"
,l.reference1 "SUPPLIER"
,l.reference2 "INVOICE_Id"
,l.reference3 "reference_3"
,l.reference4 "reference_4"
,l.reference5 "INVOICE_NUM"
,l.reference6 "reference_6"
,l.reference7 "reference_7"
,l.GL_SL_LINK_ID "GL_SL_LINK_ID"
,l.REFERENCE8 "REFERENCE_8"
,l.reference9 "reference_9"
,l.REFERENCE10 "REFERENCE_10"
,l.TAX_CODE_ID "TAX_CODE_ID"
,l.TAX_LINK_ID "TAX_LINK_ID"
from
ap_ae_lines_all l,
ap_ae_headers_all h,
gl_code_combinations_kfv g
,gl_import_references ir
where
ir.gl_sl_link_id=l.gl_sl_link_id
AND g.CODE_COMBINATION_ID = l.CODE_COMBINATION_ID
and h.ae_header_id = l.ae_header_id
AND h.period_name ='Mar-10'
AND g.CODE_COMBINATION_ID in (1016,1296,1298)
and l.reference2 in (p_invoice_id)); --here if i put l.reference2 in (p_invoice_id)) it must show the details of
-- of all.but it doesnot display sir
--here if i put l.reference2 not in (p_invoice_id)) it shows that id also sir
BEGIN
for writeoff_rec in c2
LOOP
FOR Main_cur in c1(writeoff_rec.je_header_id,writeoff_rec.reference_2,writeoff_rec.reference_4)
LOOP
j:='0';
IF writeoff_rec.accounted_dr is not null AND Main_cur.ACCOUNTED_CREDIT<>0
THEN
v10:=Main_cur.ACCOUNTED_CREDIT;
credit_amount:= credit_amount+Main_cur.ACCOUNTED_CREDIT;
ELSIF writeoff_rec.accounted_cr is not null AND Main_cur.ACCOUNTED_DEBIT<>0
THEN
v11:=Main_cur.ACCOUNTED_DEBIT;
debit_amount:= debit_amount+Main_cur.ACCOUNTED_DEBIT;
END IF;
if c1%found then
j:=Main_cur.INVOICE_ID;
end if;
END LOOP;
-- i:=i||','||j;
i:= i||','''||j||'''';
END LOOP;
dbms_output.put_line(i); --Here i got all invoiceids of varchar2 records without single qutations
--its look like '0','23232','2324234' etc.
for cash_clearing_cur in c3(i)--Here is the problem ..is it correct way here i am passing parameter to cursor
loop
v3:=0;
v4:=0;
v5:=0;
v6:=0;
v7:=0;
v8:=0;
v9:=0;
v10:=0;
v11:=0;
v12:=0;
v13:=0;
v14:=0;
v15:=0;
v16:=0;
credit:=credit+cash_clearing_cur.ACCOUNTED_CREDIT;
debit:=debit+cash_clearing_cur.ACCOUNTED_DEBIT;
v3:=cash_clearing_cur.JE_HEADER_ID;
v4:=cash_clearing_cur.INVOICE_ID;
v5:=cash_clearing_cur.CHECK_NUMBER;
v6:=cash_clearing_cur.LIABILITY;
v7:=cash_clearing_cur.CODE_COMBINATION_ID;
v8:=cash_clearing_cur.PERIOD;
v9:=cash_clearing_cur.ACCOUNT_CODE;
v10:=cash_clearing_cur.ACCOUNTED_CREDIT;
v11:=cash_clearing_cur.ACCOUNTED_DEBIT;
v12:=cash_clearing_cur.SUPPLIER;
v13:=cash_clearing_cur.CHECK_ID;
v14:=cash_clearing_cur.INVOICE_NUM;
v15:=cash_clearing_cur.GL_SL_LINK_ID;
v16:=cash_clearing_cur.SET_OF_BOOKS_ID;
DBMS_OUTPUT.PUT_LINE('HEAd '||v3||','||'inv_id '||v4||','||
'chk_num '||v5||','||'ref10 '||v6||','||'CCID '||V7||','||'PED '||V8
||','||'acctcode '||v9||','||'acct_Ct '||V10
||','||'acct_Dt '||v11||','||'chk_id '||v13||','||'inv_num '||V14
||','||'link '||v15||','||'sob '||v16||','||'suplir '||V12);
end loop;
DBMS_OUTPUT.PUT_LINE( 'Dr Amt ' ||debit || 'Cr amt ' || credit );
EXCEPTION
when too_many_rows then
dbms_output.put_line('Invalid no of rows');
when no_data_found then
dbms_output.put_line('no data found exception');
when others then
dbms_output.put_line('Other than Invalid no of rows');
dbms_output.put_line(SQLERRM);
END;
ouutput was
0,0 that means cursor c3 is not compiled because i am passing multiple values in parametr .is there any solutionWhats wrong with your previous thread passing variable which has multiple values to cursor as parameter
Opening a new thread doesn't mean that you will get more responses. Did you carefully studied the hints given by Justin Cave ? I guess no, because you ignored the first point itself to format your code with tag. -
Multiple Values in Variable.
How can I assign multiple values to one variable in rpd?
Say I want 'NY', 'CA', 'IL', 'TX' states in one variable, is that possible? if so how?
Thanks.The session variable, NQ_SESSION.STATE, is defined as Row-Wise Initialization. It is restricted to usage with equality comparisons you receive because you cannot set default value as long as row wise session variable has multiple values and it does not make any sense to set default value, so if you test it in RPD the results is like:
STATE State1
STATE State2
STATE State3
STATE State4
Therefore it can be used only in the filter (equality comparisons).
If you say, for example:
select 'CATEGORY', prod_category from
(select distinct prod_category from sh.products)
where prod_category='Peripherals and Accessories'
Row wise STATE get only one value and you can use it as default to the dashboard prompt or in Answers edit column formula, otherwise not.
In your example:
(SELECT CASE WHEN VALUEOF(NQ_SESSION.GROUP) = 'EXT_USERS' THEN 'FL' ELSE VALUEOF(NQ_SESSION.STATE) FROM ***) END)
VALUEOF(NQ_SESSION.STATE) has multiple values, so if want to set one of that value as default use another init session variable block to set only one of these values like:
select 'STATE_DEFAULT', state from dim-locations where state ='NY'
or just hardcode it in the RPD because you said that you don't want that it shows up for external user in the dashboard prompt (like you hardcode 'FL') and then put it in the default part:
SELECT CASE WHEN VALUEOF(NQ_SESSION.GROUP) = 'EXT_USERS' THEN 'FL' ELSE VALUEOF(NQ_SESSION.STATE_DEFAULT) FROM ***) END)
Regards
Goran
http://108obiee.blogspot.com -
Publish multiple values to the databus from a PowerShell script
Hello, I’m hoping someone may have a good suggestion on how to pass data from a child powershell process to the parent process in a fashion that Orchestrator can publish on its databus. So I have the below script, where I have to call a child powershell
session because the activity that run the script natively only opens a powershell 2.0 session, so for the cmdlets I want to use we have to call a child session that will open in PS version 4. The problem I seem to be running into is that the new object
is a hash table and it appears if there is more than one value the Orchestrator databus doesn’t like it. Perhaps there is a better way. I can get a clean result if the script only returns one value.
$VAR
= PowerShell {
CD
HFH:
$DirRules
= Get-CMDeviceCollection
-CollectionId 'SMS110101'
$Names
= $DirRules.CollectionRules
| Select
RuleName
New-Object
pscustomobject -Property @{
Rules
= $Names
$List = $VAR.Rules
$Results = $List.RuleName
$ResultsHi,
if $Results has multiple values you can get each result if you add after your code:
#... You're code from before ...
$Result=@()
foreach ($Item in $Results)
{$Result += $Item
Then define Result as Published Data in the "Run .Net Script" Activity".
Regards,
Stefan
www.sc-orchestrator.eu ,
Blog sc-orchestrator.eu -
Error: Set type Z contains multiple-value attributes
Hi forum,
I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
This is the detail of the error but i dont know where i have to set this indicator:
If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
This gives you the following extended maintenance options at category level:
You can assign set types with multiple-value attributes
You can restrict value ranges and maintain default values for attributes of customer set types.
Any sugerence about this?
Regards and thanks in advance,
MonHi Nelson,
I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
The set types have the same values. For example:
zcountry1. Values: sp - spain. fr - france.
zcountry2. Values: sp - spain. fr - france.
When i try to configurate the comm_hierarchy in my category appears this error:
Set type zcountry2 contains multiple-value attributes.
Diagnosis
The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
Procedure
Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
Extended Maintenance Is Possible for the Hierarchy
Definition
If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
This gives you the following extended maintenance options at category level:
You can assign set types with multiple-value attributes
You can restrict value ranges and maintain default values for attributes of customer set types.
Where is this indicator¿? in R3?
So, these are the steps...can anybody help to me?
Regards and thanks in advance.
Maybe you are looking for
-
Wireless Router with USB + External Hard Drive = Time Capsule?
So I bought a TP-Link WR710N wireless router http://www.tp-link.com/en/products/details/?model=TL-WR710N which seems to support external storage in its USB port. I tried with various storage media and it kinda works. The bad thing is that it only see
-
Getting List of Hosts on Network via Terminal
Is there a way to scan the network and report back a list of network servers? I specifically need Samba servers, but it would be great to find all servers, including the UPnP servers on the network. I read up on smbclient but it seems you need to kno
-
Suddenly, a rss that has worked for years is not working to update weekly podcasts. The feed validation site just confuses the **** out of me. Any help on validating an rss feed??? It is for Bandana Blues with Beardo & Spinner Thanks in advance, Bear
-
Freezing columns and rows in Web reports
Hi Gurus, We are trying to freeze the scrolling of first two columsns and the first row for a web report. Could you please guide me how can we do this for a analysis web item. Appreciate your help. Thanks Raj
-
Weather widget date screwed up post 01/01/09
Hi. I'm in New Zealand, and as of yesterday my weather widgets are showing the wrong day. It's Saturday morning here, and any New Zealand (or Australian) city I add on my dashboard displays as Friday. Up until a day or so ago this has never been a pr