How to add image to webdynpro screen . ?

How to add image to webdynpro screen . ?

hi,
right click ur application and then click on create mime object.
with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
You can even try creating the MIME objects in webdynrpo abap .
Right click on ur component->mime object->import
after importing you can see that image into your component as MIME object .Now insert a UI element image into your view layout .
Go to the source property of IMAGE element and select F4 option , u will find a window is opening with some tabs
Select tab COMPONENT IMAGES and component name select your component .
You will find the image which you have imported into this section just select the image and save it.
In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
also refer the SAP online help :
http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
to knw more abt mime repositories.
http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
regards,
Amit

Similar Messages

  • How to add Image dynamically in Webdynpro ABAP

    Hi Experts,
    How to add Image dynamically in Webdynpro ABAP.
    My requirement is i maintain all the images in a table.
    image source has to pick the table URl dynamically and display.
    is that possible in webdynpro?
    and also please give the suggesion,
    without using MIME objects is that anyway to get images?
    Thanks in advance.
    Regrads,
    Jeyanthi

    Hi,
      are those icons wou want to display then. he following code will be useful.
    data : lo_IMG type ref to CL_WD_IMAGE.
    LO_IMG = cl_wd_IMAGE=>new_IMAGE( id = img_id SOURCE = 'ICON_BW_APD_TARGET' tooltip = sts_tltp ).
    lo_cont->add_child( the_child = lo_img ).
    here lo_cont is the container where you want to add the image dynamically and source is the attribiute through which you can change the ICON image. this thing you can getit from data base table and change accordingly.
    Regards,
    Anil kumar G

  • How to add images to my PDF?

    Hi there
    I am wanting to know how to add images/photos to my PDF theta needs to be sent & signed to my supervisor?

    Hi Helen,
    You'll find the Add Image tool in the Content Editing pane of the Tools panel:
    If you don't see it there, make sure that you're using Acrobat, and not Adobe Reader, as these editing tools are unique to Acrobat.
    Best,
    Sara

  • I want to add image in column is it possible then how to add image in data base what data type we need to do

    I want to add image in column is it possible then how to add image in data base  what data type we need to give we required any casting  please show me one example
    jitendra

    Hi again,
    Several points that can help more:
    1. If you are working with Dot.Net, then I highly recommend read the first link that you got! This is nice and simple coding. Another option is this link which is even better in my opinion:
    http://www.dotnetgallery.com/kb/resource21-How-to-store-and-retrieve-images-from-SQL-server-database-using-aspnet.aspx
    2. As i mention above both link use the column's type image. There are several other option of working with Files. In most of my applications architecture I find that it is better to use a column which let us use any type of file and not an image column.
    In choosing the right column's type for your needs basically your fist question should be if if you want to store your data inside relational database environment or outside relational environment. It is a good idea to look for blogs on this issue. Next
    if you chose to store your data inside then you need to chose the right column type according to your server version. I highly recommend to look for blogs on the differences between those column's types: IMAGE, 
    Check those links:
    To BLOB or Not To BLOB: Large Object Storage in a Database or a Filesystem
    http://research.microsoft.com/apps/pubs/default.aspx?id=64525
    FILESTREAM feature of SQL Server 2008
    http://msdn.microsoft.com/library/hh461480
    FileTables feature of SQL Server 2012
    http://technet.microsoft.com/en-us/library/ff929144.aspx
    Compare Options for Storing Blobs (SQL Server)
    http://technet.microsoft.com/en-us/library/hh403405.aspx
    Binary Large Object (Blob) Data (SQL Server)
    http://technet.microsoft.com/en-us/library/bb895234.aspx
    Managing BLOBs using SQL Server FileStream via EF and WCF streaming
    * Very nice tutorial!
    http://petermeinl.wordpress.com/2012/02/20/managing-blobs-using-sql-server-filestream-via-ef-and-wcf-streaming/
    [Personal Site] [Blog] [Facebook]

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • How to add image file while creating addon...pathsetup?

    Hi friends,
    i have a problem while creating addon.
    while creating addon we can add all the files(.vb,xml).but if i add image files(.bmp,.jpg)they are not displayed in runtime.
    --how to add image file while creating addon..?
    we are useing SAP Business One 2005A(6.80.317)SP:01 PL:04

    Somebody knows like I can indicate to him to a button that I have in a form, that accedes to the image in the route where will settle addon? I have this, but it does not work to me
    oButton.Image = IO.Directory.GetParent(Application.StartupPath).ToString & "\CFL.BMP"

  • How to upload images on WebDynpro(ABAP) screens

    Hello All,
    Could any one please help on how to create/change the image (jpeg/any file) dynamically on WebDynpro screen. I have seen couple of examples for uploading the text files in WDR_TEST_EVENTS, WDR_TEST_WEB_ICONS, but not found any standard program that explains about uploading images.
    Requirement: User has to select any image/thumbnail from local PC and it should be displayed on main screen, it's not only from MIME directory.
    We have the same logic in BSP Application (CFX_RFC_UI) to upload the thumbnail but am not sure whether we can use the same logic in WDC or not?
    I have seen the same logic for WebDynpro (JAVA) here: 
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
    I would really appreciate if you could provide me the code/process ASAP.
    Thanks & Regards,
    Hari.

    Hi,
    I have written the code as per given logic with no errors, after selecting jpeg file from local PC when I click on 'upload' button it is giving a following short dump.
    Could you please let me know how to rectify it.
    Error when processing your request
    What has happened?
    The URL http://rocpld02.wwwint.corp:8000/sap/bc/webdynpro/sap/zms_image_01/ was not called due to an error.
    Note
    The following error text was processed in the system PLD : Exception condition "CNTL_ERROR" raised.
    The error occurred on the application server rocpld02_PLD_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CONSTRUCTOR of program CL_GUI_CUSTOM_CONTAINER=======CP
    Method: ONACTIONONBUTTONCLICK of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/1I6RRYQYFWRI2HBZ5MAK==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Regards,
    Hari.

  • How to open images in Fill Screen mode from Camera Raw

    I am using Photoshop CS4 for Windows. I created an action that executes Fit on Screen and set the Scripts Event Manager to execute that action on the Open Document event. This works when opening a document from Photoshop.
    Here are my questions:
    1) After opening a raw image from Bridge in Camera Raw, when I then open the image in Photoshop, it does not run the Open Document event action to Fit on Screen. What event do I need to set the action to execute on when opening an image from Camera Raw in Photoshop?
    2) I added Fit on Screen to the action by selecting Insert Menu Item from the Actions menu and then selecting View-Fit on Screen. I cannot find Fill Screen on any pull-down menu (the button found on the Hand tool bar). How can I insert the Fill Screen item (which fills the screen a little more than Fit on Screen?
    3) In the Scripts Events Manager, when you select Add an Event, it says Any scriptable event can be entered here. See the Scripting Reference for the full list of Photoshop event names.. On the following Adobe webpage, I found the Adobe Photoshop CS4 Scripting Guide but I did not find a list of Photoshop event names in that document. Where can I find the list of Photoshop event names?
    http://www.adobe.com/devnet/photoshop/scripting
    Thanks to anyone who can help me out.

    > 3) In the Scripts Events Manager, when you select Add an Event, it says Any scriptable event can be entered here. See the Scripting Reference for the full list of Photoshop event names.. On the following Adobe webpage, I found the Adobe Photoshop CS4 Scripting Guide but I did not find a list of Photoshop event names in that document. Where can I find the list of Photoshop event names?
    >
    >
    >
    See "Appendix A: Event ID Codes" in the PSCS4 JavaScript Reference pdf file that
    comes with PSCS4.
    -X

  • Bridge - How to view image in full screen resolution

    In Bridge - How to view an image in full screen resolution and not as a Preview (Space bar), like in Lightroom (F), Photoshop or ViewNX 2 ?

    The size of the Bridge Preview window will always be the absolute limit of the image display in Bridge.  Maybe I am not following you.  Sorry

  • How to add image and videos in jframeusing netbeans..

    hi. im using netbeans where you can create a jframe form by just dragging and dropping items... can someone help me how to add an image? what item should i drag onto my jframe? help me pleasee...

    demo:
    import java.net.*;
    import javax.swing.*;
    public class ImageExample implements Runnable {
         public void run() {
              URL url = null;
              try {
                   url = new URL("http://blogs.sun.com/roller/resources/jag/SouthParkJAG-small.png");
              } catch (MalformedURLException e) {
                   throw new RuntimeException(e);
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.getContentPane().add(new JLabel(new ImageIcon(url)));
              f.pack();
              f.setLocationRelativeTo(null);
                    f.setVisible(true);
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new ImageExample());
    }

  • How to add image in ejb web service

    Hello Community,
    I am writing web service to create a PDF file using itext API. In PDF file i want to add an image.
    Can someone please tell that , how can i add image(jpeg, png , etc.) to an ejb web service?
    Thanks in advance
    Regards,
    Dishant Chawla

    Hi,
    Please check the below code which i used to add image to the header using iText . Similarly you can add image directly to the document also as a element.
    Adding image as Header:
    httpServletRequest = request.getServletRequest();
    domainURL=httpServletRequest.getScheme()+"://"+httpServletRequest.getServerName();
    imgLogo=domainURL+request.getWebResourcePath()+"/images/XXXX.jpg";
    image =Image.getInstance(imgLogo);
    image.scalePercent(22);// As per you need
    chunk = new Chunk(image, 0, -20);
    HeaderFooter header_pdf = new HeaderFooter(new Phrase(chunk), false); // here i have added image as header
    header_pdf.disableBorderSide(0);
    header_pdf.setAlignment(Element.ALIGN_CENTER);
    header_pdf.setBorder(0);
    document.setHeader(header_pdf);
    (or)
    Adding Image a Element:
    httpServletRequest = request.getServletRequest();
    domainURL=httpServletRequest.getScheme()+"://"+httpServletRequest.getServerName();
    imgLogo=domainURL+request.getWebResourcePath()+"/images/XXXX.jpg";
    image =Image.getInstance(imgLogo);
    image.scalePercent(22);
    document.add(image);
    Java IText: Image | tutorials.jenkov.com
    Regards,
    Srinivasan V

  • How to Add field to Selection screen of Tx. FBL5N

    Hi All,
    In Tx. FBL5N, there is a field Customer number (on Customer selection screen).
    In addition to the above we need to add field Customer name in Selection screen.
    How do we go about it ?
    PS :- We have found steps to add fields to FBL5N output. But, we dont want it on output, we want to add it on Selection screen.
    Regards,
    Ashish

    Hi,
    Only certain table fields are allowed in dynamic selection, please see this sap note for detail :
    Sap Note 310886 - Line items: Dynamic selections ignored
    Permitted tables:
    SKA1: all fields
    SKB1: all fields
    BSIS: all fields
    So BKPF-CPUDT field is not allowed for dynamic selection.
    check this thread Add new Fields to Dynamic Selection FBL5n
    Or
    Enhancing Selection Views in the dynamic selection of some SAP transactions like FB03, FBL3N, FBL5N
    This enhancing related to SAP OSS Note: 188663 and 832997
    Requirement: The business requires the Doc. Header Text be added in the dynamic selection in SAP transactions FB03
    ■Execute Transaction code SE36. Click F4. Enter the SAP table name wherein you think the field could be found. In this case the SAP table is BKPF and the logical database is BRF
    ■From the initial screen of SE36, Choose from the path EXTRAS >> Selection Views
    ■Copy Selection View u201CSAPu201D to u201CCUSu201D
    ■Change the selection views u201CCUSu201D
    ■In the right corner, double click your table BKPF.
    ■In the right corner, check whether what functional groups does your field belong. If it is 01 then input it beside your field name.
    ■Then Save it afterwards.
    Prabhudas

  • How to add Image in "SX_OBJECT_CONVERT_OTF_PDF" Function module

    Hi,
    We have scenario to add a BMP image from report to PDF format ,they are  using the SX_OBJECT_CONVERT_OTF_PDF function module to generate the report in PDF ,so we want to know how to add a image(BMP) for this function module or is there any other function module to get the image in PDF format.
    Replies would be appreciated.
    Regards
    Raghava

    Hi Brad Bohn ,
    We have the scenario were in we have two tabs (If click first tab output is displayed in excel with image using OLE functionality) for second tab output is displayed in PDF by using SX_OBJECT_CONVERT_OTF_PDF-Function module without the image(*.bmp).
    Our requirement is to get image in PDF.
    Please let us know which is the way to approach this scenario.
    Regards,
    Raghava

  • How to add "profit Center" in Screen varaint of manual bank Statement.

    Hi all,
    Kindlt tell how to add "profit center" in possible filed of Screen varaint of manual bank statement.T-code OT43.
    Rgds,
    Alok Sharma

    Hello,
    Create a new variant
    Put your cursor on possible fields.
    Click on page down on your key board.
    It will show all possible fields.
    Double click on the profit center.
    It will go to current field in your variant.
    Hope this solves.
    Regards,
    Ravi

  • How to add image between two string

    how to add a image between two string .
    example :
    String one <IMG> String two

    grid1 = new GridLayout( 2, 3, 5, 5);
    container = getContentPane();
    container.setLayout(grid1);
    The parameters in GridLayout specifies 2 rows, 3 columns, 5pixels of horizontal gap, 5pixels of vertical gap.
    Did what i could to help, now can somebody help me with JDialog? =(

Maybe you are looking for

  • Revenue element-cost center

    During automatic cost element creation, I included one of gl sales accounts which is a revenue element. (cat 11). Now when I try to post entry to this sales account, it asks for cost object (cost center?). Now I really do not want to include this sal

  • Does the quadrangle's amount be limited when using the IndexedQuadArray?

    Dear all, I use IndexedQuadArray to describe a 3d's surface which is composed of thousands of quadrangle. When the quadrangle's amount is larger than 60000,the JVM is crashed with the following information: +++++++++++++++++++++++ An unexpected error

  • S6000 Wont open box on wifi source to enter WPA code

    I go into settlings via the bottom right Then when in there , turned off wifi, then turned it back on and it shows those wifi availiable on the right Double clicked my wifi router with a padlock on , then it failed to open up a box to type the WPA co

  • Thumbnail or "Icon View" on Retina not rendered correctly.

    The Icon View in the Finder does not render the icon images correctly on Retina Macs. You can tell best when setting the viewing size to 32x32 or 16x16, especially when you compare the same viewing size while in List View. I was hoping that Yosemite

  • Converting Framemaker 10 book to PDF produces blurry graphics

    I've tried troubleshooting this all day and am not coming up with any resolutions. I have a 100 pg book with many screenshots and diagrams. I have imported by reference and typically have to resize on import to fit the anchored frame. I try not to dr