Get employee photos

Hello everyone,
I have a java portal that comunicates with SAP to use a few RFC functions.
I would like to use the employee photos that we can see on transaction pa30 to appear on my website.
Is there a specific url, table, or something like that, from where i can extract path info from my jpeg files that were uploaded?

Still no help... Is it impossible to extract the path of a image file via any ABAP function?
I mean... look at a web page. You only have to right-click->properties, et voilá. There's your url pathway.
Can we do anything like this here ?

Similar Messages

  • Get employee photos with sapnco 3.0

    Hi Experts,
    I am developing a program with vb .net that show employee photos worked our company.
    I use sapnco dll. Is there any BAPI to get employee photo with using pernr? Or which table store these photos?
    And can you give me an example about using bapi?
    Thank you in advance.

    These are the ones I configured:
            RfcConfigParameters parms = new RfcConfigParameters();
                    parms.Add(RfcConfigParameters.AppServerHost, "XYZ.HOST.COM"); // added
                    parms.Add(RfcConfigParameters.SystemNumber, "00");
                    parms.Add(RfcConfigParameters.SystemID, "XYZ");
                    parms.Add(RfcConfigParameters.User, "TESTUSER");
                    parms.Add(RfcConfigParameters.Password, "TESTPASSWORD");
                    parms.Add(RfcConfigParameters.Client, "100");
                    parms.Add(RfcConfigParameters.Language, "en");
                    parms.Add(RfcConfigParameters.PoolSize, "5");
                    parms.Add(RfcConfigParameters.MaxPoolSize, "10");
                    parms.Add(RfcConfigParameters.IdleTimeout, "600");
    Jim K.
    Edited by: Jim Killeen on May 10, 2011 7:33 PM
    Edited by: Jim Killeen on May 10, 2011 7:34 PM

  • Get employee photo and display the photo in external system.

    Hi,
    We start to work with the portal....We want an application that display the employee photo..
    The photo is the same one that appear in pa20/30...
    We create the photos in OAAD and have a table repository.
    How from here i can use this to build a RFC that return "data"..that from the external system we can show the photo,
    Thanks.

    write a RFC which uses
    'HR_IMAGE_EXISTS' to get the image document id and then use 'ALINK_RFC_TABLE_GET' to  image in JPG format convert the returned RAW table to xstring format using SCMS_BINARY_TO_XSTRING pass the resulting xstring as the export parameter of this RFC .
    portal application can now use this xsring to render the image.
    Regards
    Raja

  • How to get (OAAD tcode) employee photo into sapscript / smartforms??

    Hi!
    I need to insert the employee photo jpeg (from oaad) into an sapscript or smartforms.
    It's possible to do dynamically? (without file conversion)
    Thanks

    Hi,
    I m providing u with this link, u may get some idea .
    How to display the employee photo in a smartform
    or
    These are all the steps to upload the Photo.
    1. Create a number range for SAP Archive Link :
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.
    Tcode: OANR
    Create range 01 from 0000000001 to 9999999999 without the external number flag.
    2. Document type HRICOLFOTO must exist with document class JPG.
    IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.
    Table: TOAVE
    Tcode: OAC2
    3. Document type HRICOLFOTO must be linked to object type PREL and IT0002.
    IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.
    View: V_T585O,
    In all three columns there are minuses, don't put a flag in the check box.
    4. Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.
    Table: TOAOM_C,
    Tcode: OAC3
    5. Create this content repository with storage type FILE archive.
    IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.
    Tcode: OAC0
    Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C .
    6. Link photo to personnel number.
    Menu>Tools>Business Documents>Miscellaneous>Stored Documents.
    Tcode: OAAD
    Thanks,
    Mamta Kumari

  • Getting error ICM_HTTP_CONNECTION_FAILED  when retrieving employee photo

    Hi,
    We are using the who's who service in SAP ESS to retrieve the employee photo.
    We got the error ICM_HTTP_CONNECTION_FAILED.
    This function used to be working fine until we change our firewall recently.
    Can anybody help please  ?
    Thanks.

    sm,
    yes, all of your clients have to reach the content server, because the portal provides them with a http-link to the content server only.
    the hostname and port are defined in OAC0. Doubleclick the entry that is used for your photos. On the next screen there are the used "HTTP-Server" and "Port" entries.
    In such scenarios, maybe its useful to use reverse proxies. In that case your firewall could be maintained  easier.
    kr, achim

  • How to get Employee Picture in Smartforms

    Hi Experts
    Please help me out in getting employee picture in Smartforms
    I have used the following FMs
    1. HR_IMAGE_EXISTS
    2. SCMS_DOC_URL_READ
    By using these two FM i got the URL and i am able to get the picture in my Report Program,by using FM 'ISM_URL_SHOW'.
    But Please tell how to get this picture in Smartform .
    As i am generating Employee Biodata and in that i need employee Picture.
    Please HELP me ....
    Thanks & Regards
    Shaveta Prabhakar

    Hi,
         U need pictures in smartforms for that just try this one I think so it will help full to u.
          First Upload that picture in the se78 that photo must be in the bitmapformat(picture.bmp).
    steps are:
             goto se78>graphics->import--->it asks the file path here,fill those details
    Then goto Smartform--->In which page u want to put the picture,
              there click that page  and goto Background picture,
             here give the name of that picture and select the resolution and positin of the picture there. 
               Then u will get the picture in the output.
    Regards,
    Surya

  • Error while uploading employee photo

    i m getting following eror while uploading employee photo through storage server
    Error in HTTP Access : IF HTTP_CLIENT-RECEIVE 1 ICM_HTTP_CONNECTION_FAILED
    Pls reply

    Hi archana
    you have to go with OAC0 tcode here in content repository double click on A5 which is standard one go in details-->clickon fulladministration then in that screen you will be having Basic path and Achive path there basis people  need to give sapgui code.
    they will be have this code in servermanagemt. i am not clear of this code where they can find. but i am sure of that this code will be given by basis people only.  then go with OAOH tcode. give the details as usal and one more thing is that the photo should be save jpeg formate.
    Regards
    Suresh

  • 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

  • Employee photo is not updated in ESS Who's who service

    hi colleagues,
    i am facing an error when i am trying to update the employee photos in the who's who service of ESS.
    when new photos are added against an employee number via tcode OAAD in the ECC system, they are updated against the record and can be seen in tcode PA20. however, the new photos are not getting updated in the who's who screen. we have tried clearing the cache (figuring there might be a problem with the browser.... we are using IE 7.0) but were still unsuccessful.
    any advice will be greatly appreciated.
    thanx,
    Amer

    hello deb,
    already did.... not working there as well. except for the first time during logon, it does not ask for any user id or password while viewing the photo in the portal. the photo gets updated in PA20, PA30 but does not get refreshed in the portal. the portal shows the same old photo.
    any comments or advice would be helpful.
    thanx...

  • Employee Photo not displayed in ESS- Who's Who Services

    Hi All..
    My employee photo upload was successful in Quality System . I can also view the photo both in R/3 employee related facsmiles , header of PA20, PA30. and also the same photo's are displayed in ESS - Who's Who services.
    steps I used-
    OANR, OAC2, V_T585O, OAC3, OAC0 and for manual upload OAAD & OAOH.
    For Mass Upload - program- OA_UPLOAD_AND_LINK
    In production in the same way , all the photo's can be seen in the facsmiles but if I checked in Who's Who..Its coming like a outline with a red cross on top corner but without any photo.
    Kindly give your valuable suggesions..
    Thanks in advance...

    Hi Alok,
    I am also facing the same issue in Prod Environment. If u r having the solution, please share with me.
    I checked in NWA Trace is not registering.
    currently i am facing issue with Employee Photo Under ESS--> Emp Search --> Change Own Data.
    All my Employee Photos are uploaded in ECC, i am able to see from PA30 Header.
    we are having same setup in QA- Environment , all the employee Photos we are able to see from Portal.
    But in Production Environment, We are Having One Central Instance and Three application Instances and configured Load Balancing among Central Instance and Application Instances.
    All the Servers Content Server in SICF t-Code is activated.
    If i login into Prod Portal [either Centeal Instance or Application Instance] some time Employee Photo is Displaying Some time not,i.e No Photo at the top of corner X symbol. If i right click check on that URL, its poiting to the ECC server content server.
    But If Not is Displaying --> Size is Showing Not Avaliable but Demension is Displaying.
    But if Photo is Displaying ---> Both Size and Dimensions are Displaying Properly...
    PHOTO URL Path  When Photo is  Displaying
    http://xxx025.xxx.com:8011/sap/bc/contentserver/490?get&pVersion=0046&contRep=A2&docId=4CA926D07B816545E1000000AC16020B&accessMode=r&authId=CN%3DMRP&expiration=20101016091012&secKey=MIH4BgkqhkiG9w0BBwKggeowgecCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxzCBxAIBATAZMA4xDDAKBgNVBAMTA01SUAIHIBADFBNVRjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAxMDE1MDkwNjMxWjAjBgkqhkiG9w0BCQQxFgQUS%2BicVNGV7i6eSE8TXK5R3umNS%2FgwCQYHKoZIzjgEAwQvMC0CFQCPAZf3C48Lvl6i935mlsVqMw95owIUUJFedqFO2AoLGe6QCHHqBMSObIU%3D
    Type : JPEG Image
    Size : Not Avaliable
    Dimension: 170*200 Pixels.
    PHOTO URL Path  When Photo is Not Displaying
    http://yyy024.yyy.com:8010/sap/bc/contentserver/490?get&pVersion=0046&contRep=A2&docId=4CA927D07B816545E1000000AC16020B&accessMode=r&authId=CN%3DMRP&expiration=20101016091451&secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA01SUAIHIBADFBNVRjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAxMDE1MDg1NzQ3WjAjBgkqhkiG9w0BCQQxFgQUAP9cyWhLiOtkp4vwo9KK%2FPQtxWgwCQYHKoZIzjgEAwQuMCwCFDs729ib7fVKbiGKz5CPPd1YHch3AhR7NVgtXJI7ej07GiKMpG06lZPWoQ%3D%3D
    Type : JPEG Image
    Size : 3527 Bytes
    Dimension : 170*200 Pixels.
    We are always opening the Portal with Fully Qualifies Domain Name (FQDN)
    Please suggets the Solution, how to get rid of this Porduction Issue.
    Thanks & Regards
    Ganesh

  • Employee Photo Display

    Hi SDN Gurus,
    I want to display employee photo in my custom webdynpro abap application. Im using Document Area as blank, Storage type as SAP System Database and Rep. Sub-Type as Normal and Content Table is SDOKCONT1 in tcode OAC0.
    I have written a FM to output the photo from table SDOKCONT1 which is of data type LRAW.
    though im not able to get the image in Webdynpro component.
    Are there any alternate ways or work arounds for this? Please help as i just want to display employee photo in my webdynpro application anyhow.
    Appreciate your help.
    Regards,
    Vinayak
    Edited by: vinayak landge on Mar 28, 2011 3:27 PM

    DATA:gx_mimetype TYPE string VALUE 'JPG'.
    data lv_url type string.
    ****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( lv_raw ).
      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 LR_PHOTO TYPE REF TO if_wd_context_node.
      DATA ls_PHOTO TYPE        IG_COMPONENTCONTROLLER=>ELEMENT_PHOTO.
      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 Lv_URL.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = Lv_URL
                                           response = cached_response ).
    lv_raw is the raw string of the image.
    lv_url is the URL bind this to Image UI element source property.

  • Employee photo upload in portal and to be saved in infotype 0002

    Hi Everyone,
           I got an requirement where in ESS Portal, through "Change Own Data" link, employee is uploading his photo and it has to be saved in infotype 0002. Below are the doubts i have,
    1. There is no field for photo in infotype 0002, so how it will be saved in 0002.
    2. After uploading and clicking preview button, error was raising saying 'Error when archiving the photo'.
    3. I seen in many forums that the employee photo is visible from PA30. how it will be visible in that tcode ?

    Hi  Chris McNarney,
          Sorry for long delay for replying.. According to you,
    1. I checked the service under /default_host/sap/bc/conentserver/ it was activated and moreover below is the logon data,
            Client           500
         User             XXXXXX
         Language
         Password Status  Set
    and what is the use of this logon data..
    2. According to your link [https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false|https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false],
    there it has  4.7 version in that they told to create A2 repository with Tcode: OAC0 with details,,
         While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
        With that screen im am not able to find table name field to put 'SDOKCONT1' as input and moreover SAP system database is there instead of getting R/3 database for storage type. Screen detilas below,
    Content Rep.    A2                               Active
    Description
    Document Area
    Storage type
    Version no.     0046   Content Server version 4.6 as the table name.

  • ESS Employee photo

    Dear Experts,
    Currently ESS portal employee  photo is been wrongly getting updated.We have checked in R3 system per employee more than one JPG photo file  is there.
    Is there any option to overwrite the last updated photo as default one in R3 system same can be shown in ESS portal.if yes how can be done.
    kindly add your valuable suggestion.
    Regards
    Vinodh

    Dear Vinodh,
    Yes, you can delete the last document of photo.
    T.code-oaad
    Go to stored document->documents-> find documents in menu bar and click on execute button, you can see list of photo uploaded document and you can select the object type row with your wrongly updated employee ID and click on delete button up. With this wrongly updated photo will be removed.
    Please let me know incase any help.
    Regards,
    Meenakshi

  • ESS- Employee Photo is not displaying.

    Dear All,
    Employee photo is not displaying in Who's who application of Employee search.
    By right click help gone through the Properties.
    It is giving message that..
    "800?get&pVersion=0046&contRep=Z2&docId=E135E81A75C422F1B0B95CF3FC94086E&accessMode=r&authId=CN%3DPR1,OU%
    3DI0020259918,OU%3DSAPWebAS,O%3DSAPTrustCommunity,C%3DDE&expiration=20120104085649&secKey=MIIBUgYJKo
    ZIhvcNAQcCoIIBQzCCAT8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAR4wggEaAgEBMG8wZDELMAkGA1UE
    BhMCREUxHDAaBgNVBAoTE1NBUCBUcnVzdCBDb21tdW5pdHkxEzARBgNVBAsTClNBUCBXZWIgQVMxFDASBgNVBAsTC0k
    wMDIwMjU5OTE4MQwwCgYDVQQDEwNQUjECByARBQkJWFkwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG
    9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDEwMzA4NTY0OVowIwYJKoZIhvcNAQkEMRYEFOB%2Fx7LoOChOjGW3iIGG
    FxjjpJkMMAkGByqGSM44BAMELzAtAhRpHueDstxejUkJ0F2j7PNmxPu5xQIVAILHJcNOP7pvx%2BbPVgmDX%2F5Osaby"
    here 800 is client number and Z2 is the content repository name.
    also
    http://<Host>.xxxxxxxxx.com:<port>/sap/bc/contentserver/800?get&pVersion=0046&contRep=Z2&docId=E135E81A75C422F1B0B95CF3FC94086E&accessMode=r&authId=CN%3DPR1,OU%
    3DI0020259918,OU%3DSAPWebAS,O%3DSAPTrustCommunity,C%3DDE&expiration=20120104085649&secKey=MIIBUgYJKo
    ZIhvcNAQcCoIIBQzCCAT8CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAR4wggEaAgEBMG8wZDELMAkGA1UE
    BhMCREUxHDAaBgNVBAoTE1NBUCBUcnVzdCBDb21tdW5pdHkxEzARBgNVBAsTClNBUCBXZWIgQVMxFDASBgNVBAsTC0
    kwMDIwMjU5OTE4MQwwCgYDVQQDEwNQUjECByARBQkJWFkwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhki
    G9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEyMDEwMzA4NTY0OVowIwYJKoZIhvcNAQkEMRYEFOB%2Fx7LoOChOjGW3iIG
    GFxjjpJkMMAkGByqGSM44BAMELzAtAhRpHueDstxejUkJ0F2j7PNmxPu5xQIVAILHJcNOP7pvx%2BbPVgmDX%2F5Osaby
    Please help to solve this.
    Regards,
    Potru.
    Edited by: N Potru on Jan 3, 2012 10:21 AM

    Hi Siddharth,
    http://yyyy.xxxxxxxxx.com:8000/sap/bc/contentserver/180?get&pVersion=0046&contRep=Z2&docId=E141FAA8EA53BEF1B0AF00145E190D9D
    When I right click on that Place system is giving this error.
    I have maintained number ranges for photo upload. I have uploaded 3 photos and checked the number range but it is showing current number as 0. means no number is generating from the number ranges.
    Thanks,
    Potru.

  • Employee photo is missing in ESS portal.

    Dear Experts
    In ESS portal employee photo is missing.
    Config ESS in R3 system
    1.Table T77S0 ADMIN PHOTO HRICOLFOTO.
    2.Maitain ESS Setting, Display Employee photograph is flagged.
    under change who who data, both option is flagged.
    Please guide me ,i'm i missing any configuration.
    Regards
    Vinodh

    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

Maybe you are looking for