2513037 - FM TH_GET_VIRT_HOST_DATA returns exception NOT_FOUND | SAP Knowledge Base Article

SAP Knowledge Base Articles - preview

2513037 - FM TH_GET_VIRT_HOST_DATA returns exception NOT_FOUND


The following symptoms occurs when the parameter "PROTOCOL" is set to '1' for HTTP or set to '2' for HTTPS.

  • When running the function module TH_GET_VIRT_HOST_DATA the exception NOT_FOUND (sy-subrc -6) is returned.
  • The expected value of the virtual host name defined is not returned.



SAP NetWeaver environment release independent.


SAP NetWeaver Application Server all versions


OPCODE_GET_VIRT_HOSTDATA, ADS, hostname, is/HTTP/virt_host_* , KBA , BC-CST-IC , Internet Communication Manager , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.