RollUp
Hi SDN,
I have the infocubes as below.
FI Line Item Data-2003
FI Line Item Data-2004
FI Line Item Data-2005
FI Line Item Data-2006
FI Line Item Data-2007
Daily the data is loading to 2006 & 2007 data.
RollUp is happening daily to all cubes.
But from past one week the RollUp is not happening to
FI Line Item Data-2003
FI Line Item Data-2004
FI Line Item Data-2005
Manually doing RollUp for this.
Could anyone please suggest me the reason for this.
Padma.
Hi,
Go to the 2003, 2004, 2005 Cubes and
Check the settings Manage--> Environment --> Request Processing
I guess you dont have data to be uploaded to cubes for the finished years. Since no new records are comming to the cube , no roll ups
Hope it helps
Happy Tony
Similar Messages
-
ROLLUP AND CUBE OPERATORS IN ORACLE 8I
제품 : PL/SQL
작성날짜 : 2000-06-29
========================================
ROLLUP AND CUBE OPERATORS IN ORACLE 8I
========================================
PURPOSE
ROLLUP 과 CUBE Operator에 대해 설명하고자 한다.
Explanation
ROLLUP operator는 SELECT문의 GROUP BY절에 사용된다.
SELECT절에 ROLLUP 을 사용함으로써 'regular rows'(보통의 select된 data)와
'super-aggregate rows'(총계)을 구할 수 있다. 기존에는 select ... union select
를 이용해 구사해야 했었던 것이다. 'super-aggregate rows'는 'sub-total'
(중간 Total, 즉 소계)을 포함한다.
CUBE operator는 Cross-tab에 대한 Summary를 추출하는데 사용된다. 모든 가능한
dimension에 대한 total을 나타낸다. 즉 ROLLUP에 의해 나타내어지는 item total값과
column total값을 나타낸다.
NULL값은 모든 값에 대한 super-aggregate 을 나타낸다. GROUPING() function은
모든 값에 대한 set을 나타내는 null값과 column의 null값과 구별하는데 쓰여진다.
GROUPING() function은 GROUP BY절에서 반드시 표현되어야 한다. GROUPING()은 모든
값의 set을 표현합에 있어서 null이면 1을 아니면 0을 return한다.
ROLLUP과 CUBE는 CREATE MATERIALIZED VIEW에서 사용되어 질수 있다.
Example
아래와 같이 테스트에 쓰여질 table과 data을 만든다.
create table test_roll
(YEAR NUMBER(4),
REGION CHAR(7),
DEPT CHAR(2),
PROFIT NUMBER );
insert into test_roll values (1995 ,'West' , 'A1' , 100);
insert into test_roll values (1995 ,'West' , 'A2' , 100);
insert into test_roll values (1996 ,'West' , 'A1' , 100);
insert into test_roll values (1996 ,'West' , 'A2' , 100);
insert into test_roll values (1995 ,'Central' ,'A1' , 100);
insert into test_roll values (1995 ,'East' , 'A1' , 100);
insert into test_roll values (1995 ,'East' , 'A2' , 100);
SQL> select * from test_roll;
YEAR REGION DE PROFIT
1995 West A1 100
1995 West A2 100
1996 West A1 100
1996 West A2 100
1995 Central A1 100
1995 East A1 100
1995 East A2 100
7 rows selected.
예제 1: ROLLUP
SQL> select year, region, sum(profit), count(*)
from test_roll
group by rollup(year, region);
YEAR REGION SUM(PROFIT) COUNT(*)
1995 Central 100 1
1995 East 200 2
1995 West 200 2
1995 500 5
1996 West 200 2
1996 200 2
700 7
7 rows selected.
위의 내용을 tabular로 나타내어 보면 쉽게 알 수 있다.
Year Central(A1+A2) East(A1+A2) West(A1+A2)
1995 (100+NULL) (100+100) (100+100) 500
1996 (NULL+NULL) (NULL+NULL) (100+100) 200
700
예제 2: ROLLUP and GROUPING()
SQL> select year, region, sum(profit),
grouping(year) "Y", grouping(region) "R"
from test_roll
group by rollup (year, region);
YEAR REGION SUM(PROFIT) Y R
1995 Central 100 0 0
1995 East 200 0 0
1995 West 200 0 0
1995 500 0 1
1996 West 200 0 0
1996 200 0 1
700 1 1
7 rows selected.
참고) null값이 모든 값의 set에 대한 표현으로 나타내어지면 GROUPING function은
super-aggregate row에 대해 1을 return한다.
예제 3: CUBE
SQL> select year, region, sum(profit), count(*)
from test_roll
group by cube(year, region);
YEAR REGION SUM(PROFIT) COUNT(*)
1995 Central 100 1
1995 East 200 2
1995 West 200 2
1995 500 5
1996 West 200 2
1996 200 2
Central 100 1
East 200 2
West 400 4
700 7
위의 내용을 tabular로 나타내어 보면 쉽게 알 수 있다.
Year Central(A1+A2) East(A1+A2) West(A1+A2)
1995 (100+NULL) (100+100) (100+100) 500
1996 (NULL+NULL) (NULL+NULL) (100+100) 200
100 200 400 700
예제 4: CUBE and GROUPING()
SQL> select year, region, sum(profit),
grouping(year) "Y", grouping(region) "R"
from test_roll
group by cube (year, region);
YEAR REGION SUM(PROFIT) Y R
1995 Central 100 0 0
1995 East 200 0 0
1995 West 200 0 0
1995 500 0 1
1996 West 200 0 0
1996 200 0 1
Central 100 1 0
East 200 1 0
West 400 1 0
700 1 1
10 rows selected.
===============================================
HOW TO USE ROLLUP AND CUBE OPERATORS IN PL/SQL
===============================================
Release 8.1.5 PL/SQL에서는 CUBE, ROLLUP 이 지원되지 않는다. 8i에서는 DBMS_SQL
package을 이용하여 dynamic SQL로 구현하는 방법이 workaround로 제시된다.
Ordacle8i에서는 PL/SQL block에 SQL절을 직접적으로 위치시키는 Native Dynamic SQL
(참고 bul#11721)을 지원한다.
Native Dynamic SQL을 사용하기 위해서는 COMPATIBLE 이 8.1.0 또는 그 보다 높아야
한다.
SVRMGR> show parameter compatible
NAME TYPE VALUE
compatible string 8.1.0
예제 1-1: ROLLUP -> 위의 예제 1과 비교한다.
SQL> create or replace procedure test_rollup as
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
begin
select year, region, sum(profit), count(*)
into my_year, my_region, my_sum, my_count
from test_roll
group by rollup(year, region);
end;
Warning: Procedure created with compilation errors.
SQL> show errors
Errors for PROCEDURE TEST_ROLLUP:
LINE/COL ERROR
10/8 PL/SQL: SQL Statement ignored
13/18 PLS-00201: identifier 'ROLLUP' must be declared
SQL> create or replace procedure test_rollup as
type curTyp is ref cursor;
sql_stmt varchar2(200);
tab_cv curTyp;
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
begin
sql_stmt := 'select year, region, sum(profit), count(*) ' ||
'from test_roll ' ||
'group by rollup(year, region)';
open tab_cv for sql_stmt;
loop
fetch tab_cv into my_year, my_region, my_sum, my_count;
exit when tab_cv%NOTFOUND;
dbms_output.put_line (my_year || ' '||
nvl(my_region,' ') ||
' ' || my_sum || ' ' || my_count);
end loop;
close tab_cv;
end;
SQL> set serveroutput on
SQL> exec test_rollup
1995 Central 100 1
1995 East 200 2
1995 West 200 2
1995 500 5
1996 West 200 2
1996 200 2
700 7
PL/SQL procedure successfully completed.
예제 2-1: ROLLUP and GROUPING() -> 위의 예제 2와 비교한다.
SQL> create or replace procedure test_rollupg as
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
my_g_region int;
my_g_year int;
begin
select year, region, sum(profit),
grouping(year), grouping(region)
into my_year, my_region, my_sum, my_count,
my_g_year, my_g_region
from test_roll
group by rollup(year, region);
end;
Warning: Procedure created with compilation errors.
SQL> show error
Errors for PROCEDURE TEST_ROLLUPG:
LINE/COL ERROR
12/4 PL/SQL: SQL Statement ignored
17/13 PLS-00201: identifier 'ROLLUP' must be declared
SQL> create or replace procedure test_rollupg as
type curTyp is ref cursor;
sql_stmt varchar2(200);
tab_cv curTyp;
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
my_g_region int;
my_g_year int;
begin
sql_stmt := 'select year, region, sum(profit), count(*), ' ||
'grouping(year), grouping(region) ' ||
'from test_roll ' ||
'group by rollup(year, region)';
open tab_cv for sql_stmt;
loop
fetch tab_cv into my_year, my_region, my_sum, my_count,
my_g_year, my_g_region;
exit when tab_cv%NOTFOUND;
dbms_output.put_line (my_year || ' '||my_region ||
' ' || my_sum || ' ' || my_count ||
' ' || my_g_year || ' ' || my_g_region);
end loop;
close tab_cv;
end;
Procedure created.
SQL> set serveroutput on
SQL> exec test_rollupg
1995 Central 100 1 0 0
1995 East 200 2 0 0
1995 West 200 2 0 0
1995 500 5 0 1
1996 West 200 2 0 0
1996 200 2 0 1
700 7 1 1
PL/SQL procedure successfully completed.
예제 3-1: CUBE -> 위의 예제 3과 비교한다.
SQL> create or replace procedure test_cube as
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
begin
select year, region, sum(profit), count(*)
into my_year, my_region, my_sum, my_count
from test_roll
group by cube(year, region);
end;
Warning: Procedure created with compilation errors.
SQL> show error
Errors for PROCEDURE TEST_CUBE:
LINE/COL ERROR
10/4 PL/SQL: SQL Statement ignored
13/13 PLS-00201: identifier 'CUBE' must be declared
SQL> create or replace procedure test_cube as
type curTyp is ref cursor;
sql_stmt varchar2(200);
tab_cv curTyp;
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
begin
sql_stmt := 'select year, region, sum(profit), count(*) ' ||
'from test_roll ' ||
'group by cube(year, region)';
open tab_cv for sql_stmt;
loop
fetch tab_cv into my_year, my_region, my_sum, my_count;
exit when tab_cv%NOTFOUND;
dbms_output.put_line (my_year || ' '||
nvl(my_region,' ') ||
' ' || my_sum || ' ' || my_count);
end loop;
close tab_cv;
end;
Procedure created.
SQL> set serveroutput on
SQL> exec test_cube
1995 Central 100 1
1995 East 200 2
1995 West 200 2
1995 500 5
1996 West 200 2
1996 200 2
Central 100 1
East 200 2
West 400 4
700 7
PL/SQL procedure successfully completed.
예제 4-1: CUBE and GROUPING() -> 위의 예제 4와 비교한다.
SQL> create or replace procedure test_cubeg as
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
my_g_region int;
my_g_year int;
begin
select year, region, sum(profit),
grouping(year), grouping(region)
into my_year, my_region, my_sum, my_count,
my_g_year, my_g_region
from test_roll
group by cube(year, region);
end;
Warning: Procedure created with compilation errors.
SQL> show error
Errors for PROCEDURE TEST_CUBEG:
LINE/COL ERROR
12/4 PL/SQL: SQL Statement ignored
17/13 PLS-00201: identifier 'CUBE' must be declared
SQL> create or replace procedure test_cubeg as
type curTyp is ref cursor;
sql_stmt varchar2(200);
tab_cv curTyp;
my_year test_roll.year%type;
my_region test_roll.region%type;
my_sum int;
my_count int;
my_g_region int;
my_g_year int;
begin
sql_stmt := 'select year, region, sum(profit), count(*), ' ||
'grouping(year), grouping(region) ' ||
'from test_roll ' ||
'group by cube(year, region)';
open tab_cv for sql_stmt;
loop
fetch tab_cv into my_year, my_region, my_sum, my_count,
my_g_year, my_g_region;
exit when tab_cv%NOTFOUND;
dbms_output.put_line (my_year || ' '||my_region ||
' ' || my_sum || ' ' || my_count ||
' ' || my_g_year || ' ' || my_g_region);
end loop;
close tab_cv;
end;
Procedure created.
SQL> set serveroutput on
SQL> exec test_cubeg
1995 Central 100 1 0 0
1995 East 200 2 0 0
1995 West 200 2 0 0
1995 500 5 0 1
1996 West 200 2 0 0
1996 200 2 0 1
Central 100 1 1 0
East 200 2 1 0
West 400 4 1 0
700 7 1 1
PL/SQL procedure successfully completed.
Reference Ducumment
Note:67988.1Hello,
As previously posted you should use export and import utilities.
To execute exp or imp statements you have just to open a command line interface, for instance,
a DOS box on Windows.
So you don't have to use SQL*Plus or TOAD.
About export/import you may care on the mode, to export a single or a list of Tables the Table mode
is enough.
Please, find here an example to begin:
http://wiki.oracle.com/page/Oracle+export+and+import+
Hope this help.
Best regards,
Jean-Valentin -
Query help - problems with ROLLUP
I'm trying to make a query i can use for an alert, it generates sales for the past 7 days.
This query works fine:
SELECT
CASE WHEN GROUPING(T0.[CardCode]) = 0
THEN CAST (T0.[CardCode] AS CHAR(8))
ELSE 'ALL'
END AS Customer#,
SUM(T0.[Max1099]) AS "Total Sales",
SUM(T0.[GrosProfit]) AS "Gross Profit"
FROM OINV T0
WHERE T0.[DocDate] >= DATEADD(dd,DATEDIFF(dd,0,GETDATE())-7,0) AND T0.[Max1099] > 0
GROUP BY T0.[CardCode] WITH ROLLUP
And it gives me this:
# Customer#* Total Sales* Gross Profit*
1 C2235 8,285.87 4,165.77
2 C2236 10,191.39 4,197.95
3 C2253 570.56 311.17
4 C3008 18,756.76 5,720.21
5 ALL 37,804.58 14,395.10
Which is great. Gives me a total at the end, and substitutes "ALL" for the customer number. Lovely.
Problem #1: I REALLY want it to give the Customer Name NEXT TO the Customer Number. But when I try to add it, i have to add it to the GROUP BY as well. Which changes the query to this:
SELECT
CASE WHEN GROUPING(T0.[CardCode]) = 0
THEN CAST (T0.[CardCode] AS CHAR(8))
ELSE 'ALL'
END AS Customer#,
CardName as "Cust Name",
SUM(T0.[Max1099]) AS "Total Sales",
SUM(T0.[GrosProfit]) AS "Gross Profit"
FROM OINV T0
WHERE T0.[DocDate] >= DATEADD(dd,DATEDIFF(dd,0,GETDATE())-7,0) AND T0.[Max1099] > 0
GROUP BY T0.[CardCode], T0.[CardName] WITH ROLLUP
And changes my output to THIS:
# Customer# Cust Name Total Sales Gross Profit
1 C2235 Acme Products 8,285.87 4,165.77
2 C2235 (blanks blanks) 8,285.87 4,165.77
3 C2236 Some Other Products 10,191.39 4,197.95
4 C2236 (blanks blanks blanks) 10,191.39 4,197.95
5 C2253 Third Customer Name 570.56 311.17
6 C2253 (blanks blanks blanks) 570.56 311.17
7 C3008 Fourth Customer Name 18,756.76 5,720.21
8 C3008 (blanks blanks blanks) 18,756.76 5,720.21
9 ALL 37,804.58 14,395.10
( I have replaced actual customer names, of course, and replaces actual blanks with the word 'blanks' so it would be more legible.)
I can't figure out a way to simply list the customer name next to the number. Instead , it gives me a summary for the CardCode and a summary for the CardName.
I've tried combining the two into one field, on the fly, but haven't been successful.
Problem #2 - extra credit!
If i really want this done right, i should also have a query that pulls the same data from ORIN (Credit Memos) and do a UNION ALL, but when i do this, is simply rejects me at the word "UNION"
any and all help appreciated, and to test this, you can just cut and past the query into SAP, it will run right there, no mods needed.
oops. I had to change the "Not Equal" symbol to just "greater than" for "Max1099" because it was just dropping the symbol...
Edited by: Dante Amodeo on Jan 18, 2012 6:30 PMTry:
SELECT CAST (T0.CardCode AS CHAR(8)) AS Customer#,
MAX(T0.CardName) 'Customer Name',
SUM(T0.Max1099) AS 'Total Sales',
SUM(T0.GrosProfit) AS 'Gross Profit'
FROM OINV T0
WHERE DATEDIFF(dd,T0.DocDate,GETDATE())<=7 AND T0.Max1099 > 0
GROUP BY T0.CardCode
UNION ALL
SELECT 'ALL','',SUM(T0.Max1099),
SUM(T0.GrosProfit)
FROM OINV T0
WHERE DATEDIFF(dd,T0.DocDate,GETDATE())<=7 AND T0.Max1099 > 0 -
Re: How to Improve the performance on Rollup of Aggregates for PCA Infocube
Hi BW Guru's,
I have unresolved issue and our team is still working on it.
I have already posted several questions on this but not clear on how to reduce the time on Rollup of Aggregates process.
I have requested for OSS note and searching myself but still could not found.
Finally i have executed one of the cube in RSRV with the database selection
"Database indexes of an InfoCube and its aggregates" and got warning messages i was tried to correct the error and executed once again but still i found warning message. and the error message are as follows: (this is only for one info cube we got 6 info cubes i am executing one by one).
ORACLE: Index /BI0/IACCOUNT~0 has possibly degenerated
ORACLE: Index /BI0/IPROFIT_CTR~0 has possibly degenerated
ORACLE: Index /BI0/SREQUID~0 has possibly degenerated
ORACLE: Index /BIC/D1001072~010 has possibly degenerated
ORACLE: Index /BIC/D1001132~010 has possibly degenerated
ORACLE: Index /BIC/D1001212~010 has possibly degenerated
ORACLE: Index /BIC/DGPCOGC062~01 has possibly degenerated
ORACLE: Index /BIC/IGGRA_CODE~0 has possibly degenerated
ORACLE: Index /BIC/QGMAPGP1~0 has possibly degenerated
ORACLE: Index /BIC/QGMAPPC2~0 has possibly degenerated
ORACLE: Index /BIC/SGMAPGP1~0 has possibly degenerated
i don't know how to move further on this can any one tell me how to tackle this problem to increase the performance on Rollup of Aggregates (PCA Info cubes).
every time i use to create index and statistics regularly to improve the performance it will work for couple of days and again the performance of the rollup of aggregates come down gradually.
Thanks and Regards,
Venkathi,
check in a sql client the sql created by Bi and the query that you use directy from your physical layer...
The time between these 2 must be 2-3 seconds,otherwise you have problems.(these seconds are for scripts that needed by Bi)
If you use "like" in your sql then forget indexes....
For more informations about indexes check google or your Dba .
Last, i mentioned that materialize view is not perfect,it help a lot..so why not try to split it to smaller ones....
ex...
logiacal dimensions
year-half-day
company-department
fact
quantity
instead of making one...make 3,
year - department - quantity
half - department - quantity
day - department - quantity
and add them as datasource and assign them the appropriate logical level at bussiness layer in administrator...
Do you use partioning functionality???
i hope i helped....
http://greekoraclebi.blogspot.com/
/////////////////////////////////////// -
Request for reporting available after rollup. Why not before?
Hi,
In infocubes with aggregates, a dataload is not available for reporting until you roll-up the aggregates. This is very unwanted behaviour and we'd like to have the loads available at all times, with or without a rolled up aggregate. All our aggregates are rolled up in the same process chain block after all loads are done. This means that data will not be available for reporting until all loads have finished, something our customers complain about.
Because parallel rollup jobs collide, rolling up up after every infopackage would make our loadschedule very unflexible (difficult to plan parallel processes).
Is this possible (by changing a setting somewhere) to change this and make load available for reporting at all times, or is this one of SAP's standard programming decisions without any workarounds?
Cheers,
EduardAggregates data is maintained in aggregate tables.
Unless, you roll it up after every data load, the aggregate data wont be correct and it wont be consistent with the data in the cube.
YES< the roll up job will not be complete unless the loading job is compete.
One suggestion is to review the process chain jobs and see if you can reshuffle the jobs.
But aggregate roll up has to happen after data loading job of that cube on which aggregate is built .
Ravi Thothadri -
Issues after installing Hotfix Rollup 5 for SP3
Hi,
Last weekend we installed Hotfix Rollup Pack 5 for SP3 on our (single) Exchange 2010 Enterprise server.
This was needed to fix the WebApp Light issue with IE11 and to fix the problem where users were unsable to delete mails sent from multifunctionals.
These 2 issues were fixed by installing the hotfix rollup pack, but now our users have different problems...
Some users (not all of them, haven't found a common denominator yet) report that they don't see new mails in their Outlook 2010 box, even though they got the envelope notifier.
When they change folder and back to the Inbox the new mail is suddenly visible.
Same sort of "delay" happens when users mark a message for follow-up or try to change a message from unread to read.
Some users also report that they see delegated mailboxes (mailboxes from other users that they have full mailbox access to) twice in their Outlook 2010.
Outlook 2010 is running in online mode (because it's running on terminal/citrix servers), so it's no issue with caching as far as I understand.
I've already checked if there are any updates for Outlook available, but we've installed them all already.
I though I'd found something:
Noticed a lot of errors in the application log on the Exchange Server which pointed me to this:
http://theintegrity.co.uk/2010/08/mapi-session-exceeded-the-maximum-of-500-objects-of-type-objtfolder/
I've added the registry values now with a value of 1500, but unfortunately this didn't help.
The errors in the eventlog are gone, but even after restarting the IS some users still have these problems.
One user reported that it takes about 7 minutes for a read mail to actually switch to "read" when looking at his inbox.
Did anyone else notice these problems? And maybe have a fix for them?
I really don't want to roll back the update :(
I even rebooted the Exchange Server after installing the rollup even though that wasn't even necessary
Thanks in advance!
Regards,
JeroenCorrect - http://support.microsoft.com/kb/2925273 discusses this issue.
If you do raise a support case to request this, please ensure that you review and understand the requirements for IU installation and removal.
For example: You *MUST* manually remove it prior to installing Exchange 2010 SP3 RU6.
Cheers,
Rhoderick
Microsoft Senior Exchange PFE
Blog:
http://blogs.technet.com/rmilne
Twitter: LinkedIn:
Facebook:
XING:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
I just applied update:
Update Rollup 3 for Microsoft System Center 2012 R2 - Virtual Machine Manager (KB2965413)
and (KB2965414) but it failed to install.
After a reboot I could not login to the VMM and the service would not start
An event id 0 was reported with:
Service cannot be started. System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.BuildKnownAssemblyTypes(Assembly assembly)
at Microsoft.VirtualManager.Remoting.IndigoSerializableObject.InitializeKnownTypesCache(List`1 assembliesToExamine)
at Microsoft.VirtualManager.Engine.Remoting.IndigoServiceHost.InitializeKnownTypesCache()
at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)
at Microsoft.VirtualManager.Engine.VirtualManagerService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
After I removed the update the VMM was able to start, no reboot required.
When I have time I will try to apply both updates again successfully and see if the issue still occurs.
Vista Ultimate Dell XPS M1330FYI. I've had the same issue after I installed Update Rollup 3 (KB2965413), seeing the exact same error on event log. Tried to start the service manually, getting service unable to start error. This is a machine running
with Windows Server 2012 Standard. Solution for me is simple. I just install
KB2965414 (Update Rollup 3 for SCVMM 2012 R2), reboot the server, and the SCVMM service auto start up by itself. -
EXCH 2010 auto account creation fails after rollup 4 for sp 3
We use a PowerShell script to automatically generate student accounts when they register. It was working fine until the other night when we applied updates (I can supply the entire list if needed.) Rollup 4 was one of the updates. Now when the script
runs, it creates the first account in the list and then throws the error:
The type initializer for 'Microsoft.Exchange.Diagnostics.ExTraceConfiguration' threw an exception.
+ CategoryInfo : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRe
motingTransportException
+ FullyQualifiedErrorId : JobFailure
In the event log the following two errors are generated:
Log Name: Application
Source: Windows Error Reporting
Date: 2/19/2014 8:37:51 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: <myservername>.lhup.edu
Description:
Fault bucket , type 0
Event Name: PowerShell
Response: Not available
Cab Id: 0
Problem signature:
P1: powershell.exe
P2: 6.1.7601.17514
P3: System.NullReferenceException
P4: System.TypeInitializationException
P5: unknown
P6: oft.Exchange.Diagnostics.SystemTraceControl.Update
P7: unknown
P8:
P9:
P10:
Attached files:
These files may be available here:
Analysis symbol:
Rechecking for solution: 0
Report Id: c8a838b5-996a-11e3-8362-005056b67715
Report Status: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-02-19T13:37:51.000000000Z" />
<EventRecordID>4104059</EventRecordID>
<Channel>Application</Channel>
<Computer>mail2.lhup.edu</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>PowerShell</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>powershell.exe</Data>
<Data>6.1.7601.17514</Data>
<Data>System.NullReferenceException</Data>
<Data>System.TypeInitializationException</Data>
<Data>unknown</Data>
<Data>oft.Exchange.Diagnostics.SystemTraceControl.Update</Data>
<Data>unknown</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>0</Data>
<Data>c8a838b5-996a-11e3-8362-005056b67715</Data>
<Data>0</Data>
</EventData>
</Event>
Log Name: Application
Source: Windows Error Reporting
Date: 2/19/2014 8:37:51 AM
Event ID: 1001
Task Category: None
Level: Information
Keywords: Classic
User: N/A
Computer: <myservername>.lhup.edu
Description:
Fault bucket , type 0
Event Name: PowerShell
Response: Not available
Cab Id: 0
Problem signature:
P1: powershell.exe
P2: 6.1.7601.17514
P3: System.NullReferenceException
P4: System.TypeInitializationException
P5: unknown
P6: oft.Exchange.Diagnostics.SystemTraceControl.Update
P7: unknown
P8:
P9:
P10:
Attached files:
These files may be available here:
C:\Users\Administrator.DOMAIN1\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_powershell.exe_4fabcdf7532bfe17a44cd45b511ce052e7717_25de96ae
Analysis symbol:
Rechecking for solution: 0
Report Id: c8a838b5-996a-11e3-8362-005056b67715
Report Status: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Windows Error Reporting" />
<EventID Qualifiers="0">1001</EventID>
<Level>4</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-02-19T13:37:51.000000000Z" />
<EventRecordID>4104058</EventRecordID>
<Channel>Application</Channel>
<Computer>mail2.lhup.edu</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>0</Data>
<Data>PowerShell</Data>
<Data>Not available</Data>
<Data>0</Data>
<Data>powershell.exe</Data>
<Data>6.1.7601.17514</Data>
<Data>System.NullReferenceException</Data>
<Data>System.TypeInitializationException</Data>
<Data>unknown</Data>
<Data>oft.Exchange.Diagnostics.SystemTraceControl.Update</Data>
<Data>unknown</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>
</Data>
<Data>C:\Users\Administrator.DOMAIN1\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_powershell.exe_4fabcdf7532bfe17a44cd45b511ce052e7717_25de96ae</Data>
<Data>
</Data>
<Data>0</Data>
<Data>c8a838b5-996a-11e3-8362-005056b67715</Data>
<Data>0</Data>
</EventData>
</Event>
The report.wer file:
Version=1
EventType=PowerShell
EventTime=130372905673297717
ReportType=1
Consent=1
ReportIdentifier=c8a838b5-996a-11e3-8362-005056b67715
Response.type=4
Sig[0].Name=NameOfExe
Sig[0].Value=powershell.exe
Sig[1].Name=FileVersionOfSystemManagementAutomation
Sig[1].Value=6.1.7601.17514
Sig[2].Name=InnermostExceptionType
Sig[2].Value=System.NullReferenceException
Sig[3].Name=OutermostExceptionType
Sig[3].Value=System.TypeInitializationException
Sig[4].Name=DeepestPowerShellFrame
Sig[4].Value=unknown
Sig[5].Name=DeepestFrame
Sig[5].Value=oft.Exchange.Diagnostics.SystemTraceControl.Update
Sig[6].Name=ThreadName
Sig[6].Value=unknown
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.274.10
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
UI[3]=powershell has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
FriendlyEventName=PowerShell
ConsentKey=PowerShell
AppName=powershell
AppPath=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
My execution policy is currently set to unrestricted. The generation script follows:
Import-Module ActiveDirectory
Import-CSV c:\addusers\accounts.csv | % {
$pass = ConvertTo-SecureString -AsPlainText $_.Password -Force
New-Mailbox -Name $_.Name `
-FirstName $_.FirstName `
-LastName $_.LastName `
-Initials $_.Initials `
-Alias $_.Alias `
-SamAccountName $_.SamAccountName `
-UserPrincipalName $_.UserPrincipalName `
-Password $pass `
-ResetPasswordOnNextLogon:$True `
-OrganizationalUnit $_.OrganizationalUnit `
-Database $_.Database `
Set-User -Identity $_.Name `
-DisplayName $_.DisplayName `
-Notes $_.Notes `
Start-Sleep -s 30
Set-ADuser -Identity $_.Alias `
-homeDrive $_.homeDrive `
-homeDirectory $_.homeDirectory `
-scriptPath $_.scriptPath `
-description $_.description `Hi James,
did you fix this problem? We see the same behaviour running a script creating mail enabeled groups. This script worked fine before installing SP 3 rollup 4
regards,
Ruth -
Can I use multiple values for a rollup key on the same Endeca record?
We have a business need to to aggregate our records using different criteria, based on user navigation. We are thinking of using a rollup key with multiple values to help with the aggregation, but we are running into some issues.
Here is a made-up xample of what we want to do: assume we have a group of products and these products can be organized into groups using parent-child relationships. We would like to create an aggregate record for each parent, and we want the aggregate record for each parent to include all the children for the parent. To achieve this, we use a field called "parent_rec_spec" that holds the parent record spec and we set the same value on the field for the parent and its children. When we do rollup using the parent_rec_spec as the rollup key, we are able to see one aggregate record for each parent (with its children).
The previous setup worked perfectly for us so far. But now we are getting a business requirement that allows children nodes to be linked to multiple parents at the same time. We were hoping of using another dimension to limit the records based on user roles/characteristics , so that only applicable parents/children are displayed (for example, we can use "market" as an additional filtering property, and we decide to show all parents/children for "North America", while hiding the parents/children for other markets).
This caused an odd behavior when children are linked to multiple parents. For example, assume that SKUs A and B were linked to parents in "North America" and "Europe" at the same time, and assume that the user chose the "North America" market. The navigation state would eliminate the parents/children that are no in North America, and will also cause the parents/children that are labeled for North America to show up and be aggregated correctly. This however will lead to the creation of additional aggregate records for the A and B using the parent_rec_spec values that would have linked them to the Europe parents (even though the parents are hidden away).
Here is an example index file that we used to load the test data:
Update||1
Market||North America
Record Type||Product
Name||Parent 1
rec_spec||P1
parent_rec_spec||P1
EOR
Update||1
Market||Europe
Record Type||Product
Name||Parent 2
rec_spec||P2
parent_rec_spec||P2
EOR
Update||1
Market||North America
Record Type||Product
Name||Child A
rec_spec||A
parent_rec_spec||P1
EOR
Update||1
Market||North America
Market||Europe
Record Type||Product
Name||Child B
rec_spec||B
parent_rec_spec||P1
parent_rec_spec||P2
EOR
Update||1
Market||North America
Market||Europe
Record Type||Product
Name||Child C
rec_spec||C
parent_rec_spec||P1
parent_rec_spec||P2
EOR
Update||1
Market||Europe
Record Type||Product
Name||Child D
rec_spec||D
parent_rec_spec||P2
EOR
In this setup, we have parent P1 marked for North America with children A, B and C, and parent P2 marked for Europe with B, C and D as children. When we use North America as a filter in the navigation state, and parent_rec_spec as the rollup key, then we will see an aggregate record for P1, A, B and C. But we will also see an aggregate record for B and C by itself (presumably because of the other parent_rec_spec value on these records).
The actual data that we are testing with is more complicated, but the end result is similar. We also noticed that the additional aggregate records would not be created always, depending on the ordering of the records.
The question that I need help with is this: is there a way to fine tune the rollup logic so that it can only include certain records (in the example above, we can change the rec_spec from PA and PB to PA_North_America and PB_Europe and then we would be interested in rolling up using values that end with NorthAmerica).
By the way, we considered using separate rollup keys for each context (like parent_rec_spec_north_america and parent_rec_spec_europe), but the number of contexts is dynamic, and might grow large. So it is not easy for us to create the additional properties on the fly, and we are concerned about the possible large number of dimensions.http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=2&threadid=1157850
-
How to RollUp Amount data based on SAP BI GL Account to BPC Grp GL Account
Hi All,
Initial data format
EXTERN INTERNAL AMT
GL Acco Grp GL ACC AMT
0200001 100000 0100
1000000 100000 0200
1000010 100000 0300
1000011 100000 0400
1000012 100000 0500
1000020 200000 0010
1000030 200000 0020
1001000 200000 0030
1001001 200000 0040
1001002 200000 0050
We are having Group GL Account as our master data in member sheet of Account dimension. And we are having GL accounts coming in BPC from SAP BI System ( ECC ) and are mapped (as in above) to Group GL Account in N:1 mapping.
We need to get the expected Rollup Amount data (Refer 3rd column) as below.
Expected Rollup Amount
Column 1 Column 2 Column 3
EXTERN INTERNAL AMT
GL Acco Grp GL ACC AMT
0200001 100000 0100
1000000 100000 0300
1000010 100000 0600
1000011 100000 1000
1000012 100000 1500
Please share your valuable inputs in this regard.
Regards
AmitHi,
Since, you are converting all the external GL accounts to the same internal Group GL account, it wont be rolled up. Instead, it will be aggregated.
If you report on 100000, you will see the data as a total sum.
Hope you got the idea.
So, this means, you cannot map all of them to the same internal member. You need to map them to different members and you need to create a hierarchy on those members for the correct rollup to take place.
Hope this helps. -
Using Rollup to get subtotals and grand total - missing right pren error
Hello,
I am trying to create sub totals by person_id and a grand total row in my APEX report but I get a "missing right pren error." I finally figure out that I need to eliminate column alias names to fix this problem, however, I now get an ambigous column reference. I am making this change in my main SQL report statement, however, I was wondering if I should be using the "group by Rollup" somewhere else while using "Break Formatting."
I would appreciate any help.
Thanks
lehCan you post the Query please?
-
Dynamically rollup dimension and aggregate data based on diferent measures
Hi,
I am facing an issue while rolling up the dimension based upon measures. I have a dimension which is defined at 3 levels - Level1 (L1), Level2 (L1), Level3 (L1). There is a unique code for each of these dimensions. It might be possible for a L1, there is no L2 and L3 or for a L1 there is L2 but no L3.
Universe structure looks like:
Table1--Table2Table3Table4Table5Table6
Table1 is my master table that gives heirarchy i.e. has Level number, Code, ParentCode and Name.
Table2 is a fact table which has Amount and Code. Amounts are present at the most granular level L1 or L2 or L3.
Table3 and Table5 are tables joined to Table 2 and Table 4 through some IDs which are used as user prompts.
Table6 is a fact table which has L1Code,L2Code,L3Code and Targets.
So table1 and table2 has all the codes in one column and Table 6 has codes in 3 different columns depending upon level (hierarchy) along with targets.
My requirement is to show Names from Table1 for which targets are defined in Table6 along with the Amount.
1. If target is at L3 then Show Name of L3, Amount and targets.
2. If target is at L2 then show Name of L2,
a) Sum of all L3 Amounts under that L2 aggregated to L2 and Target for L2.
b) Sum of L2 Amount (if L2 is most granular level) and Target for L2.
3. If target is at L1 then show Name of L1,
a) Sum of all L3 (or L2 depending upon more granular level for that L1) Amounts under that L1 aggregated to L1 and Target.
b) Sum of all L1 (if L2 is most granular level) Amounts and Target.
We are able to achieve Roll up of dimension based upon Targets but aggregation of Amounts from L3 to L2 or L2 to L1 based upon these rollups is not happening.
Please Help.Hi ,
As you mentioned you need such aggregation in SSRS and you are using SSAS datasource.
so you can achieve this using MDX Query.
I have done this in my environment . I took below for achieving this
Dimension : Category
Relationship : There should be Facttable relationship with Dimension table Category.
Measure : Unit Price (in your case sale)
Please find below solution using MDX Query.
Please share if you have any doubt.
Thanks -
Unable to Rollup a request in InfoCube
I am unable to rollup one request in Infocube. I am getting the following error messages in Detail Tab.
InfoCube XXX is locked by a terminated change run
Lock NOT set for :Roll up aggregates
Rollup terminated : Data target XXX from X to Y.
In SM12 I havent found any lock on the Infocube XXX.
Please let me know how can I solve this issue.hi,
please check my replies in your previous postings
UInfoCube XXX is locked by a terminated change run
Rlgmnt Run (Attribute change run) -
RSS Webpart no longer showing in the Content Rollup section
I have created several pages containing the RSS Feed webpart. I have one page that has about 8 of them working just fine. Up until Monday. I went to add another one and couldn't find the webpart. it was just gone. Actually,
there were about 7 or 8 options under rollup, now there are only 5 options. The webparts that I already have do still work, and are pulling the information as expected BUT, I am unable to change any of the major settings of the webpart. Example,
I originally was showing 3 feeds per rssfeed. I decided to change it to 5 feeds per. That option is gone. I can't even see the link for the feed. I don't understand how it's working, or rather not working.
I've checked all the forums and the settings that are supposed to be active are. Now, I did make some minor setting changes, on Monday, but none of them should have made this strange anomaly occur. But - perhaps I'm wrong. Does anyone have
any idea all the settings that could have caused this to happen? I need to get a beta test of the site out to the team by Tuesday so I'm in a bit of a crunch. I appreciate any assistance anyone can give. I just keep thinking its a checkbox
somewhere that all I need to do is select/deselect something. Thank you.
SOLUTION FOUND:
This error occurred because when I was in the Site Administration / SharePoint Admin Center / Settings, there is a section called 'Custom Script'. Because we don't want staff to create their own sites at this time, I chose to 'hide the link',
and then it made sense to me to also Prevent users from running custom scripts on personal sites.
What I didn't do is look at the 'For More Information:.......' listed at the bottom.
When I did, I saw that it not only prevented what I thought was obvious, but also took away a ton of options.
One of them was to remove most of the options listed under content Roll-up. Instead of the fourteen items, I had five.
Once I put the setting back to 'Allow users to run.....', and waited almost 24 hours as noted in the information, they all reappeared. Lessons learned - read the 'for more information...' items when learning a new program.I seem to see that using
* Firefox Button or Tools -> Options -> | Advanced | ->[-Offline Storage-]
*see [[Options window - Advanced panel#w_network-tab]]_network-tab
Possibly something is interfering
* try in Firefox's [[safe mode]]
** do not make changes on the first window, just click on continue
** use the default theme
** it may also help to disable all plugins
Note <br/>
Firefox 5 is no longer supported and not considered secure. It would be recommended you use the current public release which is Firefox 7.0.1
* see [[updating firefox]] -
ALE-Rollup for Profit Center: missing visible document in document flow
Hi guys,
we use ALE-distribution of FI-, CO- and PC-documents. All IDocs are generated in sender system (S) and transmitted correctly to reveicer SAP-system (R). We use PC-rollup functionality in system "S".
If I have a look at the document flow in system "R" I only can see the FI- and CO-document. My PC-document is not available.
Checking the posting in PC everything is good.
What do I have to do to see the PC-document in document flow ?
I appreciate your help.
Regards,
PeterHi
Please check the following settings in IMG
IMG > Controlling > Profit Center Accounting > Basic Settings > Set Controlling Area
Also check Maintain Controlling Area Settings
In OKKP, check whether Profit Center Accoint indicator is On
In ALE Distribution Method,Choose options available No distribution from other system,Centeralised or De-centralized or Local.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/ECPCA/ECPCA_ALE_154.pdf
Regards -
Issue with Update Rollup 5 for Exchange 2010 SP3 - Mailboxes that were auto mapped not working
Below is my response in another thread but creating a new one in the hopes that someone has the same issue and a solution besides mine below.
Ever since we installed Update Rollup 5 for SP3 Exchange 2010 mailboxes that were auto mapped are not accessible. They all get the same error.
Cannot expand the folder. The set of folders cannot be opened. The attempt to log on to the Microsoft Exchange has failed.
What I have been doing is removing the users permission, then adding them back using the noautomap switch in Powershell. After doing that, the user manually adds the mailbox and all is well.
Just a note here, I suspect it may have something to do with the version of Outlook 2010. We are running an older version here. I think only SP1 with no other incremental updates. Office is up to SP2. Also, one of the users I was working with could not access
the mailbox no matter what we tried but she can walk over to another workstation and open Outlook and access the very same mailbox so that pretty much proves its software related particularly with Outlook.
I cannot reproduce the problem on a workstation (XP) with a newer version of Outlook.
This has been wearing me out and I suspected the Update Rollup all long. Now I am confident as others are having the same problem. If you find out anything on how to fix this other than the steps above, let me know.Not sure why it was suggested to use the auto mapping feature to grant permissions because that is the component that is causing the issue. Also, there is nothing wrong with the auto configuration because the user can access their own mailbox just fine and
also select mailboxes in their Outlook that were NOT auto mapped.
With that said, here is how I fixed them all.
Remove the permissions using the Exchange Console. Don't forget Send As
Wait about 15 minutes. The mailbox should disappear from the users Outlook
Open an Exchange PowerShell window and run the following command:
.\add-mailboxpermissionsnoautomap.ps1 -Identity mailbox -User user -AccessRights FullAccess
Have the user add the mailbox to their Outlook using the manual process.
All is well....
If you don't have the PS script add-mailboxpermissionsnoautomap.ps1, you can download it. I stumbled across it a few years ago and use it all the time. If you can't find it, just use the Exchange built in command for adding mailbox folder permissions but
specify automap $false.
The idea here is to grant the user access without auto mapping.
Maybe you are looking for
-
Problem with Adobe Reader running under Parallels Desktop 4.0
If I try to save a file as .PDF under MS-Word 2007 I get the answer that the reader is not installed whether it is insalleld. If i choose install now I get the Information that I can repair or remove the reader. Can anybody help me to fix this proble
-
Faulty hp pavilion g6 hard disk/drive
Sir I Purchased Pavilion g6 notebook on 08 Oct 2012. Particulars are as under :- Model - g6-2102TX, Ser No - 5CD22021X6, Product No - B6U30PA#ACJ, Processor - Intel (R) Core (TM) i3-2370M [email protected], RAM - 2.00 GB, System Type - 64 Bit Operat
-
Hi all, has anyone tried to connect the MDM directly to SAP CRM? I know that the CRM normally gets its master data from an R/3 but lets pretend its a standalone CRM. Data can be sent MDM -> XI -> IDOC, but CRM does not use any MATMAS IDoc. Is the onl
-
One data model - different user-defined layouts
I want to develop a report where the user can change the layout model herself/himself, but can not change the data model. The best would be: Generating a XML-File with Report Runtime and having an XSL-Stylesheet example report for the XML-File. The u
-
Disappearing paths and anchor points
Using a MacBook Pro with Adobe CS3, the anchor points and drawing lines have disappeared from both the outline and art views. The lines are still visible, but none of the anchor points can be seen to edit the lines. How do I make them visible again