on 09-27-2011 4:02 AM
Hello
I am trying to EXIT out from the application, once the user clieks the proveded EXIT push button my_view.
When am searching for this requirement, i found the below 2 links,
[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/6687] [original link is broken] [original link is broken] [original link is broken];
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0018077-f0c9-2b10-87af-eb9bb40776d4?quicklink=index&overridelayout=true]
Pls. let me know
1) Both are same, which is recommemnded and safe in PORTAL perspective, bcz my webdynpro application will be launched in PORTAL?
2) I felt the 2nd link is very easy, can i go ahead with this approach in PORTAL perspective?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You already opened one thread regarding this Q's.?
Just add below code in your EXIT button onaction event.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_portal_manager = lo_api_component->get_portal_manager( ).
CALL METHOD lo_portal_manager->fire
EXPORTING
portal_event_namespace = 'urn:com.sapportals:navigation'
portal_event_name = 'historyNavigate'
portal_event_parameter = '-1' .
This code will exits from application and remain in portal.
Cheers,
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 | |
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.