cancel
Showing results for 
Search instead for 
Did you mean: 

setting the size of a popup window?

Former Member
0 Kudos

How is it possible to set the size (in pixels/percentage) of a popup window?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Ramalingam,

You can always code the size window by this way

Declare the attribute (proposal_popup or any) of associate type IF_WD_WINDOW and then call the method set_window_size at the end.

CALL METHOD WD_THIS->PROPOSAL_POPUP->SET_WINDOW_SIZE

EXPORTING

WIDTH = '200 '

HEIGHT = '450'.

Best Regards,

Sathish

mohammed_anzys
Contributor
0 Kudos

Yes it is possible to set the size of the pop up window.This is a round about way.You have to go to specific view , which will be embedded in the pop up window.In the view go to ROOTUIELEMENTCONTAINER and set the width and height.This way you can restrict the size of the pop up window.

Please post if you have any queries.

Thanks

Anzy

Former Member
0 Kudos

Hi,

you don't, see <a href="https://service.sap.com/sap/support/notes/1003826">note 1003826</a>

Regards, Heidi

Former Member
0 Kudos

thank you..