Skip to end of metadata
Go to start of metadata

The table HTTPURLLOC is used to determine the protocol, host and port when the ABAP system generates URLs - for example, to use public URLs instead of technical URLs like <host>:<port>.

In SAP_BASIS release 740 and higher, the table can be maintained with the HTTPURLLOC transaction, as explained in the SAP Note 2780619. In lower SAP_BASIS releases (up to release 731), the table can be maintained directly in the transaction SE16 - the entries should be made in upper case letters.

Fields and their meanings

MANDT

Client for which the configuration is performed. For instance, the host name could be server.abc.com for client 100, while it could be www.xyz.de for client 200.

SORT_KEY

Sort sequence of entries. Entries are checked in this sequence and the first matching entry is used.

PROTOCOL

Protocol for which the URL will be generated. It can be either HTTP or HTTPS.

APPLICATN

This field can be used to filter the entry for specific applications.

Technically, the APPLICATN value depends on the "application" parameter provided by the application program, when calling the ICF method cl_http_server=>if_http_server~get_location. The value of this parameter depends on the application coding.

For generic entries, the values * (asterisk) and DEFAULT_VHOST_APPLICATIONS_DEFAULT_HOST should be used. The value * is valid for any application value, while DEFAULT_VHOST_APPLICATIONS_DEFAULT_HOST is valid when no application value is provided by the calling program.

Also, application specific entries can be maintained in this field. For example:
- For Web Dynpro applications, the expected APPLICATN entry follows the format /webdynpro/<namespace>/<name> , such as webdynpro/sap/appl_soap_management - this corresponds to the /sap/bc/webdynpro/sap/appl_soap_management node in transaction SICF
- For BSP applications, the expected APPLICATN entry follows the format /BSP/<namespace>/<name>, such as /bsp/sap/it00 - this corresponds to the /sap/bc/bsp/sap/it00 node in transaction SICF
- For the MES application /sap/co_mes_int/co_mes_document, the expected APPLICATN entry is /sap/co_mes_int/co_mes_document 
- For the WEBGUI transaction, the expected APPLICATN entry is /ITS//WEBGUI 
- For the /UI2/FLP transaction (Fiori Launchpad), the expected APPLICATN entry is /SAP/BC/UI2/FLP 
- For the NWBC transaction, the expected APPLICATN entry is /NWBC/

In addition to specific applications, it is also possible to use wildcards in this field. For example:
/webdynpro/sap/appl_soap_management - entry is only valid for the appl_soap_management service
/webdynpro/sap/* - entry is valid for all ICF services under /sap/bc/webdynpro/sap/
/webdynpro/* - entry is valid for all ICF services under /sap/bc/webdynpro/

Note: Application specific table entries should have a lower SORT_KEY value (for example 1000) while generic or wildcard entries should have a higher SORT_KEY value (for example 9000). This is to ensure that application specific entries are checked before generic entries.

FOR_DOMAIN

This field should be left empty, unless specified otherwise in an installation guide, best practice, etc. 

HOSTHost name to be used in the generated URL.

PORT

Port number to be used in the generated URL.


Note:

- When testing ICF services from the transaction SICF, the table HTTPURLLOC is NOT used.

- When testing BSP applications or Web Dynpro applications from the transaction SE80, the table HTTPURLLOC is used.

- The SAP Web Dispatcher may affect the URL generation with the HTTP header x-sap-webdisp-ap. In this header the Web Dispatcher access points (ports) are specified - for example: x-sap-webdisp-ap: http=80,https=443. Depending on the value of the parameter wdisp/handle_webdisp_ap_header, these port values may override the port values specified in the HTTPURLLOC table.

Related Documents

https://wiki.scn.sap.com/wiki/display/BSP/Using+Proxies

Related SAP Notes/KBAs

SAP Note 2033765 - HTTPURLLOC entries are ignored when you test a service in SICF

SAP Note 1850486 - Enhancement to virtual host administration

SAP Note 2780619 - Maintenance view for HTTPURLLOC table