cancel
Showing results for 
Search instead for 
Did you mean: 

Uploading Employee Photo

former_member538867
Participant
0 Kudos

Dear Experts,

For uploading of Employee photos, I followed all steps in this link.

Link: [https://www.sdn.sap.com/irj/scn/wiki?path=/display/erphcm/employee%252bphoto%252bupload].

However, At TCode OAC0, I did not find Basis Components. So I Clicked on Content Repository > Create

Here I found following screen which is different from the one suggested in link Given between ==== line.

Content Rep. New

Description

Document Area

Storage type

Version no. ?

HTTP server

Port Number SSL Port Number

HTTP Script

Phys. path G:usrsapP53SYSglobal

===========================

Transaction code OAC0

IMG: Basis Components -> Basis Services -> SAP Archive Link -> Basic Settings -> Maintain content repositories

Swap from display to amend. Select a current entry and 'copy' or just hit 'create'. Then select .

Then fill in the details as below:

Choose a two character name - can use Zx (where x is a number) if you wish to use the 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 that is available)

Contents table - set this to SDOKCONT1

Basic Path - c: (this should be set to where the photos are all held)

Archive Path - c: (this is the area from where the photos are retrieved)

Output Device - can leave blank

==============

When I tried to upload photo, System gave this Error Message " Destination SAPHTTP OK" . But finally it gave warning as "Error in HTTP Access: IF_HTTP_CLIENT->RECEIVE 1". & the photo is not uploaded.

Please help

Regards

Bindumadhav

9869028264

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Bindu madhav,

Please follow the following steps and co-ordinate with your Basis consultant,than it will works fine.If any further information required pl revert back to me.

First you have to create a number range for SAP ArchiveLink. > > IMG: Basis Components-> Basis Services -> SAP ArchiveLink -Basic Settings-> Maintain number ranges (Trxn OANR). Create number range 01 from 0000000001 to 9999999999 without the external number flag.

Document type HRICOLFOTO must exist with document class JPG. IMG: Basis Components->Basis Services->SAP ArchiveLink->System Settings->Maintain document types (Table TOAVE, Trxn OAC2).

Document type HRICOLFOTO must be linked to object type PREL and Infotype PA0002.

IMG: Personnel Management->Personnel Administration->Tools-optical archiving->Set up Optical Archiving in HR. (View V_T585O, no Trxn).

In the first two columns there are minuses, the third (Date) has a plus - don't put a flag in the check box.

Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.

IMG: Basis Components->Basis Services->SAP ArchiveLink->Basic Settings->Maintain Links (Table TOAOM_C, Trxn OAC3).

Create this content repository with storage type FILE archive. IMG: Basis Components->Basis Services->SAP ArchiveLink->Basic Settings->Maintain content repositories (Trxn OAC0).

Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else on the screen with the right mouse button.

Choose Possible entries and only then you get a list of all possible entries. FILE archive is entry number 08.

Choose Version no. 0031 and Arch. path for example > X:\.

Link photo to personnel number.

Menu: Tools->Business Documents->Miscellaneous->Stored documents (Trxn OAAD). Click on the Create button (Trxn: OAOH). Business object PREL and Document type HRICOLFOTO.

Click on create (F8). Fill in the right Personnel Number in the pop up and click on Continue. Choose the photo (as a JPG file) from the place where it is saved (on the hard disk for instance). SAP will notify that the Stored document is created successfully.

In T77s0 we use this setting: ADMIN PHOTO HRICOLFOTO

Plus in T588j (IT header definition) something like:

Now one can see the employee picture in trxn PA10/20/30/40/51/61, PPOME, PPOSE (double-click on the picture to zoom in).

Hint

We noticed that the trxn are slower after we added the pictures. Some users are willing to sacrifice, some do not want to see the pictures. There is a parameter ID (trxn su3) that allows turning the pictures off.

Remove photo link to personnel number.

Go to Tools->Dusiness Documents->Miscellaneous -> Stored Documents (Trxn OAAD).Choose 'find' and enter 'PREL' as the business object and click 'Execute'.

In the pop-up window 'Key field entry' enter the personnel number and click on 'OK'.

In the next screen one selects the entry that should be deleted and clicks on the trash can icon.

A pop-up window with the question 'Delete all selected documents?'appears - click on 'Yes'.

A pop-up window with the question 'Delete link?'appears - click on'Yes'. A window with the picture file will appear - one can close that. A pop-up window with the question 'Delete archived document?' appears - click on 'Yes'.

This deletes the link and the file.

From Karim EL HAOUET : Also check the following :

Make sure that the HTTP plugin is active.

Transaction SMICM, "Display Services" function key (shift F1). F1). The list of services must contain a port other than 0 for HTTP.If not, you must adjust the relevant profile parameter.

Typical entry:

icm/server_port_0 PROT=HTTP, PORT=1080,

TIMEOUT=900

Make sure that the /sap/bc/contentserver service is active.

Transaction SICF, select: default_host - sap - bc - contentserver.Select the function to display/change the service.Make sure that a user is defined.

If no user is defined, then use transaction SU01 to create a new user.Use the "System" user type.Assign the SAP_ALL and SAP_NEW profiles to the user.

Using the relevant data from the newly created user, maintain the anonymous logon data for the /default_host/sap/bc/ service and save the changes.

Check the system PSE.

Start transaction STRUST. Expand the system PSE.The system PSE must be "green" for each application server.

Determine a suitable exchange directory. The exchange directory must be accessible from each application server.If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application server (for example,
server\share) is sufficient.You can generally use the global directory (profile parameter DIR_GLOBAL).You can use the RSPARAM report to determine the profile parameters. Setting up the storage

Create a table for storing the data. Using transaction SE11, create a copy of the SDOKCONT1 table.If you want to create the repository database, you can name the table ZCONT_DB, for example. Save the table as a local object.Activate the table.

Regards,

Ramana.

Former Member
0 Kudos

Kindly assist how to change Employee Photo in PA 30, Info type 0002

When i try to upload under ZHR_EMP_PHOTO - Mass Upload Employee Photos, showing some error


11C:\USERS\JSW\DESKTOP\SAP\PHOTO UPLOAD\IMG\01048134file_open_error

Regards,


Prashant Ambig


ChrisSolomon
Active Contributor
0 Kudos

(1) Why did you revive this "dead" thread?

(2)  Use SEARCH......information about uploading/configuring employee photos has been posted on here 100's of times now!

(3) Did you research the error? (*to me, it looks like either (a) the file is in use/open eleswhere or (b) your application does not have permission to "open" the file) A simple Google search of "SAP file_open_error" has LOTS of hits!

(4) You are asking in reference to a "Z" program....which is customer specific....so who knows what else may be going on in there.

If still having issues, create a NEW thread/post and give specific details about your system version, the program you are using, your config/set-up for your photo repository, your config for display of photos in SAP and then you will likely get better help.

sikindar_a
Active Contributor
0 Kudos

Check with ur basis people

sreeramkumar_madisetty
Active Contributor
0 Kudos
Former Member
0 Kudos

Contact your Basis Administrator.