WAD Images (Urgent)

Hi all,
How to Add images in WAD, i mean to say i have a company logo, i want it to appear in Report. so how can i add that image in Templates.
please help. its urgent

to add the image in the MIME repository go to transaction SE80 -> MIME Repository, SAP>BW>Customer> Images > Context Menu  "Import ..." ) and and select the required file from local machine,
then you can use it in the WAD .go to Insert -> Picture.
But i would suggest..to embed an image from the MIME repository, you can use the following code in the XHTML tab.
<img src = "address" alt ="logo" border="0"/>
where address = bwmimerep:///sap/bw/mime/Customer/Images/LOGO.gif
(logo.gif is the name of ur file, give the extension name appropriately)
Revert back if u have any doubts.
GulshanRaj

Similar Messages

  • How to scale an image(URGENT)

    I am having a problem in scaling an image.
    The code I've written is as follows.
    Toolkit tk=Toolkit.getDefaultToolkit();
    Image img=tk.getImage("abc.png");
    img=getScaledInstance(100,100,Image.SCALE_FAST);
    Then when I draw the image, it doesn't scale it. It draws nothing. But if i remove the line, getScaled...,
    then it is loaded properly.
    Wat can be the problem?
    Also, if any1 can tell other ways to scale an image to a predefined size, please tell me.
    Its very URGENT, please respond fast.

    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.swing.*;
    public class X {
        public static BufferedImage readScaled(URL url, int w, int h) throws IOException {
            BufferedImage orig = ImageIO.read(url);
            int transparent = orig.getColorModel().getTransparency();
            GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
            GraphicsDevice gd = ge.getDefaultScreenDevice();
            GraphicsConfiguration gc = gd.getDefaultConfiguration();
            BufferedImage image = gc.createCompatibleImage(w, h, transparent);
            Graphics2D g = image.createGraphics();
            g.setRenderingHint(RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BICUBIC);
            double scaleX = w / (double) orig.getWidth();
            double scaleY = h / (double) orig.getHeight();
            AffineTransform xform = AffineTransform.getScaleInstance(scaleX, scaleY);
            g.drawRenderedImage(orig, xform);
            g.dispose();
            orig.flush();
            return image;
        public static void main(String[] args) throws IOException {
            String url = "http://i.a.cnn.net/cnn/interactive/world/0312/gallery.saddam.captured/1.saddam.beard.jpg";
            BufferedImage image = readScaled(new URL(url), 400, 400);
            JLabel label = new JLabel(new ImageIcon(image));
            JFrame f = new JFrame("X");
            f.getContentPane().add(label);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • Displaying Image on Image: Urgent

    Hello All,
    In my jsp page, I need to display an Image and on that image I need to display another image. How do I achieve this?
    My requirement is there is a standard image. Depending on the language selected, I need to put another image on this in a corner of the parent image. Is this possible?
    Pls let me know.
    Thanks in advance,
    Arun

    You have to create a style sheet at the top of your page using z-index:
              <style type="text/css" media="screen"><!--
    #layer1  { position: absolute; z-index:5; top: 180px; left: 200px; width: 541px; height: 68px; visibility: visible; display: block }
    #layer2  { position: absolute; z-index:10;top: 180px; left: 199px; width: 541px; height: 68px; visibility: visible; display: block }
    --></style>And then you create the corresponding divs.
    <div id="layer1">your image
    </div>
    <div id="layer2">your other image
    </div>

  • SuperImpose two images and save it as a single image[urgent]

    Hello..
    Can anyone tell me how do we superimpose two images and save it as a single image.The image on the top is smaller in size in my case.
    Please Help..

    import java.awt.Graphics2D;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    class TwoBecomeOne {
        public static void main(String[] args) throws IOException {
            BufferedImage large = ImageIO.read(new File("images/tiger.jpg"));
            BufferedImage small = ImageIO.read(new File("images/bclynx.jpg"));
            int w = large.getWidth();
            int h = large.getHeight();
            int type = BufferedImage.TYPE_INT_RGB;
            BufferedImage image = new BufferedImage(w, h, type);
            Graphics2D g2 = image.createGraphics();
            g2.drawImage(large, 0, 0, null);
            g2.drawImage(small, 10, 10, null);
            g2.dispose();
            ImageIO.write(image, "jpg", new File("twoInOne.jpg"));
            JOptionPane.showMessageDialog(null, new ImageIcon(image), "",
                                          JOptionPane.PLAIN_MESSAGE);
    }

  • Each Special characters to image - urgent

    Hi
    Can anyone please tell me that is there any possibility of converting each special character to a image (Using script or some way). Because it is useful for my epub process.
    Regards
    Sajeev

    You can do a find & replace for a special character and replace it with the clipboard contents.
    Alternatively, I wrote a script at one point that converts the selected character in an entire story to an *outline* but I don't think there's a way to convert directly to an image…
    tell application "Adobe InDesign CS4"
         tell active document
              considering case
                   if length of selection = 1 then
                        set myChar to contents of selection
                        set myStory to parent story of item 1 of parent text frames of selection
                        set outlinedCharList to create outlines (every character of myStory whose contents = myChar) delete original yes
                        display dialog "Outlined " & length of outlinedCharList & " instances of character \"" & myChar & "\"." buttons "OK" default button 1
                   else
                        display dialog "You must select one and only one character before running the script." buttons "OK" default button 1
                   end if
              end considering
         end tell
    end tell

  • JCo - retrieving images (Urgent)

    Hi,
    I have to retrieve an image from SAP and render it in the portal. I get the data via Jco as a table and from the table I retrieve a binary stream. When I write the stream to a file the image doesn't display. Funny thing is, if I take the same image that is in SAP and read it from a file, the input stream data seems completely different from the data I get from SAP. Is something happening in the background that I am not aware of? Any help or ideas would be greatly appreciated

    We had also problems with a PDF-file from R/3. The reason was that line feed etc where missing in the PDF-Datastream.
    Do You get the data line by line in a JCO.Table?
    Walter

  • Height and Width of an image - URGENT!!!!

    how I make to catch the height and the width of an image being used one upload JSP?
    Since already I am thankful!

    Toss the image up in the air. Turn both of your hands so the palms face skyward and towards the image while keeping them next to each other. As the image descends into your palms, close both hands tightly around the image.
    No, seriously, what do you mean by catch the width and height of an image? I'm assuming you mean how does one determine the width and hieght, right? You can probably stream out of the posted request into a byte array which you could pass to a javax.swing.ImageIcon object. You could then call getIconWidth() and getIconHeight() to get what you want. This approach would work for GIFs and JPEGs.
    Cliff

  • Help with saving an image - Urgent!

    Hi,
    I have an application that opens an image and modifies it, but how do I save the modified version? I have been searching the web, and I just get more and more confused - what's the easiest way to do this? I don't really understand much of what I have been reading... :(
    At the moment my application saves, but it saves as text. Is it easy to modify this to save as jpg?
    Here is my save and open code:
    void open_actionPerformed(ActionEvent e) {
    int status = chooser.showOpenDialog(this);
    if (status == JFileChooser.APPROVE_OPTION) {
    File file = chooser.getSelectedFile();
    String filename = file.getAbsolutePath();
    ImageIcon icon = new ImageIcon(filename);
    jLabel1.setIcon(icon);
    long length = file.length();
    String name = file.getName();
    jLabel1.setToolTipText(length + "bytes, " + name);
    titledBorder1.setTitle(name);
    statusBar.setText(filename);
    void save_actionPerformed(ActionEvent e) {
    int status = chooser.showSaveDialog(this);
    if (status == JFileChooser.APPROVE_OPTION) {
    File file = chooser.getSelectedFile();
    String filename = file.getAbsolutePath();
    ImageIcon icon = new ImageIcon(filename);
    try {
    FileOutputStream fos = new FileOutputStream(file);
    String text = statusBar.getText();
    byte data[] = text.getBytes();
    fos.write(data);
    } catch (IOException ex) {
    System.err.println("Error while writing");
    Grateful for all comments!!!

    The following works, but only if you have the package. The comments in com/sun/image/codec/jpeg/JPEGCodec.java say:
    Note that the classes in the com.sun.image.codec.jpeg package are not
    part of the core Java APIs. They are a part of Sun's JDK and JRE
    distributions. Although other licensees may choose to distribute
    these classes, developers cannot depend on their availability in
    non-Sun implementations. We expect that equivalent functionality
    will eventually be available in a core API or standard extension.So if you want to distribute your program, the user can't be sure if it runs on his platform.
    import java.io.*;
    import com.sun.image.codec.jpeg.*;
         File saveTarget=new File(filename);
         FileOutputStream fos=new FileOutputStream(saveTarget);
         JPEGImageEncoder enc=JPEGCodec.createJPEGEncoder(fos,
           JPEGCodec.getDefaultJPEGEncodeParam(imageToSave)
         enc.encode(imageToSave);
         fos.close();

  • Star Schema Image-Urgent

    Hi All
    Can any1 tell me from where in the BI system can i save a .jpeg image of a Info Cube Starschema.
    I have been doin thru Metadata repository, I can see the star schema tof my cube there but when i copy that to a word file, most of the dimension parts are missing,, so im nt able to copy the complete star schema, I cant reduce the Zoom also, So is there any way to save it.
    Is there any Such Export Button in the metadata repository Window.
    Points are assured.
    Thanks

    There is option to export the html document for the object being displayed. Menu Extras-->Html Export, the export option is also available with the context menu of the object. Try this if you need for a specific object only..
    Helpful Links:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/4e/ea683c25e9096de10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw70/helpdata/EN/4e/ea683c25e9096de10000000a114084/frameset.htm]
    Hope this helps.
    Cheers,
    Sumit

  • Type shifts color on overlapping images --Urgent, please!

    I just got proofs back and on most pages the type is shifting colors on overlapping images. I need some advice real quick. The type layer is on top of the image layer so it's not the usual case of rasterizing. However, here are some of the issues. This job came in Freehand, which had to be imported into Illustrator and from there into Indesign. Most of the type is therefore in outlines (ughh!). In addition, the type is CMYK with K=98.
    Is the CMYK type causing the issue?
    Is the fact that K is not 100% causing the issue? Would changing K to 100 solve the problem and stop the type from picking up whatever's underneath if indeed that's what's happening)?
    There is no transparency in the type, by the way. I double-checked.
    Thing is I can't see it on the screen at all. Only in the HP Laser proofs that the service bureau sent. So I can't test it! They say that it's just on the proofs and "not in the file." Is that possible?
    Any ideas? Suggestions/advice greatly appreciated.
    thanks,
    Scarlett

    Yup, it's small, about 12-13 point. Can't pinpoint exactly bc it came in as outlines.
    And all of the type is apart from the images. On a separate layer that sits above the images. No overprint. But quite a bit of overlap. Even when the type overlaps non-color, or the white parts (or "paper" color) of the image, it still produces these weird color shifts.
    So are you saying this is a printer issue, and, like my service bureau guy says, "it's not in the file" per se?
    Mind you, this still has to go to the printer! The service bureau just preps the files and sends proofs prior to the next step.
    Many thanks for your response.

  • I need a SDR2 file converter for some CCTV images URGENTLY

    I need to check some CCTV footage urgently - for the police.  They are in SDR2 format - anyone know any good software that will (easily) convert it for me.  Prefer cheap/free (naturally).
    Thanks

    If the police are involved, let them handle it as they are trained in preserving evidence and have their own video department.
    If you touch that video, the culprit can get off as you tampered with evidence and your not qualified to do so.

  • Drawing image Urgent!

    hai Guys!
    is it possible to draw image in xor mode using drawregion or drawimage if yes then how it can be done!

    hi frens..
    Is there way of drawing an image on Frame
    without erasing previous image. Each time the
    repaint() is called for drawing new image on frame
    using Graphics object, repaint() just clears the
    previous images , but i want previous image to be
    sustained .
    ImageIcon WhiteIcon = new ImageIcon("White.GIF");
    JL = new JLabel(null ,WhiteIcon, 0 );
    f.add(JL);Hope this will do.

  • WAD Report image display

    Hi All,
    Im using WAD 7.0 and in process of designing a Sales Dashboard. I need to insert the company logo on top of the Dashboard, The images located in the MIME repository contains standard images which SAP supports, i try adding the relevant image which i need to insert but it doesnt appear or available for selection.
    Default host is already active and i tested it as well.
    Urgently need your valuable input to solve this issue.
    Thanks!

    Hi,
    For  new customer defined image follow the following path.
    Tcode : SE80
    MIME Repository -> BW -> Customer -> Image ->
    Create new mime object here that will available in WAD .
    Regards,
    Ganesh.

  • Urgent problems with image viewing on my 20 inch Cinema display???

    I have a very urgent problem concerning my Apple Cinema 20 inch Display and my SpyderPro2 on my Mac Pro Intel Dual Core Xeon 2x 2.66GHz.
    I have been using the Spyder for some years now, but recently I have been having big problems with the results.
    I have a major contract with a jewellery company in London, where I clean up digital photos. Images that I have lightened up to look great on my Cinema Display have been reported by my client to look pretty dark on their PC's in their offices.
    Some of these images show lines and grubby patches??? To check this I opened files in Photoshop and moved the levels 'black' slider down quite some way, and did see evidence of what the client could see at their end? It seems that when I have used a faded eraser brush it leaves a light patch in between the shadows of the jewellery. This shouldn't be visible to the naked eye though?
    I must point out that when I use the eyedropper tool on images, to read the amount of grey or colour in the white areas around the peices, I am shown values of 1,2 or 4 maximum in the CMYK values. 4 percent out of 100 is nothing and should not be visible to the naked eye?
    How is it that my clients PC's can see dark shadows and where my eraser brush has rubbed out???
    I have tried many re-calibrations and also tested all of my older calibrations dating back a few years. I have also tested the same faulty images on Intel iMac's, an eMac, and a few PC's. On the iMac's I can just about make out the artefacts that my client can see, but nothing that I would deem as unacceptable.
    I am at a loss as to the fault, but It may be the Spyder2 Pro's inability to calibrate my Apple Cinema display properly? I may lose my contract which I cannot afford to do, and I simply have to find the cause ASAP.
    I have my Mac's in my office apartment next to two bay windows. I have vertical blinds there. When calibrating I have always turned off all the lights and pulled the blinds right back so that only the light from the two large window doors is coming in.
    For graphic design the calibrations seemed to be okay for quite some time, but recently it is getting harder to achieve good results with the Spyder? This could affect all of my workflow which is very serious. But I must stress that overall the Spyder results are not terrible. I can see good colours and dark levels and in general across all of my calibrated profiles, the jewellery looks acceptable on my Cinema Display?
    I did say to my clients that they should calibrate their PC screen properly but their offices have many Screens and they all show the same artefacts (some much worse than others)? I know that PC Screens are darker than Mac's but a 4% grey should not be visible????
    As these are a web company the images will be seen by PC users around the world and most of these will have no calibration on their screens. What can be done to prevent this and what is the cause of this? I can't possible please everyone, but as a creative professional I have to be 100% certain that my workflow is at its best.
    I need urgent help to solve this or loose valuable business? I hope that you are able to help solve this mystery.
    I have just purchased the new Spyder3 Pro which I hope will give perfect results but I have to find out what the cause of this is. If some of the fault lies with the client, I can charge these for all the testing and calibrating I have done.
    Kind regards,
    Jason Conway
    ideo-sync - inspired design.

    One thing you might want to try adjusting is the gamma setting in Displays Preferences color calibration area. Macs typically are set at 1.8 but PCs will often use 2.2. That could account for the difference.

  • How to display images in a Jtable cell-Urgent

    Hay all,
    Can anybody tell me that can we display images to JTable' cell,If yes the how do we do that(with some code snippet)? Its very urgent .Plz reply as soon as possible.

    Here is an example
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    class SimpleTableExample extends JFrame
         private     JPanel  topPanel;
         private     JTable  table;
         private     JScrollPane scrollPane;
         public SimpleTableExample()
              setTitle( "Table With Image" );
              setSize( 300, 200 );
              setBackground( Color.gray );
              topPanel = new JPanel();
              topPanel.setLayout( new BorderLayout() );
              getContentPane().add( topPanel );
              // Create columns names
              String columnNames[] = { "Col1", "Col2", "Col3" };
              // Create some data
              Object data[][] =
                   { (ImageIcon) new ImageIcon("User.Gif"), (String) "100", (String)"101" },
                   { (String)"102", (String)"103", (String)"104" },
                   { (String)"105", (String)"106", (String)"107" },
                   { (String)"108", (String)"109", (String)"110" },
              // Create a new table instance
    DefaultTableModel model = new DefaultTableModel(data, columnNames);
              JTable table = new JTable( model )
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
              };          // Add the table to a scrolling pane
              scrollPane = new JScrollPane( table );
              topPanel.add( scrollPane, BorderLayout.CENTER );
         public static void main( String args[] )
              SimpleTableExample mainFrame     = new SimpleTableExample();
              mainFrame.setVisible( true );
    }

Maybe you are looking for

  • Oracle 11g spatial query

    An Oracle 11g spatial database with 5 features in it. A doughnut, triangle, line, trapezium, pentagon. I want to query what coordinates of features exist in a rectange box including the last point that intersects the rectangle box. It really difficul

  • Ok, what happened to this shortcut in Snow Leopard?

    In Photoshop CS4 Mac OS10.5 and 10.6 are behaving differently in one small but annoying respect:  The shortcut Shift > Option > (left and right square brackets) used to select previous and next layers inclusively. This means that layers were added to

  • Itunes error 4280 when burning - HELP!

    Hello, I have just about had enough of trying to find a fix for my error 4280 when burning cd's from itunes! Ive wasted countless discs and I just dont get it. Its worked fine for nearly 18 months and now its stuffed! I dont have a Sony drive, mine i

  • Oracle 10g HTMLDB license

    Hi I am currently running oracle 9i . Recently I request oracle 10g companion cd from oracle (we have a annual silver support with oracle).I have installed the feature 'HTMLDB' into my oracle 9i. Everything seem to work fine .My concern is whether I

  • Help with a query.. counting

    Hi, i have this query: CREATE TABLE "TB_INV_KX"     "ID_ALMACEN"     NUMBER NOT NULL ENABLE,     "CTD_ENTRADA"    NUMBER(12,6) NOT NULL ENABLE,     "CTD_SALIDA"     NUMBER(12,6) NOT NULL ENABLE,     "FCH_FECHA_HORA" TIMESTAMP (6) Insert into TB_INV_K