on 11-22-2007 1:23 PM
Hi,
I would like to call a portal page (any type) from a WebdynPro ABAP application. I have the PCD location of the page.
Which call shall I make :
Absolute Navigation
Relative Navigation or
OBN.
Also, can anyone send me short code snippet on the following.
The package SWDP test examples are not working.
Best Regards
Sid
Hi Siddharth,
Well, to start with you can go for ABSOLUTE NAVIGATION.
Secondly, you can find the snippet here
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 'pcd://portal_content/com.xxxx.zpof_f_XXXXportalcontent/com.xxxx.test/com.xxxx.folders.MaintenanceBusinessPackage/com.xxxx.test.mt.pages.Pages/com.xxxx.pages.MaintenanceTasks'
to l_navigation_target.
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 =
.
Above it, the examples of SWDP will not work if you test them from SE80-ABAP WAS...I suggest you to create a WDA IView in Portal and test it in Portal itself.
Hope this should solve your problem.
Regards
<i><b>Raja sekhar</b></i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.