Você está na página 1de 9

8.

1
8.1.1

Configuring Employee Photo Display


Purpose

To display employee photo.

8.1.2

Description
1. Create Number Ranges. A number range must be created for SAP Archive Link. Transaction code: OANR For this process, additional authorization is required for S_NUMBER = 03 ARCHIVELNK. 2. In Intervals, create number range 01 from 0000000001 to 9999999999 without the external number flag. This is likely to already exist 3. Assign Documents Class Document type HRICOLFOTO must exist with document class JPG. 4. Transaction code: OAC2 Table TOAVE 5. Document type settings Document type HRICOLFOTO must be linked to object type PREL and Infotype 0002. 6. Transaction code: SM31 Table V_T585O (View) Set all three columns here to minuses and don't put a flag in the check box. 7. Content Repository Create a content repository with storage type FILE archive. 1. Transaction code OAC0 Swap from display to amend. Select a current entry and copy or just hit create 2. 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 3. Set Doc Area to be Archive Link 4. Storage type set to SAP system Database 12. Choose Version no. 0046 (or the latest one that is available) 13. Contents table set this to ZSDOKCONT1 14. 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) 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 doesnt seem to hurt. 15. Maintain the required Basis Service Transaction code: SICF Here you activate the Content Server Interface.

Explanation

16. First you need to create a user profile with sufficient authorizations 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. 17. 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 the writing should be in bold (as opposed to grayed out). 18. Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL Transaction code: OAC3 Table TOAOM_C 19. 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!) 20. 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. 21. Choose the infotype 0002 Click on Continue. Enter the path and filename of the photo. The dropdown will allow you to navigate to the appropriate directory. 22. 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 authorizations, then try and redo the above step. It often only happens the first time you try and load the photo. 23. Necessary changes will be done, which have been explained in the sub section 8.3Screen header. 24. Now employee photo can be viewed from PA40, PA30 and PA20 screen in addition to infotype 0002. Table 1: Screen Modifications Configuration Description

8.1.3

Screen Shot

Screen 1: SAP Archive Link Number Range

Screen 2: Maintain Number Range Intervals

Screen 3: Maintain Table views

Screen 4: View Global Document Types

Screen 5: HR Optical Archiving Configuration

Screen 6: Change Content Repositories

Screen 7: Maintain Services Initial Screen

Screen 8: Maintain Service

Screen 9: Create or Change Service

Screen 10: Link for Content Repositories

Screen 11: Administration of Stored Documents

Screen 12: Selection of Business Object and Document Type

Screen 13: Selection of personnel no and Infotype

Screen 14: Employee photo storage path

Você também pode gostar