If you are using SAP HANA, express edition 2.0 SPS03 or higher, you can do this from the XS Advanced Cockpit. If you are using a lower version or do not have access to the XS Advanced Cockpit, scroll down.
Alternate between incognito and normal mode in your browser or use a different browser to open a new window and log in with XSA_ADMIN
. In SAP HANA, express edition the default URL for the XS Advanced Cockpit is https://hxehost:51036
.
You can use the XS CLI and commands xs a | grep xsa-cockpit
to see the status and URL for the XS Advanced cockpit
Navigate into the HANAExpress
organization (or the organization where your development space is) and into the User Provided services in the development space. Click New Instance.
Call the service EXTERNAL_HTTP
and replace the JSON
definition with the following set
{
"host": "www.loc.gov",
"port": "80",
"tags": ["xshttpdest"]
}
Click Save
If you do not have access to the XS Advanced cockpit, you can use the following command from the XS CLI.
Make sure you are in the same space as in the application in SAP Web IDE for SAP HANA. You can use command xs target -s development
to switch to the development space.
xs cups EXTERNAL_HTTP -p "host","port","tags"
You will be prompted for the values. Use the same as in the JSON
definition above.