How Formatted values are calculated in WMI
Hi,
i am working on finding system resource information using WMI queries.
i want to know how the Performance values are calculated, for example as follows
find PagesInputPerSec from Win32_PerfFormattedData_PerfOS_Memory.
i tried to retrieve PagesInputPerSec, running on command line as "wmic path Win32_PerfFormattedData_PerfOS_Memory get PagesInputPerSec".
most of the times i am getting 0(zero) as result.
i would like to know how formatted values are calculated(formula to find) ?
P.S:
Win32_PerfRawData_PerfOS_Memory giving some value than zero e.g. 31908034
Thanks,
KMR
i am working on finding system resource information using WMI queries.
i want to know how the Performance values are calculated, for example as follows
find PagesInputPerSec from Win32_PerfFormattedData_PerfOS_Memory.
i tried to retrieve PagesInputPerSec, running on command line as "wmic path Win32_PerfFormattedData_PerfOS_Memory get PagesInputPerSec".
most of the times i am getting 0(zero) as result.
i would like to know how formatted values are calculated(formula to find) ?
P.S:
Win32_PerfRawData_PerfOS_Memory giving some value than zero e.g. 31908034
Thanks,
KMR
Similar Messages
-
How the values are stored in Claneder week/year internally
Hi BW Gurus,
Can any one please let me know in which format the values are stored in the Calender week.year time characterstic?
is it YYYYWW or WWYYYY or YYYY.WW or WW.YYYY or YYYY/WW or WW/YYYY?????
Thanks in Advacne,
Dilse...
HashHi Bhanu & Alessanrdo,
Thanks for the prompt response. Actually I was trying to populate some values in to the calender week/year variable through the user exit.So, I got confused while updating the values in to the variable. I used the value format which you both had suggested. But no luck.
The olap control is passing out of my code successfully.
After the coming out of my inlcude program it entered in the function RRS_VAR_VALUES_EXIT_AFTER there the following if condition is met.
" IF -vartyp EQ rro04_c_vartyp-value". after that it raised the exceptions and the above message is displayed. Can you please look in to the issue.
and the message number that was shown is Message No: 00010004 with the following note :
"AError for variable in customer enhancement ZLASWK"
Can you suggest me why it went wrong and what needs to be done...?????
Thanks in Advance,
Dilse...
Hash -
How security values are passed to OBIEE server
Hi All,
I would like to understand how are the security values passed to OBIEE server? Can anybody let me understand this or provide some link?
Thanks in AdvCheck this
Rittman Mead Consulting » Blog Archive » An OBIEE 11g Security Primer : Introduction
Mark if helps. -
Forecast horizon values are not being considered in Total demand row
Hello Experts,
We are in SCM 4.1 Version.
I have a question regarding Forecast horizon consderation in Planning book.
We have a weekly data view In our Planning book,and in that planning data view "Total demand" row is not calculating correctly for the products with Forecast horizon .
The entire Forecast is counted in Total demand without considering forecast horizon value for that Product.
But this is working fine for Daily data view.
I have also noticed that, Total demand values are calculating correcly in weekly view ( Forecast horizon value from the Product master is taken into account ) only when the Forecast horizon value crossing that week bucket.(i.e >7 days).
But usually we will have a Forecast horizon value of 3 days for all our products,.
What should we do to get the Total demand values correctly?
Thanks in advance..
SAPLOUIS.
Edited by: saplouis on Dec 5, 2010 6:42 AMCheck the macros on data view
Regards
Aban -
hello gurus
in copa how the values are updated like how direct cost is taken by the system other than the sd billing documentHi,
The values are updated to copa by assigning value fields..From sd we have to assign condition types (pr00,vprs,k004..etc) to copa value fields... The sales related expanses (frieght..etc)will come from FI through PA transfer structure...In PA tranfer str we have to assign source to value fields.then the values wiil come after postings made in FI.. From product costing the production order variances will come to copa through PA transfer structure.here we have to assign variance types to valuefields.... and cost center variances will come through Assessment.
Thank u
Srinivas -
How to get formated value from query
i get value from query use the follow method
Object obj1 = dataAccess.getValue(i,j,DataMap.DATA_UNFORMATTED);
Object obj1 = dataAccess.getValue(i,j,DataMap.DATA_FORMATTED);
the first method retrun a value '1666.0',
the second method return a value null
but i want to get the value '1,666'.
who can tell me how can get the formated value?Ahu,
An implementation of DataAccess is not required to support all DataMap constants. For example, the OLAP-based Query object does not support DataMap.DATA_FORMATTED. To find out which DataMaps are supported for a particular implementation, you can call the DataDirector's getSupportedDataMap method.
If you have an Crosstab instance, there is a way to get the formatted cell value, based upon the formatting rules associated with the Crosstab. Get the GridViewFormatManager reference from the Crosstab, and call its formatDataValue method to return a String representation of the formatted data value.
Hope this helps,
djb -
How can i pass calculated value to internal table
Hi
i have to pass calculated value into internal table
below field are coming from database view and i' m passing view data into iznew1
fields of iznew1
LIFNR LIKE EKKO-LIFNR,
EBELN LIKE EKKO-EBELN,
VGABE LIKE EKBE-VGABE,
EBELP LIKE EKBE-EBELP,
BELNR LIKE EKBE-BELNR,
MATNR LIKE EKPO-MATNR,
TXZ01 LIKE EKPO-TXZ01,
PS_PSP_PNR LIKE EKKN-PS_PSP_PNR,
KOSTL LIKE EKKN-KOSTL,
NAME1 LIKE LFA1-NAME1,
NAME2 LIKE LFA1-NAME2,
WERKS LIKE EKPO-WERKS,
NETWR LIKE EKPO-NETWR,
KNUMV LIKE EKKO-KNUMV,
GJAHR LIKE EKBE-GJAHR,
and now i want to pass
one field ED1 which i has calculated separatly and i want to pass this value into iznew1
but error is coming that iznew1 is a table with out header line has no component like ED1.
so how can i pass calculated value to internal table iznew1,When you declare your internal table , make an addtion occurs 0
eg . data : begin of iznew occurs 0 ,
fields ...
add the field here ed1.
end of iznew.
now when you are calculating the value of ed1,
you can pass the corresponding value of ed1 and modify table iznew.
eg
loop at iznew.
iznew-ed1 = ed1.
modify iznew.
endloop. -
How to populate the calculated value into screen field.
I am doing one enhancement in QM.I have added one custom screen to notification transaction ( QM01/QM02/QM03) transaction tab strip control using the enhancement QQMA0001.The Details of the calling and called screens as shown bellow
The Calling screen: SAPLIQS0
Screen Number: 7790
Screen Area :USER0001
Called Screen: SAPLXQQM
Screen Number: 0101
I have developed the Custom Screen in screen 0101 and called in PBO of program SAPLIQS0 7790 screen.
The Screen in calling perfectly .The Custom screen having different fields like Raw cost, Intermediate cost, Finished cost, SCAR Cost and Sales Order Cost Etc... These fields are out put filed types. No input for these screens.. I have few doubts regarding this
How to populate the calculated values in Custom screen?
Where we wrote the code to populate the calculated values in custom screen?
You have any idea please guide me
Thanks & Regards,
SamantulaAs your screen fields should be global variables in SAPLXQQM, you may initialize them by implementing function module EXIT_SAPMIWO0_008 which also belongs to SAPLXQQM (Customer Exit: Transfer Notification Data to User Screen)
-
How "Assigned" value calculated for WBS in CJ30?
Dear all,
I have got a problem with the Assigned value in CJ30. The problem is that the value in column "Assigned" of CJ30 disappeared after I settled the cost of the WBS to another WBS which has no budget control activated (no budget profile assigned). As I know, the Assigned value won't be changed if the WBS is settled to an object with no budget control, for example settle the WBS to a cost center, or a assets. In my case, although the settlment was done between two WBS, but I had removed the budget profile when created the receiver project, which means the receiver WBS has no budget control activated. However, after settlement, the assigned value of the sender WBS disappeared. But if I settle the cost to a cost center or assets, I can see the assigned value still shown on the sender WBS in CJ30.
Can anybody here tell me why this happen? or is this a bug of SAP?
Thank you very much in advance.
Best regards,
BrookI can reproduce your issue. If you toggle open Audience P I think you will find the very last value for the last Category and the last Product_Group will be around 15% for Growth 2014 and around 23% for Growth 2015. The chart series expression
is choosing the last value for ReportItems!YoYGrowthPercentage as it doesn't know how to attribute that ReportItem to the Audience matrix. If you want a chart to display only the percentage for Audience, I suggest that you have a separate data
source with the values for GrowthPercentage for only the Audiences, and make that the data source for your chart. Also, I would make the growth figures in your matrix also a matrix by doing the percentage calculation directly in the table. You would pull in
the value for this year and the value for last year into your data set, and then do the calculation within the report as follows:
=SUM(Fields!Value.Value)/Sum(Fields!LastYearValue.Value)-1
Create a second Column Group adjacent after, also by year. Your query could look something like this, depending on how your tables are structured:
SELECT a.Audience, a.Category, a.ProductGroup, a.Year, a.Value, b.Year as LastYear, ISNULL(b.Value,0) as LastYearValue
FROM YoYGrowth a LEFT OUTER JOIN
YoYGrowth b ON a.Audience = b.Audience and a.Category= b.Category and a.ProductGroup = b.ProductGroup
AND a.Year-1 = b.Year
Hope it helps. Cheers,
Martina White -
In import process,how excise base value is calculated in MIGO
Hi expert's,
In import process,how excise base value is calculated in MIGO,with what referance values get add to base value.
waiting for your valuable response,
Regards
V.rajhi,
we Tried with your following reply ! but still not finding exact value in base value .
(MATERIAL PRICE* QTY IN MIGO * EXCHANGE RATE)
thanks & regards
V.Raj -
is it possible to export a slideshow in 1080p format and then show it on a projection TV in 1080? if so, how - what conversions are necessary
Getting it out of Aperture is not a problem. When you export the slide show select 1080p as the export format.
What happens then gets tricky. To create a true high def 1080p DVD requires Blu-Ray. So you will need an external Blu-Ray recoreder and software to create the DVD.
If you're hooking your computer up to the TV then you'll have better luck. -
How to not to display any line items for val flds values are zero in KE30?
Dear All,
In KE30,in one of my reports, i do not want to display such line items for which all values are zero for all val flds, it should only display the line items for which there is any value, i have tried Zeros hide in KE35 in formatting menu>other format>hide zeros, but unofrtunately it didnt came out.
Regards
Rashid
Edited by: rashinuet on Feb 20, 2012 4:38 PMDear Abhishek,
I have tried that as well in ke35 and made this option activated on my val flds like sales revenue for hide zero values, but it didnt came out as well, then in i tried ke32 change report >Extras menu>form settings, this adopts all the settings in the report from the form you have assigned, but this is not working, i am failed to understand what has gone wrong.
Regards -
Expression or Calculation tag value are reset to last application saved value when PC reboot
I'm doing daily logging data for daily report and for the daily flow calculation, I'm doing those step:
1- When Timer1 = 11h55 -> Daily_Volume = (Actual_Volume - Yesterday_Volume)
2- When Timer2 = 11h56 -> Yesterday_Volume = (Actual_Volume )
3- When Timer3 = 11h58 -> Log to database Daily Volume
The problem is that when you restart the application or the PC, the calculation tag "Yesterday volume" reset to the last saved value.
Exemple 2012-01-01 last saved application changes,
- 2012-01-01 my Actual_Volume = 1000 USGal moved to my Yesterday_Volume.
- 2012-01-02 my Actual_Volume (1100 USGal) - Yesterday_Volume (1000 USGal) = Daily_Volume (1000 USGal) move the Actual_Volume to Yesterday_Volume.
- 2012-01-03 my Actual_Volume (1200 USGal) - Yesterday_Volume (1100 USGal) = Daily_Volume (100 USGal)
We've got a power shutdown or any PC reboot. On the 2013-01-01
- 2013-01-01 my Actual_Volume (19000 USGal) - Yesterday_Volume (1000 USGal) = Daily_Volume (18000 USGal) move the Actual_Volume to Yesterday_Volume.
- 2013-01-02 my Actual_Volume (19100 USGal) - Yesterday_Volume (19000 USGal) = Daily_Volume (100 USGal) move the Actual_Volume to Yesterday_Volume.
Those values reset to the last application saved value cause bad data in my daily, monthly, yearly reports. How can we retain calculation tag value to avoid those reset problem?In Edit mode, File->Modify Process, there is an option "Save state file every xxx minutes". Is this one checked or not?
The value of objects should be saved in the state file when you close the process, or periodically saved according to this setting. The saved value will be loaded next time you open the process.
Ryan Shi
National Instruments -
How planned values to be determined in (03) Cost-Based POC RA calculation
Hi All
We are implementing (03) Cost-Based POC in our project . Pls guide me how Planned values flow to KKA2/KKAJ to determine POC %
Pls help me ASAP
Thanks
SnehaHi Srinu
Thank u very much for ur help. It is working fine . Also ls confirm on these
Planned cost : CJR2
Planned revenue : ?? ( Hope it is from Sales order)
Actual cost : ?? (Hope it is From MIGO)
Actual revenue : ??
Pls do the needful
Thanks
Sneha -
How salvage value will be treated while calculating the depreciation
Hi,
while calculating depreciation how salvage value will be treated depreciable base?
Thanks & Regards
Sap GuruIf APC value is 10000 and salvage Value is 500 then the depreciation will be calculated as net of these two values and calcluates the depreciation.
| am not able to understand the your doubt correctly.
sarma
Maybe you are looking for
-
HELP! Started as freezing and now won't start!
Just to start, I have a Satellite P500 (P500-ST6822 to be specific). Specs: System Manufacturer/Model Number: TOSHIBA/Satellite P500-ST6822 OS: Windows 7 Professional 64-bit CPU: Intel Core 2 Duo CPU P8700 2.53GHz Memory: 6144MB RAM Graphics Card
-
A few questions from a beginner
Please don't hit me because of my questions... 1. Is there a build in method (class or whatever) to increase an array size? I don't want to copy the array each time into a larger array and then setting the pointer of the new larger array to be the sa
-
Selective data transfer to new MacBook Pro?
Hello, I have a iMac at home and just purchased a MacBook Pro. I want to just selectively transfer things such as some of the photos from iPhoto and some of the music from iTunes but I want to keep the MacBook "cleaner" than the iMac is, what is the
-
Fill pdf form from database table
I am working on small application for my employer. We have record fo all new employee in table and want to fill PDF (I-9) from database using APEX application. Below PDF form, we want to fill from database table. http://www.uscis.gov/files/form/I-9.p
-
Common Language Runtime option missing when attaching to extproc.exe
All, In references to http://www.oracle.com/technology/pub/articles/mastering_dotnet_oracle/williams_sps.html.. I have been able to sucessfully deploy the .NET store procedure from VS 2005 to Oracle 11g with Oracle Extensions for .NET. The .NET SP al