Dynamic navigation causing problems

Hi All.
I know it has been discussed before, but my problem is a bit more complex.
also earlier Sascha had mentioned that he created OB plugs dynamically. I am not able to know how to create those dynamically.
Okay, scenario is: My main application is dynamically embedding MANY other components based on a config table.
This I have done in the Handle_ib event of the view.
When user goes back, and comes in again, (based on some parameters in the main screen), the configuration table may change and new or less components need to be embeeded then. It is giving a dump - after debugging i found it is trying to go to previous links also which are not valid.
So far I was using DO_DYNAMIC_NAVIGATIOn, and the source OUTBOUND plug was static till now.
From other threads, I guess we have to create a new outbound plug each time.
Can someone please advise me how to go about it? Or, is there a way to delete my previous navigation links.
Thanks in adv.

Hi Aishi,
             I am not sure but let's give a try, try changing the life time of  your second view to 'when visible'  from 'framework Controlled'. it can be done on the propery tab of the corresponding view.
Regards
Sarath
Message was edited by:
        sarath satheesan

Similar Messages

  • WD Java iView & Dynamic Navigation Problem

    Hi,
    I'm trying to use a WebDynpro Java iView in Dynamic Navigation but have the following display problem:
    When I navigate to the page for which I've added the iView to the dynamic navigation, only the WebDynpro iView (from the navigation) is shown. You can see the page in its correct form being loaded but as soon as the navigation iView seems to be loaded/ing it replaces the full lower part of the screen (navigation and content panel).
    If I use a plain URL iView in the dynamic navigation the behaviour is as expected.
    But if I add a WebDynpro iView or even a page containing that iView I get the strange behaviour again.
    I'm running NW04s SP7.
    Any ideas?
    Do I have to set some properties on the WebDynpro iView?
    I've tried a couple of things but none did work so far.
    Thanks & Regards
    Markus

    Hi Henrik,
    Sorry for the late reply but I'm just back from vacation.
    No, I have not found a solution. I decided to go for an integrated application instead (Main WD application that bundles navigation with other applications). That works but of course is not as "nice".
    Have you come across some solution yet?
    Kind Regards
    Markus

  • Portal Runtime Error in Dynamic Navigation Area

    Hello gurus,
    In our production portal all of sudden we are getting a portal runtime error in Dynamic Navigation Area.  Earlier there was a problem with one of the clustered nodes and it was resolved.  I was wondering if this error is in connection with that.  Has anybody faced such problem?  Following is the error we are facing in the dynamic navigation area.
    <b>Portal Runtime Error
    An exception occurred while processing a request for :
    iView : pcd:portal_content/fenderfolder/defaultDesktop/frameworkPages/frameworkpage/com.sap.portal.innerpage/com.sap.portal.dynamicNavigationArea
    Component Name : com.sap.portal.navigation.dynnavarea.DynamicNavigationArea</b>
    Please advice on how to resolve the issue. 
    Thanks in advance.
    VR.

    Hello all again,
    We are not getting this Dynamic Navigation Error on ONE of the clustered nodes and all other clustered nodes are working fine. 
    Any idea how to resolve the issue?
    Thanks in advance.
    VR.

  • Dynamic Navigation iView ordering

    Hi,
    We have a problem with ordering iViews in the Dynamic Navigation of pages. We had this issue during SP11 and SAP was upposed to fix this in SP16. We have upgraded to SP16 now. Just want to confirm that this problem is not solved yet (atleast not using the sort priority).
    Also, are there any workarounds to acheive this?
    Nirav

    Hi Nirav,
    Have a look at Configuring the Sorting of Dynamic Navigation iViews:
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/76bd3b57743b09e10000000a11402f/frameset.htm
    Let me know if it helps, 
    Cheers
    Jim

  • GenericCreator: How to add iview as Dynamic Navigation

    Hi All,
    Had anyone used the "Uploading Content and Actions" into the portal via XML file process to add an iview into a page into the Dynamic Navigation portion which will cause the iview to load up on the left panel of the page.
    I am able to do this via the Portal manually, but would like to know how this can be achieve using the .xml and the GenericCreator.

    Hi Mary,
    What I meant by being able to do this manually in the portal, is the process of going into Content Administrator > Portal Content  finding the page that I would like to add the iview into.  Selecting the page, executing a Right-Click > Edit-Dynamic Navigation.  Then finding the iview, Right-Click > Add to Dynamic Navigation.
    This will add the iview into the Dynamic Navigation portion of the selected page.

  • Open portal page via HTML URL out of the "Dynamic Navigation"

    Hi everybody,
    In our portal environment we have a page (page1) in which user can enter date. On another page (page2) in a different navigation node there is a report that shows the data. We want to provide a possibility to navigate directly from page1 to page2.
    Our idea was to have a KM-document iView  in the "dynamic navigation" of page1 with a link to page2.
    that works fine. but page2 is not opened in the whole window but in the dynamic-navigation-frame.
    the link looks the following:
    <A HREF="http://xxxxxxxx.xxx:1235/irj/portal/index.htm?navigationtarget=roles://portal_content/folder/role/workset/page/">
    Its obvious that the link is opened in the same frame because no target property is added to the href.
    I thought about adding a the "target" property to the  href, but I don't know how the Frame is named.
    I have tried this:
    <A HREF="http://xxxxxxxx.xxx:1235/irj/portal/index.htm?navigationtarget=roles://portal_content/folder/role/workset/page/" target="MainFrame">
    but it didn't work.
    Does anybody know how the MainFrame in the portal is named or has any other solution to my problem.
    Regards, Alex
    Edited by: Alexander Paulus on Nov 20, 2008 4:09 PM

    kind of simple
    user target="_top" to have the page displayed in the whole window.
    Regards, Alex

  • Dynamic navigation, on HCM Process and Forms "Web Dynpro FORM"

    Hi,
    I'm trying to solve an issue regarding dynamic navigation, on a enhacement done at the Web Dynpro ABAP QISR_UI component for HCM Process and Forms.
    I'm hiding the Adobe Form, and doing "do_dynamic_navigation" for a dynamic generated view container present at the VIEWSHOWFORM on the QISR_UI component.
    The code works great, i.e.: the Adobe Form remains hidden and the custom form, using Web Dynpro appears.
    I'm also using the HRASR00_PROCESS_EXECUTE_1 component to execute a Portal IView (Floorplan based component).
    When the process is started, and the folowing actions are executed:
    1- Select Employee
    2- Select Process
    3- Edit form
    4- Press back (for example if the wrong process is selected)
    5- Select the Process
    6- Edit form again
    There is a NULL exception, the "embedding_vca" (below) is NULL
    SAPLWDR_RUNTIME_REPOSITORY
    METHOD: IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT (LCL_VIEW_USA
    * method IF_WD_RR_VIEW_USAGE~GET_EMB_VIEW_CNT_ASSIGNMENT
      method if_wd_rr_view_usage~get_emb_view_cnt_assignment.
        result = me->view_usage->embedding_vca->get_api( ).
      endmethod.
    "IF_WD_RR_VIEW_USAGE~GET_VIEW_CONTAINER_ASSIGNMENT
    Can you guys give me an hand?
    Regards

    Hello,
    Basically what I did was replacing the Adobe Form, by a Web Dynpro component that contains its own form, and associated logic.
    Tecnically the steps to acomplish the task were:
    1º Development of a component for showing a form. ( I suggest you to start with just a "hello world" or something very basic )
    2º Enhance the QISR_UI component (VIEWSHOWFORM view, on the modify view method), something like
    if form scenario = XXXXX then
    hide the adobe form;
    create a custom view container (the problem I had above), and create an instance of the component created on step 1
    end if
    3º Access the context that the original form returns (you can check the context debugging the VIEWSHORFORM view )
    4º Pass the context to the component created..
    I can't provide further details on this, I'm sorry...
    I do not suggest doing this, this was a requirement so I had to do it... But this requires a lot of workarrounds, and lots of small changes in standard code related with process and forms... It's not, also, a "clean" solution
    Regards,
    Joã

  • Web URL application in Dynamic Navigation

    Hello all,
    in the dynamic navigation window I run an URL iview with HTML application with javascript.
    I receive in the dynamic navigation window an EPCF event with EPCMPROXY calls.
    After I receive the event I would like to navigate within the dynamic navigation iview to another page of the HTML application. When I use web URLs and form.submit of course the EPCF framework is not loaded with the HTML page and I cannot react to events anymore. Is there at all any solution to this problem?
    Thanks in advance
    Peter Balaz

    Yes, there is a problem with ur MDS.
    The command window for MDS should stay.
    I had jdk compatibility issue, so thats why I suggested to check on jdk.
    I'm not sure what version will be compatibile with MDS 4.1.4.
    check the prereuisites.
    You can try the following links:
    http://supportforums.blackberry.com/rim/board/message?board.id=browser_dev&message.id=264&query.id=368188#M264
    http://supportforums.blackberry.com/rim/board/message?board.id=browser_dev&message.id=257&query.id=368428#M257
    http://supportforums.blackberry.com/rim/search?category_id=BlackBerryDevelopment&submitted=true&q=MDSSimulatorclosing
    http://supportforums.blackberry.com/rim/search?submitted=true&q=MDS+4.1.4
    http://supportforums.blackberry.com/rim/board?board.id=MDS_dev
    http://supportforums.blackberry.com/rim/?category.id=BlackBerryDevelopment

  • Dynamic Navigation and Teamviewer

    We programed our own iviews in WebDynpro for using in manager selfservice.
    For changing between different employees, we assigned the standard SAP teamviewer as a dynamic navigation to the pages which include our WebDynpro iviews.
    This proceeding works well. For each iview we can change the employee we like to work on. But if we go to another WebDynpro application in the navigation path, the teamviewer is open in a new way. So the teamviewer lose the indicated employee by stepping from the first to the next application.
    But by using the standard manager role, the teamviewer hold the selected employee.
    How can I get this effect? Where can I find same information about this problem?

    Hi,
    Maybe it has to do with the isolation of the iView. By default (i guess) it is configured to be "embedded" on page, this will result in refreshing. Set the iViews to "URL" (and also set the highttype to "automatic").
    Otherwise it has to do with the navigation. Are u using the Light Portal Framework?
    If so it could be the case that the navigation is triggering a complete page refresh instead of only refreshing the content area..
    regards,
    Benjamin

  • IView errors in Dynamic Navigation area of Page

    Hi,
    I am developing a Java DynPage iView on EP6.0 SP10 (NW04). The iView functions similarly to the SAP MSS Team Viewer, except that it calls an R/3 Search Help to get a list of employees to display. The iview uses the EPCF framework to generate client side events that are picked up by other iviews on the same page.
    Now, the symptoms of my problem: I created a portal page and added the iview to the dynamic navigation area of the page. I have two other iviews that react to the event that is raised by my iview. They are in the general content area of the page. The page is added to my test role as normal. I test the functionality by logging into the portal and accessing the page via the normal portal navigation. Everything works fine, until I leave my session idle for around five (5) minutes. At that point, if I do anything in the iview, I get a runtime error:
    "An exception occurred while processing a request for :
      iView : N/A
      Component Name : N/A
    iView not found"
    If I refresh the page, everything's ok again. This only happens when the iview is in the dynamic navigation area of the page. If it is added to the general content area of the page, the problem does not occur.
    It looks like some kind of timeout value, but I'm not sure where to start looking. My HTTP session is still alive at this point, as is my SSO cookie. And, as I said before, I don't get the error if the iview is not in the dynamic navigation area of the page.
    Can anyone give me advice on what to do to fix this problem?
    Thanks and regards
    Morne Muller

    Hi Frank,
    Unfortunately I did not get an answer. I am currently busy with other things so this problem is not receiving a lot of attention right now. If I do get an answer, I will post it here. If you are able to fix it on your side, I would appreciate it if you could let me know too.
    Regards
    Morne

  • Override default view with dynamic navigation

    Hi,
    I have an URL parameter, based on what I do a dynamic navigation
    wd_this->wd_get_api( )->if_wd_navigation_services~do_dynamic_navigation()
    in the WINDOW DEFAULT inbound plug.
    However the navigation is overridden by what is set as a default view in the WINDOW tab.
    I tried
          lr_window_controller = wd_this->wd_get_api( )->get_embedding_window_ctlr( ).
           lr_rr_window = lr_window_controller->get_window_info( ).
           lr_view_usage = lr_rr_window->get_view_usage( 'MAIN_USAGE_0' ).
           lr_view_cnt_assignment = lr_view_usage->get_view_cnt_assignment( 'FUNC_VCA_1' ).
           lr_view_cnt_assignment->set_default_view_usage( 'NOTDEFAULTVIEW_USAGE_1' ).
    but not helping, still the default view is appearing. FUNC_VCA_1 in the above code is a view_container, I am trying to set a view active inside that view container.
    Any ideas?
    Thanks!

    Guys, there are some confusions here. Take the following case:
    1) Embed both COMP_A/VIEW_A and COMP_B/VIEW_B into a view container, and set COMP_A/VIEW_A as default
    2) Create a navigation between outbound plug TO_VIEW_B and inbound plug COMP_B/VIEW_B default plug
    3) In WINDOW default, based on a parameter wd_this->fire_to_view_b_plg( ).
    This works, COMP_B/VIEW_B is visible!
    Now remove the navigation link, remove COMP_B/VIEW_B from the window and enter the following code in the handlefeault:
          wd_assist->m_akt_comp_usage = wd_this->wd_get_api( )->if_wd_navigation_services~do_dynamic_navigation(
               source_window_name        = 'WINDOW'
               source_vusage_name        = 'MAIN_USAGE_0'
               source_plug_name          = 'TO_VIEW_B'
    *          plug_parameters           = lt_params
               target_component_name     = 'Z_WD_COMP_B'
               target_component_usage    = 'COMP_B_USAGE_1'
               target_view_name          = 'WINDOW'
               target_plug_name          = 'DEFAULT'
               target_embedding_position = 'MAIN/VIEWCONTAINER'
    NWhile I do get back the navigation link and inside do_dynamic_navigation there is a code to create the component and fire the plug, COMP_B/VIEW_B is not showing. Also please note, that if I do that on a button click it works. The problem is only inside handle default method.
    Thanks!

  • WDA dynamic navigation

    Hello everyone
    I am currently creating a componet for displaying detailed information for diffentent plants.
    On the leftside i have an ALV-List of different plants and right an Info-Component displaying detailed information for the selected plant. The Info-Component contains a Tab-Strip which is dynamicly created in dependence of the selected plant.
    I have many different Info-Item-Components (basic_data, measurements, packing_details, addition_notes, etc.) which all implement the same Interface (all of them are Info_Items) and a customizing that defines which of these components are relevant for a specific plant.
    If a plant is selected, my Info-Component determines the relevant Info-Item-Components for the plant, creates component usages for the Info-Item-Components and creates a Tab with a view-Container for each ComponentUsage. If there are no InfoItems defined for a Plant a default Tab ist displayed.
    Examle:
    Plant A selected -> Tab_Strip with 2 Tabs which contain the components (basic_data and measurements);
    Plant B selected -> Tab Strip shows only one Tab (packingdetails)
    Plant C selected -> Tab_Strip with 4 Tabs which contain the components (basic_data, measurements,  packing_details, ...)
    My problem is the following:
    The Interfacecontroller of my Info-Component has a method init_for_plan, in which i determine all relevant InfoItems for the plant and create the component usages.
    The WDDOMODYFIEVIEW-Method of the only view (V_MAIN) creates the corresponding tabs and view_container of the tabstrip and prepares the dynamic navigation links to the embedded components.
    But I can't navigate along the created navigation links in the WDDOMODYFIYVIEW (Link: [WDA Phasemodel|http://help.sap.com/saphelp_nwpi71/helpdata/de/49/b8c706c7c26d7ce10000000a421937/content.htm]) and i can't do the navigation in the Componentcontroller because there i can't get a to the necessary controller; also navigation after WDDOMODYFIYVIEW is not possible, is it?(WDDOPOSTPROCESSING)
    Where do I have to embed the dynamicly created component useages into there corresponding view_containers to display them correctly?
    Kind regards
    Markus

    When you click on Plant,
    As there is a default tab already avaiable, in the WDOINIT of view or before Modifyview create the component usage of the componet that needs to be displayed in 1st/default tab and fire the plug. also create teh number of tabs required in modiyfview when 1st component is embdedded.
    In the TAB click event, embded the respective component (do_dynamic_navigation ) and fire the plug in tab click event.

  • CRM BP - Dynamic Navigation

    Hello,
    We have some problems with the crm business package and more specific with the dynamic navigation.
    All iviews and pages of the bp are appearing in the detailed navigation area. After some research I found out this has to do with the dynamic navigation. The iviews and pages delivered with the bp all have themselves assigned to their own dynamic navigation. So if you open an iview, the iview also will open in the dynamic navigation.
    Does anyone know why this is done and how I can resolve this issue?
    Tnx and Regards,
    Christophe

    It seems I was wrong. The dynamic navigation is refering to the quick create iview and if I change the isolation method of that iview from embedded to URL everything is working fine.
    Regards,
    Christophe

  • IViews in dynamic navigation take up whole content area

    Hi,
    I'm having a problem using dynamic navigation. I've created two Web Dynpro iViews A and B. I've added B to the dynamic navigation of A and put A into a role. Know when I want to view A, I can see the iViews loading, B in the navigation panel and A on the right of the panel. But once they are loaded, B is shown in the content area, "above" A (effectively hiding it). Once I remove B from the dynamic navigation, A is shown fine.
    Any ideas to solve this?
    thanks,
    Lieven

    Hi Lieven!
    I can only guess, that the WebDynpro integration-IView is designed to run in the content area alone and forces so.
    Did you try to run other (sap provided) WebDynpro iviews from the dynamic navigation?
    Regards,
      Jürgen

  • Eventing & dynamic navigation & VC

    Hi all
    i have a  page wth  a custom  webdynpro iview in the dynamic navigation  section of the page.the webdynpro app contains a tree & depending on which element in tree is clicked i want  differnt iviews to appear on the right side
    the  right side iviews are developed in VisualComposer Flash & are independent of the tree webdynpro application.
    Client side eventing is essentially working . i can populate the  fields in the target iviews through   clent side eventing
    currntly i have ALL the target iviews on the right side of the page
    what i need is to hide & show these  iviews  depending on  which branch of tree is clicked
    1 option was to use VC webdynpro compile option  on the target  apps &  use  Webdynpro component iviews & page service. & do a pageService.setDynamicIView(...) & pageService.showDynamicIView(...)
    and not have all the iviews  on the page at design time but have  each of them called dynamically at run time & then  fire the client side event to populate the fields
    all i want to know is has any one done something similar  & did it work successfully
    another option  was to have individual pages with the tree iview in Dynamic navigation & one target iview on the right & do a WDPortalNavigation. & workprotect mode(so that the tree maintains the state). but this causes  major screen flashing as the whole page gets refreshed. so this is my last option
    Any help is appreciated
    thanks
    Prasad badal

    Hi Prasad badal,
    I had a similar requirement some time ago. I did not figure out a useful way to dynamically display several iViews on one page. (Except for building a HTMLB page, which I didn't, as I have never worked with that before).
    You could deploy all iViews in one single VC-Model.
    Then display all iViews above each other. Depending on what tree element is selected, you display one iView and hide all others.
    Best Regards, Benni

Maybe you are looking for