On click of 'LinkToAction' element, we are opening up a pdf document (stored on portal content server)
in an external window, using:
CALL METHOD LO_WINDOW_MANAGER->CREATE_EXTERNAL_WINDOW
URL = LV_HOSTNAME
TITLE = 'My Title' "Does not work
MODAL = ABAP_FALSE
HAS_MENUBAR = ABAP_FALSE
IS_RESIZABLE = ABAP_TRUE
HAS_SCROLLBARS = ABAP_TRUE
HAS_STATUSBAR = ABAP_FALSE
HAS_TOOLBAR = ABAP_FALSE
HAS_LOCATION = ABAP_FALSE
WINDOW = LO_WINDOW.
We have a requirement to hide the location bar and the title of the window (in which the PDF is displayed). We are able to hide the location bar but the URL still appears in the title bar.
We have tried the following code to set the title, but it is not working.
CALL METHOD LO_WINDOW->SET_WINDOW_TITLE
TITLE = 'My Title. "Does not work
Any help on how to achieve this will be appreciated.