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 user1
Dear 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
Similar Messages
-
How to Print Employee Photo using Smartform
Dear All,
I have requirement to print Employee photo using Smartform.
Here I want to give breif backgorund to uploading employee image procedure,we are uploading employee Image using transaction code OAOH by providing Business Object PREL and Document Type HRICOLFOTO. Click on create button on second screen by providing employee Code XXXXXXX and infotype 0002 after click on enter button system ask path for uploading image file.After storing image we can see the employee image by using transaction code PA30 after passing employee code.
These employee image I want to print in Smartform layout.If any body have done this type of the requirement.Pl.explain me .
Thanks ,
RegardsHi ABAP Programmer,
Refer this link
i want to retrieve a photo image of an Employee to display in smartforms
Regards,
Sravanthi -
How to display employee photo in pdf through WebDynpro OR ABAP print Progr?
hi,
I have uploaded employee photos using TCODE OAOH. Now all the employee photos are stored in Archive link.
Now my requirement is i have get the employee photo and display it in PDF using PDF forms and webdynpro OR using ABAP print program.
I am able to get the employee photo from SAP archive link using ABAP code. After this i have to upload this to MIME reository. From MIME repository i have to display it in PDF forms from WEbDynpro.
I tried with ABAP print program, directly calling the PDF form in program and display the employee data with Employee Photo. With my program i am able to see only employee data. But it's not displaying employee Photo.
Plz any helps to display employee photo in PDF forms using either webdynpro OR ABAP printprogram.
If ur reply is related to WebDynpro, pla tel me how to upload photo to MIME repository From Archive Link.
Since all the employee photos are uploaded into Archive link using Tcode OAOH. From this i have to get the employee photo and upload it to MIME repository and i have to display it in PDF forms.
Any help are appreciated.......
Regards,
Shankar.Hi Sankar,
1)You can use the program BSP_UPDATE_MIMEREPOS to upload the photos in the mime repository.
2)Use the following code to get the content from your mime and set the content to your interactive UI element as Xstring format.
data:
mime_repository type ref to if_mr_api,
content type xstring,
url type string value '/SAP/BC/BSP/SAP/myBSPapplication/rajkumar.jpg' .
mime_repository = cl_mime_repository_api=>get_api( ).
call method mime_repository->get
exporting
i_url = url
importing
e_content = content.
wd_context->set_attribute( name = 'DATAS' value = content ).
Thanks,
Rajkumar.S -
Displaying Employee Photos in Visual Composer
Hi,
I am having a requirement of displaying the employee photo's in a visual composer,
Is there any standard RFC function module to display Employee photo??
If any body know's please let me know...........
Thanks & Regards,
BalaHi Elizabeth
I've installed the the NWVC60_0-20000504.ZIP as well as the NWVC60P_2-20000504.zip content (https://websmp106.sap-ag.de/download - "search all categories" - type "visual composer*").
But it still doesn't seem to work.
Any ideas?
Best regards
Ole -
Displaying Employee Photo in smartform in SAP-HR
hi all,
how can i display employee photo in smartform which is not uploaded in the sytem with tcode se78 but throgh diff tcode (OAAD) by HR functional. There are mainly two parts: 1. Procedure to retrieve that photo from the system
2. Display it in the smartform.
This photo is stored as graphics and so in smartform i am unable to put the name in graphic option which we normally follow.Please suggest what can i do.
Regards
RajTHe below links should help you
Smart forms
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Try to upload the pictures via SE73 as it's described in the Online help.. As far as I remember it works all the mentioned formats
Please check this FM perhaps they may help.
HR_IMAGE_*
HRWPC_RFC_EP_READ_PHOTO_URI
HR_ESS_EMPLOYEE_PHOTO_CHECK
HR_ESS_EMPLOYEE_PHOTO_INIT
HR_ESS_EMPLOYEE_PHOTO_RESET
HR_ESS_EMPLOYEE_PHOTO_SAVE
HR_ESS_EMPLOYEE_PHOTO_SHOW
HR_ESS_EMPLOYEE_PHOTO_TAKE
Reward points if found helpful .
Cheers,
Chandra Sekhar. -
How to Displaying Employee Photo in ESS Who's Who via Reverse Proxy?
Dear Gurus,
I have a bit of problem to displaying employee's photo in ESS Who's Who via Reverse Proxy.
In my landscape, end-users are only able to reach the Reverse Proxy server, not the actual SAP server itself.
In Who's Who, when displaying the employee's info, the URI for the photo is generated using the actual SAP server name.
Illustration:
- the URI we expect: https://portal.domain.com/sap/bc/contentserver?.....
- the URI we get: http://r3server.domain.com/sap/bc/contentserver?....
Does anyone know where/how I can set the URL (hostname and protocol part) to refer to my reverse proxy?
Or is it because SAP is using an absolute path rather than the relative one?
How do we go about it?
Thanks in advance.Dear Barinbhai,
How are you? We are fine at here!!!
Following URL generated thru Portal
System generated : http://p30app06.ril.com:8000/sap/bc/contentserver/430?get&pVersion=0046&contRep=7N&docId=4D2155EB6C32545BE10000000A42163F&accessMode=r&authId=CN%3DQ10&expiration=20110215052004&secKey=MIIBkwYJKoZIhvcNAQcCoIIBhDCCAYACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAV8wggFbAgEBMBMwDjEMMAoGA1UEAxMDUTEwAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMTAyMTQwNTIwMDRaMCMGCSqGSIb3DQEJBDEWBBTJCER2r9%2BifbQPOtCqJdAoJ99NTzCBpgYFKw4DAhswgZwCQQCJ%2FPuWmHE5m%2Bd1vtX464doAJIsN2SmIpBAUe7jLGtmAD7F6ElSWOtC6uMuXUPisyKr3lRQ6IOC1ZhVPsnnXJsZAhUAtGAwyGWTqdJdd7nwrXKA7T%2B3GVcCQBUQxMBImvHdAsIyF3DmBtPwHcPpyCyBbJ737ivcuw2qjdJeGttSqR8GGuPn0DmzF36%2BUSnLRxZVNPn6nUbnPx0ELjAsAhR7G1vGjngjoll50RhWKcDlBTvVKgIUZ1NlQXMe61LXcqsTGsz7r28Kzh0%3D
Photo opening directly on following URL:::
Desired URL : http://ess.ril.com/sap/bc/contentserver/430?get&pVersion=0046&contRep=7N&docId=4D2155EB6C32545BE10000000A42163F&accessMode=r&authId=CN%3DQ10&expiration=20110215052004&secKey=MIIBkwYJKoZIhvcNAQcCoIIBhDCCAYACAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHATGCAV8wggFbAgEBMBMwDjEMMAoGA1UEAxMDUTEwAgEAMAkGBSsOAwIaBQCgXTAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEPFw0xMTAyMTQwNTIwMDRaMCMGCSqGSIb3DQEJBDEWBBTJCER2r9%2BifbQPOtCqJdAoJ99NTzCBpgYFKw4DAhswgZwCQQCJ%2FPuWmHE5m%2Bd1vtX464doAJIsN2SmIpBAUe7jLGtmAD7F6ElSWOtC6uMuXUPisyKr3lRQ6IOC1ZhVPsnnXJsZAhUAtGAwyGWTqdJdd7nwrXKA7T%2B3GVcCQBUQxMBImvHdAsIyF3DmBtPwHcPpyCyBbJ737ivcuw2qjdJeGttSqR8GGuPn0DmzF36%2BUSnLRxZVNPn6nUbnPx0ELjAsAhR7G1vGjngjoll50RhWKcDlBTvVKgIUZ1NlQXMe61LXcqsTGsz7r28Kzh0%3D
Pls sugget..
Hitesh Khatri
SAP -HR
RIL - Navi Mumbai.... -
Asking R/3 system credentials for displaying Emp Photo in COD in ESS
Hello All,
I am facing issue with Employee Photo display in Change Own Data Service in ESS, while i am opening that link its asking backend system details.
Earlier i only raised thread on Same issue, but i used the FQDN to open the Portal , then onwards without asking credentials Emp Photo is displaying. I thought it is the solution , now again i am facing the issue both in COD in ESS , Photo Display in MSS.
But now again asking the credentials in COD in ESS and also Photo Display in MSS General information also.
While asking credentials if click on Cancel Photo is not displaying, but if goto back or any other service and open the COD EMP Photo is displaying.
Is there is related any SSO Problem? All My employees Photos are stored on backend (ECC), i am able to see from PA30 and PA20.
Please suggest me the solutin.
Thanks in Advance
AdapagHello Adapag,
Sorry for the dummy question, but you said that by using fqdn solved the issue, right?
So, now it`s not working even using fqdn?
Regards,
Bentow. -
Asking ECC System Credentials while Displaying Employee Photo in CODService
Hello All,
Currently we are having requirement like , need to display the employee Photo from Portal.
Already all the Employee Photos are Uplaoded in the backend, i can able to see employee photos on Hearder in PA30.
While Displaying the Employee Photo from the Portal using COD Service, it asking the ECC System Credentails.
What Configuration steps need to follow to display the Employee Photo in CHange Own Data Service from the Portal with out asking the backend system Credentails..
Plz Share some inputs to fix the issue..
Thanks in Advance
AdapagHi Pramod,
Thanks for the reply, we stored all our employee photos on ECC System Only...
If i enter the Personal No: in PA30, i am able to see the EMployee Photos on the Header..
But While accessing the COD Service from the Portal, asking ECC system credentials to display the photo.. If i am providing the Credenials Employee Photo is displaying .. other wise Blank Image Displaying...
Siddarth suggested its due to SSO problem, if its sso issue, how come i login into portal without any errors currently we are using ABAP UME both Portal and ECC Login details r same...
Please Suggest me how to fix the issue...
Thanks in Advance
Adapag -
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. -
Displaying Employee Photo thru Web Service
Hi,
I am having a requirement of displaying the employee photo's thru weservice, in asp.net application.
Is it possible?
If anybody knows..
Guide me to close this issue...
Thanks & Regards,
Balajee Jeyaraj .Hi Pramod,
Thanks for the reply, we stored all our employee photos on ECC System Only...
If i enter the Personal No: in PA30, i am able to see the EMployee Photos on the Header..
But While accessing the COD Service from the Portal, asking ECC system credentials to display the photo.. If i am providing the Credenials Employee Photo is displaying .. other wise Blank Image Displaying...
Siddarth suggested its due to SSO problem, if its sso issue, how come i login into portal without any errors currently we are using ABAP UME both Portal and ECC Login details r same...
Please Suggest me how to fix the issue...
Thanks in Advance
Adapag -
Employee photo is missing in ESS portal.
Dear Experts
In ESS portal employee photo is missing.
Config ESS in R3 system
1.Table T77S0 ADMIN PHOTO HRICOLFOTO.
2.Maitain ESS Setting, Display Employee photograph is flagged.
under change who who data, both option is flagged.
Please guide me ,i'm i missing any configuration.
Regards
VinodhDear 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 -
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. -
The current set up is that I have my home network both in wired and wireless mode. All MACs are connected wireless through the dual band router (2.4 GHz) and have access to a wireless shared printer. I have also wired connected my TV through the router to access the Internet. I have an Apple TV wireless linked to the router (5 GHz) to play films on the TV
There are a few things I want to do.
I want to store my music and photos on the TC such that I can a) play music on any laptop, via the SONOS system or TV
I want to configure my SONOS bridge to be able to recognise that music is on the TC or pull music via Spotify
I want to be able to play music stored on the TC or display photos stored on the TC on the TV
I want to extend the network of the router without creating a new network
Any suggestions ?If you store itunes andn iphoto library on the TC you could be in trouble. The TC has no auto backup mechanism.. it is simply unable to work as a true NAS. It has no media servers. It is slow.. it is very easy to corrupt libraries especially in connection over wireless. In general we recommend people do not do this.
If you go ahead anyway.. apple have specific instructions for moving the libraries.. do follow it.
I am not sure if the SONOS can play directly from itunes library or has to use an itunes server.. remember the TC is a dumb as a board router with no media servers. Apple TV also need an active itunes to work AFAIK.. you cannot play files.. unless you JB the ATV.
Also be careful as SONOS does not like apple names.. use all SMB compatible names.. short, no spaces pure alphanumeric.
Finally yes,.. at last .. you can extend the wireless in the TC using another apple router.. you cannot extend wireless using any other brand. -
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 -
Hi SDN Gurus,
I want to display employee photo in my custom webdynpro abap application. Im using Document Area as blank, Storage type as SAP System Database and Rep. Sub-Type as Normal and Content Table is SDOKCONT1 in tcode OAC0.
I have written a FM to output the photo from table SDOKCONT1 which is of data type LRAW.
though im not able to get the image in Webdynpro component.
Are there any alternate ways or work arounds for this? Please help as i just want to display employee photo in my webdynpro application anyhow.
Appreciate your help.
Regards,
Vinayak
Edited by: vinayak landge on Mar 28, 2011 3:27 PMDATA:gx_mimetype TYPE string VALUE 'JPG'.
data lv_url type string.
****Create the cached response object that we will insert our content into
DATA: cached_response TYPE REF TO if_http_response.
CREATE OBJECT cached_response
TYPE
cl_http_response
EXPORTING
add_c_msg = 1.
TRY. " ignore, if compression can not be switched on
CALL METHOD cached_response->set_compression
EXPORTING
OPTIONS = cached_response->co_compress_based_on_mime_type
EXCEPTIONS
OTHERS = 1.
CATCH cx_root.
ENDTRY.
****set the data and the headers
DATA: l_app_type TYPE string.
DATA: l_xstring TYPE xstring,
i_cache_timeout TYPE i VALUE '300'.
cached_response->set_data( lv_raw ).
l_app_type = gx_mimetype.
cached_response->set_header_field( name = if_http_header_fields=>content_type
value = l_app_type ).
****Set the Response Status
cached_response->set_status( code = 200 reason = 'OK' ).
****Set the Cache Timeout - 60 seconds - we only need this in the cache
****long enough to build the page and allow the Image on the Client to request it.
cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
DATA LR_PHOTO TYPE REF TO if_wd_context_node.
DATA ls_PHOTO TYPE IG_COMPONENTCONTROLLER=>ELEMENT_PHOTO.
DATA: i_path TYPE string VALUE '/sap/public',
i_format TYPE string VALUE 'JPG'.
****Create a unique URL for the object
DATA: guid TYPE guid_32.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_32 = guid.
CONCATENATE i_path '/' guid '.' i_format INTO Lv_URL.
****Cache the URL
cl_http_server=>server_cache_upload( url = Lv_URL
response = cached_response ).
lv_raw is the raw string of the image.
lv_url is the URL bind this to Image UI element source property.
Maybe you are looking for
-
Hi , using the user_segment and especially the blocks column , i get the following results (in scott schema): SQL> select segment_name , blocks from user_segments where segment_name in ('DEPT','EMP'); SEGMENT_NAME
-
After an upgrade of acrobat reader 9 to acrobat reader 11 the automatic printing of a pdf. The pdf is opened, but the print does not happen. With acrobat reader 9 it works. But with acrobat reader 11 the printing does not happen. I discovered when yo
-
I recently got a Sun fire x4100 server, which does not have an OS loaded. I am able to connect to ILOM (version 2.0.2.1) through the Serial management port and using SSH in Putty. I can also get to the web admin page and launch the remote java consol
-
I have two airport express routers connected wirelessly using extend a wireless network. one of them connects to a adsl modem via ethernet. The problem is that one of the routers (the one extending the range) needs to restart every day, sometomes twi
-
removed_by_mod How can I get technical information of screen fields by FM?
Hi, experts. I want to get technical information of screen fields by using any FM. Actually, I know the screen field name and I need which DATA ELEMENT IS ASSIGNED to the screen field. Thanks for your answers in advance. Edited by: Julius Bussche on