Need to upload employee photos against infotype 0002
Hi,
We have an urgent reqirement to load the photos of all the employees agianst the infotype 0002 which need to be accesed by the employees and managers via enterprise portal.
Can anybody help me....
Thanks in advance
Krishna
The steps provided you are very appropiate , but you can also check the following settings incase you dnt achieve your requirements.
Q. How to attached the Photo in IT0002
1.Create a number range for SAP Archive Link :
IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain number ranges.
Tcode OANR. Create range 01 from 0000000001 to 9999999999 without the external number flag.
2.Document type HRICOLFOTO must exist with document class JPG.
IMG>Basis Components>Basis Services>SAP Archive Link>System Settings>Maintain document types.
Table TOAVE, Tcode OAC2.
3.Document type HRICOLFOTO must be linked to object type PREL and IT0002.
IMG>Personnel Management>Personnel Administration>Tools>Optical Archiving>Set up Optical Archiving in HR.
View V_T585O, no Tcode. In all three columns there ara minuses, dont put a flag in the check box.
4.Check which content repository (Archive) is linked to document type HRICOLFOTO and object type PREL.
IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain Links.
Table TOAOM_C, Tcode OAC3
5.Create this content repository with storage type FILE archive.
IMG>Basis Components>Basis Services>SAP Archive Link>Basic Settings>Maintain content repositories.
Tcode OAC0
Storage type FILE archive can be attained by clicking on the field Storage type and clicking somewhere else in the screen with the right mouse button. Choose Possible entries and only then you get a list of all values. FILE Archive is entry number 08. Choose Version no. 0031 and Archive path something (e.g. C:\).
6.Link photo to personnel number.
Menu>Tools>Business Documents>Miscellaneous>Stored Documents. Tcode OAAD.
Click on the Create button. Business object PREL and Docyment type HRICOLFOTO. Click on create (fill in the right personnel number in the pop up and click Continue). Choose the photo (as a JPG file) from the place where it is saved (e.g. hard disk). SAP will notify that the Stored Document was created succesfully. Photo is visible via PA10, PA20, PA30, PA40. Double-click to magnify photo.
To delete archived document :
Tcode OAAD, click Find. In docyment type field select HRICOLFOTO and after execute you get a list of all documents. Select appropriate document and click on delete icon.
thnkx
bhanu
Similar Messages
-
Is it possible to upload employee photo into IT 0002 in ECC 6.0
Hello Guru's,
I have a requirement to upload employee photo's to Infotype 0002, so gone through all the steps in the threads posted here and felt that all were for R/3 4.6 n 4.7 only.
I have a different set up in few tables like OAC0 in ECC 6.0.
Request you all to let me know if uploading of employee photo is possible in ECC 6.0 ?? if so, let me know the configuration steps.
with screen shots are more appreciated.
Regards,
Priya.You'll find the customizing settings in :-
IMG - Personnel management - personnel administration - customizing user interfaces - change screen header.
Regarding the archiving part you better ask your basis admin to set that up for document type HRICOLFOTO.
2) Photo in the PA IT0002 In version 4.0B it worked
1. Define physical archives using transaction OAC0 Arx. ZZ
2. Assign objects types & document types to archive & documents tables for Obj PREL , doc.type HRIEMPFOTO,
Arx. ZZ using transaction OAC3
3. Define number range using transaction OANR
4. Using transaction OAC2 define doc.typ & tech doc types for exmpl. HRIEMPFOTO - TIF
5. Create protocol for Archive link using transactions OAA3 for exmpl. Comm.prot.,version. Generate it will define
application type from list and so on.
6. In the table 585O define relevant infotype for object and document type for exmpl. for it0002
7. Using transaction OAAD create link for PERNR with relevant infotype & files on the server, which described on the
first step.
Link:Uploading Employee photos against IT0002 in ECC 6.0 -
Uploading employee photoes to infotype 2
I want to upload employee photos to Infotype 2 .
Can anybody help me out in this regards?Hi,
check this links
http://www.saptechies.com/employee-photo-upload/.
Employee Picture Upload in SmartForm
wiki.ittoolbox.com/index.php/HOWTO:Upload_a_photo_in_SAP_HR
Regards
Gaurav -
Uploading Employee photos against IT0002
Hi,
We have a requirement to upload photos of all the employees of our client to their Personal Data infotype through transaction OAAD. I have written a BDC program for that and tried to upload through session method in foreground. Its working fine, but while picking the photo of a particular employee, its asking me to select the photo. Our requirement is once we start uploading the photos, we will run this in background. So it should not ask us to select the photo, instead it should pick the photo from the path given in the file.Our file contains Personnel Number and the path of the photo corresponding to that personnel number.
Please let me know your suggestions.
Thanks in advanceHi
Check this Upload Employee Photo into SAP
Manoj Shakya -
Error while uploading employee photo to infotype
hi friends, i am getting error *401 HTTP* while uploading photo to infotype(in ECC 6.0).I tried 3 times but same problem, can any one say how to solve this.
Edited by: nr on Sep 16, 2008 12:48 AMNR,
Where do you want to upload the photos?is it to SAP database or some other third party repository.check whether you have proper rights or not and if it is a third party one check whether it is up and running and your network firewall is not blocking that -
Error while uploading employee photo
i m getting following eror while uploading employee photo through storage server
Error in HTTP Access : IF HTTP_CLIENT-RECEIVE 1 ICM_HTTP_CONNECTION_FAILED
Pls replyHi archana
you have to go with OAC0 tcode here in content repository double click on A5 which is standard one go in details-->clickon fulladministration then in that screen you will be having Basic path and Achive path there basis people need to give sapgui code.
they will be have this code in servermanagemt. i am not clear of this code where they can find. but i am sure of that this code will be given by basis people only. then go with OAOH tcode. give the details as usal and one more thing is that the photo should be save jpeg formate.
Regards
Suresh -
BSP error when trying to upload employee photo
,<h1>.Dear Experts,<</h1>
<h2>I am trying to upload employee photo on my SAP system DB.
I am following note 595563 and performing below mentioned activities.</h2>
<h3> * Make sure that the HTTP plugin is active.</h3>
<h4> Transaction SMICM, "Display Services" function key (shift F1). The list of services must contain a port other than 0 for HTTP. If not, you must adjust the relevant profile parameter.
Typical entry:
icm/server_port_0 PROT=HTTP, PORT=1080, TIMEOUT=900
Make sure that the /sap/bc/contentserver service is active.
Transaction SICF, select: default_host - sap - bc - contentserver. Select the function to display/change the service. Check that a user is defined.
If a user is not defined, use Transaction SU01 to create a new user. Use the "System" user type. Assign the profiles SAP_ALL and SAP_NEW to the user.
Using the relevant data from the user that has just been created, maintain the anonymous logon data for the service /default_host/sap/bc/ and then save the changes.
Check the system PSE.
Start Transaction STRUST. Expand the system PSE. The system PSE must be green for each application server.
Determine a suitable exchange directory.
The archive system must be accessible from every application server. If all application servers are running on the same platform (for example, Windows), one network directory that is accessible on all application servers (for example,
server\share) is sufficient. You can generally use the global directory (profile parameter DIR_GLOBAL). You can use report RSPARAM to determine the profile parameters.
Setting up the storage
Create a table for storing the data.
Use Transaction SE11 to create a copy of table SDOKCONT1. If you want to create the repository database, you can call the table ZCONT_DB, for example. Save the table as a local object. Activate the table.
Create the repository.
Use Transaction OAC0 to create a new repository.
Use the following parameters:
Repository Max. two characters, for example, DB
Document area ArchiveLink
Storage type R/3 database
Storage subtype normal
Version no. 0046
Contents table <table name> for example: ZCONT_DB
Exchange directory <directory name> for example:
server\share\
Note that the exchange directory ends with a \ (or a / on Unix). If you are using a variety of platforms, you must use Transaction FILE to define a suitable logical file name, and use this file name.
Save the settings.
</h4>
<h5>
Everything goes well but when i try to test the Repository created by RSCMSTH0 in SE38 it throws the error </h5>
HTTP error: 404 Business Server Page (BSP) Error
Message no. CMS025
Diagnosis
Error in accessing via HTTP
404 Business Server Page (BSP) Error
Please help. M i missing anything ..?
<h6>Regards,
Alok</h6>
Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AM
Edited by: Nikhil Manjrekar on Aug 14, 2009 9:45 AMHi,
I am getting same problem what is the solution??
Thanks
Santhosh -
Remote-enable bapi to upload employee photos
hi,all
i need to upload emplyee photos from another application system to sap,but i have no idea about such remote-enable bapi.
can anybody show me one?
Regards
Darellhi,all
i need to upload emplyee photos from another application system to sap,but i have no idea about such remote-enable bapi.
can anybody show me one?
Regards
Darell -
Error in uploading employee photo
Hi,
I am trying to upload employee jpg photo in 0002 infotype. I have done basis settings and confige in T-Codes OANR, OAC2, OAC3, SICF, OACO,
But in OAAD I selected Store and Assign Icon, thee i had given business object as prel and document type as hricolfoto then i selected create button after that one pop-up window will come ask necessary data. there i had given personnnel number and infotype number as 0002, subtype- blank, object id 02, date of orgin as hiring date, then i had selected jpg phot from desktop . once i selected the photo it through the below error.
Repository A2 not accessible by HTTP.
Pls through some light on this.
Regs,
BrahmaHi Brahma,
Re: Photo Upload
regards,
kitchlu -
Upload Employee Photo into SAP
Hi,
Due to employee photo is stored as ArchiveLink and I tried to upload it by LSMW, but it doesn't work. I was wordering that, the document that stored in ArchiveLink can be uploaded by LSMW or not.
Has anyone used to upload employee's photo into SAP? If so, how?
Thanks in advance.Dear Sakchai,
Refer to the following link for step by step procedure:
http://wiki.ittoolbox.com/index.php/Upload_a_photo_in_SAP_HR
Sample program from http://sap.ittoolbox.com/groups/technical-functional/sap-hr/massive-upload-photo-1211577
REPORT ZHR_BDC_UPLOADPIC
NO STANDARD PAGE HEADING LINE-SIZE 255.
INCLUDE
INCLUDE BDCRECX1.
I N T E R N A L T A B L E S
DATA : BEGIN OF IT_DATA OCCURS 0,
RP50G-PERNR(8), " LIKE RP50G-PERNR,
RLGRAP-FILENAME(128),
END OF IT_DATA.
S T A R T - O F - S E L E C T I O N
START-OF-SELECTION.
PERFORM OPEN_GROUP.
CALL FUNCTION 'UPLOAD'
EXPORTING
FILENAME = 'C:\PICTURE.TXT'
FILETYPE = 'DAT'
TABLES
DATA_TAB = IT_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7.
IF SY-SUBRC NE 0.
WRITE : / 'Unable to upload data'.
STOP.
ENDIF.
LOOP AT IT_DATA.
PERFORM BDC_DYNPRO USING 'OANEWCON' '0100'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'TOAOM-AR_OBJECT'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=NEW'.
PERFORM BDC_FIELD USING 'TOAOM-SAP_OBJECT'
'PREL'.
PERFORM BDC_FIELD USING 'TOAOM-AR_OBJECT'
'HRICOLFOTO'.
PERFORM BDC_DYNPRO USING 'SAPLSJ01' '0200'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'FIELD_VALUES-INPUT(02)'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=OK'.
PERFORM BDC_FIELD USING 'FIELD_VALUES-INPUT(01)'
IT_DATA-RP50G-PERNR. "'10002'.
PERFORM BDC_FIELD USING 'FIELD_VALUES-INPUT(02)'
'0002'.
PERFORM BDC_DYNPRO USING 'SAPLOPTM' '0105'.
PERFORM BDC_FIELD USING 'BDC_CURSOR'
'SAPB-SAPPOOLINF'.
PERFORM BDC_FIELD USING 'BDC_OKCODE'
'=OKAY'.
PERFORM BDC_FIELD USING 'SAPB-SAPPOOLINF'
IT_DATA-RLGRAP-FILENAME. "JPG'.
PERFORM BDC_TRANSACTION USING 'OAOH'.
clear IT_DATA-RLGRAP-FILENAME.
ENDLOOP.
PERFORM CLOSE_GROUP.
Regards,
Naveen. -
I need to upload a photo to facebook. How to I do this?
I am trying to upload a photo to facebook, but it says, "Your photo couldn't be uploaded. Photos should be less than 4MB and saved as JPG, PNG, GIF or TIFF files." How to I do this?
Does the site, or sites, that you want to upload to have their own apps ? If not then you could try the iCab Mobile browser which works on some sites.
With iOS 6 in the Autumn (if you have an iPad 2 or the most recent iPad), then it looks like you might then be able to do it via Safari. -
Uploading employee photo in EP
hi,
i am able to upload the employee pic in the back end R3 system and its coming fine when i go to PA30. My doubt is > do i have to upload the image separately in the EP so that it appears in ESS> who's who section?
or should it appear automatically once its uploaded in the backend system ?
regards,
aditiaditi,
the who is who uses the same archivelink/contentserver as the backend (PA30). but you have to make sure that the contentserver is reachable from the clients browsers, because the portal just delivers the URL to them.
kr, achim -
I Have several questions. I tried to upload photos from my iPhone 4S to I photo. 2 hours later it says it is still uploading. I disconnected my cable from MacBook Pro and iPhone and tried to completely shut die all Apis and computer. The wheel for shut down ran 30 min and finally I did a force quit. Help! I would live a real human to talk to. Donna in El Paso 9155653231
This can be used to boot the machine and delelte enough files to get it to boot normally.
.Create a data recovery/undelete external boot drive
Read about storage drive so you can store your extra stuff.
Most commonly used backup methods
Also here to see how a full boot drive slows the machine down
Why is my computer slow? -
Employee photo upload in portal and to be saved in infotype 0002
Hi Everyone,
I got an requirement where in ESS Portal, through "Change Own Data" link, employee is uploading his photo and it has to be saved in infotype 0002. Below are the doubts i have,
1. There is no field for photo in infotype 0002, so how it will be saved in 0002.
2. After uploading and clicking preview button, error was raising saying 'Error when archiving the photo'.
3. I seen in many forums that the employee photo is visible from PA30. how it will be visible in that tcode ?Hi Chris McNarney,
Sorry for long delay for replying.. According to you,
1. I checked the service under /default_host/sap/bc/conentserver/ it was activated and moreover below is the logon data,
Client 500
User XXXXXX
Language
Password Status Set
and what is the use of this logon data..
2. According to your link [https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false|https://wiki.sdn.sap.com/wiki/display/ERPHCM/Add%20Employee%20Photo%20on%20Infotype%200002?showChildren=false],
there it has 4.7 version in that they told to create A2 repository with Tcode: OAC0 with details,,
While creating the repository, keep the Document Area blank, Storage type as R/3 database, Rep. Sub-type will appear as Normal by default, Version No. as 0046 and in Contents table put 'SDOKCONT1' as the table name.
With that screen im am not able to find table name field to put 'SDOKCONT1' as input and moreover SAP system database is there instead of getting R/3 database for storage type. Screen detilas below,
Content Rep. A2 Active
Description
Document Area
Storage type
Version no. 0046 Content Server version 4.6 as the table name. -
Batch uploading of employee photo using T-code OAAD
Hi All,
When uploading employee photos with OAAD, I can not use SHDB to record the bdc actions because there is a popup function(to specify uploading JPG file) which can NOT be recorded by BDC.
So anybody got some suggestions?
Thanks in adv.
Br,KeeHi,
Use this code this will work.
This is a code workaround instead of BDC from SHDB.
START-OF-SELECTION.
LOOP AT t_record.
Since the employee photo is always stored in 0002 infotype, we need to
concatenate the employee id with preceeding zeros and pad "0002" in
right into the pernr field which will be passed to object_id
Any unwanted leading zeros deleted
SHIFT t_record-pernr LEFT DELETING LEADING '0'.
Any leading space is removed
CONDENSE t_record-pernr.
0002 is concatenated to the emp id
CONCATENATE t_record-pernr '0002' INTO t_record-pernr.
Push the contents of pernr into pernr_zero since its a NUMC type field
and hence zeros will be padded automatically by the system
w_pernr_zero = t_record-pernr.
Now pernr will be having zero padding
CLEAR w_pernr_pass.
w_pernr_pass = w_pernr_zero.
Call this function module for storing the photos.
CALL FUNCTION 'ARCHIV_CREATE_DIALOG_META'
EXPORTING
archiv_id = 'A1'
ar_object = 'HRICOLFOTO'
object_id = w_pernr_pass
sap_object = 'PREL'
file = t_record-path.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDLOOP.
Hope this helps you.
Regards,
Subbu.
Maybe you are looking for
-
Auto-Display of Navigation Panel
I'm frustrated with searching help for the answer to my question - certainly someone out there can point me in the right direction! I'm a novice using Acrobat Pro 9. I've created a pdf from a Word Doc and have added bookmarks to navigate to the chap
-
Help needed with PCR Interactive Forms.
Hello, We are trying to get a prototype system going to show HR some WebDynpro and Adobe Forms technology. I'm focusing on our PCR's right now. I have fixed one problem by configuring the ABAP WAS in the java visual admin http destinations. I now wan
-
Hi i have one problem i canot understand why compay HP block support max memory for notebook. Configuration write max 8GB but hardware support 16GB. Chipset support 16GB processors support 16GB and mother board support 16GB. But BIOS BLOCK max memory
-
Does 10g DW builder support Sybase IQ 12.6 view for source?
Hi all, I have a view in Sybase IQ 12.6. Does 10 DW builder support it? Thanks
-
If I remember correctly, I had set Aperture 2 to import my images and assign the ProPhoto RGB color profile automatically. But for some reason, images I export from Aperture 3 all have AdobeRGB profile (which is how they come out of the camera). I tr