Displaying latest top 5 records...
Hi
I want to display top 5 sales records at BEx level to the newly loaded data.
Info objects are plan, date, sales currency etc..
Data can be loading and BEx report execution can be done on daily basis.
The report should display top 5 sales records of latest data load when the report is executed.
Santhosh
Hi
Refer Below Blog in SCN Posted By AL. Here He Explained in Detail how to Handle this Kind of scenarios.
How to show First and Latest Record at BEx Level
Regards,
Seshu.P
Similar Messages
-
Hi Friends,
i've a prompt in my dashbord, based on the prompt the report values will display right,
my requirement is that i want display only top 5 records,
how will you do thatHi
Create a prompt with a column and assign presentation variable in it.
In report for measure give the function as topN in edit formula.The syntax is shown as
TOPN(expr, integer)
If u want top 5 then TOPN(Measure Column,5) give filter to this column with presenntation variable
We can do it with 'rank' function also like this
Rank(Measure column)
Otherwise,Use TopN filter in the report.But it shows 5records statically.For this there is no need of prompt.
Thanks
Don -
Layout and Pagination... Limiting my data to top 500 records
Hi,
My report is based on SQL, it's displaying only top 500 records... May I know how to fix it...?
I've tried different options under Report attibutes -> Layout and Pagination but no success yet
ThanksTry closing OAE and the application if running.. Seems like the changes don't take effect until you come back into OAE... At least that is what mine does.
-
hi,
i have a table CATEGORY.There are two Column CATEGORY_ID and CATEGORY_NAME.
if i have Multiple record corresponding CATEGORY_ID.
i want to display only top 3 Record like.
1---A
1---B
1---C
2---O
2---E
2----F
3---JJ
3---YU
3---LK
How can i display top three Record in Report.i have no PK In taht table.
Thankstry:
select CATEGORY_ID,
CATEGORY_name from
select
CATEGORY_ID,
CATEGORY_name,
row_number() over (partition by CATEGORY_ID order by CATEGORY_name) rn
from
CATEGORY
where
rn <= 3
also check
http://nimishgarg.blogspot.com/2010/02/oracle-sql-rank-denserank-rownumber.html
Nimish Garg
http://nimishgarg.blogspot.com/ -
To display top 7 records in the dashboard
hai,
while iam creating the a report with top 7 records to be displayed but, it dispalys only 5.
plz let me know the correct way to approach it.
thanks in advance.yah! the data is displayed by using "is in Top" function as a filter.
7 records are displayed, without the year column.
thanks we found the answer. we think that only year column, which is displayed in that table view made this issue.
thanks for response....
thanks kishore..... sorry to disturb ur time. -
Want to generate a report for displaying the top 30 revenue generating regn
Hi Team
I was trying to generate top 30 revenue generating regions using " Edit Formula " option (Ofcouse there are other methods to do it , but i was trying out with this one ).
The scenario is : -
I have selected four columns i.e Year , Region , Product Type and Revenue.And i wanna display the top 30 revenue generating regions.
Steps I follwed : -
1> Selected the 4 columns (Year , Region , Product Type and Revenue )
2> Arranged the Revnue Column in descending order.
3> Went to --- > Revenue Column ---> Edit formula (fx) and used the COUNT(*) function.
i.e select "F1 Revenue"."1-01 Revenue (Sum All)" from "Sample Sales" where COUNT(*) <30
but I am getting error while doing so
Please guide
Thanks RohitHi Paul
Thanks for the quick response.
But I only want to restrict my output to 30 top records. Is there any way out ..?
and moreover Could you please suggest what went wrong in my previous query..?
Thanks
Rohit -
Using Azul media player app on my ipad Apple tv will only display sound but not video from movies. Any ideas on a fix. I set mirroring to on but it still does not display video. It will display photos and video recorded from my iphone.
Here are the steps for AirPlay:
Before starting Azul from your (running iOS 5.x/6.x) home screen where have have all your apps we need to turn on mirroring
On your iPhone 4S/5 or iPad 2 or 3, double-click the Home Button to view your recently-used apps.
Swipe all the way to the right to until you see the icon.
Note: If the icon does not appear, go to the "If AirPlay Mirroring is not visible or available on your mobile iOS device" section.
Tap the icon to see the list of available AirPlay devices.
Enable AirPlay Mirroring in this menu by tapping on an available Apple TV, then sliding the Mirroring slider to ON.
Now you should be seeing your iPad/iPhone on your TV.
Start up Azul now and using the settings icon on the top right corner go to the option that say "TV out" ON.
When you do that you will see an Orange screen
Now click "Done" and play the video you want to watch and it will AirPlay -
Selecting Top N records in a table using a slider or drop down list
Hi Experts,
I have a query that displays 1000 records ( say) in VC iview.
Can i have a drop down list in the variable form to control the number of records displayed in the output table by the user .
or can i have a horizaontal slider ( Min value is 2 -max 1000) to display the number of records in the output table selected by the horizaontal slider.
basically iam having a requirement to give the user the capability to select the Top N records of the output table...where the user enters the N value in Drop downlist of variable form or user slides the N value using Horizontal slider
Thnaks
P.NavakanthHi
Yes it is possible. First you need to create 'Condition' in BEx query where you have to create 'TOP N' & 'N' should be a variable input. Then you will get this in 'Variable Screen' of a query. In VC for this same variable you can use slider. Use 'Select' function in the 'Action' of the slider & pass it to require table/graph.
Try this, this will give you the required result.
Regards
Sandeep -
Pagination Displaying Count of Total Records available and Current Page
Hi,
I need to implement paging in one of our pages.
The problem is we need to display the count of total number of records the search has resulted and the search results that fall into the current page.
For e.g. If the search resulted in 100 records total and we are in page 5 (with 10 records per page), I need to display the count 100 on the top and records 51-50 in the page.
How to get the count of fetched results without running a second SELECT COUNT(1) FROM ... clause.
Is there a way to do this in a optimized way?
ThanksHow to get the count of fetched results without running a second SELECT COUNT(1) FROM ... clause.
SQL> select cnt "Total", rn "Line", empno, ename, job
from (select count (*) over () cnt, row_number () over (order by empno) rn,
empno, ename, job
from emp)
where rn between 4 and 6
Total Line EMPNO ENAME JOB
14 4 7566 JONES MANAGER
14 5 7654 MARTIN SALESMAN
14 6 7698 BLAKE MANAGER -
How to Get Top 10 records using SQL select statement.
:-) Hiee E'body,
I want to generate a sql report in which I only want the top 10 records based on the numeric value of a column.
For Example,
To generate a Location Wise, Employee Wise Years of Service Report.
Here I need the Top 10 Employees according to their No. of Years of Service for all the existing locations using a single query.
eg.
Location Emp No. YOS
India - 22 30
212 28
819 24 ...
US 123 40
312 33
90 33
144 30 ...
UK 77 20
79 20
331 18
109 16 ...
Every Location should display their respective Top 10 Employees
regarding their No. of Years of Service.
Please let me the know the solution to this.
Have a nice day.
Thanking You,
Vivek Kapoor.For example if the table contained (India rows only shown) :
India 202 30
India 212 28
India 819 24
India 820 24
India 900 20
India 920 18
India 922 17
India 925 16
India 926 15
India 927 14
India 928 13
India 929 13
India 930 12
do you want to see
India 202 30
India 212 28
India 819 24
India 820 24
India 900 20
India 920 18
India 922 17
India 925 16
India 926 15
India 927 14
or
India 202 30
India 212 28
India 819 24
India 820 24
India 900 20
India 920 18
India 922 17
India 925 16
India 926 15
India 927 14
India 928 13
India 929 13
Also if the India rows were
India 202 30
India 212 30
India 819 30
India 820 30
India 900 30
India 920 30
India 922 30
India 925 30
India 926 30
India 927 30
India 928 30
India 929 30
do you want to see
India 202 30
India 212 30
India 819 30
India 820 30
India 900 30
India 920 30
India 922 30
India 925 30
India 926 30
India 927 30
or
India 202 30
India 212 30
India 819 30
India 820 30
India 900 30
India 920 30
India 922 30
India 925 30
India 926 30
India 927 30
India 928 30
India 929 30
Please clarify.
Thanks,
Partha -
Hi All,
I have a questions to ask. Is that i create a subvi for my table and it can display latest value at the top. Below attached snapshots of my programming. I uses a random number and stop button to control to let u guys see the whole process of what i want.
but when i change 'true/false constant' and using a numeric control. and i placed it back to my program. It won't lists down the values and it wont display the latest value at the top. what's the problem? I have been stuck at this problem for awhile.
and another question was how to keep the size of the listing be constant? for example, i onli wish to display 30readings on my table. as the programming kept running, the oldest value will be replace. because if kept running my programming, and the listing on my table getting more and more, means memory increases, result in lagging. I don't wish to happen. So is there a way to maintain the fixed table displaying values?
Solved!
Go to Solution.
Attachments:
table.ex.JPG 38 KB
table.ex1.JPG 41 KB
te1.JPG 98 KBHi Isabella,
I think the problem causes from initializing a shift register in sub vi. If you initialize a shift register, every time sub vi is called, it'll replace value in shift register with initialized value. Uninitialize a shift register should solve a problem. I attached a screenshot of my sub vi for your reference.
Regards, Kate
Attachments:
isabella.PNG 5 KB -
CPU usage displayed by top does not make sense.
Here is the CPU usage displayed by top (while running VirtualBox with a guest Windows 7, the Archlinux machine is the host).
top - 11:49:07 up 54 min, 3 users, load average: 1.80, 1.18, 0.74
Tasks: 143 total, 1 running, 142 sleeping, 0 stopped, 0 zombie
%Cpu0 : 2.2/7.7 10[|||||||||| ]
%Cpu1 : 2.2/7.7 10[|||||||||| ]
%Cpu2 : 1.8/8.2 10[|||||||||| ]
%Cpu3 : 2.2/8.8 11[||||||||||| ]
GiB Mem : 79.4/3.796 [ ]
GiB Swap: 5.3/3.356 [ ]
PID USER PR NI VIRT RES %CPU %MEM TIME+ S COMMAND
3504 oesser 20 0 4209.1m 2.396g 173.3 63.1 5:11.05 S VirtualBox
2688 oesser 20 0 997.1m 273.6m 0.0 7.0 0:27.96 S firefox
3204 oesser 20 0 949.7m 64.3m 0.0 1.7 0:02.24 S VirtualBox
2812 oesser 20 0 1015.5m 63.6m 0.0 1.6 0:02.10 S VirtualBox
3068 oesser 20 0 882.8m 60.5m 0.0 1.6 0:01.66 S VirtualBox
990 root 20 0 393.5m 40.3m 6.7 1.0 0:50.11 S Xorg
2235 oesser 20 0 949.8m 22.2m 0.0 0.6 0:05.03 S VirtualBox
1134 oesser 20 0 435.5m 16.4m 0.0 0.4 0:02.57 S xfce4-terminal
318 ntp 20 0 105.3m 15.4m 0.0 0.4 0:00.14 S ntpd
1029 oesser 20 0 208.0m 13.5m 0.0 0.3 0:05.94 S xfwm4
2220 oesser 20 0 832.5m 12.8m 0.0 0.3 0:05.47 S VBoxSVC
1038 oesser 20 0 612.8m 11.9m 0.0 0.3 0:00.68 S xfdesktop
1033 oesser 20 0 385.2m 11.6m 0.0 0.3 0:01.47 S xfce4-panel
1120 oesser 20 0 265.4m 8.3m 0.0 0.2 0:03.82 S panel-14-cpugra
1119 oesser 20 0 196.3m 7.0m 0.0 0.2 0:00.03 S panel-4-systray
1093 oesser 20 0 299.5m 4.4m 0.0 0.1 0:00.02 S gvfs-udisks2-vo
1059 oesser 20 0 774.4m 4.3m 0.0 0.1 0:01.14 S AgentAntidote.b
2778 oesser 20 0 16.7m 4.3m 0.0 0.1 0:00.02 S bash
1019 oesser 20 0 357.8m 4.2m 0.0 0.1 0:00.05 S xfce4-session
560 root 20 0 415.1m 4.1m 0.0 0.1 0:00.44 S udisksd
1037 oesser 20 0 363.3m 3.7m 0.0 0.1 0:00.10 S xfsettingsd
1380 oesser 20 0 16.7m 3.6m 0.0 0.1 0:00.09 S bash
1064 oesser 20 0 214.3m 3.3m 0.0 0.1 0:00.01 S gvfsd
3746 oesser 20 0 34.9m 3.3m 0.0 0.1 0:00.00 R top
1121 oesser 20 0 489.4m 3.2m 0.0 0.1 0:00.08 S panel-2-mixer
514 root 20 0 219.0m 3.2m 0.0 0.1 0:00.03 S upowerd
1035 oesser 20 0 202.9m 3.1m 0.0 0.1 0:00.02 S Thunar
2212 oesser 20 0 150.4m 3.0m 0.0 0.1 0:02.77 S VBoxXPCOMIPCD
1022 oesser 20 0 34.6m 2.8m 0.0 0.1 0:00.02 S xfconfd
1139 oesser 20 0 16.7m 2.7m 0.0 0.1 0:00.03 S bash
1058 oesser 20 0 462.8m 2.6m 0.0 0.1 0:00.04 S xfce4-volumed
1048 oesser 20 0 268.2m 2.6m 0.0 0.1 0:00.04 S xfce4-power-man
1067 oesser 20 0 42.6m 2.5m 0.0 0.1 0:00.00 S gconfd-2
1045 oesser 20 0 365.9m 2.4m 0.0 0.1 0:00.10 S polkit-gnome-au
1 root 20 0 33.5m 2.3m 0.0 0.1 0:00.36 S systemd
1012 oesser 20 0 30.7m 2.1m 0.0 0.1 0:00.09 S dbus-daemon
1077 oesser 20 0 357.7m 2.0m 0.0 0.1 0:00.00 S gvfsd-fuse
446 polkitd 20 0 505.5m 1.9m 0.0 0.1 0:00.04 S polkitd
422 oesser 20 0 34.9m 1.9m 0.0 0.0 0:00.00 S systemd
1073 oesser 20 0 30.3m 1.9m 0.0 0.0 0:00.05 S dbus-daemon
266 dbus 20 0 30.6m 1.8m 0.0 0.0 0:00.03 S dbus-daemon
999 root 20 0 72.4m 1.8m 0.0 0.0 0:00.00 S lxdm-session
179 root 20 0 34.2m 1.8m 0.0 0.0 0:00.08 S systemd-udevd
1106 oesser 20 0 366.8m 1.7m 0.0 0.0 0:00.00 S gvfsd-trash
1086 oesser 20 0 120.2m 1.7m 0.0 0.0 0:00.17 S at-spi2-registr
263 root 20 0 14.8m 1.7m 0.0 0.0 0:00.01 S systemd-logind
297 root 20 0 20.1m 1.6m 0.0 0.0 0:00.30 S lxdm-binary
1138 oesser 20 0 8.2m 1.3m 0.0 0.0 0:00.00 S gnome-pty-helpe
1000 oesser 20 0 13.7m 1.3m 0.0 0.0 0:00.00 S sh
144 root 20 0 29.7m 1.3m 0.0 0.0 0:00.09 S systemd-journal
459 oesser 20 0 161.7m 1.2m 0.0 0.0 0:00.06 S gpg-agent
307 root 20 0 4.4m 1.0m 0.0 0.0 0:00.10 S dhcpcd
1062 oesser 20 0 255.6m 1.0m 0.0 0.0 0:00.00 S at-spi-bus-laun
1011 oesser 20 0 17.6m 0.9m 0.0 0.0 0:00.00 S dbus-launch
423 oesser 20 0 80.0m 0.0m 0.0 0.0 0:00.00 S (sd-pam)
457 oesser 20 0 13.0m 0.0m 0.0 0.0 0:00.00 S ssh-agent
1025 oesser 20 0 13.0m 0.0m 0.0 0.0 0:00.00 S ssh-agent
2 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kthreadd
3 root 20 0 0.0m 0.0m 0.0 0.0 0:02.94 S ksoftirqd/0
5 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:0H
7 root 20 0 0.0m 0.0m 0.0 0.0 0:02.39 S rcu_preempt
8 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S rcu_sched
9 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S rcu_bh
10 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/0
11 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/0
12 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/1
13 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/1
14 root 20 0 0.0m 0.0m 0.0 0.0 0:02.55 S ksoftirqd/1
16 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/1:0H
17 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/2
18 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/2
19 root 20 0 0.0m 0.0m 0.0 0.0 0:01.28 S ksoftirqd/2
21 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/2:0H
22 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S watchdog/3
23 root rt 0 0.0m 0.0m 0.0 0.0 0:00.00 S migration/3
24 root 20 0 0.0m 0.0m 0.0 0.0 0:00.47 S ksoftirqd/3
26 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/3:0H
27 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S khelper
28 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kdevtmpfs
29 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S netns
30 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S perf
31 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S khungtaskd
32 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S writeback
33 root 25 5 0.0m 0.0m 0.0 0.0 0:00.00 S ksmd
34 root 39 19 0.0m 0.0m 0.0 0.0 0:00.27 S khugepaged
35 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S crypto
36 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kintegrityd
37 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S bioset
38 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kblockd
39 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S devfreq_wq
41 root 20 0 0.0m 0.0m 0.0 0.0 2:31.11 S kswapd0
42 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S fsnotify_mark
47 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kthrotld
51 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S deferwq
83 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ata_sff
84 root 20 0 0.0m 0.0m 0.0 0.0 0:00.38 S kworker/3:1
85 root 20 0 0.0m 0.0m 0.0 0.0 0:00.48 S kworker/1:2
86 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_0
87 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_0
88 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_1
89 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_1
90 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_2
91 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_2
92 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_3
93 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_3
94 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_4
95 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_4
96 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_eh_5
97 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S scsi_tmf_5
100 root 20 0 0.0m 0.0m 0.0 0.0 0:02.53 S kworker/u8:4
106 root 0 -20 0.0m 0.0m 0.0 0.0 0:01.39 S kworker/0:1H
107 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.57 S kworker/1:1H
108 root 0 -20 0.0m 0.0m 0.0 0.0 0:05.04 S kworker/2:1H
111 root 20 0 0.0m 0.0m 0.0 0.0 0:00.16 S kworker/2:2
120 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.80 S kworker/3:1H
123 root 20 0 0.0m 0.0m 0.0 0.0 0:00.07 S jbd2/sda2-8
124 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ext4-rsv-conver
152 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/3:3
159 root 20 0 0.0m 0.0m 0.0 0.0 0:00.88 S kworker/0:2
203 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S edac-poller
204 root -51 0 0.0m 0.0m 0.0 0.0 0:00.00 S irq/27-mei_me
212 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S acpi_thermal_pm
238 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kpsmoused
241 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S hd-audio1
246 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S hd-audio0
258 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S led_workqueue
269 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kvm-irqfd-clean
298 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S cfg80211
301 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S kfd_process_wq
303 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S ttm_swap
379 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
380 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
381 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
382 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
383 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
384 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S radeon-crtc
886 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S iprt
1201 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/1:0
1698 root 20 0 0.0m 0.0m 0.0 0.0 0:00.46 S kworker/2:1
1922 root 0 -20 0.0m 0.0m 0.0 0.0 0:00.00 S dio/sda2
1923 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/u8:0
3098 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:1
3722 root 20 0 0.0m 0.0m 0.0 0.0 0:00.00 S kworker/0:0
So VirtualBox is using 173% of my CPU time (how is this possible?), but I see only 1% or 2% on each logical CPU. My CPU is an "i3-3240 CPU @ 3.40GHz" (2 physical cores, 4 logical cores) and the kernel is 3.19.3-3-ARCH (latest official Archlinux kernel). How is this possible? What's happening here? Is it a bug or do I completely misunderstand what these stats mean?Top does add up your multicore usage. So if a process is using two cores at 100% it is using 200%.
However something does not add up in correctly in your case.
I've found top to be kind of unreliable in multicore (especially with hyper threading) systems. -
How to find out top 10 records from the R/3 using Java code (WD Program)
Hi Experts,
I have used Java Web Dynpro program to fetch records from the backend. Following code helps me and fetches record. As per the customer reqirement, we have to fetch only top 10 records (Actual Cost) from the backend. So I have to modify the Java code. How I can do so? Please help.
wdContext.nodeGraphData().invalidate();
IPublicCostcnt.IGraphDataElement categoryElement;
for (int i = 0; i < wdContext.nodeItab_Final1().size(); i++) {
categoryElement = wdContext.createGraphDataElement();
categoryElement.setCostElement(""+ wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getDescription());
categoryElement.setActualCost(wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getActual_Cost().toString());
categoryElement.setPlannedCost(wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getPlan_Cost().toString());
wdContext.nodeGraphData().addElement(categoryElement);
Regards,
GaryDear SDN Users,
This is how I resolved the issue.
1) Requested ABAPer to provide me sorted data. The data has been sorted in descending order of actual_cost.
2) After that I used following code. This resolved the issue.
if (wdContext.nodeItab_Final1().size()>10){
IPublicCostcnt.IGraphDataElement categoryElement;
for (int i = 0; i < 10; i++) {
categoryElement = wdContext.createGraphDataElement();
categoryElement.setCostElement(""+ wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getDescription());
categoryElement.setActualCost(wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getActual_Cost().toString());
categoryElement.setPlannedCost(wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getPlan_Cost().toString());
wdContext.nodeGraphData().addElement(categoryElement);
if (wdContext.nodeItab_Final1().size()<=10){
if (wdContext.nodeItab_Final1().size()>0){
IPublicCostcnt.IGraphDataElement categoryElement;
for (int i = 0; i < wdContext.nodeItab_Final1().size(); i++) {
categoryElement = wdContext.createGraphDataElement();
categoryElement.setCostElement(""+ wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getDescription());
categoryElement.setActualCost(wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getActual_Cost().toString());
categoryElement.setPlannedCost(wdContext.nodeItab_Final1().getItab_Final1ElementAt(i).getPlan_Cost().toString());
wdContext.nodeGraphData().addElement(categoryElement);
Regards,
Gary -
Conky displays on top in openbox. [Solved]
Probably a dum question, but I have been trying out openbox lately. But conky when it starts displays on top of everything. I am coming from fluxbox where it diplays properly on the bottom layer.
here is my autostart.sh and conkyrc
# Set wallpaper
eval `cat ~/.fehbg`&
cp ~/.gtkrc-2.0_conf ~/.gtkrc-2.0&
## Apps after openbox starts
conky&
(sleep 2 && pypanel)&
# set to yes if you want Conky to be forked in the background
background no
cpu_avg_samples 2
net_avg_samples 2
#out_to_console no
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
xftfont snap
own_window_colour 222222
# Text alpha when using Xft
xftalpha 0.8
# Update interval in seconds
update_interval 1
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar
own_window_type override
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 120 1
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders no
# border margins
border_margin 1
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
alignment bottom_left
#alignment bottom_right
#alignment top_right
# Gap between borders of screen and text
gap_x 2
gap_y 2
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer no
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
TEXT
${font Arial-size=8}┌─${font}[ ${sysname} ${kernel}
${font Arial-size=8}├────${font}[ CPU: ${cpu} %
${font Arial-size=8}├────${font}[ Memory: ${memperc} %
${font Arial-size=8}├────${font}[ Uptime: ${uptime}
${font Arial-size=8}└────${font}[ Battery: ${battery}
${font Arial-size=8}┌─${font}[ Filesystems
${font Arial-size=8}├────${font}[ / : ${fs_used /}/${fs_size /}
${font Arial-size=8}└────${font}[ /home: ${fs_used /home}/${fs_size /home}
${font Arial-size=8}┌─${font}[ Packages
${font Arial-size=8}└────${font}[ ${execi 120 python /home/semperfiguy/bin/pacnotify.py}
Last edited by semperfiguy (2008-01-05 14:52:55)Your problem is the Own_window_type option being 'override', I believe. Set that to 'desktop' and hopefully you'll be good to go. (if not, I can post my .conkyrc here, which works fine in openbox and you can copy the relevant parts of it out)
-
Not able to display more than 65k records in Bex report.
Hi Experts,
I have requirement for the Bex report to display more than 65k records..
Please help me on this.. i am feed up of get proper update for this..
Its urgent.. pls help on thisHi,
The Excel 2007 have a limit of 1,048,576 rows, unfortunately SAP cannot export more than 65.536 rows that is an exiting limitation exporting to Excel files.
The note 700206 explains the MAX Size Limit for XXL Export, and it's
not possible to increase this limit. XXL Export is generic export
utility to export the list object from SAP to Excel and it cannot
work differently for different Excel releases.
I would emphasizes the purpose of BEx Analyzer: it is not a tool for the
mass extraction of data, but it is a viewer/navigator tool for data.
For huge exports like the one mentioned SAP offers Open Hub as a 3rd
party tool. You can have more details in the url below:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.
docs/library/icc/BW-OHS%20Open%20Hub%20Service%2c%20Third-party%20
Integration.pdf
Thanks,
Venkat
Maybe you are looking for
-
Error: The preference path does not exist
Subject: Error: The preference path does not exist: Oracle.Portal.Page(WWC-51000)] I can not resolve this error. Have you already experienced this error? I'm sending more information below. Regards, Dime DETAILS: ======== ORACLE Product: iAS 9i EE, v
-
B&W G3 expansion - G4/acard66/radion 7000/dvd burner/ilife
I picked up a 350 for $9 on ebay, no hd, so I put a hd and running 10.3.9. Several questions 1. having a tougth time upgrading to a 466G4 as I need 9 so I can run update to firmware, loaded 9.1 did clean install, it will not reboot, has happy mac and
-
Error during the configuration of communication channel
Hi , I am trying to create a senario where XI will send the DEBMAS Idocs to the SAP system. Can you please help me as to how sould i go about configuring this senarion. The error i am getting is - Communication channel is not configured correctly. Ch
-
How can I get Flash to install please?
Hi, trying to install FP 11.7.700.169 on Imac OSX 10.6.8 with Safari 5.1.9. Have tried on numerous occasions over days. Downloads fine, click on icon, installs, says installed successfully. When I go to site requiring it, prompts me to install late
-
I'm getting a warning: "The iTunes Music Library file cannot be saved. An unknown error occurred (-50). [checkbox] Do not warn me again." I would like to know what this means, and what to do about it. We're using iTunes 6 on a G3 b&w, with a second H