Propagation Swapping Values
Hi... this is my situation. Using the SCOTT schema i'm working with the scott.employee table. I have configured conflict resolution for updates using maximum method with a timestamp field; and disabled the COMPARE_OLD_VALUES option. I used two instances to work with. When I update different columns on both side.. it works fine; the engine resolves the conflict by "merging" the operations. BUT when I update the same column at the same time.. it swaps the values from each instance. For example... on orc1 I set the salary=1000 to employee=10; and on orc2 I set the salary=500 to employee=10. The result is the inverse.. on orc1 I get the value of 500 and on orc2 i get the value of 1000. Any idea on how can I reolve this?
Hi... this is my situation. Using the SCOTT schema i'm working with the scott.employee table. I have configured conflict resolution for updates using maximum method with a timestamp field; and disabled the COMPARE_OLD_VALUES option. I used two instances to work with. When I update different columns on both side.. it works fine; the engine resolves the conflict by "merging" the operations. BUT when I update the same column at the same time.. it swaps the values from each instance. For example... on orc1 I set the salary=1000 to employee=10; and on orc2 I set the salary=500 to employee=10. The result is the inverse.. on orc1 I get the value of 500 and on orc2 i get the value of 1000. Any idea on how can I reolve this?
Similar Messages
-
Rookie Question: Swap values? Declare an array and values of its indices?
Hello,
I hope this is the right forum: I have a simple Java Problem but i do not get it.
Is like that: I have to swap values within an array e.g i have one array with 3 indices. Indice 0 (the first indice) has value 12. The middle indice has no value, and the second indice has value 9. How to swap 9 to 12 and 12 to 9 without direct swap, in other words, by using the middle indice that has no value or is zero? And how do i write it in an array?
My other questions: How do i Declare an array and values of its indices?
I hope this is the right forum or site at all, in cas enot, i hope you still can help or give me links that could help. I really need this.Hi Rookie,
http://forum.sun.com is the best place to get answers for your queries.
Answer to you first question:
array[0]=array[0]+array[2]; // array[0] will have 21, because 9+12.
array[2]=array[0]-array[2]; // array[2] will have 9, because 21-12.
array[0]=array0]-array[2]; // array[0] will have 12, because 21-9.
Hope your first query is resolved.
I will answer your next query in my next reply.
Thanks & Regards,
Charan. -
Swaps values showing in RED -TCODE ST02
Hi All,
When I checked the ST02 transaction value of "SWAPS" for program buffer,CUA buffer,screen buffer, Tables generic key buffer and export/import buffer are showing in "RED" colour.
(%) (kb) %
Buffer Hitratio Allocated Free Space swaps
Program 99.88 900000 0.36 19541
CUA 99.9 10,000 1.27 37960
export/import 94.33 40,000 29.10 750,676
Swaps value are showing in RED mark....Is there somthing fishy? What can be done to overcome this issue?
Thanks in advance
Regards,
Prashant.Dear Prashant,
SWAP is the amount of page space available at OS level. In case of windows it should not be more than 4 times the ram and in case of UNIX 3 times the ram. If swap or paging is configured high is the paging rate and low is the performance. If there is no more free directory entries are available in the buffer for new objects, old objects are removed and the space is occupied by new objects thus a swapping takes place i.e some buffer content is removed from the buffer and replaced by new buffer contents. High swap is normally a symptom of memory bottleneck.
Red indicates swaps are to be avoided and indicate that there might be a bottleneck.
What can be done to overcome this issue?
You need to increase the parameter then.
Double-click on the red value, click on "current parameters" and increase that parameter in the instance profile using RZ10. If the parameters are not yet in the profile, add them.
After changing the instance profile you need to restart the instance.
Regards,
Ashutosh -
What is the reason for the Red color for the swap values?
Dear experts,
May I know why the swap values displyed while executing the ST02 T-code are in Red color?System performance tuning is continuous work. Once you will change the parameter then you need to monitor the system if you continuous getting Red in St02 then you need to again fine tune the parameters. So, it is a continuous improvement that happens over time. If you want to analyze it then you can check ST03n about how much load is there on the system and based on that you can change the parameter.
Thanks
Sunny -
I want to swap the value of two Integer.
public class exchange{
static Integer a =new Integer(5);
static Integer b =new Integer(25);
private static void ex(Integer a ,Integer b){
Integer t=a;
a=b;
b=t;
System.out.println("a="+a+" b="+b);
public static void main(String args[])
System.out.println("a="+a+" b="+b);
ex(a,b);
System.out.println("a="+a+" b="+b);
but the result is the following:
a=5 b=25
a=25 b=5
a=5 b=25
Why this happen,and how to implement my intention.The result is just according to what you have did:
see what is happening:
1. you have created two objects of type integer having values 5 and 25
2. then you are calling ex(a,b).
3. Then you are passing both of the objects by value to
function ex(..,..).In the function ex,you have received the values of a and b, which you exchange,remember they are not the same as you have passed. And when you return back, this will not affect the objects you have sent.
Hence when you come back from the function, The objects are, what they are sent. It is because YOU ARE NOT PASSING THE OBJECTS BY REFERRENCE;
I am sending you a correct code to swap the values. You may note that I am sending the values by referrence , with the help of an object, having attributes as a and b, which are later swapped.
//FILE: Main.java
/* Class For instiating Object having attributes a and b, which are to be swapped. */
class Myint
{ public int a;
public int b;
//Swapper swapper = new Swapper();
Myint(int a, int b)
this.a=a;
this.b=b;
//For instiating Object to swap values of Object of type Myint
class Swapper
public void swap(Myint myint)
int temp;
temp= myint.a;
myint.a=myint.b;
myint.b=temp;
//return(myint);
//Main class
class Main
//Demo demo = new Demo();
public static void main(String[] args)
{ Demo demo = new Demo();
demo.init();
/*The class for instianting an object, which instiantiates an
object of type Myint, whose values can be swapped.
class Demo
Myint myint = new Myint(5,25);
Swapper swapper = new Swapper();
public void init()
System.out.println("a="+myint.a+","+"b="+myint.b);
swapper.swap(myint);
System.out.println("a="+myint.a+","+"b="+myint.b);
This should definitely clarify your confusion.
Gaurav_k1 -
Best way to swap values between 2 lists?
I want tne user to be able to view s seperate lists of strings ( Via a dropdown combo, a scrollpane or similar ) and allow them to remove a value from one list and swap it over into another list and vice versa.
What is the best way to implement this?Sorry, I should have been more specific. It's on a
GUI, User is presented with 2 lists/tables of values
and can select one or more on the first list and
"move/pop" them over to the other list with a button
click.?
Well what can I say, remove it from list/table A and add the deleted item in list/table B.
If you could post some code where you can show you're trying to do this, but failed, then perhaps you'd a more concrete answer.
JList examples from the Javaalmanac:
http://www.google.com/custom?domains=exampledepot.com&q=JList&sa=Google+Search&sitesearch=exampledepot.com&client=pub-6001183370374757&forid=1&ie=ISO-8859-1&oe=ISO-8859-1&cof=GALT%3A%23008000%3BGL%3A1%3BDIV%3A%23336699%3BVLC%3A663399%3BAH%3Acenter%3BBGC%3AFFFFFF%3BLBGC%3A336699%3BALC%3A0000FF%3BLC%3A0000FF%3BT%3A000000%3BGFNT%3A0000FF%3BGIMP%3A0000FF%3BFORID%3A1%3B&hl=en
JTable examples from the Javaalmanac:
http://www.google.com/custom?hl=en&ie=ISO-8859-1&oe=ISO-8859-1&safe=off&client=pub-6001183370374757&cof=FORID%3A1%3BGL%3A1%3BLBGC%3A336699%3BLC%3A%230000ff%3BVLC%3A%23663399%3BGFNT%3A%230000ff%3BGIMP%3A%230000ff%3BDIV%3A%23336699%3B&domains=exampledepot.com&q=JTable&btnG=Search&sitesearch=exampledepot.com
JList tutorial from Sun:
http://java.sun.com/docs/books/tutorial/uiswing/components/list.html
JTable tutorial from Sun:
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html -
Swapping values in an array of type Node
I have a simple class called Node that is storing integers and from this class I am creating an array:
public class Node {
private int iData;
public Node(int key)
iData = key;
public int getKey() {
return iData;
public void setKey(int id) {
iData = id;
} When I insert an integer into the array, I need to be able to look to the previous value and swap it if necessary so that for each insert the smallest number is always the first element.
The problem is that I keep getting "Incompatible Type" errors. I know the solution is very simple, but no matter what I try I keep getting this error.
//assume array has already been created
int temp = array[numOfNodes -1].getKey();
array[numOfNodes -1] = array[numOfNodes];
array[numOfNodes].setKey(temp); I understand why this is wrong, since temp is an integer and the value should be of type Node, but I do not know how to do this correctly.
Thanks
Edited by: jaden403 on Sep 22, 2007 1:17 PM
Edited by: jaden403 on Sep 22, 2007 1:17 PMdo not know how to do this correctly.
import java.util.Random;
public class IntNodeTest {
public static void main(String[] args) {
Random rand = new Random();
int range = 20;
int size = 5;
IntNode[] nodes = new IntNode[0];
for(int j = 0; j < size; j++) {
nodes = addNode(new IntNode(rand.nextInt(range+1)), nodes);
showArray(nodes);
private static IntNode[] addNode(IntNode node, IntNode[] nodes) {
// Make a new array to receive the new element.
IntNode[] temp = new IntNode[nodes.length+1];
// Copy the existing array into temp.
System.arraycopy(nodes, 0, temp, 0, nodes.length);
// Assign node to the last element in temp.
temp[nodes.length] = node;
return temp;
private static void showArray(IntNode[] nodes) {
for(int j = 0; j < nodes.length; j++) {
System.out.print(nodes[j].getKey());
if(j < nodes.length-1)
System.out.print(", ");
System.out.println();
class IntNode {
private int iData;
public IntNode(int key) {
iData = key;
public int getKey() {
return iData;
public void setKey(int id) {
iData = id;
} -
Checking Swap space from OS level in HPUX
Hi All,
We have some issues with swap in our SAP production system when I checked the ST06 Tcode
Swap
Configured swap Kb 20,971,520 Maximum swap-space Kb 54,389,460
Free in swap-space Kb 8,945,160 Actual swap-space Kb 54,389,460
And when I checked from the OS level ,it gave me the following result
swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 658208 390368 63% 0 - 1 /dev/vg00/lvol2
dev 19922944 889824 19033120 4% 0 - 1 /dev/vg00/lvol9
reserve - 19423488 -19423488
memory 33417940 24781076 8636864 74%
Does it mean that total swap space is (1048576 + 19922944)KB which is 20GB?
If yes ,then how to increase the swap space in UNIX based systems?
SWAP SPACE = 3*RAM? If yes ,do we need to put swap size =60 GB?
In ST06
what is the difference between CONFIGURED SWAP-SPACE and ACTUAL SWAP-SPACE?
Regards,
Prashant
Edited by: Prashant Shukla on Oct 13, 2008 4:21 AM
Edited by: Prashant Shukla on Oct 13, 2008 4:23 AMHi,
Thanks for ur reply but when I checked it from OS level why it is showing only 20GB ?
What's the diff between configured and actual swap space ?
I checked SAP Notes :146289 and 153641
They clearly says that swap space should be atleast 20 GB plus 10 GB for additional Instance for the server.
In our landscape we have CI and 4 dialog instance connected to it
that means our swap space should be 20 + 10*4=60 GB
We are having HPUX server and ST06 Swap values are
Swap
Configured swap Kb 20,971,520 Maximum swap-space Kb 54,389,460
Free in swap-space Kb 8,697,960 Actual swap-space Kb 54,389,460
Do we need to increase the SWAP Space to increase the system performance?
What is difference between configured swap and actual swap space ?
SAP Note 1112627 clearly says that SWAP SPACE = 2* RAM for HPUX servers.
What do you guys say about this?
Regards,
Prashant
Edited by: Prashant Shukla on Oct 13, 2008 5:15 AM
Edited by: Prashant Shukla on Oct 13, 2008 5:53 AM -
St02 - Swaps in Red( Common but complicated)
Hello Friends,
I am using SAP Netweaver 2004s, SAP_BASIS - 700, OS - Windows NT 6.1, DB- MSSQL 8.00.194.
In Tcode- ST02 i found many red alers while swapping. however many entires have hit ratio of 99% hopefully this can be ignored. please correct me if i am wrong. but 2 entries have less hit ratio the details are given below
Initial records 62.77 12,625 10,894 90.78 5,000 1,076 21.52 3,506 7,430
Initial record buffer IRBD
rsdb/ntab/irbdsize 12000 kB Size of initial record buffer
rsdb/ntab/entrycount 20000 Max. number / 2 of initial records buffered
Single record 73.95 20,000 4,494 22.63 500 375 75.00 1,033 , 824,053
Single record table buffer TABLP
rtbb/buffer_length 20000 kB Size of single record table buffer
rtbb/max_tables 500 Max. number of buffered tables
My Question is on what basis i can change this parameters? should i increase or decrease the parameter? how to find out exact digit of the profile parameters?
Thanks,
ShwethaHi Shwetha,
The number of swaps you get per day is more relevant than the total number in ST02,
which is the swaps since the last system start.
Double click each line and then click the history button to see how many you get per day
The swap values you have don't seem that large if the machine has been up a few days.
You could try adding more to the single record buffer - perhaps double it.
We have always had a low hit rate in all our systems for the initial record buffer.
I have given up worrying about it.
Tony
Edited by: Tony Morrissey on Jul 8, 2010 1:58 PM -
How clean export/import (st02) swaps?
Hi
We are facing a big problem in PRD environment, point is, very low PRD time performance and users need to work; checking on ST02 systems shows Buffers "Export/Import" swaps values high ( red ), We were wondering if exists a T/C which help us to clean buffers?
Thanks your help!!!Hugo, (tu hablas español, si es asi hay un foro en español tambien)
The low performance issue is not just a problem in swaps, remember something, they are cumulative so if your system is up from a long time ago, then is normal that ST02 shows swaps, how high depends on hits to the buffers, how is the hit ratios for the buffers with red swaps?
If you take down SAP and start it again swaps will disappear.
If you are experiencing performance problems then it is better to take a look at the ST03N, there you could see if problems are in DB, Network, Presentation server (PC with SAPGUI), process time, etc and there you can narrow the problem.
Did the server was working right and then turned slow from some time ago? or
did you do an upgrade to ECC 6.0? or
is the problem only during certain hours? or
is only when executing some transactions/jobs?
With more info we can help you more... -
Interchange values from one row with another row
Dear Oracle Guru's
While Migrating data from legacy system, there was a confusion and data in two columns got jumbled
Ex The data should be like this
Custcode leaseno
1034 A234
1035 A235
1036 A236
whereas the table has data like this
Custcode leaseno
1034 A235
1035 A234
1036 A237
1037 A236
How do we swap values between two rows
Kindly guide me on this
With Warm Regards
ssr>
Ex The data should be like this
Custcode leaseno
1034 A234
1035 A235
1036 A236
whereas the table has data like this
Custcode leaseno
1034 A235
1035 A234
1036 A237
1037 A236
How do we swap values between two rows And now, time for yet another guess... ;)
My guess is that your migration program interchanged "leaseno" value in pairs from the top - the top being the least value of "custcode".
So, the "leaseno" values of Row 1 and Row 2 were swapped.
The "leaseno" values of Row 3 and Row 4 were swapped.
And so on.
Which also means that if the total number of rows in your table is even, then the swap would be "complete". Otherwise, the last row would be left out. I don't know what you want to do with that.
test@XE>
test@XE> select * from t;
CUSTCODE LEAS
1034 A235
1035 A234 <= you want to swap A235 and A234
1036 A237
1037 A236 <= you want to swap A237 and A236
1038 A238 <= let's leave it hanging there...
5 rows selected.
test@XE>
test@XE> And of course, swapping from "top to bottom" means swapping from the least to highest value of "custcode".
Here's the SELECT statement for that -
test@XE>
test@XE> -- show the records in the table t
test@XE>
test@XE> select * from t;
CUSTCODE LEASENO
1034 A235
1035 A234
1036 A237
1037 A236
1038 A238
5 rows selected.
test@XE>
test@XE> -- the SELECT statement for swapping leaseno values
test@XE>
test@XE> @test7a
test@XE> --
test@XE> select custcode,
2 leaseno,
3 case
4 when mod(row_number() over (order by custcode),2) = 1 and
5 lead(leaseno) over (order by custcode) is null
6 then leaseno
7 when mod(row_number() over (order by custcode),2) = 1
8 then lead(leaseno) over (order by custcode)
9 else lag(leaseno) over (order by custcode)
10 end as new_leaseno
11 from t;
CUSTCODE LEASENO NEW_LEASENO
1034 A235 A234
1035 A234 A235
1036 A237 A236
1037 A236 A237
1038 A238 A238
5 rows selected.
test@XE>
test@XE> And here's the update statement -
test@XE>
test@XE> -- the UPDATE statement for updating leaseno values in pairs from the top
test@XE>
test@XE> @test7b
test@XE> --
test@XE> update t t1
2 set t1.leaseno = (
3 select new_leaseno
4 from (
5 select custcode,
6 leaseno,
7 case
8 when mod(row_number() over (order by custcode),2) = 1 and
9 lead(leaseno) over (order by custcode) is null
10 then leaseno
11 when mod(row_number() over (order by custcode),2) = 1
12 then lead(leaseno) over (order by custcode)
13 else lag(leaseno) over (order by custcode)
14 end as new_leaseno
15 from t
16 ) t2
17 where t2.custcode = t1.custcode
18 );
5 rows updated.
test@XE>
test@XE>
test@XE> select * from t;
CUSTCODE LEASENO
1034 A234
1035 A235
1036 A236
1037 A237
1038 A238
5 rows selected.
test@XE>
test@XE> HTH,
isotope -
Hi All,
I wanted to know whether the action framework in OBIEE allows us to perform some post processing on a report. I need to first obtain a report in OBIEE then swap values in a column based on a mapping table and then email the report to a list of users.
Thanks,
NikitaHi Ram,
Here are a couple URLs with examples on those types of actions.
Java Method example
http://www.rittmanmead.com/2010/09/oracle-bi-ee-11g-action-framework-java-ejbs-and-pdf-watermarks/
Invoke Browser Script
http://www.rittmanmead.com/2012/07/navigating-to-bi-content-in-obiee11g-and-passing-multiple-parameters/
Invoke an HTTP Request
This is a way to create a simple http GET or POST method, you can google around and find any number of examples on this.
JB -
Detail Sort Field in a Master Detail Report
Hello,
New Apex user here. I am working with version 4.0.2.00.07. I have created a Master Detail form, and everything is working perfectly. I have one additional requirement for which I can't seem to find a good method of implementation. The detail table contains a field which I need to use for sequencing the detail records in a specific order for a given master record (this field is not the primary key). Let's say the table field is called det_seq. My question is, what is the best way to have the next incremented number added to a new record when the user clicks the "Add Row" button in the detail region? So, for instance, if there are 5 existing detail records, I want the next record added with the "Add Row" button to default the number 6 into the det_seq field. Another desirable, but not absolutely necessary, feature would be to give the end user the ability to re-order the detail records, updating the det_seq field as they do so. Any guidance would be greatly appreciated.
Thanks!
MikeHi Mike - welcome to ApEx!
Could more than one user add detail rows to the same master row at one time? If so, incrementing det_seq on a click of the "Add Row" button could create duplicate det_seq values:
User A clicks "Add Row" getting det_seq 1, and begins to enter data (doesn't yet save).
User B clicks "Add Row" on the same master record, getting det_seq 1, and begins to enter data.
User A saves, no problem.
User B saves, another det_seq = 1 is saved (or an exception is thrown if you've declared det_seq to be unique within a master).
If that could be an issue for you, one thing to consider is assigning the det_seq value from within a before-insert trigger so that:
User A clicks "Add Row" (det_seq is null), and begins to enter data.
User B clicks "Add Row" (det_seq is null), and begins to enter data.
User A saves, the before-insert trigger fires assigning 1 to det_seq.
User B saves, the before-insert trigger fires assigning 2 to det_seq.
As far as actually getting the next value for det_seq within a given master, here's one way (assume that :MASTER_ID is an item on the master-detail form that is holding the primary key of the master table, and that your child table also has this as a foreign key back to the master table):
SELECT NVL(MAX(det_seq), 0) + 1
INTO l_next_det_seq
FROM detail_table
WHERE master_id = :MASTER_IDThe NVL takes care of the case where there are not yet any detail rows (meaning that MAX would return NULL).
On the re-ordering feature - I can't give a lot of detail without trying it out for myself, but maybe something to look into:
- Put a couple buttons/images/links at the end of each detail row indicating "move up"/"move down".
- Create "move up"/"move down" page processes, and attach javascript to the buttons/images/links to fire them on a click.
- The page processes would update the clicked row's det_seq by swapping values with the previous row's det_seq ("move up") or next row's det_seq ("move down"). The special cases of course are when the first det_seq is being moved up or the last det_seq is being moved down and they have to loop around - all of the rows det_seq's then have to swap. I'd love to see that when you've got it going!
Hope this helps and I hope you enjoy working with ApEx,
John
If you find this information useful, please remember to mark the post "helpful" or "correct" so that others may benefit as well. -
Failing to install pkg on non-global zone
(root)@syslog1:~# pkgadd -d . SUNWant
Processing package instance <SUNWant> from </home/iqbala>
Jakarta ANT(sparc) 11.10.0,REV=2005.01.08.05.16
WARNING: Stale lock installed for pkgrm, pkg SUNWaspell quit in remove-initial state.
Removing lock.
Using </> as the package base directory.
## Processing package information.
ERROR: Cannot allocate memory for package object array.
pkgadd: ERROR: memory allocation failure
pkgadd: ERROR: unable to process pkgmap
Installation of <SUNWant> failed (internal error).
No changes were made to the system.
(root)@syslog1:~#
(root)@syslog1:~# zonename
syslog
This non-global zone is capped to 1G phy memory out of 2G total of the T1000
(root)@syslog-global:~# uname -a
SunOS syslog-global 5.10 Generic_137137-09 sun4v sparc SUNW,Sun-Fire-T1000
(root)@syslog-global:~# zoneadm list
global
syslog
(root)@syslog-global:~# zonename
global
(root)@syslog-global:~# zonecfg -z syslog info
zonename: syslog
zonepath: /syslog
brand: native
autoboot: true
bootargs: -m verbose
pool:
limitpriv: default,sys_time
scheduling-class: FSS
ip-type: shared
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
fs:
dir: /var/logs
special: /var/logs
raw not specified
type: lofs
options: []
fs:
dir: /usr/local
special: /syslog-local/usr/local
raw not specified
type: lofs
options: []
net:
address: 192.168.0.114
physical: aggr1
defrouter: 192.168.0.1
dedicated-cpu:
ncpus: 1-8
importance: 10
capped-memory:
physical: 1G
[swap: 512M]
attr:
name: comment
type: string
value: "syslog server"
rctl:
name: zone.max-swap
value: (priv=privileged,limit=536870912,action=deny)
(root)@syslog-global:~# prstat -Z
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
13118 root 7184K 5952K sleep 1 0 52:00:54 0.5% nco_p_syslog/10
11730 root 162M 123M sleep 59 0 38:51:35 0.1% splunkd/22
7324 root 12M 8280K sleep 59 0 0:58:06 0.0% syslogd/25
266 root 97M 24M sleep 49 0 31:45:02 0.0% poold/8
209 daemon 8104K 3080K sleep 59 0 24:39:56 0.0% rcapd/1
29553 root 2496K 2024K cpu4 59 5 0:00:00 0.0% splunk-optimize/1
21578 root 38M 36M sleep 59 0 0:01:10 0.0% puppetd/2
29554 root 6088K 3712K cpu0 49 0 0:00:00 0.0% prstat/1
24244 root 5760K 3104K sleep 49 0 0:00:00 0.0% bash/1
1024 noaccess 171M 96M sleep 59 0 8:41:32 0.0% java/18
27771 noaccess 189M 100M sleep 1 0 4:44:36 0.0% java/18
274 daemon 3192K 496K sleep 59 0 0:00:00 0.0% statd/1
279 daemon 2816K 576K sleep 60 -20 0:00:00 0.0% nfs4cbd/2
326 root 2304K 40K sleep 59 0 0:00:00 0.0% cimomboot/1
151 root 2576K 344K sleep 59 0 0:00:00 0.0% drd/2
ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
3 47 465M 513M 25% 99:54:00 0.7% syslog
0 42 391M 466M 23% 71:04:39 0.1% global
Total: 89 processes, 386 lwps, load averages: 0.21, 0.26, 0.26
Am I hitting a bug?If your pkg wants to be installed in /usr or another inherit-pkg-dir, it can't because they are share as read-only.
Verify wherer the pkg copies its files. -
BexGetData - Limitation or bug/problem ?
Hello,
We are currently running BI 7 NW04s on Service Pack 9 (but with many notes applied to fix known issues).
I am attempting to determine the level of flexibility available with the BExGetData and "convert to fomula" functionality in the Bex Analyzer (Excel).
Am I correct in thinking that once you have "converted" your table to formulas you can only use the characteristic values that were displayed in the drill down prior to converting?
For example, I have a report listing <u><b>Amount</b></u> by <u><b>Cost Centre</b></u> and <u><b>Cost element</b></u>.
On running the query I have the Cost Centre and Cost Element values filtered to a single value for each - giving me one row of data.
I then convert the values to formulas and attempt the replace the Cost Centre and Cost element characteristic values with other values where I know there are posted amounts in the cube. The formula always displays #NV , even though I know amounts exist.
A number is only returned when I key in the original values I had in the drill down prior to converting. This behaviour seems at odds with the description of BexGetData and convert to formula in the Netweaver help.
Can somebody please tell me if I am totally misunderstanding the extent of this new functionality.
Thanks in advance,
JCMHello JCM2007,
I understand your problem and your question.
In my project the reporting-target is excel-analyzer and not the web.
We have several cubes concering to SAP-controlling.
Profit-Center-Accounting (and cc too) needs the following fields and values:
Proft-Center
Account
Year/Period
Version
Plan/Act-mark
Amount
The idea was, writing an Query to reduce the numer of fields and values, and
use it as a Dataprovider instead of the Cube (see SDN-show). (without variables)
My first step was:
Rows: 0accounts (with one presentationhierarchy) expanded to all nodes and values
cols: 0amount, Year, Period, Version, Plan/act/Mark
Normaly I would like to have the profit-center in rows, but there is a limit
in Excel (65k). So i put the Profit-Center into the filter.
In this example I got a simple result, navigation works fine, when converted in
formulars
But I want more flexibilty. I don't want use the filter-dialog and I don't want
use variables.
Using profit-center and 0account in rows can only work, if I use
hierarchynodes and expand only (f.e.) to level 3. (see limitation of Excel < 2007)
After the first result, I convert to formular. And then I have the effect:
I only can swap values (Profit-Center or accounts) wich have allways been
listed (or included) in the first queryresult. For example, I swap the nodevalue
of a field of level 4. Here I got the #NV, because the hierarchy was expanded to
level 3. But there are values concerning to the entered value.
Whats the reason (maybe I was wrong)
You are right, the flexibility has a limit. Only values of the basic-query (bevore converting to formular) are availible when your entering new values.
But what can I do? I my opinion there is a bug in this function.
My interim solution works as follow:
- You have your converted-to-formular Excel-result concerning to Dataprovider DP1.
- You got #NV when entering an new Object (cost-center/profit-center)
- Place a new design-item under your excel-layout (designmode)
- Use the same dataprovider DP1.
- exit the designmode.
- You have the same result before converting to formular.
- Now click right mouse button to querypropertys.
- You see cols, rows and filter fields.
- Change the selection of cols, rows or filter fields. (but do not delete the
selection-criteria) of the first excelresult (otherwise #NV is in the first result).
- Choose only those selections you realy need.
- go back to your queryresult.
- Now you have a bigger resultarea.
- So you can DELETE the designitem now, because You didn't need it.
- Now try the first resultarea.
Swap values, and it will work fine.
Be carefull:
If your query-resultarea is to large, you will become problems in excel.
The OLAP-resultarea (requested in the dataproviderquery) will be transported
to the local excel-cache. Your pc-cpu need 100% for a few minutes (50% dualcore)
and memory grows to 500 megabyte (in my example). In this environment, excel aborts and you have problems with the users.
Look for aggregates and combine nodes of object and accounts. (I have 40 aggregates because there are more then 2000 profit-center and costcenters)
The first result is much smaller when you use aggregates. But you must insert the designitem when you want enlarge your queryresult.
Regards
Roland
Maybe you are looking for
-
Is there any Price Protection in Lenovo ?
I bought a T500 on lenovo's website on Jan 10. The price is $1,246.74. Yesterday I found the price of the same configuration T500 had become to $1,204.27 before I received the computer. It's very disapointed to find my computer's price cut down befor
-
Safari has deleted all my saved passwords, and not saving any I ask!
Pretty self explanatory... But just today, Safari seems to have completely wiped all my saved passwords, and I had a lot saved. The pop up box saying 'Do you want to save this password?' is still coming up when I log into an account somewhere, and ev
-
My printer almost completely disables my iMac computer which I usually have to turn off manually. (I thought this was a problem with my HP printer and thus purchased a Canon. Not so.) Snow Leopard, Firefox browser, 10.8.5 Mac operating system, printe
-
Text highlight showing thru other layer
Could not think of a good title, sorry. Using Encore 2. I have created a menu in photoshop. The background is a photo that fills the screen, and I have put two titles on a part of the picture. Created highlight layers for each title. Looks okay in Ph
-
TS1424 Must contact itunes support to complete purchase.... WHY?
I cant make my in app purchase are my setting off its like painful to get some one at apple or itunes to reply