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.
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 -
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 of user photos in EP
Hi All,
I have to do a mass upload of user photos in EP. I tried it in two ways.
1. In a network folder say
173.XX.XX.XXUserPhotos, I stored the photos and then I used the Mass photo upload iview, which is available inside collaboration demo role.
2. I created a new task and given the below parameters,
1. Task nameà MyPhotUpload
2. Upload from folder à
173.XX.XX.XXUserPhotos
3. Photo Typeà NORMAL
I clicked on save and then I run the task. I didnu2019t got any errors, at the same time I didnu2019t got any output also.
Then I tried it this way.
I created a nework path in System Administration à System Configuration à KM à CMà Global Services à Network Path (really sorry if I am being stupid)
Here I specified the network path and the login credential required to access this folder and named this network path as u201CMyNetWrkPathu201D
Now, I came back to mass upload ivew, there I deleted the old task and created a new task with
a. Task Name à MyPhotoUpload2
b. Upload from folder à MyNetWrkPath
c. Photo Typeà NORMAL
I clicked on Save and then I run the task. Again the same result. No errors no success.
PS: I already specified the photo type check and photo size check in System Administration à System Configuration à KM à CMà Global Services àUserPhoto
Somebody please help me.
Regards,
SrinivaSHi,
it seems the portal doesn't have permissions to read contents from this physical folder.
Try to import a sample photo with "apply checked conditions" unchecked in mass upload iView.
If that doesn't help then try to increase the trace level to INFO for this app in Visual Administrator and see what is causing
the problems.
The location is com.sap.netweaver.kmc.people.photo.admin .
Eventuallly try to import files from local folder instead of network share.
Hope this helps.
Regards,
Ladislav -
Mass upload for info records when price gets changes
Dear All,
How to do Mass upload for info records when price gets change.
Regards,
BhargavHi Bhargav,
Please upload the present price (Map) by LSMW . When you are doing the transactions then automatically by selecting option info update price will be updated the info record in Order Price history
Regards
M B Raju -
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] -
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 -
Use of ArchiveLink for Employee Photos - Performance
All,
We are currently using a simple web repository to surface employee photos in SAP and non-sap content. We're thinking about switching to ArchiveLink. We've configured ArchiveLink based employee photos in our sandbox environment and have an idea how that works. On one hand we'd like to pursue a standard SAP based solution for photos but are concerned that performance could suffer as the biggest consumer of our employee photos is SharePoint and SharePoint Search, sometimes serving up 25-100 photos per page. Does anyone have any experience with performance issues with employee photos in ArchiveLink?
Thanks,
DougHi.
The volume will be a challenge, if 0BPARTNER is the ONLY restriction in the query, but is that the case?
An alternative is to grant access based on either a custom grouping of 0BPARTNER into few categories or a grouping into fxTerritory, like you mention. You can do this in a separate cube for users who will have access to large numbers of business partners anyways, and use just 0BPARTNER in another cube for users who will have few business partners. If your users can not be split like that, fx because you also have users with not really many, but more than a few, etc, maybe you can use cubes partitioned by Territory or something else, for users who DONT have many business parterns. Like that, you reduce the "threat" from the volume
br
Jacob -
IP - Fox Code - Planning Function -How to do a mass upload for filters ?
Hello Guys,
I have a question regarding executing a planning function.
I have a planning function with filters
Profit center
Sales Order no
Line Item No
Fiscal Period/Year
From Indicator
To Indicator
This planning function is ideally used to change few records where the user enter a sales order no and line item no, profit center and all above parameters. It works fine.
But one user has a requirement where he has to do a mass update. I have to do it in batch or mass update for example about 100 line items
Sales Order Line Item
100 10
100 20
200 10
300 30
300 40
plus the profit center , from indicator and to indicator.It will be very tedious for the user to enter the values and it can't work . because it will take more time time to execute the planning function for each sales order and line item.
How to create the filter for above values. I will be getting a excel spreadsheet. I can ask the user to give in the above format like
sales order, line item, profit center, from indicator, to indicator,Fiscalyear/period.
Then I have to upload the excel spreadsheet to create the filter values and then execute the planning function.
We are using the Integrated Planning tool and planning function is in fox code.
Can you guys throw some pointers how to achieve the above solution.Thanks
SenthilHello Senthil,
There is a standard functionality of file upload ,which can be used in your scenario.
You can give the hyperlink directly to user either in WAD or excel where in that link user can select the varaible values for profit center ,sales order no etc for upload and at the back of this functionality you will be using the file upload planning function to load the data.
Can check the link below for more details:-
/people/marc.bernard/blog/2007/11/25/how-to-load-a-file-into-sap-netweaver-bi-integrated-planning-part-2
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90cef248-29e0-2910-11bb-df8dece7e22c -
Mass Upload for Historical Value in Forecast
Hi Guru,
Is there any way by which I can do mass upload of historical values (Total Consumption) in Forecasting Tab of Material Masters?
Regards,
PradeepDear,
Please use report RMDATIND, MVER_DI or BAPI_MATERIAL_MAINTAINDATA_RT
For more details please refer the OSS Note 200547 - Program: Direct input for consumption values
Regards,
R.Brahmankar -
IProcurement - "mass upload" for non-catalog request
I want to find a way to do a "mass upload" when creating a non-catalog request.
Some back ground; I am not A DBA or a software developer; I am an engineering manager. I work for a large company and have responsibilities for creating Purchase Requisitions. I work from vendor quotes that contain many lines items, and always do non-catalog request because I often get special pricing or simply have non-catalog items. There are several fields on the requisition web page that need to be populated and it's quite cumbersome and time consuming to copy and paste 6 different data fields for 50+ line items. Since these are fields on a web page that correlate to some back end database there must be a way to populate them more quickly and easily, with an upload template, or via an API.
It is very, very difficult to find the proper internal resources to help me address this problem, and when I do find the right people I'm pretty sure I'll be told "it can't be done" I don't believe it can't be done. It may be difficult, it may require some work, it may require some development efforts, but from a purely technical point of view, populating multiple data fields with minimal user input is certainly doable. I want to be armed with solutions when I finally find the right people at my company. So, anybody out there figure this one out already? Once I do I'll be glad to share but hoping it's a know and fixed issue.
Thanks!!You are looking for the requisitions Open Interface.
Get this PDF from the documentation for release 11* and read chapter 6, it will guide you through the import process.
*For some reason this document is not available for newer releases (11i, 12), so you would rely on Metalink to look for notes. -
Customizing for employee Photo 46.C
Hi All,
I need to store employee photo in R/3 database i.e. <u>Oracle database</u>.
I don't know how to fill entries in OAC0 and TOAAR_C to do this in 4.6C. All options I have tried always lead up to file storage and not database storage
Please, can anybody help me?
Thank you very much in advanceHi
Look at this
https://wiki.sdn.sap.com/wiki/display/ERPHCM/AddEmployeePhotoonInfotype+0002
try this. -
Mass Processing for employees in HCM Processes & Forms
Hi experts,
We are trying to implement mass processing in HCM Processes and Forms,
Could any one of you give us an overview how this works.
Any suggestions / documentation is appreciated.
Thanks in advance.Hi Nrupen
To be honest there is not much to it and the SAP documentation covers it really.
Enable the process to be mass processed.
Make fields visible/invisible/readonly in the columns using the field attributes
A singlle process is triggered for each employee in mass process table etc.
Do you have a specific issue?
Regards
Ian -
Report for employee photos / OAAD
How get PHOTOS which i have already uploaded with transaction OAAD into INFOTYPE 0002.
Our end-users need a SMARTFORM with employee data and photo of him/her.
I can not get this photos.
Best regards.There is an ESS (Employee Self-Service) Web Dynpro component called HRESS_C_PER_PHOTO which probably has the logic to do this within. Personally, I developed my own CHiP to show this in a Side Panel.
Maybe you are looking for
-
How do I add a signature to my messages
How do I add a signature to my messages. When I go to Settings and Messages there isn't a place for signature. Now what?
-
Compatible connectors for OIM 9.1.0
I am using OIM 9.1.0 but the problem is most of the connectors available for download are for the prior versions like 9.0.4 or before. And these connectors do not work with OIM 9.1.0 (Does not show in OIM Interface for Installation when copied to Con
-
Looking to pool all our songs onto one iTunes Match account. Is this possible?
-
I want to develope a web application using JSP, but I need to insert components such as buttons or sliders, in the same way Active X controls works with ASP. I don�t know how i can achieve my objective. I would very pleased if you could send me infor
-
Facebook Social Plugin don't working in the websites
I have the Firefox 18 installed on Linux Ubuntu 12.10 and the Plugin of comments are not working. I tried 2 sites, and I think there is a problem in the "use strict" that I have enabled in the about:config page, but I dont fint it again.