Vous êtes sur la page 1sur 3

Display Employee Photo in ESS

Displaying the employee photo in ESS is definitely turning into a FAQ. Ive seen lots and lots of people asking in forums about this, and how they can achieve displaying the employees photo via ESS. Providing that you have at least the Employee Self-Service 60.2 Business Package (for ERP 2004), it shouldnt be hard for you to get there though some simple custiomizing. Look into the steps below and please, get back to me in case something doesnt go as you expect. 1. Enter transaction code OANR and create a Number Range for SAP Archive Link; 2. For this process, additional authorization will be required for authorization object S_NUMBER = 03 ARCHIVELNK; 3. In Intervals, create a number range 01 from 0000000001 to 9999999999 without the external number flag. It is likely that this range already exists;

4. To assign the Documents Class, enter transaction code OAC2 and maintain table TOAVE. Create an entry with Document type HRICOLFOTO with document class JPG; 5. Set all three columns here to minuses and do not set the flag in the check box; 6. Now you must create a Content Repository with a storage type FILE archive. Enter transaction codeOAC0. 7. Swap from Display to Change, select an entry and choose Copy. In alternative, you can just hit Create and fill in the following fields:

Choose a two character name can use Zx (where x is a number) if you need to use a customer namespace; Choose the relevant description; Set DocArea to be Archive Link; Storage type set to R/3 Database; Protocol leave blank; Choose Version no. 0046 (or the latest one available); Contents table set this to SDOKCONT1; Basic Path c:\ (this should be set to where the photos are stored);

Archive Path c:\ (this is the path from where the photos are to be retrieved); Output Device leave blank.

8. Enter the path name where the photos are to be loaded from (this is for loading purposes only). When the photos are linked into the SAP system, SAP will take a copy and store it in his own repository. The path may only need to be entered to Arch.path and all the other entries;

9. Activate the Content Server Interface by maintaining the corresponding Basis service transaction codeSICF; 10. Create a user profile with sufficient authorizations to carry out the processes which are done by the system in the background. Ideally this should be a background system user. Using your own user ID will trigger a warning that you are using a dialogue user account. If you use your own user ID, change it as soon as you have tested the configuration. 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. Also, dont forget to document every step of your configurations, including screenshots, passwords and authorization profiles; 11. Double-click on content server in the left hand tree structure, under default_host > sap > bc > content server; 12. Click on the refresh icon and make sure that the service is activated (black instead of gray). If it is activated, the writing should also be in bold; 13. Enter transaction code OAC3 and check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL. 14. Set the Content Repository field to the one you set up in the step above. Note the Ret.per. field is the retention period for the photo in MONTHS (the default is 833 years and 3 months); Linking a photo to a personnel number

15. Enter transaction code OAAD and click on Store and Assign; 16. Enter business object PREL, document type HRICOLPHOTO and click on Create; 17. Enter the Personnel Number of the employee you want to link the photo to. Choose the infotype that you wish the photo to be displayed on (Ive tested with Infotype 0002 but should); 18. Click on Continue; 19. Enter the path and filename of the photo. The dropdown will allow you to navigate to the appropriate directory; 20. The system will notify you that the Stored document is created successfully. If an error 401 appears, regarding missing authorizations, redo the above step. It is known to happen the first time you try to load the photo (SAP:-)); Displaying photos 21. You can now display your linked photos. 22. From any Infotype in PA30, you achieve this by selecting the employee in Display or Maintain Data and selecting Menu item Extras, display all facsimilies:

Access transaction code SM30 and maintain table T588J; Note that Header structure per infotype and Header modifier activities describe which header is to be shown at the top of each infotype. The Passport photo option determines whether HRICOLFOTO or HRIEMPFOTO is used. Choosing either option is acceptable as long as all your other settings relate to that entry as well;

Add an entry for PERNR with Filed Type PIC. Column 75 puts the picture on the right hand side. The IT column is used to decide where to take the Field Name value from. For the PERNR attribute, all infotypes have this field;

Before closing, GENERATE the screen header again;

23. In PA30, you can double click on the picture in the Infotype. This will bring up a bigger version of it; 24. As soon as the above configurations are done, ESS users can now update their own data, using the Whos Who application; 25. Managers will also be able to view the employees photo in the MSS application Team: Employee Information.

Vous aimerez peut-être aussi