on 12-29-2006 1:32 PM
Hi I am using this peace of code to create a popup. But this popup is not created with
the specified height and width. It is created with a default size. Please tell me how to
rectify the problem?
data:
l_api_main type ref to if_wd_view_controller,
l_cmp_api type ref to if_wd_component,
l_window_manager type ref to if_wd_window_manager,
l_popup type ref to if_wd_window.
l_api_main = wd_this->wd_get_api( ).
l_cmp_api = wd_comp_controller->wd_get_api( ).
data: l_i_question type STRING_TABLE,
l_wa_question type string.
l_wa_question = 'Issue no. xxxxxxxxxxx created succcessfully. '.
append l_wa_question to l_i_question.
l_window_manager = l_cmp_api->get_window_manager( ).
l_popup = l_window_manager->create_popup_to_confirm(
text = l_i_question
button_kind = '1'
message_type = '1'
close_button =
window_title = 'Information'
window_width = '500'
window_height = '500'
).
l_popup->open( ).
*----
How to read the
<b>SAP note 1003826</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try the followings:
- search for 1003826 in the Search Box of sdn.sap.com (top-left)
- search for 1003826 in service.sap.com/notes
If it does not work, it means that your userid is not allowed, in that case I can e-mail a copy to your email (if you'll tell me). Only userid belonging to customers/partners are allowed...
Unfortunately the note is written in german only...
Sergio
I cannot see your e-mail address in the business card. What's it?
The note states that at the moment windows size is not taken into consideration. It is automatically determined by the fields in the popup. Maybe some support package will support the feature.
So try changing the layout of the fields until you'll get a nice picture...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.