How can we display photo of particular person on webdynpro abap view

hello gurus,
                 i am very new to webdynpro abap.i have one requirement.could any one can suggest me to overcome my requirement.
in my requirement i have one view.in that view i need to display one photo image which ever saved on my desktoop.if i click on save button i should generate one doc number and update what ever the photo image i have displayed in the view against this doc number.after some time if give the doc number in to docnumber field and click on display button it should display what ever the photo we have saved previously against this doc number.this is my exact requirement.i think for this we need to maintain one Z table to stroe the photo and respective doc.number.for this how can we stroe photo against doc number in ztables.what is the type i supposed to give for photo image field.
could you please any one suggest me on this and could any one send me the sample code if possible.
regards,
babu.

Hello Babu,
I doubt whether you can directly display the image from your desktop into the webdynpro application using Image UI Element. Only solution what I can think of is to load the image into the MIME folder and then bind the path of image in the Source property of the image UI element. But if you ask me this is not a good solution. Let me propose my solution. If no one get back to issue with better approach then you can follow the same
1. whenever the image the is uploaded from the desktop, create this image in the MIME folder ( you search in SDN for creating objects in MIME folder )
2. then bind the path of the image in Mime folder to the Source property of the Image UI Element
3. Once the image is persisted in the DDIC table, delete the image from the MIME folder.
4. to persist the image in DDIC table, create an attribute of type RAWSTRING.
5. Whenever you want to display image from DDIC table into the UI, then again create the image in MIME folder and delete the image from MIME folder when you are existing from the application.
Alternative would be to use the Mime repository for storing the image and in the DDIC table just maintain the Mime folder path for the document number.
Hope this helps you.
BR, Saravanan

