Photo Upload in SAP

Dear all,
i want to create a automated facility that scduled and automatically upload Photos of Employee in SAP when some one join the organization.
How this possible.
Plz. Help me.
If this Qustion is not suitable for the Section then forgive me and give me right section name.
Please.
Anshuman

Did you try this ?
Re: Employee Photo Upload

Similar Messages

  • Photo upload (Urgent)

    Hi SAP gurus,
    We have done photo upload in SAP. Accidently we have missed out upload for few employees. How or where can we find the list of those employees from SAP?

    For missing you need to find out employees for whome u have not created the archive link...
    you can find at OAAD itself... Find Technical Search Button.
    Message was edited by:
            Bhawanidutt Dabral

  • Employee Photo upload

    Hi Experts,
    I need to upload the photographs of employee to SAP.
    All the config required for photo upload is done
    These photograph path details and Emp Id will be available in a flat file.
    As BDC approach using OAAD is not able to workout (picking of text file is via a Operating system screen so we can’t record it in BDC) so we used below approach.
    Using GUI_UPLOAD and ARCHIV_CREATE_DIALOG_META .
    The above approach works FINE for foreground and presentation server upload.
    Now the requirement is:
    I have 2 questions.
    1. It is not working for background processing.
    2. The photo has to be called from app server (images available on App. Server (UNIX)). is it possible to get JPEG file from app server without using GUI_UPLOAD?
    If it is possible do guide me.
    Regards,
    Rahul

    I thought I'd share this with everyone.   We figured out how to load pictures in batch processing using pictures stored on a unix server.   The code below is what we are using.    For now, I'm using a driver file from the local drive to determine which picture goes with which associate, but we plan to automate this by storing the pictures with the associate number in the name.   We'll then read the directory each night and load any new pictures.    I thought I'd share what we discovered for now so you can build what you need for your side. 
    REPORT ZHR_EMPLOYEE_PICTURES_UPLOAD
    NO STANDARD PAGE HEADING LINE-SIZE 255.
    Program Title: Program to mass load employee pictures into HR module
    INCLUDE
    PARAMETERS:
      P_INFILE   LIKE RLGRAP-FILENAME
                 DEFAULT 'c:\PICTURE.TXT',
      P_UNXDIR   LIKE RLGRAP-FILENAME
                 DEFAULT '/usr/sap/data/WINDOWS_DFS/'.
    I N T E R N A L   T A B L E S
    DATA : BEGIN OF INFILE_DATA OCCURS 0,
           IN_LINE(80)   type c,
           END OF INFILE_DATA.
    DATA : begin of inrec,
           raw(1024) type x,
           end of inrec.
    DATA : begin of itab occurs 0,
           raw(1024) type x,
           end of itab.
    Data: WS_FILENAME   TYPE STRING,
          WS_OBJID      LIKE SAPB-SAPOBJID,
          WS_FILELENGTH TYPE I,
          WS_FLENGTH    LIKE SAPB-LENGTH.
    S T A R T - O F - S E L E C T I O N
    START-OF-SELECTION.
    Read input file that controls which picture goes with which associate.
      CALL FUNCTION 'WS_UPLOAD'
        EXPORTING
          FILENAME = P_INFILE
          FILETYPE = 'DAT'
        TABLES
          DATA_TAB = INFILE_DATA.
      IF SY-SUBRC NE 0.
        WRITE : / 'Unable to upload data'.
        STOP.
      ENDIF.
      LOOP AT INFILE_DATA.
      Determine file name and personnel ID from input file.
        concatenate P_UNXDIR INFILE_DATA-IN_lINE+9(71) into WS_FILENAME.
        WS_OBJID    = INFILE_DATA-IN_LINE+0(8).
      Clear table holding picture data.
        clear ITAB.
        refresh ITAB.
      Reset overall file length variable.
        ws_flength = 0.
      Open dataset to read in binary mode.
        open dataset WS_FILENAME for input in binary mode.
        do.
        Read file one record at a time in binary mode.
          clear inrec.
          read dataset WS_FILENAME into inrec
               maximum length 1024
               actual length ws_filelength.
        Determine accumulated file length as each record read in.
          ws_flength = ws_flength + ws_filelength.
        Last record of file will cause sy-subrc to not be 0 and will be
        less in length than record size.
          if ws_flength > 0.
            move inrec to itab.
            append itab.
          endif.
        end loop at end of file.
          if sy-subrc ne 0.
            exit.                    "end of file must have been reached
          endif.
        enddo.
        close dataset WS_FILENAME.
      Add picture file to content server for specific associate.
        CALL FUNCTION 'ARCHIV_CREATE_TABLE'
          EXPORTING
            ar_object       = 'HRICOLFOTO'
            object_id       = WS_OBJID
            sap_object      = 'PREL'
            flength         = WS_FLENGTH
          TABLES
            binarchivobject = ITAB.
        IF SY-SUBRC = 0.
          WRITE : / WS_OBJID+0(8), ' -- picture loaded: ', WS_FILENAME,
                                   ' -- length: ', WS_FLENGTH.
        else.
          WRITE : / WS_OBJID+0(8), ' -- Unable to load pic: ', WS_FILENAME,
                                   ' -- length: ', WS_FLENGTH.
        ENDIF.
        clear INFILE_DATA-IN_LINE.
      ENDLOOP.

  • Photo Uploading Problem in HR

    Hi can anybodybtell after doing every necessary settings in  employee photo upload "http signer 404 error is coming" & photo is not uploading,What is the reason behind it?

    Hi,
    Can you pleaase try below and the end result the content server should be activated. If it is activate the writing should be in bold (as opposed to greyed out)
    Transaction code: SICF
    Here you activate the Content Server Interface.
    First you need to create a user profile with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user.
    You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on content server in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)

  • Report on employee photo upload [HRICOLFOTO]

    Hi Experts,
    Have gone thru many posts regarding photo upload, but is there any report or table which gives PERNR wise details for all the uploaded photos?
    Basically I want to know for how many employees photos have not been uploaded or the other way will also do.
    Have checked content repository table SDOKCONT1 but not of much help.
    Please help on the issue.

    Hi,
    Run report OAADMILI via SE38 for the relevant content repository.
    There restrict the output to PREL object.
    There you'll see all the personnel numbers who have a photo in the SAP Object ID column (along with the infotype number e.g. XXXXXXXXYYYY where XXXXXXXX is the personnel number and YYYY is the infotype)
    Regards,
    Dilek

  • Photo Upload in ESS

    Hi,
    Please let me know configuration steps for photo upload in ESS.
    Thanks,
    Usha

    Hi,
    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
    Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo.

  • Delete mass photo upload task?

    Hello everybody,
    I have tried to use the mass photo upload iview in the portal (com.sap.netweaver.coll.demo.UserPhotoAdministrationMassUpload) to upload some photos. Unfortunately I entered an invalid path for the parameter "upload folder". This resulted in a photo upload task that is still running. I have tried to restart the portal, but the task stays active. Does anyone know how to delete this task?
    Best regards,
    Ardiles

    Hi Ardiles,
    We also have the probleme. This problem is statet as an Customer message to SAP-OSS.(Message No. 0020079747 0000068749 2006)
    Answer from SAP:
    the problem is fixed with Sps 16.
    Sorry for any inconveniences this bug might cause.
    Regards,
    Alfons Riedlsperger

  • HTTP error:401 Unauthorized ,Photo Upload in R/3

    Hi SAP Guru's
    We have followed note 595563 for implementing photo upload functionaly in our server.
    but when I am storing photo by tocode OAAD , it's giving error.
    HTTP error:401 Unauthorized
    Please help actually I have checked all the SDN threds but no success.

    TCode SICF- Here you activate the Content Server Interface.
    First you need to create a user profile u2013 with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. Once you have finished the project, the chances are that your user account will be deleted from the system which will subsequently stop this service from working.
    Double-click on "content server" in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
    Once you have done this, click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)

  • Massive photo upload

    Hi Guys,
    I found CF 'ARCHIV_CREATE_DIALOG_META' is useful for massive photo upload.I tried tat,but getting an error(file_open_error)  eventhough valid file exists.
    And also,
    -What should be the name of  photo? i kept as (emp no).jpg ,
    - Do we need to give ARCHIV_ID? while debugging i found Z2 as archiv_id,but i didnt mention tat  in a call function.
    Please help in this regard.Points will ve rewarded.
    Have a look @ my code:
    *& Data Declaration                                                        *&
    DATA : BEGIN OF T_RECORD OCCURS 0,
           PERNR(12) TYPE C,            "Employee Number
           PATH      LIKE SAPB-SAPPFAD, "Photo Path
           END OF T_RECORD.
    DATA : w_pernr_zero LIKE t_record-pernr,
           w_pernr_pass TYPE SAPB-SAPOBJID.
    *& Selection screen                                                        *&
    SELECTION-SCREEN BEGIN OF BLOCK A1 WITH FRAME.
    SELECT-OPTIONS : PERNR FOR T_RECORD-PERNR,
                     PATH  FOR T_RECORD-PATH NO INTERVALS.
    SELECTION-SCREEN END OF BLOCK A1.
    *& Start of selection                                                        *&
    START-OF-SELECTION.
    LOOP AT PERNR.
    T_RECORD-PERNR = PERNR+3(4).
    T_RECORD-PATH  = PATH+3(140).
    APPEND T_RECORD.
    ENDLOOP.
    LOOP AT t_record.
    "Since the employee photo is always stored in 0002 infotype,
    " - Concatenation of emp id with preceding zeros and pad "0002" in
    " - right into the pernr field which will be passed to object_id.
    SHIFT t_record-pernr LEFT DELETING LEADING '0'.
    CONDENSE t_record-pernr.
    CONCATENATE t_record-pernr '0002' INTO t_record-pernr.
    w_pernr_zero = t_record-pernr.
    CLEAR w_pernr_pass.
    w_pernr_pass = w_pernr_zero.
    CALL FUNCTION 'ARCHIV_CREATE_DIALOG_META'
    EXPORTING
    ar_object  = 'HRICOLFOTO'
    object_id  = w_pernr_pass
    sap_object = 'PREL'
    file = t_record-path.
    IF SY-SUBRC EQ 0.
    WRITE:/ 'SUCCESSFULLY ASSIGNED'.
    ELSE.
    WRITE :/ 'NO RECORDS HAVE BEEN ASSIGNED'.
    ENDIF.
    ENDLOOP.

    Hi,
    for uploading the photograph you need to do some customization.
    1. Initial customization
    Execute transaction code OAQ1 and put X in all the boxes.
    Execute t code OAB4 and schedule the job
    Execute t code SPAD and configure an output device
    Execute T code OANR and configure the number range
    Execute T code OAGI and deactivate Print list management system
    EXecute T code SA38 and execute program RAPARAM and check for rspo/archive_format and make sure it should have 2 assigned on it.
    2. Execute t code OAC0 and configure content repository
        Execute t code OAC2 and make your document type
        Assign JPG doc class to your doc type made in OAC2 in t code OAC3.
    3. Now go to transaction code OAD5 and configure your settings
       Come to t code OAWD and upload all your scanned photo to SAP
    I know the procedure is tedious and lenghthy but there is no way out.
    If it helps you then reward it.
    Enjoy
    For further help contact at [email protected]

  • URGENT :Photo Upload automation : help required

    Hi Experts,
    I need your help in my program which require executing DOS command from SAP ECC 6.0.
    The requirement is "to make an automated SAP program workable with ECC 6.0 which will able to execute DOS command Dir *.jpg -> photo.txt to create a File ‘Photo.txt’, Then I need to upload this file automatically into SAP Internal table for further processing" that will lead to photo upload (this part is already done by me).
    I am not sure if someone has done some similar things in past if yes kindly guide how to do this.
    best Regards,
    Rahul
    null

    Hi Rahul
    Firstly you need to create an archive to store the pictures. Then
    Goto SM30 or SM31.
    Enter the Table/view name as TOAAR_C.
    Click on New Entries.
    Give StSym  as 'A2'.
    Give a description ..
    In Arch. Path enter as  /.
    Select the radio button 'File store'.
    Save the entry.
    You can view the photo through PA20/PA30/PA40 for each employee.
    For this you have to add an entry in Table T588J for your header
    modification.
    The field type of this entry should be 'PIC'.
    Then you have to run the report RPHDYNPG for generating the screen
    header.
    After the initial configuration as described above,
    for uploading the Photo
    Go to Tcode OAAD -> Create
         Business Object : PREL
         Document Type   : HRICOLFOTO
    Click on Create.
    System will ask for personnel no  and path of Photo
    If you need detailed step by step procedure, do let us know. If you need a useful code to carry out this, do let me know with your email ID

  • I need the Log Report for the Data which i am uploading from SAP R/3.

    Hi All,
    I am BI 7.0 Platform with Support Patch 20.
    I need the Log Report for the Data which i am uploading from SAP R/3.
    I extract the DATA from R/3 into BI 7.0 DSO where I am mapping the GL Accounts with the FS Item.   In the Transformation i have return a routine on the FS Item InfObject . I am checking the Gl code into Z table for the FS Item .
    I capture the FS item from the Z table then update this FS item to Infobject FS item.
    Now i  need to stop the Data upload if i do not find the GL code in the Z table, and generate report for all GL code for which the FS item is not maintained in the Z table.
    Please suggest.
    Regards
    nilesh

    Hi.
    Add a field that you will use to identify if the GL account of the record was found in the Z table or not. Fx, create ZFOUND with length 1 and no text.
    In your routine, when you do the lookup, populate ZFOUND with X when you found a match (sy-subrc = 0) and leave it blank if you don't find a match. Now create a report filtering on ZFOUND = <blank> and output the GL accounts. Those will be the ones not existing in the Z table, but coming in from your transactions.
    Regards
    Jacob

  • How to fix photo uploader, ovi store, and social

    after i update my phone to nokia care, the link to ovistore is missing, social can't work, photo uploader just the icon and didn't work. I have try to fix this solution by follow all suggestion in this forum and others but nothing can fix my problem. Can any 1 give me best solution?
    Or this is just the biggest mistake from nokia?

    Hi hatstead ,
    If you can't find any mail, Please clear your Online services data located at-
    C:\Users\suresing.ADOBENET\AppData\Roaming\Adobe\Online Services\Photoshop Elements 11.0.0 and
    C:\Users\suresing.ADOBENET\AppData\Roaming\Adobe\Elements Organizer\11.0\Organizer\OLS
    After deleting this data, refresh the OLS services from Edit ->preferences -> Adobe partner services ->Refresh.
    Check & please let me know if this helps.
    Sarika

  • I just got tOhe iPhone 4Gs today and had contacts and photos uploaded from another phone synced new phone with iTunes for music and accidentally restored it so all my old iPhone stuff is on the new one is there any way to fix this

    I just got tOhe iPhone 4Gs today and had contacts and photos uploaded from another phone synced new phone with iTunes for music and accidentally restored it so all my old iPhone stuff is on the new one is there any way to fix this ?! Please help !!!!

    Could you be more specific about what exactly do you want to fix now?

  • Excel Format File Upload in SAP APO 4.0

    I have an file on desktop with .xls format. This file I need to upload in SAP ztable in APO .... kindly suggest the various techinques availabe for this....
    kindly find the attached code for the same which I have written..... request you to suggest on this...
    This APO is not supporting following Function module
    1. KCD_EXCEL_OLE_TO_INT_CONVERT
    2. ALSM_EXCEL_TO_INTERNAL_TABLE
    I am attaching the code...
    EPORT ZTEST_EXCEL NO STANDARD PAGE HEADING MESSAGE-ID zsn.
    DATA: Begin of i_temp occurs 0,
           Z_LOCATION like ztest_tran-z_location,
            z_product  like ztest_tran-z_location,
            Z_0_30_DAYS like ztest_tran-Z_0_30_DAYS,
            Z_31_59_DAYS like ztest_tran-Z_31_59_DAYS,
            Z_OVER_59_DAYS like ztest_tran-Z_OVER_59_DAYS,
          End of i_temp.
          data : i_temp1 like i_temp OCCURS 0 WITH HEADER LINE.
          DATA : begin of itab_file occurs 0,
            line(255) type c,
          end of itab_file.
    DATA: v_file type string.
    selection-screen begin of block b1.
    parameters: fl_file like rlgrap-filename lower case.
    selection-screen end of block b1.
      v_file = fl_file.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = V_FILE
       FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      = I_TEMP
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    ..........

  • Photo uploading in flex

    Hi,
    I am new to flex.
    I am developing a web application in flex.
    I want to do the photo uploading functionality in flex and action script3.
    I have to do that like "Applet photo uploader" Like what we have in facebook photo uploader.
    Means on left I have client directory structure and images with thumbnail on right side.
    Also I want a multithreading for this.
    Can it possible in flex?
    Any help appreciated.
    Thanks,
    Tushar Gandhi.

    The problem seems to be fixed. Swanky.

Maybe you are looking for

  • Correct/Changes in the data in DataSource in R/3 System

    Can we make the changes in the DataSource which is there in R/3 from were the data is loading into BW System?

  • Inbound Idoc With LSMW

    Hi All We are creating transactions for legacy data migration with LSMW using inbound Idoc. We are able to do the same successfully. As per requirement for each transaction some word and Pdf files have to be attached. Is there any way to attach docum

  • How to restrict outbound calls to some destinations nos. only??

    Hi, I am using cisco 3845 router as voice gateway and running voice serice over that using E1 which is connected to a EPBX. I am using only 3 dial-peers (2 for VoIP and other one is POTS). I have 20 sites with similar kind of setup and have 2 gatekee

  • Turn Off Auto Fill in Photomerge Panorama?

    How do you turn off the aut fill feature on Photomerge panoramas?  I'm working in Photoshop Elements 9. Thanks!

  • Time machine error 6584

    Just upgraded to Mountain Lion. It had a problem and the Apple store did a wipe and install. I restored all my data and apps by ethernet from Time Capsule. I had to find and reinstall Java. Things appear to work ok except launching Time Machine gets