on 04-17-2009 5:56 AM
Dear All,
Please give me the scenario where we should use an EXIT plug to close an application.
In which hook method should the plug be fired?
What are the possible parameters of the plug?
Thank you.
Regards,
Prosenjit.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prosenjit,
Refer this online help: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/content.htm
You can also refer this article: [exit plugs|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0018077-f0c9-2b10-87af-eb9bb40776d4].
Regards
Arjun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Please give me the scenario where we should use an EXIT plug to close an application.
there are two scenarios :
1. When you want to close a Window.
2. When you want to open new window by giving the URL.
What are the possible parameters of the plug?
There are two parameters of this plug:
1. URL of type String.
2. Close Window type boolean.
In which hook method should the plug be fired?
You can call this plug on any ONAction.
Ex :
Do the following steps :
-> Make an Outbound Plug to the Window.
->Make the type of Outbound plug to Exit Type.
->Add URL of type String as a parameter to the outbound plug of Window.
->Do remember to add Component Name in the Properties Tab of View ( othervs Calling Outbound plug of window from view wont b possible ).
To open a new URL with closing the previous one write this Code in OnAction of Button : ( this Code can be get from Code Wizard too ).
DATA lo_zexit TYPE REF TO ig_zexit . <zexit is name of my Component>
lo_zexit = wd_this->get_zexit_ctr( ).
lo_zexit->fire_out_window_plg(
url = 'http://www.google.com' " string
).
Similarly you can do for Closing a Window using parameter Close Window.
Thanx.
Edited by: Saurav Mago on Apr 17, 2009 10:32 AM
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 | |
9 | |
7 | |
6 | |
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.