Skip to Content
avatar image
Former Member

Navigation to Logon Specific Portal

Hi All

I am displaying Partner's Name in a column of table using Link to Action UI Element. This component is attached to a Tab over a Portal.

If user click on a Partner He should be able to Navigate to the Portal Sevice using Partner's Login credential.

Please suggest how i can achieve this functionality. What code i should write into Action of UI element.

I have got pernr of Partner into method of action and using FM HRXSS_SER_GETSERVICELINK i have got the service link.

Please suggest what i should do ahead.

Thanks in anticipation.


Nikhilesh Vyas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 28, 2011 at 03:28 PM

    I did not understand what you mean by "He should be able to Navigate to the Portal Sevice using Partner's Login credential."

    What portal service are you talking about?

    if your question is about to naviagate to another iView on click of this link to action.

    Then i suggest to have a look at if_wd_portal_integration.

    data lo_componentcontroller type ref to ig_componentcontroller .
        data lv_navigation_target type string.
        data ls_business_parameters type wdy_key_value_list.
        data ls_business_param like line of ls_business_parameters.
        data ls_launch_parameters type wdy_key_value_list.
        data ls_launch_param like line of ls_launch_parameters.
        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( ).
        lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
            lv_navigation_target = "Fill the URL here"
    * add URL parameters as business parameter.
        ls_business_param-key = `Parm1`.
        ls_business_param-value = `value1`.
        append ls_business_param to ls_business_parameters.
           call method lo_portal_manager->navigate_absolute
            navigation_target   = lv_navigation_target
            navigation_mode     = if_wd_portal_integration=>co_show_external
            window_features     = `toolbar=no, resizable=yes, location=no, width=1120, height=900, fullscreen=yes`
    *    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 = ls_business_parameters
    *    launcher_parameters =

    Edited by: Baskaran Senthivel on Feb 28, 2011 4:33 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The question is what is there in the lv_navigation_target ? is this the role ? or a Portal page or iView ?

      If it is a iView ,what does it do with your Busniness_parameters ?

      Do i understand correctly that every PERNR has own portal role / Page ?

      I would have designed such a way that Based on the pernr, i would change the navigation target to the respective role/Page