How to always display waiting picture on portal when executing a query ?
Hi,
We use netweaver portal to publish our queries to users
This queries use 0ANALYSIS_PATTERN template by default
Our issue is when a query is executed the waiting picture loading_ani.gif does not always appear and so the user don't know if his request is running
After several tests we saw that the waiting picture usually appears when user change values in variable screen
How can I customize to always have the waiting picture at any time a querie is in execution progress ?
Thanks for help
Sebastien
Hi Andre,
Maintain your factory calendar idents Valid To year field (BJAHR) in Table TFACD
You can do this via tcode SCAL, or navigate through SPRO.
Most likely you have your factory calendars set with Valid To dates as 2010. You may also be encountering some load issues depending on exit routines used in transformations in determining workdays/factory days etc.
Thanks,
Eric Filmer
Similar Messages
-
I can't access the menu of my iPad because it is locked by a picture i was manipulating. How can i display that picture?
http://support.apple.com/kb/ht1212
-
How can i display image in RTF template when Oracle Apps running in Windows
Can any body help how can i display image in RTF template when oracle apps running in Windows Server.
Thanks
RaviHi Ravi,
You can add images into your rtf template using MS Word Insert Picture feature.
Did you try this method?
Thanks
Ravi
[email protected] -
How do I get a picture to stay when I move and scale it for my home screen?
How do I get a picture to stay when I move and scale it for my home screen?
Unfortunately that seems to be a known bug. And something we have to wait for APple to fix. THere are other threads on the same topic and some people have work arounds so you might want to poke around in the 'more like this' on the right.
-
How do you display a swf video / videos when you mouse over
How do you display a swf video / videos when you mouse over, It'll be something like a pop up but just that it doesn't open in another windows but within the same window and will be like a pop up roll over image.
Thank you for the reply.
I've been putzing around with it and came across the 'SetEventHandler' object and thought I'd try and make that one work.
Here's what I've got so far.
<mx:SetEventHandler target="{turnAroundMovie}" name="handleMovieClip" handler="stopMovie()"/>
And then my fuction.
<mx:Script>
<![CDATA[
private function stopMovie():void{
turnAroundMovie.stop(); <!-- here's where I'm getting stuck -->
]]>
</mx:Script>
My first instinct was the simple stop(), but that didn't fly. I even added a stopMovie frame in my .swf and tried a gotoAndStop('stopMovie'); but that didn't fly either. And that's kind of where I'm stuck at. -
How can i stop my picture from flipping when I take it on the front camera?
How can i stop my picture from flipping when I take it on the front camera? Need help as it's frustrating me:(
Hmm...Double click on the Home button and try to delete the camera app then launch it again that should fix it. You can also turn off your phone and turn it back on again.
-
How can i know which index will be used when executing the query ?
1 ) I have query in which i have 3-4 tables but there multiple index on one column .
so how can i know which index will be used when executing the query ?
2) I have a query which ia taking too much time . how can i know which table is taking too much time ?
3) Please Provide me some document of EXplain plan ?Hi Jimmy,
Consider the below example
/* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
CREATE TABLE FIRST AS
SELECT * FROM all_objects;
UPDATE FIRST
SET object_name = 'TEST'
WHERE owner != 'SCOTT';
CREATE INDEX idx_first ON FIRST(object_name);
SELECT *
FROM FIRST
WHERE object_name = 'TEST';
It has not used index
Execution Plan
Plan hash value: 2265626682
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 58678 | 7334K| 163 (4)| 00:00:02 |
|* 1 | TABLE ACCESS FULL| FIRST | 58678 | 7334K| 163 (4)| 00:00:02 |
/* Formatted on 2011/02/04 21:59 (Formatter Plus v4.8.8) */
SELECT *
FROM FIRST
WHERE object_name = 'emp';
This has used the index
Execution Plan
Plan hash value: 1184810458
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 128 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| FIRST | 1 | 128 | 1 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | IDX_FIRST | 1 | | 1 (0)| 00:00:01 |
From this we can come to the conclusion that, whether to use one index or not by oracle
would also depend on the data which is present in the table. This has to be this way as
we see in the bind peeking, if oracle sticks to only one plan, say only use the full table
scan, it would be a performance hit when it searches for the second query ie where object_name
='emp';
2.
If we have a query like below.
select * from emp
where upper(ename) = upper(:p_ename);
Evenif we have the index on ename column, oracle wouldn't be able to use the index, as there is a function in the predicate column. If you need oracle to use the index, we need to create a function based index as below.
Create index idx_ename on emp(upper(ename));
Regards,
Cool -
How can i display a document in portal
Hi,
I have a file in my database as blob object.How can i retrieve it and display it in my portal.I need to display it as a link and when user clicks on document link the document should open. Any info abt this wil be of great help.
Thanks,PreethiJDBC...
-
I was unable to recover my Pictures and Videos after updating to ios5.1 ,please how can I recover my pictures and videos which was lost after updating to ios 5.1 on 12.11.2011
Connect to iTunes, make sure the items you want are checked, then sync.
-
How to see the wait events info. after excute a select query
Hi
How to see the wait events info. after execute a select query. Are there any parameter to set for this option?
And also wanna see the follwing info. in trace file. For this what are the parameters I have to set right?
SELECT * FROM emp, dept
WHERE emp.deptno = dept.deptno;
call count cpu elapsed disk query current rows
Parse 1 0.16 0.29 3 13 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.03 0.26 2 2 4 14
Misses in library cache during parse: 1
Parsing user id: (8) SCOTT Regards
Arpitha$ sqlplus scott/tiger
SQL*Plus: Release 10.2.0.2.0 - Production on Wed Apr 20 15:29:33 2011
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> SHOW PARAMETER dump
NAME TYPE VALUE
background_core_dump string partial
background_dump_dest string /user/oracle/app/oracle/admin/
orclsb/bdump
core_dump_dest string /user/oracle/app/oracle/admin/
orclsb/cdump
max_dump_file_size string UNLIMITED
shadow_core_dump string partial
user_dump_dest string /user/oracle/app/oracle/admin/
orclsb/udump
SQL> ALTER SESSION SET EVENTS='10046 trace name context forever, level 12';
Session altered.
SQL> SELECT * FROM emp WHERE deptno=20;
EMPNO ENAME JOB MGR HIREDATE SAL COMM
DEPTNO
7369 SMITH CLERK 7902 17-DEC-80 800
20
7566 JONES MANAGER 7839 02-APR-81 2975
20
7788 SCOTT ANALYST 7566 19-APR-87 3000
20
EMPNO ENAME JOB MGR HIREDATE SAL COMM
DEPTNO
7876 ADAMS CLERK 7788 23-MAY-87 1100
20
7902 FORD ANALYST 7566 03-DEC-81 3000
20Now
$ pwd
/user/oracle/app/oracle/admin/orclsb/udump
$ ls -ltr|tail -5
-rw-r----- 1 oracle oinstall 622 Apr 20 11:35 orclsb_ora_949.trc
-rw-r----- 1 oracle oinstall 651 Apr 20 11:35 orclsb_ora_976.trc
-rw-r----- 1 oracle oinstall 1982 Apr 20 11:35 orclsb_ora_977.trc
-rw-r----- 1 oracle oinstall 1443 Apr 20 15:29 orclsb_ora_1251.trc
-rw-r----- 1 oracle oinstall 279719 Apr 20 15:30 orclsb_ora_1255.trc
$ tkprof orclsb_ora_1255.trc orclsb_ora_1255.txt
TKPROF: Release 10.2.0.2.0 - Production on Wed Apr 20 15:32:17 2011
Copyright (c) 1982, 2005, Oracle. All rights reserved.
$ ls -ltr|tail -5
-rw-r----- 1 oracle oinstall 651 Apr 20 11:35 orclsb_ora_976.trc
-rw-r----- 1 oracle oinstall 1982 Apr 20 11:35 orclsb_ora_977.trc
-rw-r----- 1 oracle oinstall 1443 Apr 20 15:29 orclsb_ora_1251.trc
-rw-r----- 1 oracle oinstall 279719 Apr 20 15:30 orclsb_ora_1255.trc
-rw-r--r-- 1 oracle oinstall 26872 Apr 20 15:32 orclsb_ora_1255.txtThis orclsb_ora_1255.txt contains the required information. -
How do I display only key instead of description in MDX query
Hi,
Whenever I try to display material number, QN number.... in MDX it only displays the description instead of key. In query designer, it says "display as key and text". How do I display the key only instead of text?
Thanks,
DuyI used your query and pointed to my query and the result is as expected - both key and text. I'm not sure what is different between our IO and mine.
SELECT [Measures].MEMBERS ON COLUMNS,
[0VENDOR].[LEVEL01].MEMBERS
PROPERTIES [0VENDOR].[20VENDOR] ON ROWS
FROM [MY QUERY]
then I tried to hardcode the value it only showed me just the text. I tried different ways to make it show either just the key or both - but couldnt figure out. And one more thing I confirm is that the display settings in Bex really DOESNT matter or taken into consideration my MDX.
SELECT [Measures].MEMBERS ON COLUMNS,
{[0VENDOR].[ABCD]} ON ROWS
FROM [MYQUERY]
let me know if were able to figure it out
Try the below statement and see what it does
SELECT [Measures].MEMBERS ON COLUMNS,
NON EMPTY [0NOTIFICATN__0NOT_TYPE].[LEVEL01].MEMBERS
DIMENSION PROPERTIES [0NOTIFICATN__0NOT_TYPE].[20NOTIFICATN__0NOT_TYPE] ON ROWS
FROM [YOURQUERY]
Edited by: voodi on Sep 28, 2010 3:08 PM -
My program always displays the same image, even when I change th image file
I'm making a program that chooses an image file from a dialog, resize it and copy it into a folder. When the image is needed to be displayed, the image file is read and a JLabel displays it on screen.
When I upload the first image, everything works fine. The problem appears when I upload another picture: the displayed image is still the first image, even when the old file doesn't exist anymore (because it has been overwritten). It looks like the image has been "cached", and no more image are loaded after the first one.
This function takes the image picture chosen by the user, resizes it, and copy it into the pictures folder:
private void changeProfilePicture() {
JFileChooser jFileChooser = new JFileChooser();
jFileChooser.setMultiSelectionEnabled(false);
jFileChooser.setFileFilter(new ImageFileFilter());
int result = jFileChooser.showOpenDialog(sdbFrame);
if (JFileChooser.APPROVE_OPTION == result) {
try {
//upload picture
File file = jFileChooser.getSelectedFile();
InputStream is = new BufferedInputStream(new FileInputStream(file));
//resize image and save
BufferedImage image = ImageIO.read(is);
BufferedImage resizedImage = resizeImage(image, 96, 96);
String newFileName = sdbDisplayPanel.getId() + ".png";
String picFolderLocation = db.getDatabaseLocation() + "/" +
PROFILE_PICTURE_FOLDER;
java.io.File dbPicFolder = new File(picFolderLocation);
if(!dbPicFolder.exists()) {
dbPicFolder.mkdir();
String newFilePath = picFolderLocation + "/" + newFileName;
File newFile = new File(newFilePath);
FileOutputStream fos = new FileOutputStream (newFilePath);
DataOutputStream dos = new DataOutputStream (fos);
ImageIO.write(resizedImage, "png", dos);
dos.close();
fos.close();
//set picture
sdbDisplayPanel.setImagePath(newFilePath);
} catch (IOException ex) {
System.err.println("Could'nt print picture");
}This other class actually displays the image file in a JLabel:
public void setImagePath(String imagePath) {
count++;
speaker.setImagePath(imagePath);
this.imagePath = imagePath;
if(imagePath != null) {
//use uploaded picture
try {
File tempFile = new File(imagePath);
System.out.println(tempFile.length());
java.net.URL imgURL = tempFile.toURI().toURL();
ImageIcon icon = new ImageIcon(imgURL);
pictureLbl.setIcon(icon);
// Read from a file
} catch (IOException ex) {
Logger.getLogger(SDBEventClass.class.getName()).log(Level.SEVERE, null, ex);
else {
//use default picture
URL imgURL = this.getClass().getResource("/edu/usal/dia/adilo/images/noProfile.jpg");
ImageIcon icon = new ImageIcon(imgURL, "Profile picture");
pictureLbl.setIcon(icon);
}When you flush() the image, you don't need to construct a new ImageIcon each time, a simple repaint() will suffice.
Run this example after changing the URL to an image you can edit and update while the program is running.import java.awt.BorderLayout;
import java.awt.Image;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.MalformedURLException;
import java.net.URL;
import javax.swing.*;
public class FlushImage {
Image image;
JLabel label;
public static void main(String[] args) {
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {
new FlushImage().makeUI();
public void makeUI() {
try {
ImageIcon icon = new ImageIcon(new URL("file:///e:/java/dot.png"));
image = icon.getImage();
label = new JLabel(icon);
JButton button = new JButton("Click");
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
image.flush();
label.repaint();
JFrame frame = new JFrame("");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.add(label, BorderLayout.NORTH);
frame.add(button, BorderLayout.SOUTH);
frame.pack();
frame.setLocationRelativeTo(null);
frame.setVisible(true);
} catch (MalformedURLException ex) {
ex.printStackTrace();
}db -
How do I save the picture I took when I set up my computer profile?
Hi Everybody,
I took a picture of myself when I set up my computer (MacBook Pro) that comes up everytime I turn on my computer (and I have to enter my password too). This same picture also comes up as my picture on Skype (even though it is only visible to me; other people on Skype get a generic picture of me). I really like this picture and I want to save it so I can email it or print it, but I can't figure out how to do it. I have gone to System Preferences, then to Users and Groups where the picture comes up for the current user (me), but I can't figure out how to save it. I have tried copy and paste and dragging it but no luck so far. "Save as" doesn't come up. Any suggestions??? I would love to save this picture and use it for other things. Thank you in advance for any suggestions.What version of Photoshop are you using?
I'm not quite sure what you mean by saving your images to your computer files. If you mean that you want a copy somewhere with all of the adjustments then you need to export a copy of the image. If you mean something else, please explain. -
How an INDEX of a Table got selected when a SELECT query hits the Database
Hi All,
How an Index got selected when a SELECT query hits the Database Table.
My SELECT query is as ahown below.
SELECT ebeln ebelp matnr FROM ekpo
APPENDING TABLE i_ebeln
FOR ALL ENTRIES IN i_mara_01
WHERE werks = p_werks AND
matnr = i_mara_01-matnr AND
bstyp EQ 'F' AND
loekz IN (' ' , 'S') AND
elikz = ' ' AND
ebeln IN s_ebeln AND
pstyp IN ('0' , '3') AND
knttp = ' ' AND
ko_prctr IN r_prctr AND
retpo = ''.
The fields in the INDEX of the Table EKPO should be in the same sequence as in the WHERE clasuse?
Regards,
VijiHi,
You minimize the size of the result set by using the WHERE and HAVING clauses. To increase the efficiency of these clauses, you should formulate them to fit with the database table indexes.
Database Indexes
Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVING clause, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
reference : help.sap.com
thanx. -
How can i display multiple Pictures in a java.awt.Container best?
hi,
I just started with a new Project, it works just like a FileManager.
On entering a directory all the files in it shall be displayed in a scrollable area. Displayed means here a Graphical representation of the file, in case of a picture a small preview version of it.
I put together a javax.swing.JScrollPane with a java.awt.Container and viewport. The Container has a FlowLayout.
Now for every image in a Directory I create a Component-class in witch I overwrote the public void paint(Graphics g) to display a scaled version of the image, this scaled version is created in the Constructor of my Component-class.
this works fine for just a few images, but if i try to open a directory with a lot of pictures it takes a long time at the beginning and sometimes it just kills the application.
so i changed in a way that only when a Component is in view of the visible rectangle of the scroll pane the scaled image will be created, and when the component gets out of view the image is set to null.
now it is running without killing the application, but it takes way too long to scroll now, because the images are loaded all the time.
so i figured i must be doing something wrong, so what is the best way to get small previews for up to a few hundred files and then display them in a scrollable area? (like in Windows Explorer if you activate the miniature preview)
if anyone can give me some hints, that would be great
thanks shirasureshThis might give you some ideas:
import java.awt.*;
import javax.swing.*;
public abstract class LazyIcon implements Icon {
private int width;
private int height;
private Image image;
public LazyIcon(int width, int height) {
this.width = width;
this.height = height;
protected abstract Image createImage();
public int getIconHeight() {
return width;
public int getIconWidth() {
return height;
public void paintIcon(Component comp, Graphics g,int x, int y) {
if (image == null)
image = createImage();
g.drawImage(image, x, y, comp);
}You could also do this with a custom component class, but I like the JLabel + Icon combination.
Any if you want to get fancy, you could load images in another thread, at low priority, so when the user is just sitting there, your code is preparing the panel for scrolling ;-)
Message was edited by:
BigDaddyLoveHandles
Maybe you are looking for
-
Auto GR Receipt based on ASN Quantity
Hi Friends, Can you please tell me, in which BADI, I can write code for following steps 1. Check the Shipping Quantity in the ASN ( Advance Shipment Notification )and the Order Quantity in the PO 2. Check the tolerance 3. If the Shipped Quantity is
-
Emca -config dbcontrol db -repos create -dbcontrol_http_port 1555
Hi, I am openeing a new Thread for the same issue. Please help me to resolve this issue. Oracle:10.2.0.1.0 OS:Windows XP SP2 Net work adaptor: looback - 192.168.1.1 C:\WINDOWS\system32\drivers\etc\hosts 192.168.1.1 mcollinschoo-1.company.net mcollins
-
Hard drive icon dissappeared!
Hi, I have recently bought a new Mac Pro running Snow. I noticed that i did not have a hard drive icon on my desktop, so I opened up a window and tried to drag the hard drive icon (on the left) onto my desktop. And the icon simply vanished. I can't f
-
Can the Macbook Pro (Retina, Mid 2012) Hard Drive be Upgraded?
I have a Macbook Pro Retina Display Mid 2012 that has a 512GB SSD Hard Drive. I am finding that I need more space and having an External Hard Drive is a little inconvenient. I see that there are 1TB SSD and thinking of changing out my Hard Drive. Is
-
Have old version of Elements 8. Keep getting programme error messages and various functions no longer work. Have tried reloading the disc but for some reason there's no longer anything on the original disc? Really don't want to have to fork out and s