Show TOC

Background documentationIF_WD_WINDOW Locate this document in the navigation structure

 

Interface IF_WD_WINDOW enables a popup to be opened, closed, and edited.

More information: Working with Dialog Boxes

Methods
CLOSE

This method asynchronously closes the popup once the Phase Model Cycle of the window is completed.

OPEN

This method asynchronously opens the popup once the phase model cycle of the underlying window is completed.

SET_WINDOW_SIZE

This method sets the window size.

SET_WINDOW_TITLE

This method sets the window title.

SET_ON_CLOSE_ACTION

This method registers the user action when Cancel is chosen.

SUBSCRIBE_TO_BUTTON_EVENT

This method registers the user action when a button is clicked.

UNSUBSCRIBE_FROM_BUTTON_EVENT

This method deregisters a user action.

SET_REMOVE_ON_CLOSE

This method removes the window after it has been closed.

SET_BUTTON_KIND

This method specifies the button combination.

SET_MESSAGE_TYPE

This method sets the message type.

SET_CLOSE_IN_ANY_CASE

This method closes the window automatically using the window button.

SET_BUTTON_ENABLED

Method enabling buttons to be activated and deactivated within Light Speed.

Syntax Syntax

  1. data: l_window type ref to if_wd_window.
    l_window->set_button_enabled( 
         button = <button>
        is_enabled = abap_false ).
End of the source code.

<button> stands for a popup button defined by constants if_wd_window=>co_button.