Uploading two images at a time on to modulepool screen

Hi all,
I uploaded one image on to the module pool screen using the custom container. Now i want another image on the screen. I used one more container and tried. But the old image is beeing overwritten by the new one in the first container only. Is it possible to upload two images at a time?
Thanks in advance,
Dev.

This is the code in TOP,
DATA CONTAINER  TYPE  REF TO  CL_GUI_CUSTOM_CONTAINER.
DATA PICTURE TYPE  REF  TO  CL_GUI_PICTURE.
DATA URL(256).
DATA CONTAINER1  TYPE  REF TO  CL_GUI_CUSTOM_CONTAINER.
DATA PICTURE1 TYPE  REF  TO  CL_GUI_PICTURE.
DATA URL1(256).
Code in F01. I have written a similar subroutine for the other image also.
form load_pic_from_db  changing p_url.
  DATA query_table LIKE w3query OCCURS 1 WITH HEADER LINE.
  DATA html_table LIKE w3html OCCURS 1.
  DATA return_code LIKE  w3param-ret_code.
  DATA content_type LIKE  w3param-cont_type.
  DATA content_length LIKE  w3param-cont_len.
  DATA pic_data LIKE w3mime OCCURS 0.
  DATA pic_size TYPE i.
  REFRESH query_table.
  query_table-name = '_OBJECT_ID'.
  query_table-value = 'ZTEST_ICICI'."name of logo
  APPEND query_table.
  CALL FUNCTION 'WWW_GET_MIME_OBJECT'
    TABLES
      query_string        = query_table
      html                = html_table
      mime                = pic_data
    CHANGING
      return_code         = return_code
      content_type        = content_type
      content_length      = content_length
    EXCEPTIONS
      object_not_found    = 1
      parameter_not_found = 2
      OTHERS              = 3.
  IF sy-subrc = 0.
    pic_size = content_length.
  ENDIF.
  CALL FUNCTION 'DP_CREATE_URL'
    EXPORTING
      type     = 'image'
      subtype  = cndp_sap_tab_unknown
      size     = pic_size
      lifetime = cndp_lifetime_transaction
    TABLES
      data     = pic_data
    CHANGING
      url      = url
    EXCEPTIONS
      OTHERS   = 1.
endform.                    " load_pic_from_db
Dev.

