cancel
Showing results for 
Search instead for 
Did you mean: 

employee photo

Former Member
0 Kudos

Dear SAP experts,

I need to know how to assign individual employee photos, I need a simple way to do that so a user can assign it him/herself.

I need to know - as well - what is the changes required in user's authorization for the employee photos to be shown to the HR employee as all the photos aren't shown, it's shown only for user's with authorization profile SAP_ALL.

Your help would be highly appreciated.

Please consider it a matter of high importance.

Thanks and regards,

Sally

Accepted Solutions (1)

Accepted Solutions (1)

former_member184702
Active Contributor
0 Kudos

Hello Sally Ahmed Mahmoud,

Pl check the below link:

http://wiki.sdn.sap.com/wiki/display/ERPHCM/Add+Employee+Photo+on+Infotype+0002

Regards

Siva

Former Member
0 Kudos

Dear Siva,

Would you please tell me if there is a simple way to do that, I mean simple in a manner that an HR administrator can do it while hiring the employee.

And please if you can help me regarding the authorization part.

Thanks a lot for your contribution and your quick response.

Your help would be highly appreciated.

Regards,

Sally

former_member184702
Active Contributor
0 Kudos

I have done same settings for photo uploads in my eariler project,there is no simple way to do this.

regarding the security roles, you need to take the help with security consultant.

Regards

Siva

janosdezsi
Product and Topic Expert
Product and Topic Expert

Answers (1)

Answers (1)

former_member184702
Active Contributor
0 Kudos

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, no Tcode. In all three columns there ara 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.  

To delete archived document :
Tcode OAAD, click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon.  

Don't forget to adjust IT0002 header!!!! 

Please also see SAP Note 488281.   Here's some of what it says:  

1. The pictures (.jpg or .bmp) must be available on your PC.
2. Start transaction OAAD.
3. Choose function 'documents -> create'
4. Choose as business object 'PREL' and as document type 'HRICOLFOTO'
5. Push the create button
6. Fill in the appropriate personnel number  

This solution requires SAP Archivelink to be installed. 

Use SICF tcode that displays lot of services. Under sap --> bc there is a service called content server interface. Activate this service.  

Now Create the A2 repository with TCode OAC0.  

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.  

This will set the config part. Now upload the picture using tcode OAAD.

Regards

Siva