cancel
Showing results for 
Search instead for 
Did you mean: 

~hostsecure & ~language, is it still used?

Former Member
0 Kudos

Are either of these parameter still used?

We used ~hostsecure to determine which links to use based on what server it was running off of. Dev / Prd

Also is language still used in SAP as far as appending it to the URL to pick up the right language? So far I've tried to append it onto a http://somesite.com/zprf?theme=99&~language=en, but it doesn't seem to read it in and select the right language. It chooses anything but en.

Accepted Solutions (1)

Accepted Solutions (1)

former_member316351
Active Contributor
0 Kudos

Hello VatHB,

~hostsecure and ~language are still valid on the External ITS 6.20.

On the Integrated ITS 6.40 and higher these are no longer valid. The ~hostsecure has no replacement as the ICM and ICF are responsible for this. The ~language though can be replaced with sap-language. So your URL would work for English if you use:

http://somesite.com/zprf?~theme=99&sap-language=EN

Edgar

Former Member
0 Kudos

Can that sap-language be used in the templates also?

In the old version on our templates we had a `if` statement to check if ~language == "en", so is it possible to use sap-language == "en" on the templates too?

Answers (1)

Answers (1)

Former Member
0 Kudos

Ok, it ended up working within the templates too...

Thanks...