cancel
Showing results for 
Search instead for 
Did you mean: 

Info required on Employee Photo upload

Former Member
0 Kudos

Hi Friends,

Can any of you explain my questions listed below:

1. Is there any storage limit for storing the photos in Content repository ?

2. If not , If I have a requirement to store lot of photos, does it impact the performance of the system in anyway?

3. How to upload photos for a group of employees?

Kindly share the link or document where I can get all the information about the above said questions.

Thanks in Advance.

Regards,

Nithya.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member47879
Active Contributor
0 Kudos

1) CUstomizing steps

IMG - Personnel management - personnel administration - customizing user interfaces - change screen header.

Regarding the archiving part - Basis admin to set that up for document type HRICOLFOTO.

2) Photo in the PA IT0002 In version 4.0B

1. Define physical archives using transaction OAC0 Arx. ZZ

2. Assign objects types & document types to archive & documents tables for Obj PREL , doc.type HRIEMPFOTO, Arx. ZZ using transaction OAC3

3. Define number range using transaction OANR

4. Using transaction OAC2 define doc.typ & tech doc types for exmpl. HRIEMPFOTO - TIF

5. Create protocol for Archive link using transactions OAA3 for exmpl. Comm.prot.,version. Generate it will define application type from list and so on.

6. In the table 585O define relevant infotype for object and document type for exmpl. for it0002

7. Using transaction OAAD create link for PERNR with relevant infotype & files on the server, which described on the first step.

3)

In addition to any infotype fields you can also include passport photos of your employees in the infotype header in Infotype Header Definition view (T588J).

In the System Table view (T77S0), determine the document type with which you want to enter the passport photos in the optical archive.

Still does not work? try as suggested below:

When I execute the OAAD transaction the result is ok, but when I look at PA30 I can´t see the photo.

In PA30 if I look by "Extras-> display all facsimiles" the photo appears correctly, so the photo is assigned to the employee number.

Then my problem is in the initial screen in PA20, PA30,...

From an OSS message from SAP:

For using an employee picture in the PA20/PA30 please check that you have a correct customization for the infotype header.

For further information please have a look at the corresponding point in the customizing for 'Personnel Administration' - 'Define Dynpro header'.

You have to check the table T588J and T77S0 (define document type for pictures). Additionally, remember that the photo should be in JPG format."

You may find helpful note 353949.

T588J could look like:

00 1 60 0001 PERNR PIC

Former Member
0 Kudos

hi,

I did this program. I have uploaded the photos by using oops concept.

Function Modules: HR_GET_EMPLOYEE_DATA

HR_IMAGE_EXISTS

SCMS_DOC_URL_READ

HR_IMAGE_RESET

Class & Methods : CL_GUI_DOCKING_CONTAINER

CL_GUI_PICTURE->SET_POSITION

CL_GUI_PICTURE->SET_DISPLAY_MODE

CL_GUI_PICTURE->DISPLAY_MODE_FIT

CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC

thanks & regards,

sekhar.

Former Member
0 Kudos

HI Guys,

Thanks for ur valuable reply.

Regards,

Nithya

Former Member
0 Kudos

Hello Nithya,

I'm trying to put a photo in an infotype, but when i try to link photo to the personnel number by transaction OAAD an error occurs " HTTP plugin is not active", Ive seen you have the same problem, do you solve it? Can you help me?

Thanks!

Rosina

Former Member
0 Kudos

Hi,

Ask You BASIS Consultant For RFC connections

Regards,

Kapil

Former Member
0 Kudos

Thanks Kapil!!

I will tell you if it works.

Former Member
0 Kudos

Hi Rosina,

Still I hav the same problem. I wil let u know once I done with that or pls let me know once u find a sol for that.

Former Member
0 Kudos

Thanks!!

sikindar_a
Active Contributor
0 Kudos

.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, donu2019t 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.

impact of the storage will be known to the Basis people

for group of employees u need to run a programme if u want to do in MASS Upload

Edited by: Sikindar on Jan 30, 2009 11:37 AM

Former Member
0 Kudos

Does this procedure works for SAP ECC6.0 to?