cancel
Showing results for 
Search instead for 
Did you mean: 

URL to make HTTPS:\\ instead of http:\\

Former Member
0 Kudos

Hello Experts,

Please find the below issue,I am using class /sapsrm/cl_url_service=>get_url to get the URL for a particular PO,which will be used by third party.

CALL METHOD /sapsrm/cl_url_service=>get_url

       EXPORTING

         iv_bo_type    = 'BUS2201'   <-- BUS type of BO  

         iv_url_scope  = 'INT'       <--Link is for internal / external users can be INT or EXT

         it_url_params = it_url_params

       RECEIVING

         rv_url        = url.

Output of this class is : http:\\...... but my client requirement is,they need it in secured way i.e: Https:\\

Please let me know if you have worked on this before.

Thanks&Regards,

Chitra

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member216093
Contributor
0 Kudos

Hi Chitra,

Please check the following setting for portal in SRM SPRO if this is helpful. This needs to be https.

Regards,

Ravi

former_member184111
Active Contributor
0 Kudos

Hi Chitra,

Try using the FM BBP_OUTPUT_GET_SERVICE_URL. Though it uses same method but URL has HTTPS as prefix.

Thanks,

Anubhav

Former Member
0 Kudos

Hi Anubhav,

Thanks for your reply...

I tried this FM by using some PO Guids but still i could see HTTP only not HTTPS,

Is there any Config point where we do the settings?

Thanks,

Chitra