Similar Messages

  • HT204022 How can I display photos in my photo stream via a webbrowser?

    If I take photos with e.g. the iPhone, iPad/iPod and have a WLAN connection then they are uploaded as soon as I get the connected. The files are then stored in the cloud and will be distributed to all my devices, which use the same iCloud ID. But if I don't have my Macbook with me who can I show the pictures on any computer in this LAN, possibly by using a webpage only.
    It is possible via iWeb, but therefore I need to upload the photos to a webpage, which again requires a computer with iPhoto and probably iWeb installed too, as well as some work to select the photos and put them on the website.
    What do I miss here. It's something like Picasa but w/o Google.

    Welcome to the Apple Community.
    You can't view photostream via a web browser.
    However if you use iPhoto on a mobile device, you can publish your photos to a photo journal which others can view with a web browser.

  • How can I display photos from a facebook group in my Muse website?

    I am creating a website for a client, using Muse, and she wants to be able to upload photos into her website, and allow her users to do this as well.
    As an option, I was thinking of maybe adding a facebook plugin that will post photos that users add to her fb group.
    Is that possible to do?
    If not, can you recommend a way for me to set up a feature on her actual website that will allow her users to upload photos and display them on her site??
    Thanks!

    Hi,
    You will have to get the code from the http://developers.facebook.com which you can insert as HTML on the pages designed from Muse.
    Regards,
    Abhishek Maurya

  • How can I display True/False in my dropdownlist as "Yes" and "No"?

    Hi All,
    I want to bind a dropdownlist to a boolean value (so it's either true or false).  I'm particularly interested in using two-way binding to when the user changes from "yes" to "no" the boolean value automatically changes from "true" to "false."  But, I want the user to see "yes" and "no" as the options, rather than "true" and "false".
    How can I display "yes" and "no" and still take advantage of binding?  Or can I not use binding in this circumstance?
      -Josh

    Solution 1:
    In order to display Yes/No for True/False, you may specify labelFunction for the dropdownList.
    In MXML:
    <s:DropDownList labelFunction="myLabelFunction" />
    In actionscript:
    private var arr:ArrayCollection = new ArrayCollection(["true","false"]);
                private function mylabelFunction(item:Object):String
                    if(item.toString() == "true")
                        return "yes";
                    else return "No";
    OR
    Solution2:
    may be u can try making an array collection like
    private var arr:ArrayCollection = new ArrayCollection([{label:"yes",value:"true"},{label:"no",value:"false"}]);
    and specify labelField for the dropdownList like
    <s:DropDownList labelField="label" dataProvider="{arr}" />

  • How can I transfer photos from my iphone to my computer without emailing each one to myself

    how can I transfer photos from my iphone to my computer without emailing each one to myself, and I thought they would be in icloud but I can't find them

    Pics taken with the iphone are imported to your computer as with any other digital camera ( as explained in the manual).
    Pics synced to your iphone from your computer should still be on the computer.
    iOS: Importing personal photos and videos from iOS devices to your computer

  • How can I display a changing variable in a subvi on the front panel of the main vi as the subvi is excuting

    In the document attached the vi on the right is sub to the vi on the left. On the subvi on the right the variable "Field Reading" is continuously updated on the front panel of the subvi as the "for" loop is executed, but only the last value of the variable is updated on the main vi front panel which is what is expected. My question is how can I display the changing value of "Field Reading" on the main vi front panel as the "for" loop in the subvi is running?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    Doc2.docx ‏554 KB

    Hopefully I can explain it well enough. It really is simple.
    1) Create an empty global variable and call it something like User Interface References.vi
    2) For each and every control and indicator on your front panel, right-click and select Create/Reference
    3) Place these references wherever you like (I use a series of Event cases to perform my initialisation and these all live in one of these event cases). They can be placed anywhere in the main vi.
    4) For each of the references, right-click and select Create/Indicator
    5) Moving to the front panel, Cut all the indicators and Paste them in the global variable (eg. User Interface References.vi)
    6) Moving back to the block diagram, wire the global variable to each of the references and select the same named global variable.
    All the hard work is now done (until you add another user interface terminal). You should now have something that look as shown below, [except the reference labels would be to the left (not sure why the snippet put them above)]. In my latest program I have 82 references!
    Done. You can now access all your front panel controls and indicators anywhere in your program as shown below.
    You can just select Value in most cases, but in this particular case I wanted to fire off an Event to do some things (log the alarm) as well as just update the value. So, this is another bonus with the method.
    Hopefully this all makes sense. If not, let me know.

  • Using a Macbook 2008 with Lion 10.7.5, how can I project photos/keynote on smart tv screen? Macbook will not upgrade beyond Lion.

    Using a Macbook 2008 with Lion, 10.7.5, how can I project photos/keynote presentation on my smart tv? It is connected to tv with mini-dvi/hdmi cable, but I don't know how to display the images. Thanks!

    Did you switch the TV's input to the HDMI port you are using with the computer? Did you open Displays preferences to see if a second screen is displayed and then check the box to mirror to the TV screen? Did you search Google for any help links on how to do what you are trying to do?

  • How can I transfer photos from iPad to Toshiba PC?

    How can I transfer photos from my iPad to my Toshiba PC?

    Plug the iPad into your computer using the USB cable and then use whatever app your computer has for downloading images from a digital camera. When the iPad is connected, the computer will see the camera roll as a digital camera. I'm not a PC person, so I can't tell you which app to use on the computer, sorry.

  • How can I transfer photos from my ipod touch to my computer

    How can I transfer photos from my iPod touch to my laptop.?

    What photos?
    Photos synced from computer to ipod are one way only  - computer to ipod.  As they came from your computer in the first place, they should still be there.
    Pics taken with ipod are imported as with any digital camera.
    Copying personal photos and videos from iPhone, iPad, or iPod touch to your computer

  • How can I import photo to computer if my photo were save in event instead of saved photo for ipad1?  Why Photo in event are not detected ?

    How can I import photo to computer if my photo were save in event instead of saved photo for ipad? Photo in event are not detected.

    Importing Personal Photos and videos from your iOS device to your computer.
    http://support.apple.com/kb/HT4083
     Cheers, Tom

  • How can I import photos inro Organiser in the same order as they are in my files?

    How can I import photos into Organiser in the same order as they are in my files?

    You can do a change to your files you want to import so they are in order that your version of PSE uses.
    One of the benefits of PSE is that you are no longer limited to specific order or locations of pictures. If you want a spefic order for display purposes create an album and your order will be maintained in the album. Other than that I keep my display on Newest first(I have PSE 11) and rarely change it.

  • How can i display the login details in the Web Ui

    Hi All,
              How can i display the information regarding the person who logged into the Web Ui and where can i find the seetings regardin this.Please provide your valuable suggestions
    Regrads,
    Lakshman.P

    look at this link https://wiki.sdn.sap.com/wiki/display/CRM/WelcomeUserMessageinWeb+UI and you will solve your problem.
    have a nice day.

  • Webdynpro ABAP - ALV how can i display Total of Column

    Hi friends,
    Webdynpro ABAP - ALV how can i display Total of Columns.
    Please tell me any metod is there or any solution.
    Thanks,
    Kumar.

    Hi
    You can take help of following code snippet to create totals for a particular column
    Data: lr_function_settings TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
            lr_column          TYPE REF TO cl_salv_wd_column,
            lt_column type salv_wd_t_column_ref,
            ls_column type salv_wd_s_column_ref.
    Data:  lr_field_amnt type REF TO CL_SALV_WD_FIELD.
    * get reference of ALV component
      lr_salv_wd_table = wd_this->wd_cpifc_OVERVIEW_EARNED_ALV( ).
      wd_this->alv_config_table = lr_salv_wd_table->get_model( ).
    *  get function settings
      lr_function_settings ?= wd_this->alv_config_table.
    * display columns in correct order
      lr_column_settings ?= wd_this->alv_config_table.
      lt_column = lr_column_settings->get_columns( ).
      loop at lt_column into ls_column.
    CASE ls_column-id.
    when 'AMOUNT'
    * aggregate field
            CALL METHOD LR_FUNCTION_SETTINGS->IF_SALV_WD_FIELD_SETTINGS~GET_FIELD
              EXPORTING
                FIELDNAME = 'AMOUNT'
              RECEIVING
                VALUE     = lr_field_amnt.
    * create aggregate rule as total
            CALL METHOD LR_FIELD_AMNT->IF_SALV_WD_AGGR~CREATE_AGGR_RULE
              EXPORTING
                AGGREGATION_TYPE = IF_SALV_WD_C_AGGREGATION=>AGGRTYPE_TOTAL
              RECEIVING
                VALUE            = lv_aggr_rule.
    endcase.
    Regards
    Manas DUa

  • HT4007 how can i share photos between users on the same mac?

    Dear All,
    My wife and I use the same MacbookPro, but our own different login Accounts on the Mac, how can we share photos bewtwen these 2 accounts.
    Say, I've downloaded some pics from my camera and would like to transfer to her login account.
    Can I do it on the desktop level or can I use iPhoto to do this? I'd like to know how to do bothways, without having to duplicate the files(ie saving 2 copies of the same file on the computer)
    Isn' there a 'New' feature on iPhoto / Aperture saying that it uses the same 'Unified' library or something ?
    Can this feature help? but how to activate?
    Pls help.
    Thanks

    Macs have a folder called "Public" for this purpose.  See this from Finder's help:
    Share files with others using a drop box
    To give a copy of a file to another user, you can copy the file to the person’s Drop Box.
    HidePut a file in the Drop Box of another user on your Mac
    Open the user’s Public folder (in their home folder in the Users folder on your hard disk).
    Hold down the Option key and drag the file to the Drop Box in the user’s Public folder.
    Click the desktop to make sure you’re in the Finder, and then choose Go > Computer.
    Double-click the icon for your computer’s internal disk (usually named Macintosh HD) to open its folder.
    Open the Users folder, and then open the folder for the person to whom you’re giving a file.
    Open the user’s Public folder, and then drag the file to the Drop Box. To keep a copy of the file for your own use, hold down the Option key while you drag.
    Even though you can put items in another user’s Drop Box, you can’t open any Drop Box except your own.

  • How can I keep photos on iPod Touch from looking like color negatives?

    How can I keep photos on iPod Touch from looking like color negatives?

    You don't have to keep your photos in iPhoto to sync to your iPod according to Apple's website which states you can sync from folders in other locations:
    "Syncing Photos from a Mac
    To sync photos from iPhoto or a folder on your Mac:
    1. Connect your iPod to your computer and open iTunes.
    2. Select your iPod in the DEVICES section of the iTunes Source list.
    3. In the main iTunes browser window, select the Photos tab.
    4. Select the checkbox labeled "Sync photos from" and then choose either iPhoto, Aperture, Choose Folder, or Pictures, from the menu.
    * If you choose iPhoto, select "All photos and albums" to copy all of your photos in iPhoto, or "Selected albums only" and select individual rolls or albums you want to include.
    * If you choose Choose Folder, navigate to and select the folder of photos you want, then click Choose. Select "All photos" to copy all photos in the folder, or choose "Selected folders" to sync particular subfolders.
    * If you choose Pictures, choose "All photos" to copy all photos in the folder, or choose "Selected folders" to sync particular subfolders.
    5. If you want iTunes to also include the full-resolution versions of your photos, select the "Include full-resolution photos" checkbox. To access full-size photo files, be sure to enable your iPod for disk use.)
    6. Once you have decided which photos you'd like to sync, click Apply."
    Hope this helps!

Maybe you are looking for