Uploadation of employee photo
Ii am going to upload employee photo. Does anybody know the configuration setting, transaction for this step and also please tell me what is the format i will use for pics....
Hi,
Please refer to earlier posts or go through this link for your query...
http://www.sd-solutions.com/SAP-HR-Employee-Photos-v4.6.html
Similar Messages
-
Mass uploading of employee photos.
Hi Experts,
I am uploading one employee photo in ecc 6.0,Thats completed successfull.Now i am planning to upload bulk number of employee photos in to sap as well as in to ESS.I am tried to upload of 2000 employee photos through bdc ,but while running the BDC its asking the selection of employee photos from the location.So kindly update your views on this how to upload all employee photos with out manuall selection of photos.
how can we update our photos in ESS once we completion of photos updation in sap.
Thanks & Regards,
arjuncheck this thread
Mass upload of employee photos in OAOH -
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. -
Upload Massive Employee Photo into SAP - Archive link - SAP ECC 6.0
Dear all,
I try to insert the employees photo in Archive Link (release 46).
I write a massive report to do a batch input, but I cannot insert the path and the name of the picture.
Because the BTC don't memory the "call method cl_gui_frontend_services=>file_open_dialog"
I wrote the folowing report
*& Report ZHR_BDC_UPLOADPIC
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_OKCODE'
'=NEW'.
PERFORM bdc_field USING 'TOAOM-SAP_OBJECT'
'PREL'.
PERFORM bdc_field USING 'TOAOM-AR_OBJECT'
'HRICOLFOTO'.
PERFORM bdc_dynpro USING 'SAPLOA12' '0200'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=OK'.
PERFORM bdc_field USING 'OBJID-VALUE(01)'
it_data-rp50g-pernr.
PERFORM bdc_field USING 'OBJID-VALUE(02)'
'0002'.
*---- not exist - begin
* 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'.
*---- not exist - end
PERFORM bdc_dynpro USING 'OANEWCON' '0100'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/EBACK'.
PERFORM bdc_transaction USING 'OAOH'.
CLEAR it_data-rlgrap-filename.
ENDLOOP.
PERFORM close_group.
Could you help me to understand a different method to upload the pictures?
Thank you in advance.
Best regards
Luca MoschioniHi,
for uploading the photograph you need to do some customization.
1. Initial customization
Execute transaction code OAQ1 and put X in all the boxes.
Execute t code OAB4 and schedule the job
Execute t code SPAD and configure an output device
Execute T code OANR and configure the number range
Execute T code OAGI and deactivate Print list management system
EXecute T code SA38 and execute program RAPARAM and check for rspo/archive_format and make sure it should have 2 assigned on it.
2. Execute t code OAC0 and configure content repository
Execute t code OAC2 and make your document type
Assign JPG doc class to your doc type made in OAC2 in t code OAC3.
3. Now go to transaction code OAD5 and configure your settings
Come to t code OAWD and upload all your scanned photo to SAP
I know the procedure is tedious and lenghthy but there is no way out.
If it helps you then reward it.
Enjoy
For further help contact at [email protected] -
Mass upload of employee photos in OAOH
Dear all,
In OAOH transaction, if you type in the business object PREL, and doc type HRICOLFOTO, a small dialog box appear and you type in the employee no. Afterwards, another window dialog box appear prompting the file name/path....
I would like to know if there is any method to mass upload thousands of employee photos, since batch input does not work in the file/path selection screen (window's dialog box)
Thanks a lot for your help !
patrickHi Patrick,
Generally it is not suggested to Upload Photograph using Mass Upload.... normally it is one to one ... one perer at a time.
But if its too urgent and critical then fallow this steps.
1) Store the Photograph of the Employee as the PERNR.JPG (PERNR = EMPLPYEES PERSONNEL NUMBER) at a predifined location.
2) Have a text file with all the pernr for whom you want to upload the photo and the JPGs you have in the folder.
3) Use this Function module with the loop for all the PERNR
* Function module to update Tran OAAD
* Create file path (Directory)-(Employee No.).JPG
CONCATENATE 'dir where the file is stored' wa_pernr-pernr '.' 'jpg' INTO lw_path.
* Assign Values
lw_ar_object = text-002. "HRICOLFOTO
lw_object_id = wa_pernr-pernr.
lw_sap_object = text-003. "PREL
lw_doc_type = text-004. "JPG
CALL FUNCTION 'ARCHIV_CREATE_FILE'
EXPORTING
ar_object = lw_ar_object
* DEL_DATE =
object_id = lw_object_id
sap_object = lw_sap_object
doc_type = lw_doc_type
path = lw_path
EXCEPTIONS
error_conectiontable = 1
error_parameter = 2
error_archiv = 3
error_upload = 4
error_kernel = 5
no_entry_possible = 6
error_comunicationtable = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
This will help you to create the Archive link.
Hope this helps you.
~Bhawanidutt -
Mass upload for employee photos (IT0002)
Hi I would like to do a mass upload of employee pics to R/3 . I have tried the FM, ARCHIV_CREATE_FILE and it was uploaded successfully but I'm unable to specify the infotype. which for my case I would need it to be in IT0002.
I've tried the BDC program
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erphcm/add%2bemployee%2bphoto%2bon%2binfotype%2b0002
But the pics are still not appearing.
Anyone has this issue befofe?yes. I have tried to upload it manually and it is working. But when I run the program it doesn't work. Could it be the path that I need to specify? Because the client uses IXOS software(links with the 4.6c) to upload the pics and doc. I'm not sure is this the reason it is not working.
-
How to know whether employees' photo were uploaded?
Hi SAP Gurus,
We have uploaded some employees photo thru BDC. We need to know the gaps. Is there any standard report in SAP thru which we can get the data of which employees photos got uploaded and who are left out.
Thanks in advance.
Best regards,
SoumyajitHi,
Is there any report that will give us the entire list of employees, including those whoes photo have been uploaded and those who were missed out.
Points awarded.
Best regards,
Soumyajit -
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 -
Hello experts,
I want to upload the employee photos in SAP B1 v8,8.
I was wondering if there is a preferred or suggested picture type (JPG, bitmap) and what size is suggested for the image?
Any comments?
Looking forward to your reply,
Kind regardsPam,
You could attach any size pictures with any format but I always suggest our b1 customer to use jpeg or png files that use small size.
The main important things to know is that the picture is store in the path you have defined in the general settings and not in the B1 table. So, the more biggest size will increase the harddisk space.
JimM -
Regarding Employee Photo in ESS
Hi,
In ESS there is a photo in one of the iview.
I want to know where is the photo physically stored.
What is the procedure to upload all employee photos in bulk.
I want to know can I use any Content management system to upload photos or can I use SAP Portal Knowledge management.
Please explain me in detail.
Will these photos effect the system performance
Thanking You,
SwathiPhotos are uploaded in SAP by transaction OAAD....
-
Very Important: Employee photo on module pool screen: Points assured
hi all
I have uploaded the employee photos using tcode OOAD.
Now in a module pool program, i need to show the emloyee's photo on the screen alongside the employee's other details..
Please let me know how to get the employee photo on screen.
thanks in advance
<b>Points assured </b>You can use the PICTURE CONTROL for this. Check the Link for further details
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIIMAGE/BCCIIMAGE.pdf
http://help.sap.com/saphelp_erp2004/helpdata/en/9b/d080c09fc111d2bd68080009b4534c/frameset.htm
Also check the program RSDEMO_PICTURE_CONTROL
Message was edited by:
Abhishek Jolly -
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 -
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. -
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 -
Report on employee photo upload [HRICOLFOTO]
Hi Experts,
Have gone thru many posts regarding photo upload, but is there any report or table which gives PERNR wise details for all the uploaded photos?
Basically I want to know for how many employees photos have not been uploaded or the other way will also do.
Have checked content repository table SDOKCONT1 but not of much help.
Please help on the issue.Hi,
Run report OAADMILI via SE38 for the relevant content repository.
There restrict the output to PREL object.
There you'll see all the personnel numbers who have a photo in the SAP Object ID column (along with the infotype number e.g. XXXXXXXXYYYY where XXXXXXXX is the personnel number and YYYY is the infotype)
Regards,
Dilek
Maybe you are looking for
-
Disk error after upgrading to Mavericks
Mountain Lion was runnning slowly on my Macbook Pro and so I decided to upgrade to Mavericks and then follow the defrag instructions here: https://discussions.apple.com/docs/DOC-4032 Everything seems to work fine after completing the instructions, ex
-
My iPod Touch 4 is stuck in recovery mode & iTunes doesn't recognize it
I ran an IOS Software Update on my Ipod Touch 4, during which the Ipod totally locked up. Then the iTunes icon appeared on the screen, with a power cord symbol. I plugged it into the computer, and opened up iTunes. iTunes said the iPod was in recover
-
My logic dosen't work - help me please
Hello, I'm having a small trouble. Here is the problem. I have a jsp page, which I used to enter data. There is a textbox called nicno. Now I want to verify that, if a user enter a valid nicno or not. Here is the .jsp page which I use to enter data.
-
10.6.6 update killed Hard Drive - endless problems
Like most people posting here the 10.6.6 update went fine at first, the App Store worked perfectly (of course...), then I tried to move a file to my External HDD and I got Error -36. I rebooted. Grey Screen with the spinning wheel never ending. Ran a
-
Snice the latest Yosemite update I am experiencing ISP failure On my 2014 iMac. Repaire with diagnostics but fails again. My iPad and phone are working fine. Router working fine. Help?