WD4ABAP - Absolute-Navigation to Workset

Hi!
I hope, this is the right forum for my question:
I want to call a portal-content from ma WebDynpro4ABAP-Application. The content might be a workset, a page or an iview and it is "available" in the user's role. What I want to achieve is, that the TLN (top-level-navigation?) is updated correctly.
Imagine this navigation-tree:
main
- group1
  - group1a
  - group1b
- group2
- group2b
I am in WD-Application group1a and want to call a WD-Application e.g. group2b, than I want, that the "group2" in the navigation tree is highlighted.
I tried it with the following ABAP-code:
    lo_api_component = wd_comp_controller->wd_get_api( ).
    lo_portal_manager = lo_api_component->get_portal_manager( ).
    CALL METHOD lo_portal_manager->navigate_absolute
      EXPORTING
        navigation_target   = 'ROLES://portal_content....'. "PCD-Link to portal-content
It changes to the content, but does not update the TLN. What do I do wrong?
Thanks in advance!
Kind regards,
TopperDEL

Hi,
Check the following Threads related with retrieval of Post parameters in WD:
How to send data from Web dynpro App to JSP or vice versa
Re: jsp and web dynpro
Siddharth

Similar Messages

  • Error: Navigate back to the same iView with Portal Absolute Navigation?

    Hi, SDN Fellows.
    When I tried to do a portal absolute navigation from and to the same iView, the iView before  an infinite loop that keep navigating by itself (the iView keep refreshing by itself non-stop).
    Here is the code that I used:
    My current URL, said: ROLES://portal_content/RoleA/WorksetA/PageA,
    then I called this method to navigate to itself:
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/RoleA/WorksetA/PageA"
    ,WDPortalNavigationMode.SHOW_INPLACE
    ,WDPortalNavigationHistoryMode.NO_DUPLICATIONS
    ,null);
    To make sure I have the right method, I changed the URL Target to, said: ROLES://portal_content/RoleA/WorksetA/PageB, then the navigation become fine and did navigate to PageB.
    Do any of you know what can be the problem?
    My optimal goal is to refresh the whole Web Dynpro application, by navigate to itself again. I used to implement this by using WDP Exit Plug and URL Navigation, but this does not work in the portal environment. So, I am thinking to use the portal navigation to do the same thing.
    Second question, do you have any other alternative way to refresh the whole Web Dynpro application without using Exit Plug?
    FYI:
    My current EP version is NW04s SP6.
    Thanks for advise.
    Kent

    Hi
    Use this code in ur action button event..
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/..............",WDPortalNavigationMode.SHOW_INPLACE,(String) null,(String) null,WDPortalNavigationHistoryMode.NO_HISTORY,(String) null,(String) null,(String) null,(String) null,true,false);
    It will open same view again..
    Do reward points if helpful
    Thanks
    Puneet

  • Problem with Absolute Navigation (External Window) and Light Framework Page

    Hi All,
    We are using Light Framework page for the portal devolopment. We have an application including two webdynpro iviews where absolute navigation is used to traverse from first iview to second iview (When user clicks a button on first iview). We are showing the second iview in external window (SHOW_EXTERNAL). When ever i clicks the button to traverse to second iview, i am getting an exception.
    When we are showing it in same window (SHOW_INPLACE), it is working fine. But the iview is appeared in half of the page with scrollbars. It is working fine with default framework page (with both options SHOW_INPLACE and SHOW_EXTERNAL) and dispalyed in original size as mentioned in iview properties.
    Could you please suggest us whether there is any work around for this.
    Thanks,
    Sudheer

    Hi Kathiresan
    I couldn't see the address bar of the window (In which second iview is getting displayed). But i can observe no parameters that i passed from first iview is visible in the view source of the second iview (When SHOW_EXTERNAL is used in absolute navigation). I could see all the parameters in the view source (when SHOW_INPLACE is used for absolute navigation). But i am using the same url for both the options (for SHOW_INPLACE and SHOW_EXTERNAL).
    I doubt about the url being passed when SHOW_EXTERNAL option is used. But when we checked in debug, The correct url is being triggered (Atleast from first iview). Is there any way that could display the second window with address bar. What is making difference  between SHOW_INPLACE and SHOW_EXTERNAL with absolute navigation and light framework page.
    Could someone please suggest.
    Thanks,
    Sudheer.

  • Absolute navigation issue

    Hi
    I am trying to go to the ESS main page using the following code in my WD ABAP application but it is not working.
    please help
            CALL FUNCTION 'HRXSS_SER_GETAREAGROUPLINK'
              EXPORTING
                areagroupkey         = 'Z_TC_SAPDEFAULTESS_ERP2005'
                portalcontext        = 'X'
                personnelnumber      = lv_empno
                countrygrouping      = lv_molga
              IMPORTING
                areagrouplink        = lv_arealink
              EXCEPTIONS
                areagroupkey_invalid = 1
                OTHERS               = 2.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
    *Get portal manager reference
          l_api = wd_this->wd_get_api( ).
          l_portal_manager = l_api->get_portal_manager( ).
    *Absolute navigation started
          l_portal_manager->navigate_absolute(
          navigation_target = lv_arealink-linkpcdpage
          navigation_mode = if_wd_portal_integration=>co_show_inplace
          history_mode = if_wd_portal_integration=>co_no_duplicates
    All the variables used are filled correctly. PCD path appearing in v_arealink-linkpcdpage is trunckated but it is of string type. And I suppose it will be holding the full path though it is displaying only 255 characters of it.
    Thanks
    Vishal Kapoor

    closing

  • Absolute Navigation fails in production

    Hi,
    Wbedynpro Navigation using absolute navigation fucntion module in abap webdynpro is not working in production. But working fine in Q. Any specific setting / authorization required for this navigation feature.
    Please advice.

    Hi,
    I would agree with Manas - post in the portal forum for a faster and more comprehensive response.
    However, to save me from answering your post there - have you checked the permissions of the iView/page/role that you are navigating to - it is likely that the user you are using in production does not have permissions because the permissions setting of the role/page/iView were not transported into the production portal. If they have the same permissions setting, check that the role mapping has been completed in the prod portal - does the user have the same portal roles in Prod as QA? Either of these missing could mean no permissions for the user to see the navigation target. This is the most common cause of the error you are experiencing.
    Hope this helps,
    Chris

  • Absolute Navigation between WD4J and WD4A applications

    All,
    I have a WD4J and a WD4A application that communicate with each other via absolute navigation and URL parameter.  I am finding that in some cases after calling the WD4J from my WD4A (via call method lr_port_manager->navigate_absolute), that the WD4A seems to remain "alive" such that when the WD4J again calls the WD4A it resumes to the view from which it left rather than calling the window startup plug to obtain the URL parameter.
    This happens consistently for some users, but not others even though the same exact user roles are assigned and the same exact data is used.  Furthermore, I do not make use of any Suspend/Resume or Exit plugs w/in the Window.
    I appreciate any thoughts/help,
    Chad

    Hi All,
    I solved it by adding the encoded parameter string
    &_paramsXmlStr_=<Params><Row BANK_CTRY="US" MAX_ROW="10"></Row></Params>
    to iView URL in the WDPortalNavigation.navigateAbsolute. Find the code below.
    WDPortalNavigation.navigateAbsolute(
    "ROLES://portal_content/myFolder/myiViews/myVCiView?&_paramsXmlStr_=<Params><Row BANK_CTRY="US" MAX_ROW="10"></Row></Params>",
    WDPortalNavigationMode.SHOW_INPLACE,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String) null,
    (String) null,
    I did not pass the parameters as Business parameters(WebDynpro will chage these Business parameters as DynamicParameter).
    Thanks
    Sreekanth

  • Absolute navigation using post parameters

    Hi All
    I am navigating from WD4A iview to WD4J iview through absolute navigation and passing some parameters.
    I am expecting that these parameters size might be large. Is there is any restriction on the size of the parameters that i can pass in these method.Can i use postparameters to  overcome this restriction on size. If i use postparameters is there any restrictions on that.
    Can someone please post some helpful info or code examples to work with post parameters (Retrieving the parameters in the receiving application). Is other any other work around apart from these options.
    Thanks,
    Karthik.

    Hi,
    Check the following Threads related with retrieval of Post parameters in WD:
    How to send data from Web dynpro App to JSP or vice versa
    Re: jsp and web dynpro
    Siddharth

  • Webdynpro Absolute Navigation fails in production

    Hi,
    Wbedynpro Navigation using absolute navigation fucntion module in abap webdynpro is not working in production. But working fine in Q. Both source and target abap WD applications are available and separately tested in Prd.
    Any specific setting to be done for absolute navigation from one webdynpro application to another. I am getting Page not found error.
    Anything to do with portal settings?
    Any idea on this?

    Hi,
      I'm assuming you have created iView for the two webdynpro application and using absolute navigation to move from one application to another.
    Did you check if the user has proper permissions to access the iViews/ Pages related to the Webdynpro application.
    Regards,
    Pradeep
    Edited by: PRADEEPKUMAR SHETTY on Apr 22, 2010 4:32 PM

  • Absolute navigation: link

    Is it possible to instead of "ROLES://portal_content/myFolder/myRole/Content/iView/", just use a Quick Link created for iView (under Property Editor->Navigation)  as a parameter for the method WDPortalNavigation.navigateAbsolute(..) ?

    Hi Lieven,
    As per SAP Doc
    Performs a navigation to a absolute defined navigation target.
    The assumption is that this navigation target uses the SAP application launcher.
    All defined parameters are handled as GET parameters.
    Regards,
    Ayyapparaj

  • Detailed Navigation for Worksets(ESS)

    Hi SDN,
    How can I enable detailed navigation for the Worksets in Employess Self Service?
    Eg. ESS>Life and Work Events>Divorce(any event)
    When I am in Divorce, I can see only the workset(Life and Work Events) in the detailed navigation. How can I make all the objects under this workset appear below it in detailed Navigation?
    Thanks,
    Vamshi

    Hello again
    That sounds strange... So it didnt help to set every iView as Entry Point ? Also set the Workset as Entry Point, log out and in.
    I dont got any more tips :/
    Best Regards
    Kristoffer Engh

  • Navigation between workset

    Dear  All,
    Is it possible navigate between the worksets in portal, If it is possible can any one guide me
    Regards
    Suresh

    Hi,
    workset are here to define your top level navigation such as Home, System Administration, and the under lever (Permissions, System Configuration,...).
    Every user navigate via this, and this navigation is defined by the attributed roles on the user.
    You can modify it by opening the attributed user's roles : you will see all the define workset for the role (ex : System Admin Role : Transport, Monitoring, Permissions, System Configuration,...).
    By clicking on each Workset you can delete them, moving them Up or Down,..., and these modification will be taken into account at the next connection of the user.
    Be careful not to modify SAP definied roles, but to <i>Copy them as a delta link</i>, and then to assign the copied role to the user.
    Fabien.

  • How to trigger navigation to a portal iView from server side event handler

    Hi,
    I am modifying the workset map application. I have created custom URL links under each iView which should navigate to different iViews depending on some business logic. So I had to provide a custom event handler for these iVIew links and the path to the next iview is dynamically created by the code in the event handler. Once the new PCD path is generated, the event handler should trigger a navigation to that PCD object. Which APIs can I use to trigger this navigation from the server side event handler? I have done this before in webdynpro where we used WDPortalNavigation (.absoluteNavigation or .relativeNavigation). Is there something similar that i can use in this case (i.e. when developing a simple Portal Application from an AbstractPortalComponent)?

    Hi,
    On my understanding of your requirement.
    the best solution what i think is use Object Based Navigation(OBN).
    Is much suitable to your requirement.
    Moreover you can use
    1.Relative navigation
    2.Absolute navigation.
    In the same way how you used in web dynpro.
    Same thing can be done in abstract portal component also.
    Try using that.
    Thanks & Regards,
    Lokesh
    Edited by: lokesh kamana on Aug 11, 2008 7:23 AM

  • Reg Portal Navigation

    Hello
    I have the following requirement to be fulfilled, can any body help me please
    I have two roles say role1 and role2 attached to my user ID.
    role1 is the Entry point and in role2 i have a workset say workset1 which is the entry point.
    Now
    in role1 i have attached a webdynpro IVIEW which has only 1 button say "GO TO ROLE2".
    <b>My requirement is when i click that button it should go to workset1 highlighting that tab.</b>
    i have tried with Absolute navigation it goes to the target page but opens up in role1 only.
    I have also tried with URL saying NavigationTarget it opens up full Portal page.
    Relative navigation i have a doubt whether it will work for 2 different roles, i.e can we navigate between two roles.
    Thank you

    Hello
    Can i know whether any one has understood the question
    or is it not possible to do
    Please let me know
    Thank You
    With Wishes
    Krishna kanth

  • Which kind of navigation to use?

    Hi,
    my project / portal structure is as follows:
    - Role 1
      - Workset 1
        - Page 1
          - iView 1 (Web Dynpro)
    - Role 2
      - Workset 2
        - Page 2
          - iView 2 (Web Dynpro)
    Is it possible to navigate via absolute / relative navigation from "web dynpro iView 1" to "web dynpro iView 2" although they are part of different portal roles?
    Or do I object based navigation for such a navigation?
    Kind regards,
    Marc

    Hi,
    I tried with absolute navigation but without success so far! Nothing happens, when I trigger the navigation, i.e. the target window is not displayed. Unfortunately there is also no error displayed so I can only guess what is going wrong! I'm using the following code for navigation within an action handler method:
    String targetUrl = "ROLES://portal_content/administrator/super_admin/super_admin_role/com.sap.portal.system_administration/com.sap.portal.support/com.sap.portal.web_dynpro_test_tools/com.sap.portal.portal_navigation";
            WDPortalNavigation.navigateAbsolute(
                targetUrl,
                WDPortalNavigationMode.SHOW_INPLACE,
                (String) null,
                (String) null,
                WDPortalNavigationHistoryMode.NO_HISTORY,
                (String) null,
                (String) null,
                (String) null,
                true);
    The code should be executed when user clicks on the "Navigate to..." button.
    I have already checked the following prerequisites:
    - used user has both, the source and target portal role assigned
    - the navigation target url is equal to the iView id displayed in "portal content administration quick info"
    I expected to get an error when executing my application as standalone application (outside of the portal) and triggering the portal navigation but curiously no error is displayed.
    Could you please explain me why and what I'm doing wrong?
    Kind regards,
    Marc

  • Navigation in Web Dynpro for ABAP

    Hello Experts
    I have a problem with triggering navigation to external Web Dynpro application.
    Here is the current set up. I have multiple Web Dynpro reports using custom authorizations (utilizing Z-table, checking application name and user ID). In case if authorization check fails I am triggering plug which takes user to view with u201CNo authorizationu201D sign. Works perfect. Problem is that I have to embed this u201CNo authorizationu201D view on each report.
    Now, I tried to do following but I failed. I have created Web Dynpro application only with u201CNo authorizationu201D sign (single view). On each report I was calling static method that checked authorizations and in case if it was not successful I was executing absolute navigation using method NAVIGATE_ABSOLUTE of IF_WD_PORTAL_INTEGRATION instead of firing plugs. Unfortunately no navigation has been triggered (method has been executed). Please note I am not using any portal integration. Each report is just a separate Web Dynpro application. Perhaps that is the issue.
    Is there a way to re-direct user from one Web Dynpro application to another using ABAP code?
    Kind Regards
    Michael

    > Perhaps that is the issue
    Yes that would be the problem.  You can only use the Portal Navigation APIs (IF_WD_PORTAL_INTEGRATION ) when running in the Portal or in the NetWeaver Business Client.
    > there a way to re-direct user from one Web Dynpro application to another using ABAP code?
    Yes - exit plugs would be the correct approach.

Maybe you are looking for

  • Which file do I open to install Firefox on windows 2000 after I download it?

    I download the program, unzip it. There is no install or exe file in the folder. Which file starts the installation?

  • Macbook Pro w/ 30 inch Dell monitor issue SOLVED

    I was amazed at the huge problems Apple apparently had with the bizarre $99 adapter that enables 30 inch dual channel display for the new Mini Displayport machines, including the current Macbook Pros. The reports of problems here were terrible, and I

  • How to preserve colours in converted files

    I want to convert a pdf file with colour graphics (headed paper) to a word file whilst preserving the colours. However, so far have only managed to convert to black and white in the word doc. Can it be done>

  • How to call a SM35 transaction and run in BDC report.

    Hi Experts, I knew that how to call a transaction but here, I've to call the SM35 transaction ,which have my BRS BDC recording, to run my session. Pls help me how to call the transaction and run/process the first session tab in the table control of S

  • Customizing colour in Pie chart

    Hi Experts, In my scenario there is a Pie chart which shows the completion and pending of work in percentage. I have done this by creating a category and a series and the pie chart is getting displayed for completion and pending work in default colou