cancel
Showing results for 
Search instead for 
Did you mean: 

Dialog Boxes in FPM applications

Former Member
0 Kudos

I have created many dialog boxes in FPM FORM UIBB ,but all of them open with small window size as default .

Is there any way ,by which Dialog Boxes open with big default size

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

try changing the window size in the  WDDONOPEN method .

WINDOW_DESCR->WINDOW->SET_WINDOW_SIZE

EXPORTING

       WIDTH  = '200px'

     HEIGHT = '800px'

Former Member
0 Kudos

Hi Haricharan,

I am calling dialog box using below code . I ma not understanding, how to your code

CALL METHOD dialog_box

        EXPORTING

          lv_window_id = 'ATTACHMENT_POPUP'.

  DATA : lo_event_params TYPE REF TO if_fpm_parameter,

           lr_event        TYPE REF TO cl_fpm_event,

*           lv_window_id    TYPE fpm_dialog_window_id,

           lo_fpm          TYPE REF TO if_fpm.

*    lv_window_id = lv_window_id .

    CREATE OBJECT lo_event_params TYPE cl_fpm_parameter.

    lo_event_params->set_value( EXPORTING

                           iv_key = if_fpm_constants=>gc_dialog_box-id

                           iv_value = lv_window_id ).

    CREATE OBJECT lr_event

      EXPORTING

        iv_event_id   = cl_fpm_event=>gc_event_open_dialog_box

        io_event_data = lo_event_params.

    lo_fpm = cl_fpm_factory=>get_instance( ).

    lo_fpm->raise_event( lr_event ).

0 Kudos

My bad i was working on lower version of FPM and my solution is for Pop-Up dialog box . Check the configuration of FPM_TEST_DIALOG_OIF . I think on attributes of page you have the option of maintaining height and width .

ulrich_miller
Active Participant
0 Kudos

Hi Deepa,

in the OVP configuration in FLUID you could go to the dialog box and their in the
properties you have width and height. You need to put there a value and use a
absolut unit, I recommend to use px, e. g. "width = 200px" and "height  = 200px".
This should result in a popup width 200 pixel width and height.

Kind regards,
Ulrich

Former Member
0 Kudos

Hi Ulrich ,

My dialog boxes are in OIF application .Can you please tell tell,how can i chnge setting.I could not find any such option.