Mass Upload Photo Employee

Hi experts!
We have an excel with this information:
-Photo file path
-PERNR
Example:
PATH                   PERN
C:\TEMP\1.JPG    00101800
C:\TEMP\2.JPG    00101801
We need mass upload to ArchiveLink every employee photo.
I've found the report OA_UPLOAD_AND_LINK but I do not know how associated the file path image to the employee PERNR.
How we should do that?
Any Idea?
Kind Regards,
Julian.

Hi Julian,
Please follow:
Table (TOAOM) SAP Archive Link - Meta table for links u2013 indicates the content repository that will be utilized for particular object and document type.
Table CREP u2013 List of content repositories 
Prerequisites:
1.     PERNR and infotype must have valid entries. Say custom info type is IT9007
2.     Image file name should be represented as concatenation of PERNR and infotype number.jpg [example 900000019007.jpg where  90000001 u2013 pernr  9007 u2013 infotype]
  STEP 1
Firstly go to transaction code   CG3Z.
Transferring images from presentation server to Application server. The same can be done by asking the BASIS team to transfer all the required image file names to application server.
  STEP 2
Browse the location for the source file which is to be uploaded.
Browse the location (directory) for the target File where the image has to be stored in sap.
Click on Upload button to upload the image.
  STEP 3:
To check whether the file has been uploaded or not uploaded, navigate to transaction code Al11 (tcode).
Select your directory and check whether the file is successfully uploaded in required directory.
  STEP 4:
Now navigate to transaction code SE38 (tcode) and execute the standard program OA_UPLOAD_AND_LINK.
Values are entered in the screen: with PREL as business object and HRICOLFOTO as document type for color documents.
Mention the file path where you are storing all the images to be uploaded for mass migration.
OUTPUT:
The output will provide the list of files accepted for uploading
  STEP 5:
Now navigate to transaction OAAD (tcode) to link/assign the documents to PERNR
  STEP 6:
Click Technical search and then click execute button.
  STEP 7:
Enter Personnel number and info type. Click on Enter button.
Select your record and click on display button.
The screen is displayed.
  STEP 8:
Click on Reassign document button. Click on Enter.
OUTPUT: Storage parameters are updated after reassigning the document
Use recording for Steps 6 to 8 u2013 for mass upload of images providing the input PERNR and Info type number to input parameter SAPOBJECTID on selection screen.  
  Verification:
Navigate to transaction code PA30 (tcode). To check the image id uploaded or not for particular personnel number. Click on Display button.
OUTPUT: Image on right top has been uploaded.
I hope to have helped you.
Thanks,
Padmaja.

