Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Confirm Popup in Web Dynpro, window size

Hi all,

I have a problem with popup_to_confirm. I'm creating one confirm popup using the method if_wd_window_manager->create_popup_to_confirm.

For this method there are two parameters: window_width and window_heigth.

But the size of the popup window is always the same independently on value I define for these two parameters, so they do not impact the popup window size.

I need a smaller window because there is only one short question.

Could somebody tell me how I can manipulate with the popup window size?

Kind regards,



You can not set the size directly on the popup. I know that there are attributes and methods for this; but they are ignored in the HTML rendering. They are for future usage/smart client rendering. For now in the HTML rendering you can set the size by inner content of the popup. The popup automatically resizes to its inner content. If you are reusing one of the standard SAP-Provided confirmation popups, then you really can't control the size.

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question