V$sqlarea and cumulative values
hi gurus,
does v$sqlarea provide cumulative values for a SQL?
for eg:
Step 1
SQL=select * from emp where empid=1
elapsed_time = 2829
Step 2
SQL=select * from emp where empid=1
elapsed_time = 2980
1) if the values are cumulative, is there a way to find the elapsed_time for the last executed SQL as in step 2?
2) is there any limit for the number of rows returned by v$sqlarea,(or when would be a particular SQL cleared from v$sqlarea)?
thanks,
charles
SELECT sql_text,
executions,
CEIL (cpu_time / GREATEST (executions, 1)) ave_cpu_time,
CEIL (elapsed_time / GREATEST (executions, 1)) ave_elapsed_time,
CEIL (disk_reads / GREATEST (executions, 1)) ave_disk_reads,
persistent_mem per_mem,
runtime_mem run_mem,
CEIL (sorts / GREATEST (executions, 1)) ave_sorts,
CEIL (parse_calls / GREATEST (executions, 1)) ave_parse_calls,
CEIL (buffer_gets / GREATEST (executions, 1)) ave_buffer_gets,
CEIL (rows_processed / GREATEST (executions, 1)) ave_row_proc
FROM v$sqlarea
WHERE sql_text = 'select * from emp where empid=1'Regards,
Mahesh Kaila
Similar Messages
-
BEx and cumulative value restarting every year
Hi all,
I have a question: when I set the "cumulative" flag for a key figure, it starts to cumulate starting from the first row until the end. What I should obtain is the following:
On the row: Fiscal Year/Period
On the column: the cumulative key figure
But the cumulation operation should restart each year. For example:
01.2005 20
02.2005 25
12.2005 500
NEW YEAR, RESTART FROM 0
01.2006 0
02.2006 12
Any idea about it?
Thanks a lot.
GianlucaHi,
Here Just craete one variable on calmonth with the range
then keep the cal month in Columns ad under taht cal month keep the Profit
, in rows w on which basis profit ( like keep plant or company code ) then save it.
Just keep the calmonth on columns tab top of the profit (Ckf) your issue will be resolved
again one more thing in cal month properties displays , result show a always display teh you can get the over all result for all themonths which you are selected in varaible screen.
Thanks & regarsd,
sathish -
WIP Cumulative value(Material Ledger)
Hi,
We have executed the material ledger acutal cost WIP Transaction Code -- COMLWIPDISP. This t.code is reflecting the WIP Cumulative value which is inclusion of WIP Price difference. Cany anybody let me know how this value is calculating and in which t.code. In which table or function module we can see the WIP price difference value and cumulative value.
Regards,
Shree JHi SJ,
The below example will help you to understand your query:
SFG product standard cost is 90 ( as per the BOM materials).
Production/Process order is created, released and Raw material are issued to this Production/Process order. The status of this Order is not yet changed to TECO/CNF due to there are still some more operations has to be carriedout. So assume at this stage total cost is 100.
When you run your month activities like WIP/Variance/Settlement Calculation and also CKMLCP (Actual Costing Run).
After the month end activities, if you execute COMLWIPDISP, system will display Cummulative WIP value as 100 and difference 10.
Thanks and Regards,
ADI -
Cumulated values with 0FYTCFP variable
Hi All,
Can anyone write me how to use 0FYTCFP variable to design query with value of current period and cumulated values of previous periods. I tried to use this variable with 0P_FPER to which I manually enter current period, but BEx returns a message "The variable 0FYTCFP couldn't be repalced"
Thanks for helpI can, but I want to use on input variable in for example '010.2005' way and basing on this value dynamically specify the 001.2005-010.2005 period.
Regards,
Maciek -
Period Activity vs Cumulative value
Hi Experts,
I am running a report that has Period Activity and Cumulative value, the problem is that the Period activity figures and the cumulative value figures are the same. The cumulative value is pulling values = the month being reported ; what do i need to change so that the Cumulative value is not the same as Period Activity?? Thanks, points will be awardedHi...i supossed that you have a cummulative value and one differente key figure for period activity....period activity must not be cummulative...
Regards -
hi,
I have table with columns as Employee_id,Salary,Commission.
I need query which will show total sal of each Employee_id and cumulative value of total.
Thanks
Ramselect empno,
sal,
sum(sal) over (partition by null order by rownum rows unbounded preceding) running_total
from emp;
ordering by rownum in the partition clause is also another way thereby allowing one to order in any other way for reporting.
--Samson -
Cumulative values: difference between 3.5 and 7.0
Hi everybody,
I use queries which display an Amount on month.
JAN FEB MAR APR
A1 A2 A3 A4
I modify the Key Figure property to have cumulated values
JAN FEB MAR APR
A1 A1A2 A1A2A3 A1A2A3A4
In Bex 7.0, all is right i have my cumulated values
In Bex 3.5, it doesn't work ...
i have the following result:
JAN FEB MAR APR
1 3 6 10 ...
as if i had:
JAN=>Amount=1 JAN-> 1
FEB=>Amount=2 FEB-> 1+2 =3
MAR=>Amount=3 MAR-> 123 = 6
Why this difference between 3.5 and 7 ?
I would like the right result in 3.5,
How do i proceed ?
Thanks for your help!
Rodolphe.Appararently,
On Bex 3.5 ...
I remplace for my KeyFigure:
Calculate Single Values As ...
"Counting All values" by "Nothing"
and option cumulated activated.
and it does work !!
Rodolphe. -
Non-cumulative Values not showing in Inventory Management Queries
Hi:
Has anyone had a problem with the new version and Non-cumulative key figures not showing up in Bex for Inventory Managemet reports? Specifically, they showed and validated back to ECC for our Development and QA boxes but now in our Regression box they are all showing zeros. Our Cumulative values are all showing correctly still within the Regression box. For example, Total Receipts and Total Issues are correctly poplating values but Total Stock is not.
I have checked and validate that the configuration in the Regression box matches or Dev and QA box.Found the problem. It had to do with the compression variant in the delta process chain. The compression was set to 'no marker update'. Since we only started receiving measureable deltas in or regression box this is where the incorrect setting showed up. Reinitalized and the deltas are working correctly now.
-
Differences between Contract Cumulative Value an Release Orderes Value
Hi All
I have found differences in: EKPO (PO Items) and EKAB (Release Orders) tables vs. Cumulative Target Contract value.
The total amount in EKPO net values is grather than Cumulative Target Value in Contract, in EKAB net values as well.
Do you know the considerations that the system are taking?....because the Cumulative value must not be exceeded
Thanks for your tiime.
Regards
MauricioI have found the issue, the delivery complete indicator restore the Cumulative Amount in Value Contracts (Quantity = 0). After that, a new PO could be created with Agreement link limited for the amount restored.
So the all PO generated related with the contract could exceed the Cumulative Amount established in contract
Thatu2019s a problem because All PO could be received even though the delivery complete was activated
This behavior is only for Value Contracts
Saludos
Mauricio -
Query Designer in BI - How to cumulate value and get the Max and Min value.
I want to create a report with query designe of BI 7r. is it possible. the data from the cube will be
Year , Exposed Quantity
1999 , 200
2000 , 100
2001 , -100
2002 , 300
2003 , - 200
2004 , 100
2005 , -200
Calculation should be - Refer the cumulative value field
Year , Exposure Quantity , Cumulative value
1999 , 200 , 200
2000 , 100 , 300
2001 , -100 , 200
2002 , 300 , 500
2003 , - 200 , 300
2004 , 100 , 400
2005 , -200 , -200
An the out put of the report should be Max value ie 500 and Min Value -200.
My question is that is it possible to do in the front end ie in the Query Designer (BI 7) If so how.
Edited by: Parakadavil Chacko Mathew on Oct 8, 2009 3:52 AMHi there,
Create 4 column,
1st will show regular values for the key figure,
2nd will show Cumulative value, in Query Designer, Just right click on the this 2nd key figure properties, calculation tab there you can check on Cumulated option, and define the calculation direction as Calculate along the Column.
3rd will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as minimum.
4th will show Minimum value , Just right click on the this 2nd key figure properties, calculation tab calculate single valuea as Maximum.
Regards,
Rajdeep Rane. -
The InfoCube contains non-cumulative values
Hi,
While creating multicube for inventory on two cubes its askin the below "The InfoCube contains non-cumulative values. A validity table is created for these non-cumulative values, in which the time interval is stored, for which the non-cumulative values are valid.
The validity table automatically contains the "most detailed" of the selected time characteristics (if such a one does not exist, it must be defined by the user, meaning transfered into the InfoCube)", what is that and how to solve this,
Please through some light on this its urgent.
ChandanHi,
Your multi cube is probably based on the infociune 0IC_C03 containing non cumulative key figures taht's why you get this message.
You generaly don't have to maintain validity area unless you are in a special configuration (for exemple loading data from two source systems).
UThe following link should give more information about validity area with non cumulative :
[http://help.sap.com/saphelp_nw04/helpdata/en/02/9a6a1c244411d5b2e30050da4c74dc/frameset.htm|http://help.sap.com/saphelp_nw04/helpdata/en/02/9a6a1c244411d5b2e30050da4c74dc/frameset.htm]
Hope this helps.
Cyril -
Maintaining non-cumulative values in Mlti provider
Can we maintain non ucmulative values inteh multi ptovider Extras - > Maintain non cumulative values section.
I created few new cubes which has non cumulative keyfigures . In the cube I made 0CAL DAY as reference characteristic and selected Company code (0COMP_CODE) and Posting date in the document (0PSTNG_DATE) as characteristics of validity table for non-cumulatives.
Now I inlcude the new cubes and identified the non cumulative key figures in the multi provider.
Now here also do I need to make 0CAL DAY as reference characteristic and selected Company code (0COMP_CODE) and Posting date in the document (0PSTNG_DATE) as characteristics of validity table for non-cumulatives.I did not find an option in Extras - > Maintain non cumulative values in multi provider. CAn we maintain non cumulatives in MP ?Hello,
You dont need to maintain it at the MP level also.
Non-cumulative parameters are manitained only at the cube level.This was the case in 3.x so it should be the same in 7.0 also.
Regards
Ajeet -
Hi Experts,
We are working for BI implementation for AFS Industry,
when we are working on AFS specific inventory cube 0AFMM_C02 , we are facing stock mismatch problem
for AFS Stock initialization we are using the data source 2LIS_AF_STOCK_INITALIZATION instead of 2LIS_03_BX, this data source is specificly designed for AFS
when we are extracting the data using 2LIS_AF_STOCK_INITALIZATION for stock initialization and
2LIS_03_BF data source to load the Moments.
we compressed cube with Marker update for 2LIS_AF_STOCK_INITALIZATION data load(by deselecting the No marker update check box)
we compressed cube with No Marker update for 2LIS_03_BF historical data load(by selecting the No marker update check box)
we compressed cube with Marker update for 2LIS_03_BF Delta data load(by deselecting the No marker update check box)
Now we are facing stock mistach problem, we found reason for this
"initial non-cumulative for non-cumulative values" option is not available in DTP only Delta & Full options are available
and infopackage of 2LIS_AF_STOCK_INITALIZATION data source also has "Full update" instead of "Generate Intial Status"
Please let us know how can we get the "initial non-cumulative for non-cumulative values" option in the DTP level.
Regards,
ChandraHi Chandrakumar,
We are facing the same problem, how do you solve it?
Regards, -
HI All,
when I run a query of a non-cumulative infocube,there's always a "initial record" which actually doesn't exist in the fact table. Documents say "This entry does not remain physically in the table, but it is available for rebuilding the non-cumulative values". So where exactly is the initial value stored ?
Thanks
han.Hi,
What is teh DataSource and InfoCube?
If you are talking about 0IC_C03, please see the steps.
Treatment of historical full loads with Inventory cube
Setting up material movement/inventory with limit locking time
See about Non-Cumulatives
http://help.sap.com/saphelp_nw2004s/helpdata/en/8f/da1640dc88e769e10000000a155106/content.htm
Thanks
Reddy -
Inventory Management (Non-cumulative values)
Dear experts,
I want to extract inventory data from 2LIS_03_BF.
How do I have to configure the Key figures; for example: 0VALSTCKQTY. Is there a need to use Non-cumulative value with in- and outflow as in Content.
Which other possibilities exist?
After InfoObject config. - what are the exact next steps?
Do I load data from the 3 DataSources 2LIS_03_BX, 2LIS_03_BF and 2LIS_03_UM into one DSO first and then into one cube or do I have to split?
I dont want to use the BC data flow.
Thanks for your advice.
Patrickhi,
Please search the Forum for this, this has been discussed many times.
regards,
Arvind.
Maybe you are looking for
-
I was just checking my facebook when firefox unexpectedly stopped, then closed down. i clicked back on it and it came up with the crash report. i clicked restart firefox so many times yet it kept coming up with crash report again. i did quit then tri
-
I am trying to use "skydive" to redo my resume. I wanted to print it in "pdf" format. But a message appears to tell me I'm sorry there is an error and we have to close. Also, I am told I need to download aflash 10 or something. What can I do to corre
-
is it true if you have a mobileme acocount apple will send you a free copy of snow leopard 10.6?
-
I forgot my password for my Macbook Air!!
Please help i have changed my usual password and i cant remember my new password for my mac!
-
Printing a quotation mark (") in concatenate formula?
Hi, I'm trying to write a function using =CONCATENATE() and I want to know how to add a quotation mark to the output without it screwing up the forumula. This doesn't print out the quotation mark " between B2 and B3: =CONCATENATE(B2,""",B3) I've bee