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.

Similar Messages

  • Error while dynamic Navigation for BP Account Overview

    Hi,
      I have created a custom search, result component which is working fine. On the Partner number I have provide the hyperlink to navigate with Dynamic navigation, but I am getting the below error when I clcik on partner number.
    Selection and result
    Now when I clcik on BP
    Code which I have written in event handler
       method EH_ONPARTNER_CLICKED.
    "navigate to Account overview
       DATA: lr_entity        TYPE REF TO cl_crm_bol_entity,
             lv_index        TYPE i,
             lv_guid         TYPE crmt_object_guid,
             lv_objectid     TYPE crmt_object_id,
             lr_core         TYPE REF TO cl_crm_bol_core,
             lr_entity_bt    TYPE REF TO cl_crm_bol_entity,
             lr_nav_descr    TYPE REF TO if_bol_bo_property_access,
             lr_navigation   TYPE REF TO if_crm_ui_navigation_service,
             lr_col          TYPE REF TO cl_crm_bol_bo_col,
             lv_partner_guid type crmt_genil_object_guid.
    * Let's get current row info
      CALL METHOD cl_thtmlb_util=>get_event_info
        EXPORTING
          iv_event = htmlb_event_ex
        IMPORTING
          ev_index = lv_index.
      CHECK lv_index IS NOT INITIAL.
    * Get entity for the current row
      CLEAR: lv_guid.
      lr_entity ?= typed_context->SEARCHRESULTNODE->collection_wrapper->find( iv_index = lv_index ).
      IF lr_entity IS BOUND.
        lv_objectid = lr_entity->get_property_as_string( iv_attr_name = 'PARTNER' ).
      ENDIF.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_objectid
        IMPORTING
          output = lv_objectid.
       CHECK LV_OBJECTID IS NOT INITIAL.
      select single partner_guid from but000 into lv_partner_guid where partner = LV_OBJECTID.
    *     Get the BOL Core Instance
      lr_core ?= cl_crm_bol_core=>get_instance( ).
    * get the BuilHeader object
      lr_entity_bt = lr_core->GET_ROOT_ENTITY( iv_object_name = 'BuilHeader' iv_object_guid = lv_partner_guid ).
    * add the Builheader to the collection
      create object lr_col.
      lr_col->if_bol_bo_col~add( iv_entity = lr_entity_bt
                                 iv_set_focus = abap_true ).
    cl_crm_ui_descriptor_obj_srv=>create_ui_object_based(
               exporting
                         iv_ui_object_type   = 'BP_ACCOUNT'
                         iv_ui_object_action = 'B'
               receiving rr_result           = lr_nav_descr ).
      lr_navigation = cl_crm_ui_navigation_service=>get_instance( ).
    * check if navigation is possible
      if lr_navigation->is_dynamic_nav_supported( ir_descriptor_object = lr_nav_descr ) = abap_true.
        lr_col->if_bol_bo_col~insert( iv_bo    = lr_nav_descr
                                    iv_index = 1 ).
    *   start the navigation
        lr_navigation->navigate_dynamically( iv_data_collection = lr_col ).
      endif.
    endmethod.

    Hi ,
    Try this.
    Root entity you no need to take for this.
    cl_crm_ui_descriptor_obj_srv=>create_ui_object_based(
               exporting
                         iv_ui_object_type   = 'BP_ACCOUNT'
                         iv_ui_object_action = 'B'
                         iv_entity_key_name = 'BP_GUID'
                         iv_entity_key_value = lv_bp_guid
               receiving rr_result           = lr_nav_descr ),
      lr_navigation = cl_crm_ui_navigation_service=>get_instance( ).
    * check if navigation is possible
      if lr_navigation->is_dynamic_nav_supported( ir_descriptor_object = lr_nav_descr ) = abap_true.
        lr_col->if_bol_bo_col~insert( iv_bo    = lr_nav_descr
                                    iv_index = 1 ).
    *   start the navigation
        lr_navigation->navigate_dynamically( iv_data_collection = lr_col ).
      endif.
    Regards,
    Deepika

  • 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.

  • 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

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • Employee Search in Dynamic Navigation does not update other iViews (FPM)

    Hi all,
    after selecting a person from Employee Search (MSS) we have to display corresponding data in a customer specific iView with help of selected person number.
    So I created a Floorplan Manager Application as described in https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/how-toaddacustomWebDynproiViewtotheMSSEmployeeProfile%28ECC+6.0%29&
    If I use the SAP content page or create my own pages with corresponding Employee Search and customer specific iView, updating of data on the customer specific iView works. But if I add the Employee Search to Dynamic Navigation, the data is not updated in the customer specific iView.
    I didn´t find a solution in this forum. Does anybody know, if it is possible to add the Employee Search as Dynamic Navigation (with help of Floorplan Manager functionality) and update data in other iViews and how this works? Or is it possible to handle this in a different way, e.g. PortalEventing?
    Thanks,
    Thomas

    Hi,
    I also tried to use only iViews of 'General Information'  and added the employee search (team viewer) of the sap
    content page 'General Information' to the dynamic navigation, but the other SAP standard iViews of 'General Information' page are not updated, too.
    Does anybody know, if it is possible to add the employee search to dynamic navigation and to update the other iViews of 'General Information'? If yes, what properties have to be set? Are some settings for Floorplan Manager
    needed?
    Could anybody please give me a hint?
    Thanks,
    Thomas

  • Dynamic Navigation in Interaction History

    Hi,
    When I navigate to Interaction History in CRM 2007, I am able to fetch various interaction records. Where as I am not able to open an individual interaction record from the result window. When I double click to oepn the record I am getting the error message "Dynamic Navigation to this object is not supported".
    Please let me know the settings to be done to overcome this.
    With kind regards,
    Shankar
    Edited by: Shankar Nagarajan on Aug 27, 2008 11:43 AM
    Edited by: Shankar Nagarajan on Sep 9, 2008 3:51 PM

    Please read this 2 topics:
    Recent Items
    Dynamic Navigation Is Not Supported By This Object Error
    May be this help you.

  • Dynamic navigation structure

    Hi all,
    I want to implement a dynamic navigation structure that displays navigation nodes depending on the status of the user in the backend system.
    The scenario is as follows:
    - user gets access rights via roles and profiles in backend system
    - each user is assigned to a business partner in the backend system
    - each business partner is in a specified phase (the phase of a business partner can change over time)
    - a table in the backend system contains the mapping: phase - visible navigation structure
    -> in the portal the user should see only these navigation nodes, that are set to visible in the mapping table, all other navigation nodes are hidden
    Is it possible to implement such a behaviour?
    I'm running EP 6.0 and CRM 5.0 as backend system.
    Thanks in advance.
    Kind Regards,
    Martina

    Hi Martina,
    Filtering out roles and worksets can be done by implementing a role filter, for details see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/code-samples/filtering%20role%20and%20workset%20content.htm and https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5021a57d-0601-0010-6097-ec94a09c626d for example.
    > in the portal the user should see only these navigation nodes,
    > that are set to visible in the mapping table, all other navigation nodes are hidden
    Of course, these nodes must be a subset of the navigation nodes the user has per role assignment.
    Hope it helps
    Detlev

  • Understanding Dynamic Navigation iview.....

    In MSS, I have the following workset in my role...
    ->Team (workset)
       ---+ Team (webdynpro proxy page)
       ---+ Employee information (folder)
       ---+ Employee Working Time (folder)
       etc....
    The "Team webdynpro proxy page" has an iview ,"Services", assigned in "Dynamic Navigation" but there is nothing particular about that iView itself. However, all folders (and their contents) below the Team webdynpro proxy page appear in the Dynamic Navigation panel (like "Employee information" and "Employee Working Time"). I do not understand the connection between the dynamic navigation iview and how all folders in that workset know to display in that dynamic navigation area. There seems to be no explicit assignment. How does that work?
    edit: a bit more info....the "Services" iview is part of the Common Parts business package and based off the "related services" iview template. Still not sure how it "knows" to display the objects below that page that has it assigned as dynamic nav.

    Did you blog about this solution?  If so could you direct me to the blog?  We need to add numerous links to outside URLs in Related links.  I need to order them somewhat differently than alphabetically.
    Thank you,
    D. Maupin
    University of Kentucky

  • 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

  • Dynamic navigation

    dynamic navigation
    Posted: Aug 29, 2005 3:03 PM        Reply      E-mail this post 
    Hi
    I have an iview from BW that generates links to reports. I associated this iview to a page as a dynamic navigation link.
    When I click on the link, it does not load the content in the portal content area. I tried _self, _top, _parent as the targets in the BW web template.
    How can I get the content loaded in the portal content area? What is the name of the portal content area frame?
    Thanks
    Sriram

    Hi Sriram,
            I confronted with the same issue as yours but then i did the following.......
    Presuming that two iviews are already created i.e.
        1.Navigation Panel iview with links (left)
        2.different iviews associated to the links.
    Now,
         >>Open the other iviews and select Dynamic navigation in the context menu.
         >>Right click on the navigation panel iview having the links and select "Add to Dynamic Navigation"
    In the first iview for the link the code i gave is
    <a href="link2" class="urLnk" onclick="return EPCM.doNavigate('ROLES://portal_content/xyz/Pages/sampleiview')">Link to Project Plan</a>
    No need of the parent,self,.....etc.
    Hope this helps.
    regards,
    Joshua Kiran

  • Dynamic Navigation in ES

    Has anyone tried to add dynamic navigation to ESS page? My issue is after I click the links on the page to launch the service (e.g. Working Time: Record Working Time Service), dynamic navigation is lost.  Please suggest.  Thanks,
    Rong

    Hello again,
    thanks for your support. It was all my fault that the dynamic navigation didn't work. I've already added the Dynamic Navigation iView to the Framework-Page, but forgot that I made objects invisible by default for that specific container that I added the DN iView to. So making contents visible for this container worked.
    Anyway, Karsten's link might be very helpful for future Layouts. But for this specific layout the customer explicitly wanted the old default framework behavior for the dynamic navigation.
    @Detlev Knowing where to find that code is very good. Actually it's not that self-explanatory and I didn't find out how the DN works in the AFP, but thank you anyway. We've never worked with the AFP before and maybe I didn't phrase my question clear enough. Maybe that's why none of the colleagues I've asked were able to answer my question.
    Regards,
    René

  • 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ã

