cancel
Showing results for 
Search instead for 
Did you mean: 

Employeeu00B4s Photo

Former Member
0 Kudos

Hi, i have some problems with the employee´s photo, i followed all the steps:

1.- Create Number Range. Transaction code: OANR

2.- Assign Documents Class. Transaction code: OAC2

3.- Document type settings. Transaction code: SM31 Table V_T585O (View)

4.- Content Repository. Transaction code OAC0

5.- Maintain the required Basis Service. Transaction code: SICF

6.- Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL. Transaction code: OAC3

, but an error keep show : HTTP: IF_HTTP_CLIENT->RECEIVE 1, ICM_HTTP_CONNECTION_FAILED.

What is that?

Best Regards...

Accepted Solutions (1)

Accepted Solutions (1)

ChrisSolomon
Active Contributor
0 Kudos

You need to activate the service for ArchiveLink in SICF....that's why you get the HTTP error....that would be your Step#5....make sure the service is working.

....and the info above was just cut-and-paste from lots of other similar posts the all came from the same steps posted on a web site....lazy.

Answers (3)

Answers (3)

former_member246893
Active Participant
0 Kudos

Hi ,

Please make sure that the logon data is maintaned /sap/bc/contentserver service.

refer note 685521.Moslty this may be the reasin for this issue.

Reward points if useful

BR, Abdul

Former Member
0 Kudos

Thanks Om Prakash your anwer was very helpful, but im still getting an error: HTTP plugin is not active.

Best Regards

Message was edited by:

Carlos Valdes Luna

Former Member
0 Kudos

Hi Carlos,

Apologise for very late reply, since I was not in the town.

For your query, check the transaction SICF or contact your Basis guy to resolve your issue.

Good Luck

Om

Former Member
0 Kudos

Hi Carlos,

Check these steps:

1.Create Number Range

A number range must be created for SAP Archive Link.

Transaction code: OANR

For this process, additional authorisation is required for S_NUMBER = 03 ARCHIVELNK.

In ‘Intervals’, create number range 01 from 0000000001 to 9999999999 without the external number flag.

2. Assign Documents Class

Document type HRICOLFOTO must exist with document class JPG.

Transaction code: OAC2

Table TOAVE

3. Document type settings

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

Transaction code: SM31

Table V_T585O (View)

Set all three columns here to minuses and don't put a flag in the check box.

4. Content Repository

Create a content repository with storage type FILE archive.

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

Enter the path name where the photos are to be loaded from. Note this is for loading only. When the photos are linked into the sap system (see later), actually, SAP takes a ‘copy’ and stores it elsewhere. The path may only need to be entered to ‘Arch.path’, but entering to all three doesn’t seem to hurt.

5. Maintain the required Basis Service

Transaction code: SICF

Here you activate the Content Server Interface.

First you need to create a user profile – with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP will warn you that this is a dialogue user account. If you do use your own user ID, change it as soon as you have tested the config. 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.

Double-click on “content server” in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server

Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)

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

Transaction code: OAC3

Table TOAOM_C

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. (so the default is 833 years and 3 months!)

7. Link photo to personnel number

Transaction code OAAD

Click on the Create – Store and Assign button. Enter Business Object PREL and Document Type HRICOLFOTO. Click on create(F8).

Enter the Personnel Number of the employee you want to link the photo to. Choose also the infotype that you wish the photo to be displayed on (not sure how relevant this is. It works if you use 0002 but should also work if left blank. Suspect is only relevant if you wanted to store different photos for different infotypes)

Click on Continue.

Enter the path and filename of the photo. The dropdown will allow you to navigate to the appropriate directory.

If you still get the same error, contact your Basis guy to solve the HTTP error.

Good Luck

Om

Reward it, if u feel helpful.