on 02-23-2011 5:53 AM
Hi gurus,
Am new to Webdynpro abap. How to close the application when i click the event(button) at run time.
Thanks in advance,
shakthi
Create an exit plug in the window with a parameter CLOSE_WINDOW of type wdy_boolean.
then create controller usage of the window in the view having the button.
then just fire the exit plug in the eventhandler and pass the parameter as abap_true.
thanks
sarbjeet singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi shatis
Please go through th below steps:
1. Create an outbound plug in the Window. This should be of type Exit plug.
2. Specify a parameter to the plug-> Parameter CLOSE_WINDOW TYPE BOOLEAN.
3. Create Usage of this Window in the view in which you require the Close window button.
4. Go to Onaction method of Clos window (Any name) button in your view and give the following coding.
DATA lo_ytest_filter TYPE REF TO ig_your web dynpro component name.
lo_ytest_filter = wd_this->get_your web dynpro component name_ctr( ).
lo_ytest_filter->fire_Your plug name_plg(
close_window = 'X' " boolean ).
OR
follow this..
/people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications
Thanks,
Kris.
Hi Shathi,
Please go through this blog step by step...
/people/mohammed.anzys/blog/2007/06/05/how-to-close-parent-window-in-webdynpro-applications
and also plese read this...
http://help.sap.com/saphelp_nw70/helpdata/en/45/1bc575ba064574e10000000a114a6b/frameset.htm
Thanks,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.