Skip to Content
0
Former Member
Jun 11, 2010 at 05:20 AM

Hiding URL in the title bar of external window

106 Views

Experts -

Scenario:

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

EXPORTING

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

RECEIVING

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

EXPORTING

TITLE = 'My Title. "Does not work

LO_WINDOW->OPEN( ).

Any help on how to achieve this will be appreciated.