Maybe you are looking for

  • How do I add a mailbox on my 4S?

    The manual clearly says to add a mailbox "Go the the mailboxes list, tap Edit, then tap New Mailbox".  There is no "Edit" option on my mailboxes screen

  • I Just bought Final Cut Pro X and now I find out

    I just bought Final Cut Pro X, I have used Final cut Express 4 with no problem using a firewire supported camera, Now I find out there is no video camers I can buy for Final cut Pro X for under $500, all the video cameras are now USB and for PC Micro

  • Adding a new field in Oracle Selfservice /Internet Time

    Dear All I need to add a column in detail frame of the Self Service Time - Create Time card page. In Master level we have employee name, Manager name, weekending date, General Comments. In detail level we have Project number, Task Number,Type,mon,tue

  • ITunes 12 are not updating apps and transfering purchases

    I really don't know why it is happening. I lost my old iTunes library on a Hard Drive crash. So, I created a new one. I connected my iPad, iPod and iPhone, transfered purchased on the first time, backup, sync... all things that we have to do. Then, I

  • Standby sync

    Hello Recenlty i rebuild physical standby based on scn..Mine is a 2 node rac 10g database(primary) with a physical standby .There are 2 therads (thread 1 and thread 2) for some reason only from thread 1 its coming into physical stanby and it stopped