How to use CALC ALL EXCEPT...
I have some statistics that I don't want aggregated by product. The DBAG says you can do a CALC ALL EXCEPT command but the syntax is not explained very well. I need something like:CALC ALL EXCEPT the member statistics for the dimension All_ProductsI have been doing a calc script to CALC ALL and then to clear out all the parents for ALL_Products for the affected accounts, but it takes a long time.Any suggestions?? Thanks! - Debbie
Depending on your outline it is many times more efficient (time wise)to do a fix ont the members you want (or use a remove list for members you don't want) and do a calc dim of the dimensions that do not have dynamic calc upper level members. also exclude dimensions that don't roll up like scenario. The best use of the Except is when you want to exclude a complete dimensionlike clac all except dim(time);Glenn S.Narratus Solutions
Similar Messages
-
How to use for all entires clause while fetching data from archived tables
How to use for all entires clause while fetching data from archived tables using the FM
/PBS/SELECT_INTO_TABLE' .
I need to fetch data from an Archived table for all the entries in an internal table.
Kindly provide some inputs for the same.
thanks n Regards
RameshHi Ramesh,
I have a query regarding accessing archived data through PBS.
I have archived SAP FI data ( Object FI_DOCUMNT) using SAP standard process through TCODE : SARA.
Now please tell me can I acees this archived data through the PBS add on FM : '/PBS/SELECT_INTO_TABLE'.
Do I need to do something else to access data archived through SAP standard process ot not ? If yes, then please tell me as I am not able to get the data using the above FM.
The call to the above FM is as follows :
CALL FUNCTION '/PBS/SELECT_INTO_TABLE'
EXPORTING
archiv = 'CFI'
OPTION = ''
tabname = 'BKPF'
SCHL1_NAME = 'BELNR'
SCHL1_VON = belnr-low
SCHL1_BIS = belnr-low
SCHL2_NAME = 'GJAHR'
SCHL2_VON = GJAHR-LOW
SCHL2_BIS = GJAHR-LOW
SCHL3_NAME = 'BUKRS'
SCHL3_VON = bukrs-low
SCHL3_BIS = bukrs-low
SCHL4_NAME =
SCHL4_VON =
SCHL4_BIS =
CLR_ITAB = 'X'
MAX_ZAHL =
tables
i_tabelle = t_bkpf
SCHL1_IN =
SCHL2_IN =
SCHL3_IN =
SCHL4_IN =
EXCEPTIONS
EOF = 1
OTHERS = 2
OTHERS = 3
It gives me the following error :
Index for table not supported ! BKPF BELNR.
Please help ASAP.
Thnaks and Regards
Gurpreet Singh -
Were using v6.2 and having problems with CALC ALL EXCEPT when combining it with member set functions. If I specify a single member it works fine.CALC ALL EXCEPT MBR("TOTAL OCCUPANCY EXPENSE");But if I specify the descendents, it calculates all dimensions. CALC ALL EXCEPT MBR(@IDESCENDANTS ("TOTAL OCCUPANCY EXPENSE",0)); Looking through the manual, it indicates that it works with member set functions, but I cant seem to get it to work.Maybe Im reading it wrong. But has anybody else had similar problems or got it to work?Thanks in advance.Rod
Hi,Are you using the right function @IDESCENDIANTS? Maybe you would like to use @DESCENDIANTS function, please check.Hope this helps,Grofaty
-
Is there an issue with the CALC ALL EXCEPT MBR command with certain members?I load data to members tagged with a UDA as "Direct Load" which should not be consolidated. The member that is being consolidated has an alias of "SSS" (it is in the accounts dimension and 0 level). I need to load data for each quarter in a year as well as the year itself. But when the calc script runs it overwrites the year member. I have tried the following but they do not work:CALC ALL EXCEPT MBR("SSS"); Result: SSS is still consolidated across the time dimension.CALC ALL EXCEPT MBR(@UDA("Accounts","Direct Load")); Result: Error message: "Invalid Calc Script syntax [CALC ALL EXCEPT MBR(@UDA]"Any ideas? We have Essbase Version 5.0.2 Patch 14. What else can be done to keep my direct loads from adding up across time?
The EXCEPT MBR command excludes any Headcount calculations. It does NOT exclude other calculations such as dimension consolidation.If your Headcount member has a formula, Essbase will not calculate the formula. But it will take the existing values and consolidate them across the other dimensions.You probably have a situation where you do NOT have a formula on Headcount. If that is the case, then you want a calc script similar to this one:calc dim (XYZ);fix (@remove (@idescendants (XYZ), Headcount))calc all except dim (XYZ);endfixWhere XYZ is the dimension that contains the Headcount member.
-
How do i record all exception in log file?
Hi,
how can i record my all exceptions in a log file? So it is easy for me......thnx.By using the jdk1.4 Logger class in the java.util.logging package (or an external product like Log4J if you're using jdk1.3 and lower), and putting the log statements in your catch blocks to record the exceptions thrown?
-
How would a calc all script look like for this outline
I understand that
When you perform a default calculation (CALC ALL) on a database, Essbase calculates the dimensions in this order:
If both a dimension tagged as accounts and a dimension tagged as time exist, and if formulas are applied to members on the accounts dimension, Essbase calculates in this order:
Dimension tagged as accounts
Dimension tagged as time
Other dense dimensions (in the order in which they are displayed in the database outline)
Other sparse dimensions (in the order in which they are displayed in the database outline)
Otherwise, Essbase calculates in this order:
Dense dimensions (in the order in which they are displayed in the database outline)
Sparse dimensions (in the order in which they are displayed in the database outline)
but what would the calc srcipt look like for the below outline
Dense 1 = 1822 (Accounts)
Dense 2 = 32 (Periods)(Time)
Sparse 1 = 12
Sparse 2 = 10
Sparse 3 = 17
Sparse 4 = 21
Sparse 5 = 22
Sparse 6 = 7
Sparse 7 = 79
Sparse 8 = 761
Sparse 9 = 1081
Sparse 10 = 12140
Thanks in advances
Edited by: Next Level on May 18, 2012 1:43 AMNo need to get excited, especially as you have already answered the question.
As you wrote:
If both a dimension tagged as accounts and a dimension tagged as time exist, and if formulas are applied to members on the accounts >>dimension, Essbase calculates in this order:
Dimension tagged as accounts
Dimension tagged as time
Other dense dimensions (in the order in which they are displayed in the database outline)
Other sparse dimensions (in the order in which they are displayed in the database outline)So Essbase will calculate, in listed order, the following dimensions:
Accounts
Period
Years
Subledger
Company
Region
Division
Ledger
MfgCenter
Business Center
SubLedger
As I and others have written, doing a CALC ALL on the above is not a great idea for a variety of reasons and I personally think this could likely be done pretty easily as an ASO database, but that's with just a hint as to what your requirements are.
If you don't believe me (and I suggest that you do not for your edification) the above calc order is really easy to test. Create a copy of the database, clear it out, find one level zero intersection for all dimensions and do a lock and send/submit to get one block of data. Use the following commands in a calc script: SET UPDATECALC OFF; SET AGGMISSG ON ; SET MSG DETAIL ; CALC ALL ; That will show you (quickly) exactly what and in what order the database gets calculated. Just take a look at the application log.
Regards,
Cameron Lackpour -
How to use user defined exception class
Hi all
I just need som help with creating a user defined exception class.
Im writing a small/simple text editor.
My exception class looks like this:
public class myExcp extends Throwable
private String message;
public myExcep(String message)
this.message = message;
public void display()
System.out.println(message);
I would like to use it when a user tries to open a exe-file instead of a txt file.
Here is some code from the editor:
if (e.getSource() == open)
saveOld();
if (fc.showOpenDialog(null)== JFileChooser.APPROVE_OPTION)
readFile(fc.getSelectedFile().getAbsolutePath());
saveas.setEnabled(true);
So, should I use exception here or at the readFile method?
readfile:
private void readFile(String fileName)
try
String tmp = fileName.substring(fileName.length() -4, fileName.length());
if (!tmp.equals(".exe"))
FileReader r = new FileReader(fileName);
textarea.read(r, null);
r.close();
currentFile = fileName;
label.setText(currentFile);
changed = false;
catch (IOException e)
JOptionPane.showMessageDialog (this, "Cannot find the file " + fileName);
Where and how do I use my exception class.
Do I need to create an instance? Where?
Should the exception class extend Exception instead?
Thank you in advance /Extend Exception, not Throwable. It's a checked exception that way.
Follow the Sun coding standards and make that exception class name start with a capital letter.
When you extend Exception, override all four ctors.
What's that display method you added? Isn't getMessage() good enough?
You need to create a new instance just before you throw the exception, of course.
Sounds like a terrible design, by the way. Exceptions shouldn't be used like "go to" for app logic. They should signal unrecoverable conditions. You can easily recover from the situation you've described simply by displaying a pop-up that tells the user to open only text-readable file types. I think that's a better solution.
% -
How to use an ABAP exception as a web service fault
Hi experts,
I have created a web service out of an ABAP function module, using the SAP standard wizard for web services. The ABAP function has some exceptions defined. Now the question is: How can I "translate" these ABAP function exceptions to web service faults?
In the WSDL file I can see that the web service defines the faults, but they are not part of the web service operation (in the WSDL file). So when I load the definition into JDeveloper, the faults are not recognized.
Any ideas what I am missing here?
Thanks in advance!
Kind regards, MatthiasExceptions from SAP function module are not translated as web service fault message, this is a standard behaviour due among other to the fact that exceptions are not "in line" with the definition a web service fault message.
Usually when you want to use a standard SAP function module and expose it as web service, you need to "wrap-it" into a new Z function module.
In that new function module you must capture the exceptions and convert them into a web service fault message structure (usually containing error type, text and number)
Karim -
32gig Memory on Macpro 8 Core - How to use it all the memory and processor speed
Hello Everyone,
I was wondering if any of you out there know a way to have my Mac Pro use more of the memory it has. I have 32gig of memory and I would like to have it use more processor power and memory if possible. I am aware you can use the "renice -10 -p PIDNUMBER"
How can I make it use more of the processors and memory my machine has. Ex. Running Photoshop or Final Cut, Imovie etc.Using the Unix nice command raises the priority of a process, but software will use the amount of memory it needs. You cannot make a program use memory it does not need. Same with processor cores, if software is written to use only one processor or core you cannot make it use more, the software has to be designed for multi-threading to do that.
-
Embedded Fonts, how to use in all controls?
When I embed either external fonts or system fonts they work
great for say the label control but not for others such as the
progressBar, on top of this any control that wont use an embedded
font cant be used in conjunction with an alpha related effect as
the font will be 100% alpha the entire time. Whats the deal with
some controls not using the specified embedded font?Hi again....
I must ask again..because I dont think I understand completly how to get speedfan to work in my other profil...( User).
I installed speed fan as admin and configured it proper according to this forum.....
It seems to work just fine.......
Before I logout and switch user I make sure that speedfan is not running and that there is nothing in its autostart.
I then logout and switch to the other profil.......there I put an speedfan-ikon on its desk....
When I try to launch speedfan in this profil I get a warning:
UNABLE TO SAVE TO C:\program\speedfan\speedfanparams.cfg
It seems that I only can run speedfan as admin......
Am sorry to bother u guys again...but u seem to be wise in this matter.....
I want to be able to run the computer in this other profil, not in admin.
In this other profil I would like to have speedfan running and showing me the temps of the computer.....
As I understand its the most secure way to run computers......
Best regards
Mr W -
Need help with calc all command..
Hi All,
I have a situation where I need some of the members in accounts dim not be aggregated but some to be aggregated..
so i used.............. calc all except mbr(mbmr_name)
but still i see that the values for this member roll up
can any one help me this
thanks in advanceWith knowing all the details, I would suggest maybe creating an alternate hierarchy to provide you another look at aggregate data minus the accounts you are not wanting to aggregate. Just a thought, there are several ways to work this issue......but this is the first I would suggest looking into. If it gets more complicated, then I would explore creating calc script logic utilizing UDA's. Hope this helps.
JC -
How to use multiple addresses for a global vendor
Hi experts.
scnerios is.company has different plants in different countires.they have centrally agreed contract with vendor.now each plant create p,o is in different country how can we use that vendors local addresses in p.o because in vendor master we can define one addres at a time.so if that adrees is in other country.and plant creating p,o is in different how can select the local address of that vendor.
if option is partner function then how to use it.all adressess witl be odering address of that vendor.his offices is alll the counties.
thanksIQBAL,
You can maintain multiple addresses for the same vendor using international addresses.
First, you have to Activate International Address Versions for each country/language via config at
IMG: Flexible Real Estate Management (RE-FX) > Address Management > International Settings > Activate International Address Versions (You can do this even if you are not using Real Estate Management
Then, in the vendor master, address screen, select the "International Verion" button, select the address version and maintain your address.
If you have any programs that need to display or print these addresses, you will have to specifiy the address version to display/print. by default, the version (Field = NATION) is Blank.
I hope this helps. -
Upper-level Essbase data gets deleted on running CALC ALL
Hi,
We have a need to aggregate missing values (#Missing) to the parent level and so this is what we did. Go to EAS->Expand Essbase Servers->Expand the concerned application->Right-click on database->Edit->Properties and check the option to "Aggregate missing values". After doing this, we are having a peculiar issue when we execute "CALC ALL". We see that some of our upper-level data (non-level 0 data) gets deleted, and so we have to re-run all our business rules to calculate upper-level data. To be specific, we are having this issue of data going missing in accounting statements/reports such as Balance Sheet/Income Statement. In this reports, the rows are members of Account dimension (Dense) and the columns are members of Company dimension (Sparse). All other dimension are made POV. We did NOT have this problem when the 'Aggregate missing values' option was UNCHECKED. Does CALC ALL work differently when AGGMISS option is ON?
We are using Hyperion Planning, Essbase and Financial Reporting (version 11.1.1.3).
Thanks for any advice.
Regards,
ABGHi John,
Now that you mentioned your point about upper-level data, I double-checked the Account dimension members (for which the data was being deleted) and you are right that I am seeing a different behavior than I posted originally. Sorry about that. So this is what I am observing:
The Account dimension has 'Balance Sheet' as one of the children. This member, 'Balance Sheet', has children: Cash, Receivables, Payables so on, and all children of 'Balance Sheet' are level 0 members. Now, we run calculation scripts to calculate the values of these members. These members form the rows of Balance Sheet report. After all the relevant calc script have been executed, I am running a script that has just CALC ALL in it. I am observing that the values of Cash, Receivables, Payables etc (level 0 children of Balance Sheet) are getting deleted when we have the option "Aggregate Missing Values" as checked in EAS.
Then, I inserted SET AGGMISS OFF before CALC ALL in the script and now the values are intact! I am trying to understand why CALC ALL would delete those values when AGGMISS is ON?
You said that most people do not use CALC ALL. What is the better alternative to aggregate the database then? Is it CALC DIM?
Thanks and regards,
ABG -
I have all of my music on my dad's apple ID (on my Macbook pro and iphone). I want to start using my own apple ID (the one that my iPhone uses for everything except iTunes store) as my iTunes apple ID - how do I do this without losing my old music?
Authorize your computer with your Dad's AppleID.
-
Question: I think I made mistakes using several different id apple. How can I cancel all of them except the one I would like to maintain ?
From Here http://support.apple.com/kb/HE37
I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
Maybe you are looking for
-
How to install adobe flash in iphone ?
anyone knows how to install adobe flash player in iphone ?
-
How to create a CRES corporate account?
In the ESA Configuration guide, it lists a step as "If you want to use the hosted key service, create a Cisco Registered Envelope Service corporate account. You create the account by clicking the Provision button after configuring an encryption profi
-
How to get CV04N to display only current released revision
Hello all- We need to set our CV04N results return to show only the current released revision as determined by Document Status and Valid From Date. Example: Document 1234567/BIO/000/00 Status is RL Valid from date is 01/01/2011 Document 123456
-
if I am in firefox, in hotmail the icon for attachments is greyed or doesn't clic to open the upload dialog
-
I've found certain data which is present on my camera picture info is not present in any of Apertures metadata info. Specifically flash info from a remote source. Is there anyway to access this info in Aperture. Thanks, BobM