Sie sind auf Seite 1von 10

SPRO Configuration for Employee PHOTO Upload in IT0002 Step 1 :

Create Number RangeA number range must be created for SAP Archive Link. Transaction code: OANR In Intervals, create number range 01 from 0000000001 to 9999999999 without the external number flag.

Step 2:
Assign Documents Class

Document type HRICOLFOTO must exist with document class JPG. Transaction code: OAC2 Table TOAVE

Step 3:
Document type settings

Document type HRICOLFOTO must be linked to object type PREL and Info type 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.

Step 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 . and 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

Step 5: Maintain the required Basis Service ( To be done by Basis administrator for archiving of storage area)
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.

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

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.

Maintain the Client, User id and Password in Logon Data Tab.

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

Step 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 Retention .per. field is the retention period for the photo in MONTHS. (so the default is 833 years and 3 months!) it can also be left blank.

Step 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

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 .

Click on Continue.

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

SAP will notify that the Stored document is created successfully and you end up with something like:

If you get an error 401 to do with missing authorisations, then try and redo the above step. It often only happens the first time you try and load the photo.

Step 8:

Displaying Photos You can display your linked photos straight away if you want, from any Info type, by selecting the employee in Display or Maintain Data and selecting Menu item Extras, display all facsimiles

Step 9: Info type Headers to display photo correctly Transaction code: SM31 Table T588J IMG: Personnel Mangmnt --> Personnel Administration --> Customising User Interfaces --> Change Screen Header In the IMG path, you must now choose activity Infotype Header Definition

Select Header Modifier change the data as mentioned below :


Screen Header 01 Tr. Class A Header Modifier 90

Infotype Header definition


Header Lin Colum Field Lngth Keyword Con. Fldt I STy.

Mod 90

e 1

n 75

name 0002

y PERNR PIC

Generate Header using Generate Icon Passport Photo


Group ADMI N SemID PHOT O Value abbr HRICOLFOT O Description Document Type for (Passport) Photo in HR

When you see the resultant Info type display you can double click on the picture will bring up a large version of it.

More than one photo can be uploaded, which can be viewed by selecting Extras display all facsimiles.

Das könnte Ihnen auch gefallen