You are on page 1of 10

Upload photo/ image against particular personnel number in HR master data in custom info type

By Gurmukh singh Ailsinghani, Capgemini India


Task: To upload photo/ image against particular personnel number in HR

master data in custom

info type.
Solution: Things to know: Table (TOAOM) SAP Archive Link - Meta table for links indicates the content repository that will be utilized for particular object and document type. Table CREP List of content repositories Prerequisites: 1. PERNR and infotype must have valid entries. Say custom info type is IT9007 2. Image file name should be represented as concatenation of PERNR and infotype number.jpg [example 900000019007.jpg where 90000001 pernr 9007 infotype] STEP 1 Firstly go to transaction code CG3Z. Transferring images from presentation server to Application server. The same can be done by asking the BASIS team to transfer all the required image file names to application server.

STEP 2 Browse the location for the source file which is to be uploaded. Browse the location (directory) for the target File where the image has to be stored in sap. Click on Upload button to upload the image. As seen in the below screen shot.

STEP 3: To check whether the file has been uploaded or not uploaded, navigate to transaction code Al11 (tcode). Select your directory and check whether the file is successfully uploaded in required directory.

Click here to continue...

Upload photo/ image against particular personnel number in HR master data in custom info type
...Previous
STEP 4: Now navigate to transaction code SE38 (tcode) and execute the standard program OA_UPLOAD_AND_LINK. Values are entered in the screen as shown below : with PREL as business object and HRICOLFOTO as document type for color documents. Mention the file path where you are storing all the images to be uploaded for mass migration.

OUTPUT: The output will provide the list of files accepted for uploading as shown below:-

STEP 5: Now navigate to transaction OAAD (tcode) to link/assign the documents to PERNR as shown below:-

Click here to continue...

Upload photo/ image against particular personnel number in HR master data in custom info type
...Previous
STEP 6: Click Technical search and then click execute button.

STEP 7: Enter Personnel number and info type. Click on Enter button.

Select your record and click on display button.

Below screen is displayed.

STEP 8: Click on Reassign document button. Click on Enter.

OUTPUT: As shown storage parameters are updated after reassigning the document

Use recording for Steps 6 to 8 for mass upload of images providing the input PERNR and Info type number to input parameter SAPOBJECTID on selection screen. Verification: Navigate to transaction code PA30 (tcode). To check the image id uploaded or not for particular personnel number. Click on Display button.

OUTPUT: Image on right top has been uploaded.

You might also like