on 04-30-2016 3:21 PM
Hi all, i creating a pop up window to upload a pdf file in a view , in my view already customer details i filled in existing node, when i select my link to open pop up its opening all my nodes getting cleared in the view, i did'nt write any code to clear my node, but it invalidating my existing node, kindly give me a solution, here i post my code to get pop up.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
lo_window = lo_window_manager->create_window(
window_name = 'W_LEGAL_DOC_POPUP'
title = 'Form 60'
* close_in_any_case = abap_true
message_display_mode = if_wd_window=>co_msg_display_mode_selected
* close_button = abap_true
* button_kind = if_wd_window=>co_buttons_ok
* message_type = if_wd_window=>co_msg_type_none
* default_button = if_wd_window=>co_button_ok
).
lo_window->set_window_size( width = '75%'
height = '75%' ).
lo_window->open( ).
Hi ,
check whether you are binding any thing or calling any thing in WDDOINIT() Method OR Modify View method or check in the hooks method of Window as well...Some Binding Problem..
Thanks & Regards
@Surendra@
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nandha,
If you are invalidating your node when opening the popup, as you said, this will happen.
When you invalidate a node, it will call the supply function of that node, repopulating it and resetting the lead selection. Which disposes of any modifications made at the context that were made at runtime and not stored permanently.
Regards,
Felipe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make sure that the view lifetime is framework controller.
--
Regards
Edwin Guedez
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.