Are fix statements in a BR specific to the members selected in the form?
Hi,
I have quite a few business rules. All of my "FIX" statements in the business rules are generic i.e. its fixed based on the attributes. An example is given below
FIX(Inbound,Outbound,@ATTRIBUTE(Transaction_Based),@ATTRIBUTE(Transaction_Based_Queue),@ATTRIBUTE(Transaction_Slab_Based),@ATTRIBUTE(Transaction_Slab_Based_Queue))
My question is, does this fix calculates for all members that have the attribute "Transaction_Based_Queue", does it calculate for all year, all scenarios,all version,all entities,etc.. or it calculates for the members that is selected in the data form?
Regards,
Ragav.
Raghav,
Since you have not FIXED on any particular Year, senario or Version. The script will calculate for all the Years, Scenario and versions. In order to use the values on the webform, do the following steps:
1. Create Global Variables in EAS for Year Scenario and Version.
2. Include the Variable in the FIX Statement FIX([Year], [Scenario], [Version])
3. Attach the Business Rule in the Webform. Change the property of the attached rule to "Pick Value from Dataform" and Hide Prompts.
4. The rule should now pick values from the Data form.
Hope this is helpful.
Similar Messages
-
The Joomla content management system version 1.0.15 provides a content editor which uses pop-up windows to select images and files. When using any of these pop up editor windows since 3.6.9 the URLs selected in the pop-up are not passed back to the main editor window.
Up until FF 3.6.8 there were no problems, but FF 3.6.9 and 3.6.10 both exhibit this same problem, as does FF 4 Beta 6. (Support Question raised on this forum in early September when 2.6.9 was released but no response)Do you have that problem when running in the Firefox SafeMode?
[http://support.mozilla.com/en-US/kb/Safe+Mode]
''Don't select anything right now, just use "Continue in SafeMode."''
If not, see this:
[http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes] -
How is the address selected in the Customer Account Statement (F.27)?
Hi expert,
The customer account statement (transaction F.27) uses the address which is in the customer master data.
This is the customer master data on the company code level (Street, postal code, city).
Is it possible to select the PO address (PO box , postal code, city) in the account statepment?
This data is also available on the company code level.
Thank you for your feedback.
Kind regards,
LindaHi,
Customer Account Statement uses the below program :
SAP13: Customer statement (single statement)
Copy the same and change accorndingly.
Your requirement can be done with the ABAP changes
VVR -
Can you fade in and fade out the same layer in the same page state?
I am simulating a lot of touch interactions, and have a hand object that moves over the simllated screen. I want to add small "taps" under the hands to show touch; I can see how its easy to fade IN an object (say a small circle) that represents the touch; but how do I fade OUT that same object?
Any help appreciated!
RobHey Rob,
I think you can achieve the effect you're looking for by using 'on click' interactions in conjunction with action sequences.
I just made a simple example, here are the steps:
1) Select the component you'd like to react on 'tap'
2) In the Interactions panel, click 'Add Interaction', and select 'play action sequence'
3) The timelines panel should now be given focus, and display the new 'on click' action sequence
4) Select the "circle" you'd like to make the fade in followed by fade out effect. If their opacity is set to 0 at this point, use the layers panel to select them.
5) With the circle selected, in the timelines panel click 'add action', located at the bottom.
6) Select 'fade' from the options available.
7) In the properties panel, define the fade properties (for fade in, obviously set 'from' to be 0, and 'to' to be 100)
8) Repeat steps 5 through 7, but choose from=100 and to=0
9) Arrange the fade in, and fade out events on the timeline to get the timing choreography right.
10) If you haven't done so already, set the opacity of your circles to be 0.
Does this work for you?
Is this what you were looking for?
Let me know if you need clarification on any of the steps.
Thanks for posting, great question!
Tara -
Splitting the huge SELECT statement
Hi Gurus,
I need help in order to split the huge SELECT statement into individual select for each table (AFKO, AFVC)...I don't have to much experience into that, could someone guide me into or provide finished code?
Thanks
OPEN CURSOR WITH HOLD s_cursor FOR
SELECT
t1~mandt AS mandt
t1~aufnr AS aufnr
t1~aufpl AS aufpl
t2~aplzl AS aplzl
t2~banfn AS banfn
t2~bnfpo AS bnfpo
t3~ebeln AS ebeln
t3~ebelp AS ebelp
t4~vgabe AS vgabe
t4~belnr AS belnr
t4~buzei AS buzei
t4~gjahr AS gjahr
t4~zekkn AS zekkn
t4~srvpos AS srvpos
t6~menge AS menge "D02K924592
t3~dmbtr AS dmbtr "D02K924378
t4~cpudt AS cpudt
t4~shkzg AS shkzg
t4~budat AS budat
t3~lifnr AS lifnr
t2~vornr AS vornr_sactv
t7~vornr AS vornr_actv
t2~sumnr AS sumnr
t2~prctr AS prctr
t6~meins AS meins "D02K924592
t3~waers AS waers "D02K924378
t3~sakto AS kstar "D02K924456
t6~packno AS packno "D02K924592
t6~introw AS introw "D02K924592
FROM afko AS t1
INNER JOIN afvc AS t2 ON t2mandt = t1mandt
AND t2aufpl = t1aufpl
INNER JOIN mseg AS t3 ON t3mandt = t2mandt "D02K924373
AND t3aufpl = t2aufpl "D02K924373
AND t3aplzl = t2aplzl "D02K924373
INNER JOIN ekbe AS t4 ON t4mandt = t3mandt
AND t4ebeln = t3ebeln
AND t4ebelp = t3ebelp
AND t4zekkn = t3zekkn "D02K924373
AND t4~vgabe = 1 "D02K924373
AND t4gjahr = t3mjahr "D02K924373
AND t4belnr = t3mblnr "D02K924373
AND t4buzei = t3zeile "D02K924373
INNER JOIN t430 AS t5 ON t5mandt = t2mandt "D02K924489
AND t5~plnaw = '*' "D02K924489
AND t5steus = t2steus "D02K924489
AND t5~service = 'X' "D02K924489
LEFT OUTER JOIN esll AS t6 ON t6mandt = t4mandt "D02K924592
AND t6packno = t4packno "D02K924592
AND t6introw = t4introw "D02K924592
INNER JOIN afvc AS t7 ON t2mandt = t7mandt
AND t2aufpl = t7aufpl
AND t2sumnr = t7aplzl
WHERE t1~mandt = sy-mandt
AND t1~aufnr LIKE '00006%'
AND t1~aufnr IN l_r_aufnr
AND t2~prctr = '0000005080'
AND t2~sumnr '00000000'
AND t4~vgabe = 1
AND t4~cpudt IN l_r_cpudt
AND t2~steus IN l_r_steus "D02K924627
AND t5~steus IN l_r_steus. "D02K924627.
Regardsyou can use for all entries option like this...
" first select data from first table
data: it_table1 type table of afko .
SELECT
t1~mandt
t1~aufnr
t1~aufpl
FROM afko as t1
WHERE t1~mandt = sy-mandt
AND t1~aufnr LIKE '00006%'
AND t1~aufnr IN l_r_aufnr into table it_table1 .
" then we ll select the data from second table using the entries selected from the first table and field conditions for second tabel itself.
data: it_table2 type table of afvc .
select
t2~aplzl
t2~banfn
t2~bnfpo
t2~vornr
t2~sumnr
t2~prctr
from afvc as t2 into table it_table2
for all entries in it_table1
where it_table1-mandt = t2~mandt
and it_table1-aufpl = t2~aufpl
and t2~prctr = '0000005080'
AND t2~sumnr '00000000'
AND t2~steus IN l_r_steus "D02K924627 .
" then we ll select the data from third table using the entries selected from the first and second table and field conditions for second tabel itself.
data: it_table3 type table of mseg .
select
t3~ebeln AS ebeln
t3~ebelp AS ebelp
t3~dmbtr AS dmbtr "D02K924378
t3~lifnr AS lifnr
t3~waers AS waers "D02K924378
t3~sakto AS kstar "D02K924456
from mseg AS t3
for all entries in it_table2
where it_table2-mandt = t3~mandt
and it_table2-aufpl = t3~aufpl
and it_table2-aplzl = t3~aplzl .
like wise u can do for all the tables you have...
Edited by: prashanti korlepara on Jun 16, 2011 3:41 PM -
I recently downloaded a 10.6.8 update and a game program has now been reduced in size. It's specifications are set for full screen, but it is about 1/4 of the size. Any ideas how to fix?
Hi, I have got the same problem but all is 1/4 the size have you fixed it?
-
Problem with FIX-Statement in Business Rule
Hello,
ich have a business rule with two nested FIX-Statements.
I calculate depending on the month in the runtime-prompt a forecast for this month. After that i fix on that month an clear some specific accounts. But some of these accounts still have data.
they are in the cleardata section and they are children of FiBuKonten from the first fix. When i leave out the @CHILDREN("FiBuKonten") in the first fix the accounts are cleared as excepted, but i need that fix because not all accounts are part of this forecast.
I changed everything to work as a calc-script and the same problem appears, on dev and prod database.
Why are some accounts cleared while others not ? Really misterious!
Here is the rule
FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M",@CHILDREN("FiBuKonten"))
[TEBIT_RTP_Period](
IF(@ISMBR("Jan"))
Actual_kum = Budget_kum;
ELSEIF(@ISMBR("Feb"))
Actual_kum = Budget_kum;
ELSEIF(@ISMBR("Apr"))
Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
ELSEIF(@ISMBR("May"))
Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
ELSEIF(@ISMBR("Jul"))
Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
ELSEIF(@ISMBR("Aug"))
Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
ELSEIF(@ISMBR("Oct"))
Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
ELSEIF(@ISMBR("Nov"))
Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
ENDIF;)
FIX([TEBIT_RTP_Period])
CLEARDATA "41000000";
CLEARDATA "41100000";
CLEARDATA "41200000";
CLEARDATA "41990000";
CLEARDATA "41000900";
CLEARDATA "41096000";
CLEARDATA "41196000";
CLEARDATA "41296000";
CLEARDATA "41940000";
CLEARDATA "42000000";
CLEARDATA "42100000";
CLEARDATA "42200000";
CLEARDATA "42099000";
CLEARDATA "42199000";
CLEARDATA "42299000";
CLEARDATA "42990000";
CLEARDATA "41918000";
CLEARDATA "41100900";
CLEARDATA "42091000";
CLEARDATA "42918000";
CLEARDATA "54000000";
CLEARDATA "54009000";
CLEARDATA "54009900";
CLEARDATA "54009600";
CLEARDATA "54130200";
CLEARDATA "93541175";
CLEARDATA "54001000";
CLEARDATA "54001900";
CLEARDATA "54014000";
CLEARDATA "54019000";
CLEARDATA "54021000";
CLEARDATA "54021900";
ENDFIX
ENDFIX
Thx for your help.
Greets
KevinDoes it make a difference when a dimension has dynamic calc members and i dont fix on that dimension to fix on the Level 0 members of that dimension ? The result should be the same in my eyes.
SGF is dense. I found out that everytime i the fix includes that first member M_124100 the error occoured.
I changed the rule in the form that i split the FIX Statement. And now it works without the error and with all data cleared. Even when i don`t reorder the dimension SGF.
Again thanks for your help.
Greets
Kevin
FIX([TEBIT_RTP_Year],[TEBIT_RTP_Version],"IFRS operativ",[TEBIT_RTP_Entity],"Daten brutto","Daten_brutto_P_M")
FIX(@CHILDREN("FiBuKonten"))
[TEBIT_RTP_Period](
IF(@ISMBR("Jan"))
Actual_kum = Budget_kum;
ELSEIF(@ISMBR("Feb"))
Actual_kum = Budget_kum;
ELSEIF(@ISMBR("Apr"))
Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Mar)/9 + Actual_kum->Mar,2);
ELSEIF(@ISMBR("May"))
Actual_kum = @ROUND(("1HR"->Dec - Actual_kum->Apr)/8 + Actual_kum->Apr,2);
ELSEIF(@ISMBR("Jul"))
Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jun)/6 + Actual_kum->Jun,2);
ELSEIF(@ISMBR("Aug"))
Actual_kum = @ROUND(("2HR"->Dec - Actual_kum->Jul)/5 + Actual_kum->Jul,2);
ELSEIF(@ISMBR("Oct"))
Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Sep)/3 + Actual_kum->Sep,2);
ELSEIF(@ISMBR("Nov"))
Actual_kum = @ROUND(("3HR"->Dec - Actual_kum->Oct)/2 + Actual_kum->Oct,2);
ENDIF;)
ENDFIX
FIX([TEBIT_RTP_Period])
CLEARDATA "41000000";
CLEARDATA "41100000";
CLEARDATA "41200000";
CLEARDATA "41990000";
CLEARDATA "41000900";
CLEARDATA "41096000";
CLEARDATA "41196000";
CLEARDATA "41296000";
CLEARDATA "41940000";
CLEARDATA "42000000";
CLEARDATA "42100000";
CLEARDATA "42200000";
CLEARDATA "42099000";
CLEARDATA "42199000";
CLEARDATA "42299000";
CLEARDATA "42990000";
CLEARDATA "41918000";
CLEARDATA "41100900";
CLEARDATA "42091000";
CLEARDATA "42918000";
CLEARDATA "54000000";
CLEARDATA "54009000";
CLEARDATA "54009900";
CLEARDATA "54009600";
CLEARDATA "54130200";
CLEARDATA "93541175";
CLEARDATA "54001000";
CLEARDATA "54001900";
CLEARDATA "54014000";
CLEARDATA "54019000";
CLEARDATA "54021000";
CLEARDATA "54021900";
ENDFIX
ENDFIX -
I have been looking at my code for hours now and cant figure out what is wrong. The error has kept popping up even when i thought i had fixed everything. maybe a second set of eyes could help me out here. If you could help me out it would be much appreciated.
USE [ConorsSetKits]
GO
CREATE TABLE Customers (
CustomerID Int NOT NULL IDENTITY(1000,1),
LastName NChar(30) NOT NULL,
FirstName NChar(30) NOT NULL,
Address NChar(50) NOT NULL,
City NChar(30) NOT NULL,
State NChar(2) NOT NULL,
Zip Numeric(5) NOT NULL,
Email NVarChar(50) NOT NULL,
DateOfBirth Numeric (4) NOT NULL,
CONSTRAINT CustomersPK PRIMARY KEY(CustomerID),
CONSTRAINT ValidZip
CHECK ( [Zip] LIKE '[0-9][0-9][0-9][0-9][0-9]' ),
CONSTRAINT ValidState
CHECK( LEN([State]) = 2),
CONSTRAINT DateOfBirth
CHECK ([DateOfBirth] BETWEEN '1920-01-01' AND getdate() - 5844));
CREATE TABLE Sets (
SetID Int NOT NULL IDENTITY(1000,1) Primary Key,
SetName NChar(20) NOT NULL,
SetType NChar (20) NOT NULL,
Price Numeric (20) NOT NULL,
Quantity Numeric (50) NOT NULL,
CONSTRAINT SetTypeCheck
CHECK (SetType IN ('Planes','Tanks','Robots','Cars','Helicopters','Boats','Trains','Motorcycles','Jets')),
CONSTRAINT ValidQuantity
CHECK (Quantity >= 0)
CREATE TABLE Orders (
OrderID Int NOT NULL IDENTITY(1000,1),
CustomerID Int NOT NULL,
OrderDate Date NOT NULL,
CONSTRAINT CAIntPK PRIMARY KEY(OrderID, CustomerID),
SET IDENTITY_INSERT dbo.CUSTOMER OFF
SET IDENTITY_INSERT dbo.Sets OFF
SET IDENTITY_INSERT dbo.Orders OFF
SET IDENTITY_INSERT dbo.CUSTOMER ON
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1000, 'Janes', 'Jeffrey', '123 W. Elm St', 'Renton', 'WA', '98055',
'[email protected]',1985);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1001, 'Smith', 'David', '813 Tumbleweed Lane', 'Loveland', 'CO', '81201',
'[email protected]',1992);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1015, 'Twilight', 'Tiffany', '88 1st Avenue', 'Langley', 'WA', '98260',
'[email protected]',1972);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1033, 'Smathers', 'Fred', '10899 88th Ave', 'Bainbridge Island', 'WA', '98110',
'[email protected]',1980);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1034, 'Frederickson', 'Mary Beth', '25 South Lafayette', 'Denver', 'CO', '80201',
'[email protected]',1970);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1036, 'Warning', 'Selma', '205 Burnaby', 'Vancouver', 'BC', '80201',
'[email protected]',1981);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1037, 'Wu', 'Susan', '105 Locust Ave', 'Atlanta', 'GA', '30322',
'404', '653-3465', '[email protected]',1971);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1040, 'Gray', 'Donald','55 Bodega Ave', 'Bodega Bay', 'CA', '94923',
'[email protected]',1985);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1041, 'Johnson', 'Lynda', '117 C Street', 'Washington', 'DC', '20003',
'[email protected]',1969);
INSERT INTO Customers
(CustomerID, LastName, FirstName, Address, City, State, Zip,
Email, DateOfBirth)
VALUES (
1051, 'Wilkens', 'Chris', '87 Highland Drive', 'Olympia', 'WA', '98508',
'[email protected]',1994);
SET IDENTITY_INSERT dbo.CUSTOMER OFF
SET IDENTITY_INSERT dbo.Sets ON
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1000, 'MysterySet1','Planes',$29.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1001, 'MysterySet2','Planes',$19.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1002, 'MysterySet4','Tanks',$39.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1003, 'MysterySet3','Robots',$19.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1004, 'MysterySet5','Cars',$29.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1005, 'MysterySet6','Boats',$29.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1006, 'MysterySet7','Trains',$39.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1007, 'MysterySet8','Motorcycles',$9.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1008, 'MysterySet9','Helicopters',$29.99,10);
INSERT INTO Sets
(SetID, SetName, SetType, Price, Quanity)
VALUES (
1009, 'MysterySet10','Jets',$29.99,10);
SET IDENTITY_INSERT dbo.Sets OFF
SET IDENTITY_INSERT dbo.Orders ON
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1000, '2012-12-12');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1000, '2013-12-30');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1005, '2013-08-30');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1004, '2013-12-30');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1004, '2013-08-31');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1004, '2014-03-25');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1002, '2012-11-14');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1001, '2012-11-14');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1001, '2013-01-05');
INSERT INTO Orders
(OrderID, OrderDate)
VALUES
(1006, '2012-06-22');
SET IDENTITY_INSERT dbo.Orders OFFPrice Numeric (20) NOT NULL,
I do not think you understand this datatype? Go look at the values you are attempting to insert into this column. For example, "$29.99". After the insert, what value is actually stored in that column?
DateOfBirth Numeric (4) NOT NULL,
No. Just No. Either change the column name to faithfully represent what values you intend to store (and apply the appropriate constraints) or change the datatype and the values that you intend to store to match the column name. And the constraint
that you do have:
CONSTRAINT DateOfBirth
CHECK ([DateOfBirth] BETWEEN '1920-01-01' AND getdate() - 5844));
is both logically suspect and syntactically wrong. First, the upper boundary will be computed as 1999-04-29 15:50:21.670. But, of course, your column is a whole number of no more than 4 digits. The same issue applies to your lower boundary.
A simple select statement will show you those errors
select cast('1920-01-01' as numeric(4)), getdate() - 5844, cast(getdate() - 5844 as numeric(4));
An insert statement fails with the same error. Because, of course, your boundary values must actually be converted to numeric(4) in order to compare them against the value contained in the column. Generally, you can convert from
string to numeric - IF the content of the string actually contains a value that is numeric and can be converted into the specific type needed. Not so in this case. Is this 16 year period (5844 days) significant for some reason? You should
document it here in your DDL with a comment, because it is unlikely to be documented (and kept current) anywhere else.
And lastly, your script has:
SET IDENTITY_INSERT dbo.CUSTOMER OFF
That is not the name of your table, and therefore that statement also fails. The table name you used is plural. -
FIX STATEMENT AND LARGE SPARSE DIMENSIONS
Hello all,
We have the following Essbase BSO db;
Account (Dense) (285 Members) (Aggregating Dimension)
Period (Dense) (65 Members) (Aggregating Dimension)
D1 (Sparse) (3700 Members)
(Aggregating Dimension)
D2 (Sparse) (8900 Members)
(Aggregating Dimension)
D3 (Sparse) (15000 Members)
(Aggregating Dimension)
Version (Sparse) (3 Members) (NON-Aggregating Dimension)
Scenario (Sparse) (5 Members) (NON-Aggregating Dimension)
Year (Sparse) (3 Members) (NON-Aggregating Dimension)
Currency (Sparse) (11 Members) (NON-Aggregating Dimension)
D4 (Sparse) (20 Members) (NON-Aggregating Dimension)
Block Size = ~150KM
Index Cache = 4GB
Data Cache = 8GB
CPUs = 8
MEMORY FREE = 26GB
NOTE:
We are executing the database with data loaded for "JUST" 10 BLOCKS,
SO
VERY VERY SMALL VOLUME OF DATA!!!
We have come across a rather irritating and strange issue while executing
the following calc;
CASE 1: With LEVEL-0 OF RELEVANT
SPARSE DIMENSIONS IN FIX STATEMENT
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET MSG ERROR;
SET CACHE HIGH;
SET UPDATECALC OFF;
SET LOCKBLOCK HIGH;
SET AGGMISSG OFF;
SET CALCPARALLEL 4;
SET CREATENONMISSINGBLK OFF;
FIX(ACTUAL,"2013",@LEVMBRS(D1,0),@LEVMBRS(D2,0),@LEVMBRS(D3,0),@LEVMBRS(D4,0),
@RELATIVE("EBITDA",0))
DATACOPY ARS->CURRENCY_VERSION TO ARS->WORKING;
DATACOPY CAD->CURRENCY_VERSION TO CAD->WORKING;
DATACOPY CHF->CURRENCY_VERSION TO CHF->WORKING;
DATACOPY COP->CURRENCY_VERSION TO COP->WORKING;
DATACOPY EUR->CURRENCY_VERSION TO EUR->WORKING;
DATACOPY GBP->CURRENCY_VERSION TO GBP->WORKING;
DATACOPY MXN->CURRENCY_VERSION TO MXN->WORKING;
DATACOPY CNY->CURRENCY_VERSION TO CNY->WORKING;
ENDFIX
$$$$$$NOTE1: The above FIX STATEMENT
works just fine and executes in 1 sec as its just a DATACOPY. ESSENTIALLY I
HAVE CREATED THE BLOCKS I WANT TO PERFORM THE BELOW SPARSE CALCULATION$$$$$$
FIX(ACTUAL,"2013",@LEVMBRS(D1,0),@LEVMBRS(D2,0),@LEVMBRS(D3,0),@LEVMBRS(D4,0),
@RELATIVE("EBITDA",0))
ARS = ARS->CURRENCY_VERSION *
"ARS_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
CAD = ARS->CURRENCY_VERSION *
"CAD_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
CHF = ARS->CURRENCY_VERSION *
"CHF_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
COP = ARS->CURRENCY_VERSION *
"COP_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
EUR = ARS->CURRENCY_VERSION *
"EUR_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
GBP = ARS->CURRENCY_VERSION *
"COP_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
MXN = ARS->CURRENCY_VERSION *
"MXN_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
CNY = ARS->CURRENCY_VERSION *
"CNY_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
ENDFIX
$$$$$$NOTE2: The above FIX STATEMENT
is where we have a problem, THE CALC JUST HANGS AND DOES NOT CALCULATE$$$$$$
CASE 2: With “specific” members of
RELEVANT SPARSE DIMENSIONS IN FIX STATEMENT
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET MSG ERROR;
SET CACHE HIGH;
SET UPDATECALC OFF;
SET LOCKBLOCK HIGH;
SET AGGMISSG OFF;
SET CALCPARALLEL 4;
SET CREATENONMISSINGBLK OFF;
FIX(ACTUAL,"2013",W1,"2251026",MORSCREJWHITE,MORSCREJWHITE_S,KG,TRADESALES)
DATACOPY ARS->CURRENCY_VERSION TO ARS->WORKING;
DATACOPY CAD->CURRENCY_VERSION TO CAD->WORKING;
DATACOPY CHF->CURRENCY_VERSION TO CHF->WORKING;
DATACOPY COP->CURRENCY_VERSION TO COP->WORKING;
DATACOPY EUR->CURRENCY_VERSION TO EUR->WORKING;
DATACOPY GBP->CURRENCY_VERSION TO GBP->WORKING;
DATACOPY MXN->CURRENCY_VERSION TO MXN->WORKING;
DATACOPY CNY->CURRENCY_VERSION TO CNY->WORKING;
ENDFIX
$$$$$$NOTE3: The above FIX STATEMENT
works just fine and executes in 1 sec as its just a DATACOPY. ESSENTIALLY I
HAVE CREATED THE BLOCKS I WANT TO PERFORM THE BELOW SPARSE CALCULATION$$$$$$
FIX(ACTUAL,"2013","2251026",MORSCREJWHITE,MORSCREJWHITE_S,KG,WORKING)
ARS = ARS->CURRENCY_VERSION *
"ARS_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
CAD = CAD->CURRENCY_VERSION *
"CAD_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
CHF = CHF->CURRENCY_VERSION *
"CHF_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
COP = COP->CURRENCY_VERSION *
"COP_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
EUR = EUR->CURRENCY_VERSION *
"EUR_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
GBP = GBP->CURRENCY_VERSION *
"GBP_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
MXN = MXN->CURRENCY_VERSION * "MXN_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
CNY = CNY->CURRENCY_VERSION *
"CNY_RATE"->"NO_CURRENCY"->"C_NONE"->"L_NONE"->"S_NONE"->"U_NONE"->WORKING;
ENDFIX
$$$$$$NOTE4: The above FIX
STATEMENT works just fine, as I am fixing on just ONE member from relevant
dimensions in the FIX STATEMENT$$$$$$
Please note the only difference between NOTE 2
and NOTE 4 is the FIX statements. I.e., Fixing all required lev-0 members from
required dimensions as opposed to Fixing on just single lev-0 members from
required dimensions.
Also please note that NOTE 1 FIX statement works
just fine! So, there is no problem with the FIX statement itself but rather
with the combination of Sparse Calculations and with Fixing all LEV-0 members
from required dimension in the FIX. Probably because the Sparse dimensions are
VERY LARGE.
Could anyone shed some light on what might be wrong here?
We are on Essbase standalone V11.1.2.
Your inputs are very much appreciated!
ThanksHi,
One minor thing I notice - your NOTE 2 problem script does not fix on your Working version, whereas the NOTE 4 script does.
With your small number of blocks, this should not be the problem, but it's probably worth quickly testing and eliminating before delving deeper.
Your script could be invoking member formulae from the Account dimension - does your outline validate ok..?
I cannot tell from your NOTE 4 script which member relates to the Account dimension - is it 2251026?
Whichever it is, it is worth expanding NOTE 4 script up to @RELATIVE("EBITDA",0)....
- if it runs, you know the problem is with your sparse member selections (ie number of blocks being calculated).
- If it doesn't run, then you know there is a problem in calculating one or more of the Accounts under EBITDA. In which case, gradually narrow the range of Accounts to locate the Account or Accounts that trigger the issue. Chances are there's a problem with the member formula -
How to exclude specified members in a FIX statement used for dataclear?
Hello,
I am not a specialist in writing rules, scripts or formulas.
I want to clear the essbase data base regarding certain entities (for example 0021_LE). This shown Fix statement works.
But what is the best and most effective (performant) way to exclude certain account members (specific accounts) from the flow command CLEARDATA?
/* Fix auf Entities */
FIX ("0021_LE", "0021_DIS")
CLEARDATA "Dec"
/* Ende Fix auf Entities */
Would be glad if somebody would give me any suggestion?
Thanx
AENAssuming all the parent level members in the account dimension is dynamic calc.
Tag all the members to be excluded with uda (say excl) and you can write a script as below.
FIX ("0021_LE", "0021_DIS")
FIX(@remove(@levmbrs("Account", 0), @uda("Account", excl)))
CLEARDATA "Dec"
ENDFIX
ENDFIX
If you dont like to tag the uda and assuming "Account1", "Account2", "Account3", "Account4" are to be excluded from the clearing.
you can write a script as below.
FIX ("0021_LE", "0021_DIS")
FIX(@remove(@levmbrs("Account", 0), @list("Account1", "Account2", "Account3", "Account4")))
CLEARDATA "Dec"
ENDFIX
ENDFIX -
Create a daily report that shows IIS App Pool and Site States/Health at a specific time.
Hi All,
I need to create a report that will be sent out by 6AM everyday to a DG. The report needs to show the Health / State of selected Application Pools, Sites, and Windows services running on ~20 production servers. The servers show up
in SCOM just fine. ('Application Pool State', 'Web Site State', etc.) I can see what I need in the Monitoring view, but did not find a way to create the report I need in Reporting or Authoring.
I've looked through the documentation and the forums and have not found what I need...at least I don't think so. I just did not see how I can capture the Health/State at a specific time for the selected Objects and send out
the results.
Seems like this would be a common request. Basically, we just need to know that our web applications are running before the start or business, without manually logging in to each server and typing a report.
I've scripted some of what we need with WMI/PowerShell, and piped out to an email. The problem is that several of our servers our locked down or don't have the appropriate components installed to work with remote scripting. (don't ask...life in a
big corporation!)
Since we have SCOM installed throughout the network, I am hoping it will get us the info we need. Any help or ideas would be very appreciated!
Thanks in advance!!!
~ noobHello Zrider,
Well, first of you need to make sure you have the Reporting feature installed on SCOM.
http://technet.microsoft.com/en-us/library/hh298611.aspx
Next, try navigating to the Reporting node, then go to the Microsoft Generic Library report folder and open the Health report.
Now, select Object.
Click Options in order to select the required Classes. Type 'Application Pool' for example. Select the version you want and click OK.
Now, click Search. Select the instances you want.
Go back to Options and type and select the class 'Web Site'. Apply the filter then Search. Repeat the process for any other class/instance you want then click ok.
Run the report. If the information displayed is the one you want, go to the top left area, click File, Schedule.
Done.
This is one way. You've mentioned using powershell with wmi but probably you are using PS remoting to the targets and of course not all hosts are enabled for remoting, or some might run Windows Server 2003 withouth powershell installed.
An alternative would be to run a PS script against the SCOM server and send the reports via email. This works even if you don't have the SCOM Reporting role installed!
You could do something like:
Import-Module OperationsManager
$WebSiteClass = Get-SCOMClass -DisplayName "Web Site"
$IISAppPoolClass = Get-SCOMClass -DisplayName "IIS Application Pool"
$WebSites = Get-SCOMClassInstance -Class $WebSiteClass
$IISApps = Get-SCOMClassInstance -Class $IISAppPoolClass
$WebSites | select IsAvailable, HealthState, Path, DisplayName
$IISApps | select IsAvailable, HealthState, Path, DisplayName
That will get you the basic info you need to setup an array and send them through email.
I hope that helps.
http://mariusene.wordpress.com/ -
Well, I believe I have finally successfully installed Boot Camp 2.1 for Windows Vista 32-bit on a MacBook Pro. After trying last Friday to install it, failing miserably, and a weekend spent reinstalling operating systems, etc. I feel a bit better. Although, these problems shouldn't have to happen to begin with, in my opinion.
I have learned to backup even more religiously than I have before -- you don't know how many restore points, complete PC backups, etc. I have done over the past few days.
Anyway, here are some stats that I would like to compare with other folks to make sure that I have everything that this update was supposed to offer. I wish Apple would provide the details about the update, but they don't. Here are my statistics, many probably Windows Vista 32-bit specific.
_Miscellaneous Notes_
I have a MacBook Pro 2.2 GHz, 15", 4 GB RAM -- I bought it in June 2007 (I forget what the chipset is - Santa Rosa? - but it was a new model then)
I have Vista Ultimate 32-bit
I had Vista SP1 installed before installing the BC 2.1 update
I did not have any other language packs installed
If I right click on the Boot Camp icon in the taskbar and say "About", the version I see is Version 2.1 (Build 210A12)
Drivers
Apple Built-In Bluetooth: 4/6/2008, version 2.1.0.1
NVIDIA GeForce 8600M GT: 1/24/2008, version 7.15.11.6763
Apple Keyboard: 3/10/2008, version 2.1.0.0 (I had two of these listed)
Apple Trackpad: 8/28/2007, version 2.0.1.4
Apple IR Receiver: 11/1/2007, version 2.0.1.1
Built-in iSight: 6/21/2006, version 6.0.6001.18000
Apple Trackpad Enabler: 8/28/2007, version 2.0.1.4
Atheros AR5008X Wireless Network Adapter: 4/15/2007, version 7.2.0.204 (there may be an update to this that I haven't installed yet)
Marvell Yukon 88E8058 PCI-E Gigabit Ethernet Controller: 3/23/2007, version 10.12.7.3 (there may be an update to this that I haven't installed yet)
Realtek High Definition Audio: 11/14/2007, version: 6.0.1.5512 (Note: This was disabled after the install of BC 2.1. I had to reenable it in the device manager. I think maybe my virus scanning program might have done something, but I am not sure)
Note: I had 3 monitors listed in my Device manager, but I only have two -- the laptop monitor and an external monitor connected to it. That is weird, I think.
_Windows Experience Index_
Processor: 5.1
Memory (RAM): 4.8
Graphics: 5.9 (This might have went up with the new driver, I don't remember)
Gaming Graphics: 5.4
Primary Hard Disk: 4.6
Base Score: 4.6 (because of hard drive)
_Final Words_
This wasn't a smooth update at all by any means.
I hope this helps a little. Please let me know if you have the same sort of statistics.
Thanks.
Message was edited by: jmFightSpam
Message was edited by: jmFightSpam
Message was edited by: jmFightSpamIn my quest to figure out why my keyboard backlighting is not working, I decided to extract the BC 2.1 installer using 7-zip to see all of the individual drivers separately. Now, I don't know which driver is for the keyboard backlight, but I did try to install the TrackPad separately, and guess what, the original installation did not update the trackpad driver for some reason.
So now the the stats for the Apple Trackpad are:
10/9/2007, version 2.0.1.5 -
Doubt in FIX statement..
Hi Friends,
Why do we have square brackets for some members in the FIX statement, like in example below..
FIX(&CurrentProjMonth:"Dec","CURRENT",[LE],[Product],...
Thanks,
Raju..
Edited by: 988835 on Feb 18, 2013 10:14 PMHi,
Square brackets in business rule symbolizes those are Run Time Prompts and are global variables.
Hope this helps.
Regards
-SM -
Using variables in a fix statement
I am using a nested fix statement on a dense member and would like to use variables to represent certain intersections. Since the variables need to be within a calc member bloc, where do I place them? Do they go inside the fix statement witht the parenthesis just around teh variables or the last parenthesis at the end of the fix statement?
If you mean substitution variables, they are defined outside the calc script at a dp, app, or server level. They simply substitute their textual value at the place they appear in the script. If the substitution results in a valid calc script where it occurs, then you are fine. So FIX ( &subvar ) could be valid.If you mean temporary variables, they hold intermediate calculational values. The docs say "VAR commands can only be assigned values within a member calculation or when VAR is declared. " That is, you may either say 'VAR tempvar = 1000; ' [declare and set value] or 'VAR tempvar;' [declare only, often at the start of your script] then somewhere in the script 'tempvar = expression;' [value gets assigned]. This last expression would not appear within the parentheses of a FIX ( members ) statement, but somewhere within the FIX block. You would never say FIX ( tempvar ) as it is not an outline member.
-
hi, my firefox and safari are both having difficulty loading certain parts of web pages. previous to this my firefox would freeze and state that a script was not responding. i would stop the script and reload the page and everything would be fine. now though the pages just load very very slowly or load leaving out certain pictures and video content. i've tried clearing my cache's and cookies, resetting my browser etc, but it seems like its a system issue as both safari and firefox are having issues. i've run Avast to screen for malware and it came up empty. any suggestions?
10.4.8's been a pain for Networking... not sure of all the reasons though, or whether all the complaints might not be MS working around Bugs/Non-compliance, but at this point I think you should get Applejack...
http://www.versiontracker.com/dyn/moreinfo/macosx/19596
After installing, boot holding down CMD+s, then when the prompt shows, type in...
applejack AUTO
Then let it do all 5 of it's things.
Fixes a lot of problems, and besides, if your Mac ever gets to the point it won't Boot... this is a life saver!
After you run that... let's see where we are.
BTW, several ISPs seem to have trouble with their DNS Servers lately, might try these insead...
208.67.222.222
208.67.220.220
Maybe you are looking for
-
Datetime field overflow / String data right truncation
Hi All, Getting the follwing erros while working with timestamp for selecting from or inserting data into DB2 through WebSphere 6.1. I am passing values like this: 2006-05-02-21.57.26.744341. The queries run fine while executing through some SQL Fron
-
Please help me I don't know much about PLSQL FUNCTION I am getting fallowing error while compiling the function ine # = 3 Column # = 8 Error Text = PLS-00201: identifier 'MYVARCHARTABLE' must be declared where to declere and how to declere the MYVARC
-
Datasource 0SEM_BCS_10
Hello, has anyone experience with the datasource 0SEM_BCS_10? This is especially created based on table FAGLFLEXT and serves to load financial data into BW as basis for consolidation (SEM-BCS). The strange thing is that the values (TSL, KSL, OSL) a
-
Office 365 Outlook prompts for password whenever outlook is restarted.
Hello Folks, We have recently deployed Office 365 (We had Kerio email system previously, But we did not do a migration). The problem is Office 365 Outlook prompts for password whenever outlook is restarted Tried the following workarounds, 1) Logon
-
Why I can only set Chinese fonts in some English books?
I dragged some English epub books into iBooks which are not from the iBookstore. But when I read them. I found that there are only Chinese fonts available in some of the books. Where are the English fonts?! There are a couple of sentences to introduc