Configuring Employee Photo Display

Embed Size (px)

Citation preview

  • 7/29/2019 Configuring Employee Photo Display

    1/9

    8.1 Configuring Employee Photo Display

    8.1.1 Purpose

    To display employee photo.

    8.1.2 Description

    Explanation 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 = 03ARCHIVELNK.

    2. In Intervals, create number range 01 from 0000000001 to 9999999999 without theexternal number flag. This is likely to already exist

    3. Assign Documents Class

    Document type HRICOLFOTO must exist with document class JPG.

    4. Transaction code: OAC2Table TOAVE

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

    6. Transaction code: SM31Table V_T585O (View)

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

    7. Content RepositoryCreate 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 create2. Then fill in the details as below:

    Choose a two character name can use Zx (where x is a number) if you wish to usethe customer namespaceChoose 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 acopy and stores it elsewhere. The path may only need to be entered to Arch. path, butentering to all three doesnt seem to hurt.

    15. Maintain the required Basis ServiceTransaction code: SICFHere you activate the Content Server Interface.

  • 7/29/2019 Configuring Employee Photo Display

    2/9

    16. First you need to create a user profile with sufficient authorizations to carry out theprocesses, which are done by the system in the background. Ideally this should be abackground user for a notional/dummy user. You can use your own user ID after whichSAP 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 underdefault_host --> sap --> bc --> content serverOnce you have done this click on the refresh icon and make sure that the service isactivated. 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 inobject type PRELTransaction code: OAC3Table 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 numberTransaction code OAADClick on the Create Store and Assign button. Enter Business Object PREL andDocument 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 theappropriate directory.

    22. SAP will notify that the Stored document is created successfully and you end up withsomething 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.3-Screen header.

    24. Now employee photo can be viewed from PA40, PA30 and PA20 screen in addition toinfotype 0002.

    Table 1: Screen Modifications Configuration Description

  • 7/29/2019 Configuring Employee Photo Display

    3/9

    8.1.3 Screen Shot

    Screen 1: SAP Archive Link Number Range

    Screen 2: Maintain Number Range Intervals

  • 7/29/2019 Configuring Employee Photo Display

    4/9

    Screen 3: Maintain Table views

    Screen 4: View Global Document Types

  • 7/29/2019 Configuring Employee Photo Display

    5/9

    Screen 5: HR Optical Archiving Configuration

    Screen 6: Change Content Repositories

    Screen 7: Maintain Services Initial Screen

  • 7/29/2019 Configuring Employee Photo Display

    6/9

    Screen 8: Maintain Service

  • 7/29/2019 Configuring Employee Photo Display

    7/9

    Screen 9: Create or Change Service

    Screen 10: Link for Content Repositories

  • 7/29/2019 Configuring Employee Photo Display

    8/9

    Screen 11: Administration of Stored Documents

  • 7/29/2019 Configuring Employee Photo Display

    9/9

    Screen 12: Selection of Business Object and Document Type

    Screen 13: Selection of personnel no and Infotype

    Screen 14: Employee photo storage path