Similar Messages

  • Can't Open Two images at same time

    I can't have two images open at the same timer in PhotoShop CS4.
    I open a file and it displays.
    Then go to File, Open...menu and open a secomd file.
    Result THe second image opens and the first image goes away. Both files are shown in the Window menu, but I can't get both to display at the same time..
    I've the CS4 upgrade from CS3 Extended. INtel Mac Pro
    I'm sure thjere is a simple answer to this problem. I've been trying to find an answer, but haven't seen this posted.
    Yhanks
    Hoagy99

    Have You tried disabling Application Frame and turning off Preferences – Interface – Open Documents as Tabs and Enable Floating Document Window Docking?
    And please do a forum-search, because I seem to have come across this problem repeatedly.

  • CS5 won't let me open two images at one time

    I have been trying to open two separate  images on the desktop at the same time in CS5. When I click on the second
    image in Bridge, the first one that is open disappears.  What am I doing wrong?   I want to copy / move part of the second
    image onto the first one and need both images open  at the same time.
    Thanks... carolyn

    Ah... found the answer in the little box to the right of my question.  The
    problem was "tabbed windows' in prefs.
    Thanks to the person who asked this question previously and to the person who
    replied to it with the answer !
    In the PS Application Bar (top of the window and auto selected if you have
    the application frame active you have the Arrange Documents icon and the
    Screen Mode icon (second from last and last at the left side)
    With the arrange documents you can select different views for multiple
    images that are tabbed. If you have 2 files open you only have the option
    for two, if more you have other view options.
    Just try it and and if you have set one image at the right place and zoom in
    it's own field just go in the menu window/arrange and choose match all

  • Two images at the same time

    Hi!
    I'm new into FCE and I would like to ask for some help. Can I work with two images at the same time? I mean, Can I superimpose two images to make one? How can I do it?
    Maybe this is something easy, but I'm just starting,
    thanks in advance for your answers
    Message was edited by: angelcotallo

    Yes, you can. You can put one clip on top of the other in the timeline. You can make both clips visible by reducing the opposite of the clip or top, or by scaling back the clips so they are smaller. You can reduce the opacity and scale of the clips in the viewer by opening the clips from the timeline into the viewer. You can also scale the images directly in the canvas when it is in Image+Wireframe mode.

  • Web gallery synchronisation uploads all images each time.

    It is just me, or is web gallery synchronisation clunky ? It seems to upload ALL images whenever a change is made (e.g., if I add an image to a web gallery, it uploads all of them again).
    Paul

    I wonder if an upload is taking place. I see it taking much less time. I believe that the file is being checked for changes, and if the file is unchanged, then Aperture moves on to the next file. This is only a guess, but seems like a reasonable explanation.
    For my part, I made synchronization manual. With an old mini, it is cumbersome to wait for sync everyday. Hope this helps.

  • First two images don't load first time podcast is loaded in Safari

    I created a podcast with GarageBand, and have 4 images in the podcast track. When I export to iWeb, I let the images be constrained to 300dpi by the app. After uploading, when I first open the site in a freshly launched Safari, go to the episode, let the movie fully load, the click play, and the 1st two images don't appear. When I rewind and play, they then render. Doesn't happen in Camino. Any suggestions?
    Bob

    Try publishing your site to a folder on the desktop and double clicking the index.html file to see if the problem shows up. If it does, the problem is in iWeb.
    If it doesn't, then you should try a "Publish All", empty your browser cache and look again.

  • In which method i can upload data to two transactions at a time and how ?

    Hi,
    Can any body tell me  <b>In which method i can upload datas to two transactions at a time and how</b>
    Pls tell me the steps if possible.
    Thanks
    Prabhudutta

    Hi,
    I hope u are talking abt BDC,
    If it is BDC's Then you can use both the methods.
    Call Transaction or
    Session Method.
    Ex ..if already a vendor exists then call transaction xk02
    if vendor no is not yet created then call transaction xk01.
    hope this helps.
    santhosh

  • How can I work with two images at the same time?

    I have downloaded Photoshop Elements 10 and I can not find the buttons for Minimize or Reset for the image. If I rightclick the miniature those options are grey. If I open two images so I have two miniatures in the holder and then go to Windows and Images the option Show Overlapping is grey but I can show Side by side. Then I can only shut down the images.
    Thanks for help
    Bibbi

      Open the Editor and on the menu bar click:
    Edit à Preferences à General
    Check the box “Allow Floating documents in Full Edit Mode” and click OK.
     

  • On CS6  with two images in the titles and one open Tutrials tell me that I can drag one onto the greyed title and there will be 2 layers in the layer panel .I have done this many times both with unlocked layers and duplicates . None of three options work.

    In CS^ when I have 2 photos inthe title bar and one is greyed out tutorials tell me I can rag the opened photo onto the greyed title to create two images in the layer panel.  It does not wrk even if I unlock them or use duplicates. Modify keys don,t help.  What is wrong ?

    First select the Move Tool
    Drag the source picture to the tab of the destination picture
    The tab will open to reveal your destination picture, do not release the button yet, but drag the move tool onto the destination picture.
    Then release the mouse button.
    Tell me how you did.
    Gene

  • How do i upload an image to a server and put the name into a database table

    Ok, i found a php image upload script that im using for a cms
    image gallery on my site. But for it to work the way i need to i
    have to have certain information submited into a mysql table at the
    same time. I could just make it so the user types the name of the
    image in a second form, but i would rather not have to as it seems
    a clumsy way to do things and opens things up to typos etc.
    So, i can upload the image ok, and i can upload data to the
    table, but i dont know what I have to do so that the name of the
    uploaded file is automaticly inserted into the mysql table.
    The first bit of code below is the form I am using to upload
    the file to the server. The second bit of code is what I am using
    to tell the server what the file name is.
    How do I combine the 2 form into one? Please help. It is
    driving me to dispair.
    Attach Code
    <form enctype="multipart/form-data" action="uploader.php"
    method="POST">
    <input type="hidden" name="MAX_FILE_SIZE" value="500000"
    />
    Choose a file to upload: <input name="uploadedfile"
    type="file" />
    <br />
    <input type="submit" value="Upload File" />
    </form>
    <form action="<?php echo $editFormAction; ?>"
    method="post" name="form2" id="form2">
    <table align="center">
    <tr valign="baseline">
    <td nowrap="nowrap" align="right">Image One</td>
    <td><input type="text" name="kingsImage1"
    value="<?php echo
    htmlentities($row_rskingscentre['kingsImage1'], ENT_COMPAT,
    'UTF-8'); ?>" size="32" /></td>
    </tr>
    <tr valign="baseline">
    <td nowrap="nowrap" align="right">Image Two</td>
    <td><input type="text" name="kingsImage2"
    value="<?php echo
    htmlentities($row_rskingscentre['kingsImage2'], ENT_COMPAT,
    'UTF-8'); ?>" size="32" /></td>
    </tr>
    <tr valign="baseline">
    <td nowrap="nowrap" align="right">Image
    Three</td>
    <td><input type="text" name="kingsImage3"
    value="<?php echo
    htmlentities($row_rskingscentre['kingsImage3'], ENT_COMPAT,
    'UTF-8'); ?>" size="32" /></td>
    </tr>
    <tr valign="baseline">
    <td nowrap="nowrap"
    align="right"> </td>
    <td><input type="submit" value="Update record"
    /></td>
    </tr>
    </table>
    <p>  </p>
    <p>
    <input type="hidden" name="MM_update" value="form2" />
    <input type="hidden" name="kingsHeader" value="<?php
    echo $row_rskingscentre['kingsHeader']; ?>" />
    </p>
    </form>

    jeffoirecoupe1234 wrote:
    > Ok, i found a php image upload script that im using for
    a cms image gallery on
    > my site. But for it to work the way i need to i have to
    have certain
    > information submited into a mysql table at the same
    time. I could just make it
    > so the user types the name of the image in a second
    form, but i would rather
    > not have to as it seems a clumsy way to do things and
    opens things up to typos
    > etc.
    >
    > So, i can upload the image ok, and i can upload data to
    the table, but i dont
    > know what I have to do so that the name of the uploaded
    file is automaticly
    > inserted into the mysql table.
    >
    > The first bit of code below is the form I am using to
    upload the file to the
    > server. The second bit of code is what I am using to
    tell the server what the
    > file name is.
    >
    > How do I combine the 2 form into one? Please help. It is
    driving me to dispair.
    >
    > Attach Code
    >
    > <form enctype="multipart/form-data"
    action="uploader.php" method="POST">
    > <input type="hidden" name="MAX_FILE_SIZE"
    value="500000" />
    > Choose a file to upload: <input name="uploadedfile"
    type="file" />
    > <br />
    > <input type="submit" value="Upload File" />
    > </form>
    >
    > <form action="<?php echo $editFormAction; ?>"
    method="post" name="form2"
    > id="form2">
    > <table align="center">
    > <tr valign="baseline">
    > <td nowrap="nowrap" align="right">Image
    One</td>
    > <td><input type="text" name="kingsImage1"
    value="<?php echo
    > htmlentities($row_rskingscentre['kingsImage1'],
    ENT_COMPAT, 'UTF-8'); ?>"
    > size="32" /></td>
    > </tr>
    > <tr valign="baseline">
    > <td nowrap="nowrap" align="right">Image
    Two</td>
    > <td><input type="text" name="kingsImage2"
    value="<?php echo
    > htmlentities($row_rskingscentre['kingsImage2'],
    ENT_COMPAT, 'UTF-8'); ?>"
    > size="32" /></td>
    > </tr>
    > <tr valign="baseline">
    > <td nowrap="nowrap" align="right">Image
    Three</td>
    > <td><input type="text" name="kingsImage3"
    value="<?php echo
    > htmlentities($row_rskingscentre['kingsImage3'],
    ENT_COMPAT, 'UTF-8'); ?>"
    > size="32" /></td>
    > </tr>
    > <tr valign="baseline">
    > <td nowrap="nowrap"
    align="right"> </td>
    > <td><input type="submit" value="Update record"
    /></td>
    > </tr>
    > </table>
    > <p>  </p>
    > <p>
    > <input type="hidden" name="MM_update" value="form2"
    />
    > <input type="hidden" name="kingsHeader"
    value="<?php echo
    > $row_rskingscentre['kingsHeader']; ?>" />
    > </p>
    > </form>
    >
    >
    >
    Hi Jeff:
    Though this does not show you how to solve this issue via a
    code
    snippett, there are a couple of extensions at WebAssist.com
    that enable
    you to do this, they are Data Assist and Digital File Pro.
    When you have
    time, take a look at these Solution Recipes (tutorials) that
    show how
    DataAssist is used and then now Digital File Pro is used in
    conjunction
    with DataAssist:
    http://www.webassist.com/professional/products/solutionrecipe/Media_139.asp
    http://www.webassist.com/professional/products/solutionrecipe/Media_112.asp
    DataAssist can be used to save time when you need to build
    database
    search and management applications quickly, and Digital File
    Pro can be
    used to include file upload functionality to your form fields
    while
    enabling you to insert your server file name into the
    database, all on
    the same page.
    enthusiastically,
    mark haynes

  • How do I substract an image at the time t with an image at t-1 to detect move in a grab acquisition

    After the VI acquire in a grab acquisition, how do I substract an image at the time t with an image at t-1 to detect the movement in the scene?

    Hello,
    One way of doing that is to do a ring acquisition with two buffers. At anytime one of your buffers will be the most current frame and the other will be one before the most current. Having both buffers available at anytime in your code you can call IMAQ Subtract.
    Hope this helps!
    Yusuf C.
    Applications Engineering
    National Instruments

  • Uploading an image

    Hello I would like to write a program where I can upload an image from my computer and have it displayed in the program. I understand that I need to use JFileChooser to do this but before I start writing code I want to know is it possible to achieve what I am trying? Any feedback will be appriciated thanks

    smithbrian wrote:
    ..I got this code of the net I am trying to modify it and learn from it "so please bear with me"Put that code back in whatever deep, dark hole you found it in. It is so horrid it would take less time to write a simple example from scratch, than to detail the problems with it.
    Try this code..
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.filechooser.FileNameExtensionFilter;
    import javax.imageio.ImageIO;
    import java.net.URL;
    import java.io.IOException;
    public class LoadImage {
      public static void main(String[] args) {
        SwingUtilities.invokeLater(new Runnable() {
          public void run() {
            JFrame f = new JFrame("Load Image");
            f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
            JFileChooser fileChooser = new JFileChooser();
            FileNameExtensionFilter filter = new FileNameExtensionFilter(
              "Image Files", "jpg", "gif", "png");
            fileChooser.setFileFilter(filter);
            int result = fileChooser.showOpenDialog(null);
            if ( result==JFileChooser.APPROVE_OPTION ) {
              try {
                GUI gui = new GUI(fileChooser.
                  getSelectedFile().
                  toURI().
                  toURL());
                f.setContentPane(gui);
              } catch(Exception e) {
                f.setContentPane( new JLabel(e.getMessage()) );
            } else {
              f.setContentPane(new JLabel("Image load cancelled"));
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    class GUI extends JPanel {
      Image image;
      public GUI(URL imageUrl) throws IOException {
        super(new BorderLayout());
        image = ImageIO.read( imageUrl );
        JLabel imageLabel = new JLabel( new ImageIcon(image) );
        add(imageLabel);
      public Dimension getPreferredSize() {
        return new Dimension( image.getWidth(this), image.getHeight(this) );
    }

  • External hosting server has problems uploading my images

    Hi. I am experiencing difficulties getting my new hosting provider to upload my images. I use the upload to FTP on the file menu and I get a message in apop up window. "FTP - Validation, Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway? Yes / No"
    This also occurred on my previous host provider and when I clicked Yes it uploaded OK and my site has been running for several months already.
    My new host's support technician has been on the phone with me all afternoon trying to upload the files. It will upload the HTML files very quickly but then runs into problems with the images. So I have spent  a few hours renaming each file and saving them to web. I have made sure all images and assets are linked and in the same folder.  As the FTP upload struggles on it keeps stopping at various images the the computer freezes and I have to wait until it comes back to life. It doesn't crash.
    My previous host's technicians and the present one suggested that the problem is in the software - Muse.
    Has anyone else had these or similar problems?. Maybe I should rebuild in Dreamweaver?
    Oh by the way, my website www.bilyz.com uploads to Adobe Business Catalyst without a problem. Try it and see.

    Thanks for your help.  I have done as suggested and I have also tried alternative settings without successful upload. I have checked and double checked all the assets, then rechecked the sizes of each of my images before trying to upload to the FTP server.
    1.  I tried to upload with a forward slash in the folder field box - Result was a window " \public_html " does not exist. Do you want to create it?
    > OK
    New window appears: Error creating folder [failed to MKD dir: 553]
    2. Forward slash: The requested folder "/public_home " does not exist. Do you want to create it?  > Yes.
    New window: Could not validate that the specified domain is associated with the FTP server and folder. Proceed anyway? Yes
    3. New window appears: Title of window: Upload to FTP Host
                                    Overall upload progress: 65% complete
    Then uploading stalls and a message appears: Error uploading file lucy.jpg. Click to resume. If problem persists, try again later. [FTP response timeout]
    Each time I click on Resume the screen freezes for a while then returns to 'live' and it all begins again.  It is perplexing me why my site uploads to BusinessCatalyst without any problems.  It also uploaded to Namesco.co.uk without too much difficulty (my first upload)
    Yesterday prior to contacting you the hosting technician at Vidahost.com took command of my computer and tried to see what the problem was but obviously without success and suggested that the Muse software could be at fault - which I doubt.
    I have taken screen capture jpegs of the windows but don't understand how to include them.
    Kind regards
    Bill

  • How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?

    hello,
    How can i upload two different logos for 2 sub sites [which falls under one super site ] in share point 2013 ?
    thanks,
    Jay

    Hi,
    I understand that it applied first logo to all other sub sites.
    Please make sure that you change the logos in the subsites.
    If we change the logo in the root site, the logos in the subsites will be changed at the same time.
    However, we can change the logo in the subsites separately.
    We can go to a subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo->select a picture, then it will has a different logo than the root site.
    Then go to the other subsite, click the Site Sitting-> Look and Feel-> Title, description, and logo->Insert Logo-> select another picture, then it will has a different logo that the first subsite.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Browse button not working in Windows Phone while tyring to upload an image to Pictures library in Sharepoint 2013 online site .

    Hi,
    I am trying to upload an image to SharePoint 2013 online site's Pictures Library from the Windows phone. When I click on  Browse button, nothing happens. Although the same browse button in working in the chrome and allowing to select an image from the
    phone library.
    Please let me know if this is the known issue or any work around is available to overcome this.
    Regards,
    Saurabh M

    Hi,
    Although the mobile version of Internet Explorer is supported by SharePoint 2013, however, for Office 365 SharePoint Online 2013 which keeps updating all the times, there may
    be some compatibility issues during the process.
    As this issue is more relate to SharePoint Online, it would be more appropriate to open a thread in Office 365 forum, you will get more help and confirmed answers from there:
    http://community.office365.com/en-us/forums/default.aspx
    Thanks for your understanding.    
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

Maybe you are looking for

  • Problem Checking if File Exists When App is Launched

    I'm developing an app which checks a file "lastuser.txt" to determine which database to open, as sometimes people share phones. Anyway, I'm trying to call  TryGetItemAsync() in the OnLaunched() section in App.xaml.cs but I get the message "The name '

  • How to export a hierarchy or a measure from an aw to another aw ?

    hello , we have 2 environnements test and production . We create a hierarchy on a dimension and we want to export it to the production . In awm , we can only export dimension definition as xml definition but not a hierarchy. We have the same problem

  • HT1338 i think i have a virus

    e-mail to all my contacks was sent out with out me sending it

  • Vendor clearing error

    I use F-44 to clear vendor 11053, in vendor master data of 11053, I defined trading partner C133. when I run F-44, it says consolidated companies C133 and '' are diffrent, how to solve this error ? thanks

  • Mono not playing from browser

    After updating to 10.2 when I play a dual mono clip from the browser window its not coming out in the speakers. I guess it is something MIDI setup og something because it peaks on the internal fcpx audio meter. But the meter is only showing one chann