OADP - Column Employee Photo
Hi experts,
I have configured OADP (Object & data provider) for a special group of employees. So I defined my own rules with own function module for object selection and it´s working fine.
But I have a special requirement. I need a column with an employee photo. I found an example in the WDA´s of Talen Management -> Talent Information (HRTMC_TEAMVIEWER)
Our employee photos are stored in a content repository and via archivelink I able to use them. Like this
http://:/sap/bc/contentserver/100?get&pVersion=0046&contRep=Y2&docId=4D5540DB3F083762E10000000ABA706A
My idea:
- define a custom cloumn -> Z_PHOTO
- create a FM for Column Contents with a copy of HRWPC_RC_PHOTO ->Z_HRWPC_RC_PHOTO
- read with FM the URL of the photo
But the structure for column content doesn´t support something like URL.
Any assistance you can provide is appricated, thank you in advance
Andy
there are possibilities like
Define Columns
Verwendung
In this IMG activity you define columns and thereby specify the form, content, and function of each column.
Note:
Note that this view contains a customer namespace. Customer-specific entries must start with Y or Z.
The following dependencies exist for entries in the PCD Service and FM for External Link fields:
You must either fill the PCD Service and the FM for PCD Parameters fields, or only the FM for External Link field.
If you fill all three fields, the system ignores the entry in the FM for External Link field.
Similar Messages
-
Displaying employee photo during runtime
I form for employee master and i want to store all employee photo in file and have them displayed during runtime from the file
directory. That is when i query for an emp_no
the records along with the picture in the file directory should also come up?
nullYou'll have an image-item in your form and use read_image_file built-in. The image file has to be on the local client or on a network drive the client is connected to, and that will be quite a problem.
Another way to do, which is, by far, better is to have the image stored in a longraw column of a table in your database, as I did and it isn't too difficult.
Or, eventually, use BLOBS - which I haven't done so far. -
How to get (OAAD tcode) employee photo into sapscript / smartforms??
Hi!
I need to insert the employee photo jpeg (from oaad) into an sapscript or smartforms.
It's possible to do dynamically? (without file conversion)
ThanksHi,
I m providing u with this link, u may get some idea .
How to display the employee photo in a smartform
or
These are all the steps to upload the Photo.
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,
In all three columns there are minuses, don't 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
Thanks,
Mamta Kumari -
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 -
Hello Experts,
i am uploading a photo wih the help of abaper but problem is when i run t code OAC0 and create repository for that
storage type should be type as R/3 database .but when I am selecting it is not coming another option is comes HTTP CONTENT SERVER.
Wiil u plz help me out?
i used below step
Now Create the A2 repository with Tcode: OAC0
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.
Thanks and Regards
Jaydeep JadhavU can follow the following steps.
Configuring Employee Photos
Create Number Range
A number range must be created for SAP Archive Link.
Transaction code: OANR
For this process, additional authorisation is required for S_NUMBER = 03 ARCHIVELNK.
In u2018Intervalsu2019, create number range 01 from 0000000001 to 9999999999 without the external number flag.
This is likely to already exist.
Assign Documents Class
Document type HRICOLFOTO must exist with document class JPG.
Transaction code: OAC2
Table TOAVE
Document type settings
Document type HRICOLFOTO must be linked to object type PREL and Infotype 0002.
Transaction code: SM31
Table V_T585O (View)
Set all three columns here to minuses and don't put a flag in the check box.
Content Repository
Create a content repository with storage type FILE archive.
Transaction code OAC0
IMG: Basis Components --> Basis Services --> SAP Archive Link --> Basic Settings --> Maintain content repositories
Swap from display to amend. Select a current entry and u2018copyu2019 or just hit u2018createu2019. Then select .
Then fill in the details as below:
Choose a two character name u2013 can use Zx (where x is a number) if you wish to use the customer namespace
Choose the relevant description
Set DocArea to be u2018Archive Linku2019
Storage type u2013 set to R/3 Database
Protocol u2013 leave blank
Choose Version no. 0046 (or the latest one that is available)
Contents table u2013 set this to SDOKCONT1
Basic Path u2013 c:\ (this should be set to where the photos are all held)
Archive Path u2013 c:\ (this is the area from where the photos are retrieved)
Output Device u2013 can leave blank
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 a u2018copyu2019 and stores it elsewhere. The path may only need to be entered to u2018Arch.pathu2019, but entering to all three doesnu2019t seem to hurt.
Maintain the required Basis Service
Transaction code: SICF
Here you activate the Content Server Interface.
First you need to create a user profile u2013 with sufficient authorisations to carry out the processes which are done by the system in the background. Ideally this should be a background user for a notional/dummy user. You can use your own user ID after which SAP 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.
Double-click on u201Ccontent serveru201D in the left hand tree structure. You can find it under default_host --> sap --> bc --> content server
Once you have done this click on the refresh icon and make sure that the service is activated. If it is activated, the writing should be in bold (as opposed to greyed out)
Check which content repository (Archive) is linked to document type HRICOLFOTO in object type PREL
Transaction code: OAC3
Table TOAOM_C
Set the u2018Content Repositoryu2019 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!)
Link photo to personnel number
Transaction code OAAD
Click on the Create u2013 Store and Assign button. Enter Business Object PREL and Document Type HRICOLFOTO. Click on create(F8).
Enter the Personnel Number of the employee you want to link the photo to. -
How can i show employees photos in ADF?
hi,
i use jdev 10.1.3.2 and ADF.
with employees info, i want to show employees photos. how can i do this?
thanks.<p>
Hi,
</p>
<p>
See example no 85 on Steve Muench blog "<strong>Uploading Contents of af:inputFile to a BLOB Column</strong>".
</p>
<p>
Kuba
</p> -
Can't see employee photo in PA20
Hello,
I've followed the directions from SAP (https://wiki.sdn.sap.com/wiki/display/ERPHCM/AddEmployeePhotoonInfotype+0002) for setting up employee photos. I have been able to add a photo using OAAD and am then able in PA20 to select Extras>Display All Facsimiles to show the same in a viewer. I am unable to see it in PA20 however. I have followed instructions to make sure that table T588J, (IMG: Personnel Management --> Personnel Administration --> Customising User Interfaces --> Change Screen Header) is set up properly. Consistent with other instructions I have found I have an entry in T588J like the following...
Header Mod = 18
Line = 3
Column=75
IT=0002
Sty. = Blank
Field Name = PERNR
Fldty = PIC
I have re-generated headers. When I look at It 0002 in PA20 I see no photo.
Any idea what I'm missing?
Thanks,
DougThanks for the suggestion.
The following document has also been helpful.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/806cda54-610c-2b10-3089-85f254e318de
I made some progress and now know that Iu2019m able to change various header modifiers to show the photo. Iu2019ve discovered that it is there but not showing. I am able to right click at the spot where the photo should be and can see the object is there but not showing the photo. Any idea why this would be happening?
Thanks,
Doug -
Calling infotype 0002 in ALV report for showing employee photo
Hi all,
The requirment from business side is a report in which employees personal data shuold be shown with employee photo, I had tried for employee photo in ALV report but it didnt sucessed, then I went for other solution like calling transaction in ALV report.
In this case I am calling Infotype 0002 but the issue is that the transaction PA20 is coming with PERNR but I am not able to go directlly to infotype which shows employee Photo,please suggest any solution.
Thaks.
JAYHi Jay,
It is possible. Please refer the syntax for the CALL TRANSACTION
CALL TRANSACTION ta { [AND SKIP FIRST SCREEN]
| [USING bdc_tab [bdc_options]] }.
You can do a recording till the required page comes & call the transaction accordingly. Hope, you are aware about the same.
For example, I just had a solution to go to the roles tab in the user profile and I did as below:
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSUU5'.
wa_bdcdata-dynpro = '0050'.
wa_bdcdata-dynbegin = k_ok.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_CURSOR'.
wa_bdcdata-fval = 'USR02-BNAME'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'USR02-BNAME'.
wa_bdcdata-fval = g_value.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = 'SHOW'.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-program = 'SAPLSUU5'.
wa_bdcdata-dynpro = '0100'.
wa_bdcdata-dynbegin = k_ok.
APPEND wa_bdcdata TO it_bdcdata.
CLEAR wa_bdcdata.
wa_bdcdata-fnam = 'BDC_OKCODE'.
wa_bdcdata-fval = '=ACTG'.
APPEND wa_bdcdata TO it_bdcdata.
g_opt-dismode = 'E'.
g_opt-defsize = k_ok.
*** if user click on the User Name, call SU01
CALL TRANSACTION 'SU01' USING it_bdcdata
OPTIONS FROM g_opt.
Regards,
Selva K. -
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 -
Displaying Employee Photo using WDA in ESS
Hello Experts,
We have a requirement to dispaly employee photo in ESS.We are implementing ESS with Webdynpro ABAP.
we have created one archive link in R3(Content repository)
Please help me..
1) how to call this archive link from WDA...is there any standard WDA application in ESS
2) what is the correct process to display employee photo in ESS.
3)can we use Colloboration Demo role?
4) can we user Who's Who role? how we need to enable this role?
Please help..many of you have worked on this type of requirements..please share your thoughts and solutions..
thanks in advance for your help..
Regards
EP user1Dear Vinodh
Normally there might be many reasons for pics not getting displayed, as u have said that the photo is already visible in R/3 then u need to check the following things
1) check S_WFAR_OBJ authorization object has been maintained or not.
2) Access T-code PZUSWHO & check whether the following settings are maintained or not.
Check these links as it entails how to upload the Photos
How to upload photos in SAP
Employee Photographs Mass Uploading to Backend System (ECC)
Kindly come up with screen shots,
Hope this solves ur problem.
Cheers
Pradyp -
Get employee photo and display the photo in external system.
Hi,
We start to work with the portal....We want an application that display the employee photo..
The photo is the same one that appear in pa20/30...
We create the photos in OAAD and have a table repository.
How from here i can use this to build a RFC that return "data"..that from the external system we can show the photo,
Thanks.write a RFC which uses
'HR_IMAGE_EXISTS' to get the image document id and then use 'ALINK_RFC_TABLE_GET' to image in JPG format convert the returned RAW table to xstring format using SCMS_BINARY_TO_XSTRING pass the resulting xstring as the export parameter of this RFC .
portal application can now use this xsring to render the image.
Regards
Raja -
Employee photo is not updated in ESS Who's who service
hi colleagues,
i am facing an error when i am trying to update the employee photos in the who's who service of ESS.
when new photos are added against an employee number via tcode OAAD in the ECC system, they are updated against the record and can be seen in tcode PA20. however, the new photos are not getting updated in the who's who screen. we have tried clearing the cache (figuring there might be a problem with the browser.... we are using IE 7.0) but were still unsuccessful.
any advice will be greatly appreciated.
thanx,
Amerhello deb,
already did.... not working there as well. except for the first time during logon, it does not ask for any user id or password while viewing the photo in the portal. the photo gets updated in PA20, PA30 but does not get refreshed in the portal. the portal shows the same old photo.
any comments or advice would be helpful.
thanx... -
Employee photo is not displayed in ESS Who's who service
Hi colleagues,
Please help our colleague in this issue:
1) They have implemented correctly the procedure to display photos in PA20/PA30 and the current ITS based ESS who's who is displaying the photo.
2) They are trying to implement EP 7 with XSS BP 1.0 SP10 bold however in the Who's Who service the employee photo is not being displayed.
Best regardsHi,
Yo would have check the forum..
Display Photo in Employee Who is who search
Kind Regards
Hari Sankar M -
Employee Photo not displayed in ESS- Who's Who Services
Hi All..
My employee photo upload was successful in Quality System . I can also view the photo both in R/3 employee related facsmiles , header of PA20, PA30. and also the same photo's are displayed in ESS - Who's Who services.
steps I used-
OANR, OAC2, V_T585O, OAC3, OAC0 and for manual upload OAAD & OAOH.
For Mass Upload - program- OA_UPLOAD_AND_LINK
In production in the same way , all the photo's can be seen in the facsmiles but if I checked in Who's Who..Its coming like a outline with a red cross on top corner but without any photo.
Kindly give your valuable suggesions..
Thanks in advance...Hi Alok,
I am also facing the same issue in Prod Environment. If u r having the solution, please share with me.
I checked in NWA Trace is not registering.
currently i am facing issue with Employee Photo Under ESS--> Emp Search --> Change Own Data.
All my Employee Photos are uploaded in ECC, i am able to see from PA30 Header.
we are having same setup in QA- Environment , all the employee Photos we are able to see from Portal.
But in Production Environment, We are Having One Central Instance and Three application Instances and configured Load Balancing among Central Instance and Application Instances.
All the Servers Content Server in SICF t-Code is activated.
If i login into Prod Portal [either Centeal Instance or Application Instance] some time Employee Photo is Displaying Some time not,i.e No Photo at the top of corner X symbol. If i right click check on that URL, its poiting to the ECC server content server.
But If Not is Displaying --> Size is Showing Not Avaliable but Demension is Displaying.
But if Photo is Displaying ---> Both Size and Dimensions are Displaying Properly...
PHOTO URL Path When Photo is Displaying
http://xxx025.xxx.com:8011/sap/bc/contentserver/490?get&pVersion=0046&contRep=A2&docId=4CA926D07B816545E1000000AC16020B&accessMode=r&authId=CN%3DMRP&expiration=20101016091012&secKey=MIH4BgkqhkiG9w0BBwKggeowgecCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxzCBxAIBATAZMA4xDDAKBgNVBAMTA01SUAIHIBADFBNVRjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAxMDE1MDkwNjMxWjAjBgkqhkiG9w0BCQQxFgQUS%2BicVNGV7i6eSE8TXK5R3umNS%2FgwCQYHKoZIzjgEAwQvMC0CFQCPAZf3C48Lvl6i935mlsVqMw95owIUUJFedqFO2AoLGe6QCHHqBMSObIU%3D
Type : JPEG Image
Size : Not Avaliable
Dimension: 170*200 Pixels.
PHOTO URL Path When Photo is Not Displaying
http://yyy024.yyy.com:8010/sap/bc/contentserver/490?get&pVersion=0046&contRep=A2&docId=4CA927D07B816545E1000000AC16020B&accessMode=r&authId=CN%3DMRP&expiration=20101016091451&secKey=MIH3BgkqhkiG9w0BBwKggekwgeYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGBxjCBwwIBATAZMA4xDDAKBgNVBAMTA01SUAIHIBADFBNVRjAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAxMDE1MDg1NzQ3WjAjBgkqhkiG9w0BCQQxFgQUAP9cyWhLiOtkp4vwo9KK%2FPQtxWgwCQYHKoZIzjgEAwQuMCwCFDs729ib7fVKbiGKz5CPPd1YHch3AhR7NVgtXJI7ej07GiKMpG06lZPWoQ%3D%3D
Type : JPEG Image
Size : 3527 Bytes
Dimension : 170*200 Pixels.
We are always opening the Portal with Fully Qualifies Domain Name (FQDN)
Please suggets the Solution, how to get rid of this Porduction Issue.
Thanks & Regards
Ganesh -
How to maintain Employee photo in ESS who's who without sap_all and sap_new
Hi ALL,
Displaying Employee photo in ESS Who's who. it is working but with SAP_ALL and SAP_NEW user profiles.
My requirment is without SAP_ALL and SAP_NEW user profiles. how it is working where can i maintain authorizations for this issue.
The parameter i used are as follows:
Business obj: PREL
Doc type: HRICOLFOTO
Personal num: 00000094
Infotype: 0002
Photo type: .JPG
please help me.
Regaards
Satya.Dear satya .
Please check the following
1. Trace with the t.code ST01 and check that object require.
2. The portal require the following obect:
S_SERVICE
S_RFC
P_PERNR
PLOG
P_ORGIN/ P_ORGINCON
P_HAP_DOC, if you work with Appraisal Document.
3. Check the table T77S0
P_PERNR, P_ORGIN, y P_ORGINGCON
4. Check that you have the roles need for ESS.
SAP_ESSUSER
SAP_ESSUSER_ERP05
SAP_EMPLOYEE_ERP05
SAP_EMPLOYEE_ERP_13
SAP_EMPLOYEE_ERP05_xx
SAP_EMPLOYEE_ERP_13_xx
5. Check the following notes:
SAP Note 857431 - ESS: Authorizations and roles for WD services in ERP 2005
SAP Note 844639 - MSS: Authorizations and roles for WD services in ERP 2005
SAP Note 1373177 - Back end authorization roles missing in EHP4
SAP Note 824757.
[ESS Quick Start|http://www.cogentibs.com/pdf/cogsap08/ESS.pdf]
Hope is help you.
Regards
consultor_ess_mss
Maybe you are looking for
-
Gap in logs are too far to recover. Need to start over I think.
Hello, I have a dataguard setup and due to several circumstances the connection was lost to the standby and the archivelogs are gone for as far back as needed. I want to double check that this is the best method to get synched up again. On primary I
-
I can't figure this out: When I am on the "library" selection, I used to see a display of all the film rolls, listed separately. Now all I get is a scroll of photos with no indication of what film roll they are on. How do I set the view so I can view
-
NPE thrown while launching AK Pages from Apps Homepage
Hi, Tech. Stack Product/Component Version OA Framework 11.5.10 3CU Oracle Applications Extension 9.0.3.8.13 - build 1372 Business Components 9.0.3.13.87 UIX (Cabo) 2_2_22 BiBeans Runtime 3.1.0.70 nondebug BI Beans OAF 11.5.10 Production Release MDS 9
-
whenever i open my macbook the rainbow spinning wheel continues to spin and will not load PLEASE HELP
-
SWN CONFIG Filters and General Settings
Hi, I have entered one task in the Filter Settings and have scheduled the job. so when ever workitem related to that task is created, email is sent to outlook. I would like to add 3 more tasks to the filters so that email should be sent whenever the