METHOD get_host_and_port.
CALL FUNCTION 'TH_GET_VIRT_HOST_DATA'
EXPORTING
protocol = 1
virt_idx = 0
local = 1
IMPORTING
hostname = ev_host
port = ev_port
EXCEPTIONS
not_found = 1
internal_error = 2
OTHERS = 3.
ENDMETHOD.