cancel
Showing results for 
Search instead for 
Did you mean: 

can we a create a window without title

Former Member
0 Kudos

hi,

can we a create a window without title.

pl guide me regarding the same.

Thanks in Advance,

Regards

KRanthi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kranthi,

Yes you can create a window without the title ...

To create a window we use the method create_window of class if_wd_window_manager .. In this method we have attributes like title name there if we do not provide the title then the text wil not be displayed....

Regards,

Sana.

Former Member
0 Kudos

HI,

Please find the code for creating a window , without header. Hope it will solve your problem.


DATA: component TYPE REF TO if_wd_component,
        wd_window TYPE REF TO if_wd_window_manager.

  component = wd_this->wd_get_api( ).
  wd_window = component->get_window_manager( ).

  wd_this->window = wd_window->create_window(
    window_name   = ' '
    close_button  = abap_true
  ).

  wd_this->window->open( ).

Regards

Satrajit

Answers (0)