on 09-17-2010 6:08 AM
Hi Gurus,
I need to generate a popup of reduced size in Webdynpro for ABAP. I have Netweaver 7.0.
When I use the method Create_popup_to_confirm it generates a popup of default size even though I pass the height and width parameters. I need to reduce the size. Please tell me what are the options to do so in Netweaver 7.0
Thanks
Roshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinnaya,
I have tried that option too but still its now changing the default size of the window.
Plz help.
Roshan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sanjai ,
The code i posted in the previous thread is working fine for me , i tested the popup size by varring the % value also ,
ok in my system i found some of the units let me share that too with you ,
set_window_size( width = '300' height = '200' ).
set_window_size( width = '500px' height = '150px' ).
set_window_size(width = '30ex' height = '30ex' )
set_window_size( width = '25em' height = '10em' ).
set_window_size( width = '100cx' height = '20cx' ).
try all this possiblities
Regards
Chinnaiya P
Hi sanjay ,
use the method set windoe size after you called the method create popup to confirm , give your size value in '%'
data : lv_text type string_table .
wd_comp_controller->popup_01 = lo_window_manager->CREATE_POPUP_TO_CONFIRM(
TEXT = lv_text
BUTTON_KIND = ls_popup_properties-button_kind
* MESSAGE_TYPE =
* CLOSE_BUTTON = ABAP_TRUE
WINDOW_TITLE = 'Resized window '
* WINDOW_LEFT_POSITION =
* WINDOW_TOP_POSITION =
* WINDOW_POSITION =
* WINDOW_WIDTH =
* WINDOW_HEIGHT =
* DEFAULT_BUTTON =
) .
wd_comp_controller->popup_01->SET_WINDOW_SIZE " popup_01 type if_wd_window
(
WIDTH = '75%'
HEIGHT = '75%'
).
let me know if you face any problem in this
Regards
chinnaiya .P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.