Show TOC

Syntax documentationget_current_url Locate this document in the navigation structure

Frontend Support

Windows

HTML

Java

JA

NEIN

JA

Use this method to find out the URL address of the HTML document currently being displayed.

Syntax Syntax

  1. CALL METHOD html_viewer->get_current_url
    	IMPORTING url		= url
    	EXCEPTIONS cntl_error	= 1.
End of the code.

Parameter

Meaning

url

URL of the page displayed in the browser.

Any occurrences of this method in programs running under SAPGUI for HTML are ignored, since it cannot be properly executed in that environment.