on 11-25-2013 3:48 PM
Hi,
I have a Webdynpro ABAP iView in portal framework page1, I am trying to call portal framework page2 on a buton click from the webdynpro ABAP iView. Can we use absolute navigation in WDA to achieve this, if anyone has done anything similar can you please share the code snippet.
Thanks,
Anand
Hi Anand,
Yes, this is possible. Take a look at the documents...
Cheers,
Amy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amy,
Thanks for the reply.
If I use absolute navigation to call the second framework page, the "NavigationTarget" value which is the portal path of the second framework page is also displayed along with the portal URL.
Is there a way to hide the "NavigationTraget" from the url and keep the portal url static http://portal:50000/irj/portal
Thanks and Regards,
Anand
data: filename type string.data: uname type sy-uname.data: path type char200 value 'Specify Your Portal Path here'.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
uname = sy-uname.translate uname to LOWER CASE.concatenate path uname '.pdf' into filename.
DATA: l_http_client TYPE REF TO if_http_client.DATA: l_code TYPE sy-subrc.
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING URL = filename
RECEIVING WINDOW = lo_window.
lo_window->open( ).
endmethod.
Hi Anand,
Does your landscape include a Web Dispatcher for the portal? I believe the web dispatcher is capable of hiding changes to the URL. For example, in our landscape, the web dispatcher always displays the same URL host despite multiple load-balanced hosts being used. Talk to your Basis folks about whether the dispatcher can be installed and configured to hide URL changes.
Cheers,
Amy
Hi Rajiv,
I am calling the framework page and when the page is called the portal url looks like
http://portal:50000/irj/portal?NavigationTraget=portal_content/every_user/general/frameworkpage
instead I want to call the framework page and the portal url to remain static as
http://portal:50000/irj/portal
DATA LO_API_COMPONENT TYPE REF TO IF_WD_COMPONENT.
DATA LO_PORTAL_MANAGER TYPE REF TO IF_WD_PORTAL_INTEGRATION.
DATA L_NAVIGATION_TARGET TYPE STRING.
LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
LO_PORTAL_MANAGER = LO_API_COMPONENT->GET_PORTAL_MANAGER( ).
MOVE 'portal_content/every_user/general/frameworkpage'
to L_NAVIGATION_TARGETt.
CALL METHOD lo_portal_manager->NAVIGATE_ABSOLUTE
EXPORTING
NAVIGATION_TARGET = L_NAVIGATION_TARGET
NAVIGATION_MODE = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_INPLACE.
* WINDOW_FEATURES =
* WINDOW_NAME =
* HISTORY_MODE = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
* TARGET_TITLE =
* CONTEXT_URL =
* POST_PARAMETERS = ABAP_FALSE
* USE_SAP_LAUNCHER = ABAP_TRUE
* BUSINESS_PARAMETERS =
* LAUNCHER_PARAMETERS =
Thanks,
Anand
User | Count |
---|---|
95 | |
13 | |
13 | |
11 | |
11 | |
7 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.