Similar Messages

  • Mass uploading of employee photos.

    Hi Experts,
    I am uploading one  employee photo in ecc 6.0,Thats completed successfull.Now i am planning to upload bulk number of employee photos in to sap as well as in to ESS.I am tried to upload of 2000 employee photos through bdc ,but while running the BDC its asking the selection of employee photos from the location.So kindly update your views on this how to upload all employee photos with out manuall selection of photos.
    how can we update our photos in ESS once we completion of photos updation in sap.
    Thanks & Regards,
    arjun

    check this thread
    Mass upload of employee photos in OAOH

  • Mass upload for employee photos (IT0002)

    Hi I would like to do a mass upload of employee pics to R/3 . I have tried the FM, ARCHIV_CREATE_FILE and it was uploaded successfully but I'm unable to specify the infotype. which for my case I would need it to be in IT0002.
    I've tried the BDC program
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erphcm/add%2bemployee%2bphoto%2bon%2binfotype%2b0002
    But the pics are still not appearing.
    Anyone has this issue befofe?

    yes. I have tried to upload it manually and it is working. But when I run the program it doesn't work. Could it be the path that I need to specify? Because the client uses IXOS software(links with the 4.6c) to upload the pics and doc. I'm not sure is this the reason it is not working.

  • Mass upload of employee photos in OAOH

    Dear all,
    In OAOH transaction, if you type in the business object PREL, and doc type HRICOLFOTO, a small dialog box appear and you type in the employee no.  Afterwards, another window dialog box appear prompting the file name/path....
    I would like to know if there is any method to mass upload thousands of employee photos, since batch input does not work in the file/path selection screen (window's dialog box)
    Thanks a lot for your help !
    patrick

    Hi Patrick,
    Generally it is not suggested to Upload Photograph using Mass Upload.... normally it is one to one ... one perer at a time.
    But if its too urgent and critical then fallow this steps.
    1) Store the Photograph of the Employee as the PERNR.JPG (PERNR = EMPLPYEES PERSONNEL NUMBER) at a predifined location.
    2) Have a text file with all the pernr for whom you want to upload the photo and the JPGs you have in the folder.
    3) Use this Function module with the loop for all the PERNR
    * Function module to update Tran OAAD
    * Create file path (Directory)-(Employee No.).JPG
        CONCATENATE 'dir where the file is stored' wa_pernr-pernr '.' 'jpg' INTO lw_path.
    * Assign Values
        lw_ar_object  = text-002.         "HRICOLFOTO
        lw_object_id  = wa_pernr-pernr.
        lw_sap_object = text-003.         "PREL
        lw_doc_type   = text-004.         "JPG
        CALL FUNCTION 'ARCHIV_CREATE_FILE'
          EXPORTING
            ar_object                     = lw_ar_object
    *   DEL_DATE                      =
            object_id                     = lw_object_id
            sap_object                    = lw_sap_object
            doc_type                      = lw_doc_type
            path                          = lw_path
         EXCEPTIONS
           error_conectiontable          = 1
           error_parameter               = 2
           error_archiv                  = 3
           error_upload                  = 4
           error_kernel                  = 5
           no_entry_possible             = 6
           error_comunicationtable       = 7
           OTHERS                        = 8
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    This will help you to create the Archive link.
    Hope this helps you.
    ~Bhawanidutt

  • Mass photo employee upload

    Hi all,
    I got requiremet to mass upload employee photos from UNIX server to Documentum via sap archive link.
    To do this, I am using these function modules:
    SCMS_UPLOAD : to upload photos from application server and stored it in one internal table ( which is in binary format )
    ALINK_DOCUMENTS_CREATE_DIALOG : results the docid and repository id ( throught this all documentids got stored in
    content repository server)
    SCMS_DOC_CREATE : used to store all documents in Content repository server id.
    ARCHIV_CONNECTION_INSERT : establishes the conenction between repository and sap object
    As far as I know , regarding first and second function modules (SCMS_UPLOAD and ALINK_DOCUMENTS_CREATE_DIALOG)  which are used for same purpose ( i.e., to upload only the difference is popup window for second function module .So which one should I have to use among them.
    Which function module should I have to use to store all documents in Content repository server?after using first or secod function module,here I used 'SCMS_DOC_CREATE'.Is this correct?
    Could you please guide me whether the above mentioned function modules sequence are correct or not for my requirement or should I have to use some other function modules?
    Thanks in advance for your helpful answers
    Edited by: Harika Sriram on Feb 24, 2011 12:45 PM
    Moderator message: cross post locked.
    Edited by: Thomas Zloch on Feb 24, 2011 1:21 PM

    To perform a mass document upload and link, a program was developed.
    This program works independent from the business object and is able to:
    -  look for document in a file directory (frontend or backend)
    -  store them into the content repository customized
    -  creates a link to a named business object identified with a key
       which gets it from the file name of the document.
    This program is called ZOA_UPLOAD_AND_LINK and you can find more
    information on this program in the note 685520.
    KR,
    Karen.

  • Function modules needed for Mass photo employee upload

    Hi all,
    I got requiremet to mass upload employee photos from UNIX server to Documentum via sap archive link.
    To do this, which function modules should I have to use?
    Could you please tell me the sequence of function modules?
    I also want to know how to read the file path from UNIX Server.
    Thanks in advance for your aluable answers.
    Moderator message: anything else? please do some own research before asking.
    Edited by: Thomas Zloch on Feb 24, 2011 1:11 PM

    The note 685520 describes a program that allows you to archive
    documents from a file system automatically and define links in the
    background.
    This program is called ZOA_UPLOAD_AND_LINK.
    KR,
    Karen.

  • User Photo Administration (mass upload) iview doesn't run

    Hello,
    I'm trying to mass upload lots of pictures about employees to show on CLP the photo detail. I've been searching for a long time the right way to do it through the standard User Photo Administration (mass upload) iview but not success for me.
    I've checked this message really similar to mine but not solve my problem:
    https://forums.sdn.sap.com/thread.jspa?threadID=1063236&tstart=0
    The iview properties are set to run as explain:
    http://help.sap.com/saphelp_nw04/helpdata/EN/09/d7fe40be6eef23e10000000a155106/content.htm
    This is my scenario:
    EP7 sp15
    i've got a folder on my filesystem (c:\photos). In this folder i have two files
    a) mapping.properties.txt
    inside filled with:
    emp10110=10110
    USER.CORP_LDAP.emp10110=10110
    b) 10010.JPG
    After starting the task the photo was not updated and there was nothing in the application log!?
    What could be the problem? I can add the file manually but not through mass upload iview.
    Has anybody used the User Photo Administration (mass upload) iview ?
    Thanks in advance
    Scott
    Edited by: Scott Summer on Apr 28, 2009 9:57 AM

    Hi,
    Instead of use User Photo Administration (Mass upload) using a mapping.properties file, forget it and use a easy DOS script (lots of examples on google) to rename all files on your folder with the user ID of employees. Then you'll get a folder with the employees pictures with ID user as name file.
    If  your pictures are set like Required Picture Settings on your system(size,dimensions,...) , now you will upload files without problems directly.
    Regards
    Ruben

  • Mass Upload of Photos in Portal

    Hi,
    I am trying to do mass upload of JPEG Photos.
    I have tried using User Self Service and that works fine.
    Reqmnt is that administrator needs to upload 100 photos as a bulk for each user.
    I have read the document on help.sap.com and it certainly gave me few insights but if anyone has done this before, i would like to steps on how to go about doing this.
    Regards,
    Dev

    Hi;
    Assign yourself to the role
    pcd:portal_content/com.sap.pct/Collaboration/DemoRole
    After that you will have the Link
    "Collaboration Demo\People Centric"
    This gives you the possibility to make a manual or
    mass upload of user photos.

  • Need to create a mass upload program for appraisal document creation for multiple employee

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi Priyaranjan,
    I think you can take the abap'ers help in creating the program. But u need to provide them the exact functionality and the required specifications in creating the appraisal document.
    Even tcode also u can get it prepared by Abap'ers.
    Thanks and Regards
    Balaji

  • Need to create a mass upload program for appraisal document creation for multiple employee in abap hr

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi,
    I have done appraisal document creation for bulk using txt file.
    this fm used for single for creation in standard tcode (phap_prepare):  'WZ_HRHAP_0DOC_WZ01_START'.
    So create ztcode  usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
    While recording for single I have used manual option instead of automatic .

  • Mass upload of photo

    Hi All,
    I am trying to use the collabration iView <b>User Photo Maintenance (Mass Upload)</b> but when I check the application log it shows the following error message:
    <i>TaskID=261993005069Parameter 'directory' is not a directory</i>
    I have followed all the image charactersticks like the image name same as User ID image size less that 10K and dimension 100 x 130 and has placed this images in folder on my desktop named "image" and then has specified the complete path of that folder with name.
    I tried the same with a folder in KM also but I am not sure from where this iView is going to read I am getting the same error in both the cases. Please help.
    Regards
    Sid

    I fond this thread .. May be its helps you..
    http://sap.ittoolbox.com/groups/technical-functional/Sap-r3-hr/photo-upload-871217
    Thanks
    Saquib

  • Mass upload of photo in Archive link

    Hi.
    We have to do a mass-upload of photos in the Archivelink (OAAD).
    Any standard program to do this, or any other clues anyone please?
    Thanks in adv.

    Hi,
    just write a report and combine the function modules:
    SCMS_UPLOAD for uploading from a shared backend path
    SCMS_DOC_CREATE for storage of a binary table in a content repository (the ID of the content repository must be ArchiveLink compliant meaning a two letters ID).
    ARCHIV_CONNECTION_INSERT to write the connection in the ArchiveLink table. Here, you must know your relevant business object (SAP_OBJECT) your doctype (AR_OBJECT) and your OBJECT_ID.
    I assume that you need this for HR so here your SAP_OBJECT is PREL and your AR_OBJECT should be HRICOLFOTO
    Now, you report must loop over the files and execute the upper function modules.
    I hope that helps a bit
    Best regards
    Torsten

  • Mass upload of user photos in EP

    Hi All,
    I have to do a mass upload of user photos in EP. I tried it in two ways.
    1.     In a network folder say
    173.XX.XX.XXUserPhotos, I stored the photos and then I used the Mass photo upload iview, which is available inside collaboration demo role.
    2.     I created a new task and given the below parameters,
    1.     Task nameà MyPhotUpload
    2.     Upload from folder à
    173.XX.XX.XXUserPhotos
    3.     Photo Typeà NORMAL
    I clicked on save and then I run the task. I didnu2019t got any errors, at the same time I didnu2019t got any output also.
    Then I tried it this way.
    I created a nework path in System Administration à System Configuration à KM à CMà Global Services à Network Path (really sorry if I am being stupid)
    Here I specified the network path and the login credential required to access this folder and named this network path as u201CMyNetWrkPathu201D
    Now, I came back to mass upload ivew, there I deleted the old task and created a new task with
    a.     Task Name à MyPhotoUpload2
    b.     Upload from folder à MyNetWrkPath
    c.     Photo Typeà NORMAL
    I clicked on Save and then I run the task. Again the same result. No errors no success.
    PS: I already specified the photo type check and photo size check in System Administration à System Configuration à KM à CMà Global Services àUserPhoto
    Somebody please help me.
    Regards,
    SrinivaS

    Hi,
    it seems the portal doesn't have permissions to read contents from this physical folder.
    Try to import a sample photo with "apply checked conditions" unchecked in mass upload iView.
    If that doesn't help then try to increase the trace level to INFO for this app in Visual Administrator and see what is causing
    the problems.
    The location is com.sap.netweaver.kmc.people.photo.admin .
    Eventuallly try to import files from local folder instead of network share.
    Hope this helps.
    Regards,
    Ladislav

  • Mass download of employees pictures

    Dear All
    Is there any way to mass download employees pictures without using lsmw ?
    there is standard program for mass upload but i don't know if there other one for download.

    You can download one photo at a time.
    If you want to download all photos at a time You need to check with ABAPER For any customization to download all photos at a time 

  • Upload Photo for Dependents

    Hi Experts,
    How to upload Family Member/Dependents Photo in Infotype 21.
    I done with the Employee Photo Upload(with Mass Upload).
    But Unable to do for Dependents.
    Please Advice.

    dear Arasu after u configure the setting using the above steps given by
      Re: Upload Photo for Dependents
        Avik Sinha Roy
    then try to write the code below.It works for me even in back ground.(try to change the given directory only)
    here is the code to upload photos of employee into sap infotype 0002 .
    and am glad if some one helps me to upload into family members info type 0021!!!!!!!!!!
    *& Report  YPHOTO_UP
    REPORT  YPHOTO_UP.
    *DATA: BEGIN OF FILETAB OCCURS 1.
    *        INCLUDE STRUCTURE SALFLDIR.
    *DATA: END OF FILETAB.
    data: filetab like table of SALFLDIR with header line.
    DATA: SAPOBJID LIKE SAPB-SAPOBJID,
           SAPPFAD LIKE SAPB-SAPPFAD.
    DATA: FILENAME LIKE  SALFLDIR ,
           FILEEXT(10) TYPE C ,
           LEN TYPE I ,
           PICFILENAME TYPE STRING.
    DATA: FILEPATH LIKE SALFILE-LONGNAME VALUE 'd:\abaptest\yuri123\'.
    DATA WA type zerror1.
    *DATA: FILEPATH1 LIKE SALFILE-LONGNAME VALUE 'd:\abaptest\yuri\'.
    CALL FUNCTION 'RZL_READ_DIR_LOCAL'
       EXPORTING
         NAME           = FILEPATH
       TABLES
         FILE_TBL       = FILETAB[]
       EXCEPTIONS
         ARGUMENT_ERROR = 1
         NOT_FOUND      = 2
         OTHERS         = 3.
    loop at filetab.
         if filetab-name+0(1) ne '.'.
         SPLIT FILETAB-NAME AT '.' INTO FILENAME FILEEXT.
           LEN = STRLEN( FILENAME ) .
           IF LEN <> 8 AND FILEEXT EQ 'jpg' and FILEEXT ne 'db'.
    *        or FILEEXT EQ 'jpg'.
    *      MESSAGE :  e000(oo) WITH 'Employee id is not correct'.
    *        WRITE : / 'Upload fail','Employee id ',FILETAB-NAME+0(8),'is not valid'.
    *      ELSE.
             WA-error_id = filetab-name.
             WA-error_msg = 'is not valid Employee Id'.
             wa-error_date = SY-DATLO.
             wa-error_time = SY-UZEIT .
    modify zerror1 from wa.
    *INSERT INTO zerror1 VALUES wa.
    else.
             CONCATENATE FILEPATH '\' FILETAB-NAME INTO SAPPFAD.
             CONCATENATE FILETAB-NAME+0(8) '0002' INTO SAPOBJID.
       CALL FUNCTION 'ARCHIV_CREATE_FILE'
         EXPORTING
           AR_OBJECT               = 'HRICOLFOTO'
           OBJECT_ID               = SAPOBJID
           SAP_OBJECT              = 'PREL'
           DOC_TYPE                = 'JPG'
           PATH                    = SAPPFAD
         EXCEPTIONS
           ERROR_CONECTIONTABLE    = 1
           ERROR_PARAMETER         = 2
           ERROR_ARCHIV            = 3
           ERROR_UPLOAD            = 4
           ERROR_KERNEL            = 5
           NO_ENTRY_POSSIBLE       = 6
           ERROR_COMUNICATIONTABLE = 7
           OTHERS                  = 8.
       IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *    WRITE : / 'Upload ',SAPPFAD,'Employee id ',FILETAB-NAME+0(8),'Successfully'.
       ELSE.
    *    WRITE : / 'Upload ',SAPPFAD,'Employee id ',FILETAB-NAME+0(8),'Successfully'.
       ENDIF.
       ENDIF.
    *ENDLOOP.
    *          DO WHAT EVER YOU WANT HERE
       ENDIF.
       ENDLOOP.
    best regards,
    HaHu

Maybe you are looking for

  • How to select the all object at a time while installing business content

    Hi All, how to select the all object at a time while installing business content Please let me know if nay document is there Thanks Ahmed Pasha

  • My AC Power Cord is not working! What should I do?

    I realised that my Macbook Pro was not charging today, so I tried to reset my SMU and PRAM. It didn't work. I took out the AC Power Cord and used the 60W MagSafe Power Adapter instead (I attached the AC Power Cord to the adapter to increase the lengt

  • LIV - Posting Unplanned Freight

    Hello LIV experts, Here is our business scenario: 1. We are using GR-based-IV. 2. Freight vendor is different from the Inventory vendor. 3. No planned delivery costs are entered on the PO. 4. Freight is posted exclusively as unplanned delivery cost d

  • Why there is no multitasking gestures on ipad 1 ,but it is on ipad 2

    Why there is no multitasking gestures on ipad 1, but it is on ipad 2 !?!? I need an answer.......because this is not fair.......

  • Agreement

    Hi All I'm implementing a SAP Project. Customer want control Agreement No by manual but Agreement No only have 10 character but customer want in put about 25 character. Could you have any suggest to resolve this problem. I think the Agreement No can