Regarding displaying of photo in wd abap

Hi All,
  I want to display a photo in wdabap.Actually through mime repository we can do that but is there any other way to display the photo in wd abap.means is there any other way where we can store the photo and we can display it in wd abap at runtime.If anyone knows it then describe it in detail n the way to do it.give the description in detail.
thanking you all in advance

Hi,
Pls check out this link -
To upload the photo in WDA -
steps to upload foto in WDA (ABAP)
Regards
Lekha

Similar Messages

  • Regarding displaying the photo in wd abap from mime repository

    Hi All,
      I have to display the photos which are availaible in the mime repository.If any one knows about it then please tell me in detail i.e. step by step.
    Thank you all in advance.

    Create an Image element on you view and then go to the source property click on that and the n select the image from MIME.now the Image will be available on the view.
    Thanks
    Suman

  • How to display employee photo in pdf through WebDynpro OR ABAP print Progr?

    hi,
    I have uploaded employee photos using TCODE OAOH. Now all the employee photos are stored in Archive link.
    Now my requirement is i have get the employee photo and display it in PDF using PDF forms and  webdynpro OR using ABAP print program.
    I am able to get the employee photo from SAP archive link using ABAP code. After this i have to upload this to MIME reository. From MIME repository i have to display it in PDF forms from WEbDynpro.
    I tried with ABAP print program, directly calling the PDF form in program and display the employee data with Employee Photo. With my program i am able to see only employee data. But it's not displaying employee Photo.
    Plz any helps to display employee photo in PDF forms using either webdynpro OR ABAP printprogram.
    If ur reply is related to WebDynpro, pla tel me how to upload photo to MIME repository From Archive Link.
    Since all the employee photos are uploaded into Archive link using Tcode OAOH. From this i have to get the employee photo and upload it to MIME repository and i have to display it in PDF forms.
    Any help are appreciated.......
    Regards,
    Shankar.

    Hi Sankar,
    1)You can use the program BSP_UPDATE_MIMEREPOS to upload the photos in the mime repository.
    2)Use the following code to get the content from your mime and set the content to your interactive UI element as Xstring format.
        data:
        mime_repository type ref to if_mr_api,
        content type xstring,
        url type string value '/SAP/BC/BSP/SAP/myBSPapplication/rajkumar.jpg'  .
      mime_repository = cl_mime_repository_api=>get_api( ).
      call method mime_repository->get
        exporting
          i_url     = url
        importing
          e_content = content.
      wd_context->set_attribute( name = 'DATAS' value = content ).
    Thanks,
    Rajkumar.S

  • Displaying Employee Photo using WDA  in ESS

    Hello Experts,
    We have a requirement to dispaly employee photo in ESS.We are implementing ESS with Webdynpro ABAP.
    we have created one archive link in R3(Content repository)
    Please help me..
    1) how to call this archive link from WDA...is there any standard WDA application in ESS
    2) what is the correct process to display employee photo in ESS.
    3)can we use Colloboration Demo role?
    4) can we user Who's Who role? how we need to enable this role?
    Please help..many of you have worked on this type of requirements..please share your thoughts and solutions..
    thanks in advance for your help..
    Regards
    EP user1

    Dear Vinodh
    Normally there might be many reasons for pics not getting displayed, as u have said that the photo is already visible in R/3 then u need to check the following things
    1) check S_WFAR_OBJ authorization object has been maintained or not.
    2) Access T-code PZUSWHO & check whether the following settings are maintained or not.
    Check these links as it entails how to upload the Photos
    How to upload photos in SAP
    Employee Photographs Mass Uploading to Backend System (ECC)
    Kindly come up with screen shots,
    Hope this solves ur problem.
    Cheers
    Pradyp

  • Displaying Employee Photo thru Web Service

    Hi,
    I am having a requirement of displaying the employee photo's thru weservice, in asp.net application.
    Is it  possible?
    If anybody knows..
    Guide me to close this issue...
    Thanks & Regards,
    Balajee Jeyaraj .

    Hi Pramod,
    Thanks for the reply, we stored all our employee photos on  ECC System Only...
    If i enter the Personal No: in PA30, i am able to see the EMployee Photos on the Header..
    But While accessing the COD Service from the Portal, asking ECC system credentials to display the photo.. If i am providing the Credenials Employee Photo is displaying .. other wise Blank Image Displaying...
    Siddarth suggested its due to SSO problem, if its sso issue, how come i login into portal without any errors currently we are using ABAP UME both Portal and ECC Login details r same...
    Please Suggest me how to fix the issue...
    Thanks in Advance
    Adapag

  • Displaying Employee Photo in smartform in SAP-HR

    hi all,
    how can i display employee photo in smartform which is not uploaded in the sytem with tcode se78 but throgh diff tcode (OAAD) by HR functional. There are mainly two parts: 1. Procedure to retrieve that photo from the system
                              2. Display it in the smartform.
    This photo is stored as graphics and so in  smartform i am unable to put the name in graphic option which we normally follow.Please suggest what can i do.
    Regards
    Raj

    THe below links should help you
    Smart forms
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    Try to upload the pictures via SE73 as it's described in the Online help.. As far as I remember it works all the mentioned formats
    Please check this FM perhaps they may help.
    HR_IMAGE_*
    HRWPC_RFC_EP_READ_PHOTO_URI
    HR_ESS_EMPLOYEE_PHOTO_CHECK
    HR_ESS_EMPLOYEE_PHOTO_INIT
    HR_ESS_EMPLOYEE_PHOTO_RESET
    HR_ESS_EMPLOYEE_PHOTO_SAVE
    HR_ESS_EMPLOYEE_PHOTO_SHOW
    HR_ESS_EMPLOYEE_PHOTO_TAKE
    Reward points if found helpful….
    Cheers,
    Chandra Sekhar.

  • How to get the material list displayed in CU50 transaction into ABAP report

    How to get the 'KMAT" type material list displayed in CU50 transaction into ABAP report?
    I am getting the entire BOM when i am using the FM CS_BOM_EXPL_MAT_V2 in to the table in the report.
    But I want only the material list displayed in CU50.

    Hi,
    Could you please tell us how you found a solution to your problem?
    Thanks & regards
    Hassan

  • Displaying Employee Photos in Visual Composer

    Hi,
    I am having a requirement of displaying the employee photo's in a visual composer,
    Is there any standard RFC function module to display Employee photo??
    If any body know's please let me know...........
    Thanks & Regards,
    Bala

    Hi Elizabeth
    I've installed the the NWVC60_0-20000504.ZIP as well as the NWVC60P_2-20000504.zip content (https://websmp106.sap-ag.de/download - "search all categories" - type "visual composer*").
    But it still doesn't seem to work.
    Any ideas?
    Best regards
    Ole

  • Asking ECC System Credentials while Displaying Employee Photo in CODService

    Hello All,
    Currently we are having requirement like , need to display the employee Photo from Portal.
    Already all the Employee Photos are Uplaoded in the backend, i can able to see employee photos on Hearder in PA30.
    While Displaying the Employee Photo from the Portal using COD Service, it asking the ECC System Credentails.
    What Configuration steps need to follow to display the Employee Photo in CHange Own Data Service from the Portal with out asking the backend system Credentails..
    Plz Share some inputs to fix the issue..
    Thanks in Advance
    Adapag

    Hi Pramod,
    Thanks for the reply, we stored all our employee photos on  ECC System Only...
    If i enter the Personal No: in PA30, i am able to see the EMployee Photos on the Header..
    But While accessing the COD Service from the Portal, asking ECC system credentials to display the photo.. If i am providing the Credenials Employee Photo is displaying .. other wise Blank Image Displaying...
    Siddarth suggested its due to SSO problem, if its sso issue, how come i login into portal without any errors currently we are using ABAP UME both Portal and ECC Login details r same...
    Please Suggest me how to fix the issue...
    Thanks in Advance
    Adapag

  • Iphoto not displaying imported photos

    hello i would appreciate it if someone could give me an idea of what is happening with my iphoto programme.i transfer photo from the camera via usb iphoto displays the photos in abumn format but as soon as i click on it to make it viewable as a large photo i get what looks like a picture of a keyhole and my original picture wont display is this a data transfer problem or an iphoto problem and hints would be greatly appreciated thankyou

    Sharron
    Are you running a Managed or a Referenced Library?
    If you're running a Managed library, then it's the default setting, and iPhoto copies files into the iPhoto Library when Importing
    If you're running a Referenced Library, then you made a change at iPhoto -> Preferences -> Advanced and iPhoto is NOT copying the files into the iPhoto Library when importing.
    Download BatchMod from
    http://macchampion.com/arbysoft/
    And apply it to the iPhoto Library Folder using the settings found here:
    http://homepage.mac.com/toad.hall/.Pictures/Forum/BatChmod.png
    (Credit to Old Toad for this one).
    Regards
    TD

  • Display a photo via web dynpro (jpg files)

    Hi
    I have photo's of employees which I would like to display via my Web dynpro (it is jpg files).  I was able to do it using an Interactive form element, but then I cannot resize the photo; it is to big.  I was hoping to display it via an Image element, but then I only see the icon, but not my photo.
    Could someone please assist me in helping to display my photo better?
    Regards
    Debbie

    Hi Debbie,
    Below is the code to generate the URL using ICM cache
    "l_image is the variable that has your image in XSTRING format.
    DATA:gx_mimetype TYPE string VALUE 'JPG'.
    ****Create the cached response object that we will insert our content into
      DATA: cached_response TYPE REF TO if_http_response.
      CREATE OBJECT cached_response
        TYPE
          cl_http_response
        EXPORTING
          add_c_msg        = 1.
      TRY. " ignore, if compression can not be switched on
          CALL METHOD cached_response->set_compression
            EXPORTING
              OPTIONS = cached_response->co_compress_based_on_mime_type
            EXCEPTIONS
              OTHERS  = 1.
        CATCH cx_root.
      ENDTRY.
    ****set the data and the headers
      DATA: l_app_type TYPE string.
      DATA: l_xstring TYPE xstring,
            i_cache_timeout  TYPE i VALUE '300'.
      cached_response->set_data( l_image ).
      l_app_type = gx_mimetype.
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the Image on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
      DATA: r_url TYPE string.
      DATA: i_path TYPE string VALUE '/sap/public',
            i_format TYPE string VALUE 'JPG'.
    ****Create a unique URL for the object
      DATA: guid TYPE guid_32.
      CALL FUNCTION 'GUID_CREATE'
        IMPORTING
          ev_guid_32 = guid.
      CONCATENATE i_path '/' guid '.' i_format INTO r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).
    " bind the generated url with the image uielement attribute
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_url LIKE ls_context-url.
    * get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    * set single attribute
      lo_el_context->set_attribute(
        EXPORTING
          name =  `URL`
          value = r_url ).
    Hope this  helps!
    Radhika

  • Lenevo K900: Problem with display of photos of contacts

    Hi
    I bought a new K900. Initially it showed the photos in my contacts (after syncing with gmail, what'sapp etc). But, a friend of mine by mistake did some setting change, and it is no more displayed. I've tried to look at all possible manueverings with the settings options in 'Contacts' but I am not able to display the photos of contacts.
    Request you all to please share if there is any solution to this problem.
    Thanks.Vikram

    Thanks. I will try. But, I am curious what happened to my phone, and what can be to reset it right without any app.

  • How to display a photo slideshow in Widescreen 16x9 format?

    I just bought a 5g iPod and the A/V connection kit. I can play a photo slideshow on my 16x9 TV, but it stretches the photos to fit the screen, so they are out of proper aspect ratio. Is there a way to tell my iPod that it should be displaying the photos on a 16x9 screen?
    I understand that there is a widescreen option in the Video playback menu, but this does not seem to have any effect on the output of photo slideshows.

    Jon,
    See if this works. It may or may not.
    Go to videos-->video settings-->Widescreen-->On
    See if now when you play the photo slideshow it works right.
    Now, if it doesn't then I don't think there is much you can do.
    Tell Apple about the issue (if the steps above don't solve it)
    Send Apple Your Feedback
    btabz

  • Firefox won't display my photos

    Hi,
    My iWeb website, photothemes.com, has been posted for a few months now, and has almost 1,000 hits. Feedback has been good. Unfortunately, the latest version of Firefox, 3.0.1, will not display the photo thumbnails in my "album" pages, although everything else works well. Earlier versions of Firefox also worked well. Currently, Safari, Internet Explorer, and Camino all display the pages properly.
    To see what I'm talking about, open Firefox 3.0.1 and go to photothemes.com; then click on any of the "Links to My Photo Albums."
    Your help will be greatly appreciated.

    1)
    Download and install latest updates for Leopard. Click on Apple menu / Software Update. Latest OS X version is 10.5.4.
    2)
    Open your site in iWeb, go to you photos gallery page and do some kind of "fake" change on each photo page. Like add a text box and then delete it so that iWeb thinks that you changed something. But you really didn't.
    3)
    Save your work in iWeb by clicking on File / Save
    4)
    If you are using MobileMe then click on File / Publish ALL to MobileMe.
    If you are using FTP, click on File / Publish to Folder and upload and replace the entire website (not just changes).
    I hope this helps. It helped me.

  • Photo App does not display all photos

    Running iOS 7.0.4 on an iPhone 4S. The new Photo App does not display all photos properly. All photos show up as thumbnails. However, when you tap on some of them, only a blank page is displayed. The rest is fine. This issue started after the upgrade to iOS 7. Is this a bug? Hardware-related?

    Upon closer inspection it appears that the missing photos are in a folder called IPhoto Library.  This folder is greyed out when I choose the import folder.
    When I use 'show package contents' it reveals the missing photos (below).  Why is my iphoto library so scrambled!  Thanks for any insight.

Maybe you are looking for