cancel
Showing results for 
Search instead for 
Did you mean: 

URL generation of Change Own Data Photo

Former Member
0 Kudos

Hello,

The URL for employee photo under ESS "CHANGE OWN DATA" application is getting generated via FM HRWPC_RFC_EP_READ_PHOTO_URI.

This FM is returning the URL as http://<server>:<port>/sap/bc/contentserver.

Now the <server> in the above url points to the ECC server url. This ECC serevr url is NOT accessible over intenet for our environment. Becaus of this photo is NOT visible over internet though the same is working fine within our INTRANET.

We want to change the <server> url with the webdidpsatcher url so that the final url that will be returned by the FM will be

http://<webdispatcher>/sap/bc/contentserver.

Can anyone please suggest where exactly we need to make the setiings for this. Do we have to modifty the FM itself OR this can be done through configuration?

Regards

Deb

Accepted Solutions (1)

Accepted Solutions (1)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

It seems that it is something to look into the entries in the table

HTTPURLLOC. Please can you check the url here?

The URL is generated from the FM HRWPC_RFC_EP_READ_PHOTO_URI,

So check it from here correct URL is generated or not

Please review documentation :

http://help.sap.com/saphelp_nw04s/helpdata/en/59/31ae42e0fac911e10000000

a1550b0/frameset.htm

Please review below SAP Notes :

1033071

685521

Please also check the attached note 712330.

Also take a look at notes 1094976 and 1289938 too.

You would need to do the repository settings in order to enable https

communication. Kindly follow the below steps for your photo repository:

1. Go to transaction OAC0 and select the repository

2. In edit mode, type %https in the command field for advanced settings.

3. Now select "HTTPS required" from the dropdown for both HTTPS on

frontend and HTTPS on backend. Save the settings.

Please also refer the notes 712330,712332.

Currently we generate a HTTPS URL to acces the photo to the R/3 system.

But since there is no https service active in

R3, we do not get any response and thus no photo is displayed.

You can check services available in R/3 system using transaction SMICM

and usingn menu path Goto-> services. . I did see HTTPS service

activated this is correct.

Maintain an entry in the table HTTPURLLOC with following details:

protocol: https

host: <web despatcher host name>

port: <web despatcher port number>

This will ensure that the URL will be generated to web despatcher and

not backend and if the HTTPS service is active in Web Despatcher, then

we will get the response and photo will be displayed.

Former Member
0 Kudos

Hi Siddharth,

Thanks for the information. As per instruction HTTPS webdispatcher url is already maintained in the table HTTPURLLOC. Also the content server both frontend and backend are maintained as "HTTPS POSSIBLE".

But the url that is generated by the FM is HTTP and NOT HTTPS. As no http protocol for the webdispatcher url is maintained in the table HTTPURLLOC, the HTTP ABAP system url is NOT getting converted to the webdispatcher URL that is being returned by the FM.

I tried maintaining the HTTP URL of the webdispatcher in the HTTPURLLOC table, and the final url that is generating is of HTTP webdispatcer url as per expectation. But since HTTP port of webdispather is blocked from outside(internet) we have to generate HTTPS webdispatcher URL only.

Is there any settings that is required so that url that is generated is of HTPS protocaol and NOT HTTP.

We have the landscape as below.

Web dispatcher (https)-> Portal (http)

Web Dispatcher (https) -> ECC (http).

Regards

Deb

Former Member
0 Kudos

Hello,

In the contentserver we have changed "HTTP Possible" to "HTTP Prefered" and the url that is generated is of HTTPS. This solve our problem.

Thanks

Deb

Answers (1)

Answers (1)

Former Member
0 Kudos

you can try changing the parameters of your instance profile via transaction RZ10

icm/host_name_full

icm/server_port_0

icm/server_port_1