cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a portal page from WebDynPro ABAp application

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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>

Answers (0)