on 05-06-2009 11:12 AM
Hi,
Please check my piece of code -
wd_comp_controller->GREF_W_POPUP = wd_comp_controller->GREF_W_MANAGER->create_window_for_cmp_usage(
interface_view_name = wd_assist->gc_TABLE
component_usage_name = wd_assist->gc_U_ALV_EXPENSE_SPLIT
TITLE = wd_assist->gc_title_split "Expense split maintenance
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_ALL
CALL METHOD wd_comp_controller->GREF_W_POPUP->SET_CLOSE_BUTTON
EXPORTING
CLOSE_BUTTON = abap_true.
CALL METHOD wd_comp_controller->GREF_W_POPUP->SET_ON_CLOSE_ACTION
EXPORTING
VIEW = wd_comp_controller->GREF_V_CONTROLLER
ACTION_NAME = wd_assist->GC_CLOSE_SPLIT.
In the close action I wrote the following code -
CALL METHOD wd_comp_controller->GREF_W_POPUP->SET_CLOSE_IN_ANY_CASE
EXPORTING
CLOSE_IN_ANY_CASE = abap_true.
CALL METHOD wd_comp_controller->GREF_W_POPUP->CLOSE.
Here the problem is, when I set the close in any case is set to abap_false then explicitly I'm using the
SET_CLOSE_IN_ANY_CASE but the window is not getting closed.
I'm using the latest version of netweaver.
Any ideas on this.
Regards,
Lekha.
resolved by me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In addtion to the original post -
There is one view upon link click Im opening the ALV component in the form of the popup.
In this ALV, we have got one button (delete) inside ALV, upon this Im showing another popup for
deletion of the data with YES and NO butttons. If I click YES then the data gets deleted. Now when I try to close the ALV popup it is not getting closed. This is the issue.
How to close the popup in this case. I wrote all the ncessaery code in the original post.
If I remove this deletion popup the ALV popup is getting closed otherwise Not.
Any views.
Regards,
Lekha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try using method CLOSE instead of SET_CLOSE_IN_ANY_CASE in the event handler of close method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.