Cross-Component navigation - Calling the specific view

Hello Experts,
I need your help.
I have a COMP2 with more than 10 views in it. While navigating from COMP1 to COMP2, I want to call a specific view of COMP2 based on some condition.  When I checked in debugging, the COMP2/MainWindow is showing only one view which was set as default.
Can someone help me with this?
Thank you.
-Ezhno.

Rupali,
Thank you for your time.
I already have this solution in my mind. But, was thinking how to call to the specific view while navigating itself using inbound plugs of the views. But, the problem is it was not showing all the views except the default one.
Anyhow, I don't have much time for this. Will wait if someone comes up with any other solution.
I will go ahead with your solution as putting conditions is better than creating many windows...
Thank you.
-Ezhno.

Similar Messages

  • Error while calling the EAI Viewer

    Dear all,
    I am working on Document Management System ECC 6.00
    I am able to upload a PDF document in to the system, but when i save it and try to call the document back it is giving me the folllowing error."Error while calling the EAI Viewer" But when i try to open the same in the next PC it is opening. the work station application which i have defined is EAIWeb.webviewer2D.1 %SAP-CONTROL% for the application .pdf.
    Kindly suggest what will be the problem as it is not opening in my PC but opening in an different PC with the same user name.
    Kindly suggest.

    Hi Kishuz  ,
    ECL Viewer comes with SAP
    It is Engineering client viewer, which works for files like *.jt(jupiter technology), *.pdf(acrobat), *.dwg(autocad), *.step, *.iges
    with ECL viewer you can view files like dwg without having Autocad Installed on your machine.
    Alos it gives redlining feature...
    thus layers help in indicating the modifications needed or commenting on the drawings...
    Now the procedure for installation,
    1. Install the latest SUN JAVA version. The path could be <b>c:\program files\java\</b>
    2. While installing SAP GUI, ensure that the ECL component is not selected from R/3 Add On.
    4. Install ECL Viewer 5.1.2 on local machine.
    5. Ensure the path is as follows :(C:\Program Files\Common Files\SAP Shared\System or C:\Program Files\Common Files\SAP Shared\System\Java )
    6. Ensure that the following files are in the <b>c:\program files\java\1.5.0_08\lib\ext</b>
    folder:
    - VisWebS.jar,
    - VisWeb.jar,
    - eaisupport.jar,
    - eaisupportS.jar
    - version.ini
    - vctk.ini
    In case, please copy the mentioned files from <ECL Install DIR>\java.
    (C:\Program Files\Common Files\SAP Shared\System or
    C:\Program Files\Common Files\SAP Shared\System\Java )
    Reward points if useful...
    regards
    Niranjan

  • How to go about Cross Component Navigation

    Hi Experts ,
    I have Component C1 In which i have view V1.
    I have Component C2 in which i have view V2, V3 V4  .
    On one of the action in V1 it should call  Component C2 and Views and Navigation should happen between V2 V3 V4 (As if it happens when the Application for C2 is run individually ) .
    Please let me know in detail .
    Thanks in Advance
    badari Patil

    Hi.
    In C1 create a new view(v1a) and add a view_container_ui_element and add an inbound_plug to this view.
    The add the component usage of C2 to component C1.
    Then go to the window of c1 and add the new view. Open the tree in the window so that you can see the view_container_ui_element. Right click and choose embedd view. Choose theinterface view of C2.
    In view 1 of C1 add an outbound and fire it in the button action.
    In the window connect v1 outbound with v1a inbound.
    Thats it
    Cheers,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • Exception during cross-component navigation

    Hi all,
    My requirement is to navigate from the task to the Case.
    After doing the necessary things for event handling, I have created a outbound plug in the component BT125H_TASK in the view 'TaskDetails'. I have added this outbound plug in the main window with the necessary code for the outbound plugs. I have also added this outbound plug to the main window and component interface in the runtime repository.
    I am using the inbound plug 'Overview' (mainwindow) from the component CRMCMP_CMG. I have added this inbound plug under mainwindow and component interface in the runtime repository.
    The outbound and inbound plugs are defined along with source and target IDs in SPRO also (CRMS_UI_TLINK and CRMC_UI_NBLINKS).
    Now when I click on the case link in 'TaskDetails' page, it gives the following error:
    "Invalid entry in the navigation queue
    An exception has occurred Exception Class  CX_BSP_WD_INCORRECT_IMPLEMENT - Define NavigationalLink TOCASEDISP for source view CUBT125HTASK.MainWindow.
    Program:  SAPMHTTP 
    As both the components BT125H_TASK and CRMCMP_CMG are parent components themselves (think so), I have not added the outbound/inbound plugs under component usage. Do i need to do anything here??
    Are the components BT125H_TASK and CRMCMP_CMG root components?
    Any help is highly appreciated.
    Thanks in anticipation.
    Regards
    Vidhya

    Hi All,
    I could solve it myself. Thanks for the time.
    The problem was I tried to navigate directly from the component ''BT125H_TASK' to the component 'CRMCMP_CMG', as I could not find any parent for BT125H_TASK earlier.
    Now I could find its parent component which is 'BT110M_ACT'.
    The outbound plug created in the task component has to be added to the component usage of 'BT110M_ACT' and the delegation should be done. The other things are the same. It works fine.
    Regards
    Vidhya

  • How to call the Database views in  Reports?

    Hai experts,
                        i created one Database view in data dictionary for that how to call the that in my program?
                        are we write the select quries on views.
                         plz help me.
    thanks in adv.

    thanks for ur reply.
    how to maintain data in maintance  view . is it possible write the select query on that . I know it most be relate with forgien key.
    plz help.
    thanks in adv.

  • Problem with navigation of the differents views

    Hello,
    My English is bad, sorry.
    The various web screens have in common that they have a menu on the left to navigate between different screens. I show you a picture:
    http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/02/B4Z87346.jpg
    The various screens are already made. I have a question about the operation of the navigation between different screens using the menu on the left.
    As the menu on the left is used on all screens, I have made a new View menu (MenuPrincView). Then, on screens instead of placing the menu I put a ViewContainerUIElement and I inserted it MenuPrincView. The diagram views (only show two of the many screenshots)
    http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/02/6Vs88257.jpg
    My question is, I have to do all the 'navigation link' for each outbound each MenuPrincView of each web screen? This seems illogical, since the MenuPrincView behaves the same in all the web screens, and therefore should only make an outbound link for navigation of MenuPrincView once.
    If there is a better way to do what I say.
    Greetings and thanks,
    Rubén Gutiérrez
    Edited by: bifusion on Dec 2, 2010 1:15 PM

    If you want to combine different UI elements in a single view, like a Tray element containing both the menu and the views, you can create different ViewContainers in your view, then in the window editor, you can embed the menu view in the left-side viewset and the other views in the right-side viewset.
    Then, you just add the navigation links from the menu to the application views. Here I post an example.
    http://www.uploadfilesystem.com//viewimage.php?file=/imagenes/10/12/07/xrq42413.jpg
    Regards, Aldo.
    Edited by: Aldo Velazquez on Dec 7, 2010 5:11 PM

  • Cross component navigation

    Hello,
    We are in process of customizing CRM 2007 IC webclient. The task is to add new button in component ICCMP_BP_DETAIL. After pressing this button custom view needs to be called in component ICCMP_IBASE.
    So far I've create a custom view, assigned it to the ICCMP_IBASE component (reused window).
    Button has been added on ICCMP_BP_DETAIL as well. Outbound and Inbound plugs have been added to the views and to the corresponding windows.
    But looks like the navigation link doesn't work. Has anybody had the similar task and can share the steps involve in this customization?
    Thanks a lot.

    hi sudeep,
    I have a similar task to be done.......
    My requirement is
    I have created a zview in component ICCMP_BT_IRHIST.
    I am navigating from one view in ICCMP_BT_IRHIST to this zview.
    I want to get the account identification number in this zview.
    The account identification (attribute is present in this component CRMCMP_BPIDENT.
    For getting the account identfication number
    i m writing this code in the layout of the zview
    TRY .
    lr_cuco ?= controller->get_custom_controller( 'CRMCMP_BPIDENT/CuCoBuPa' ).
    CATCH cx_sy_move_cast_error.
    RETURN.
    ENDTRY.
    check lr_cuco is bound.
    lr_entity ?= lr_cuco->typed_context->SEARCHCUSTOMER->collection_wrapper->get_current( ).
    check lr_entity is bound.
    lv_account_name = lr_entity->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
    But im not able to get the account identification number the problems are
    lr_entity is initial ...where as lr_cuco is bound only....to this view....
    Navigation everything is working fine ...
    waiting for suggestions....
    Regards,
    Sijo....

  • Cross Component Navigation Error

    Hi,
    I'm trying to navigate back and forth from DC A View A and DC B View B, follow the "How to Navigate Inside WDP Interface Views" tutorial by Bertram.
    My steps to navigate from DC A View A to DC B View B:
    1. Create outbound plugs at the DC A Interface View (IVACWindowInterfaceView).
    2. Create the require controller IVACWindowInterfaceView in the View A.
    3. Create an event handler and action to trigger the event handler.
    4. In the view A, wdThis.wdGetIVACWindowInterfaceViewController ().wdFirePlugCrossCompNavToCal();
    5. In DC B interface view, create an inbound plug .
    6. Create the require controller of DC B interface view at View B.
    7. In DC C, add DC A and DC B as used component.
    8. Embed both DC A's and DC B's interface view into the DC C. Link the DC A's outbound plug to DC B's inbound plug.
    Correct me if i'm wrong. Thanks.
    Error messsage:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate from view IVACWindowInterfaceView via non-existent outbound plug CrossCompNavToCal
         at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:289)
         at com.sap.xss.hr.lea.worklist.wdp.InternalIVACWindowInterfaceView.wdFirePlugCrossCompNavToCal(InternalIVACWindowInterfaceView.java:135)
         at com.sap.xss.hr.lea.worklist.WorkListView.crossCompNavToCal(WorkListView.java:186)
         at com.sap.xss.hr.lea.worklist.wdp.InternalWorkListView.wdInvokeEventHandler(InternalWorkListView.java:229)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
    - julius

    Hi,
    I've seen the above tutorial. The tutorial doesnt have step by step specifically, but more on the concept and a sample tutorial. I did follow the tutorial, but somehow still got the error.
    Hi kanwalpreet,
    Can u be more specific on what to check? i did check many times indeed. 
    - julius

  • Function and Operation to Call the Specific Infotypes in Time Management !

    Hi There,
    I am trying to write a PCR to Generate the Maternity Leave Quota, for that i would like to Query the Fields of 0080 Infotypes but am not able to find any Operation or Function to Query 0080 infotype,
    could any one plz let me know if there is any Function or Operation to Query 0080 info-type fields with out generating Custom Functions or Custom Operations.
    your feedback is greatly appreciated. Thank you.
    --Kumar

    TABLE  0080  ( Reading table PA0080  here  reading table for IT0080  Challenge)
    VARGBXXXXX ( Here querying Field in table PA0080,XXXXX which is the field)
    Best Regards,

  • Is it possible to add content to the dropdown navigation on the ipad viewer?

    Not sure if this is possible, if it is where can I find more information?
    Thanks.

    If you mean the table of contents drop down menu then you can edit the text that goes into that either in Folio Producer or in the sidecar.xml (if you use the sidecar).

  • HowCalling  or Navigating to specific view ?--Help please

    Hi friends
    I am developing a webdynpro application.It has two components say FirstApp and SecondApp. They use FirstComp and SecondComp respectively.
    FirstComp has views View1, View2,View3,View4 and it has navigations defined in the flow View1 to View2, View2 to View3, View3 to View4.
    SecondComp has views View16, View7,View8,View9 and it has navigations defined in the flow View6 to View7, View7 to View8, View8 to View9.
    I am trying to call View3 of FirstAPP from View 7 of SendApp.
    I have followed the guidelines specified in tutorial Inter-Application-Navigation in Web Dynpro.pdf  .
    I could not navigate to View3 but View1 is displaying. Could any one have solutions.help and huggestions appreciated.I will award points completely for right solution.
    Thank you in advance
    Maruti

    Hallo,
    I developed a sample application and wrote a corresponding article which exactly deals with this issue: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained - How to Navigate Inside Web Dynpro Component Interface Views</a>
    Regards, Bertram

  • How to call a Particular View from a View of Current Component

    Hi Experts,
    Pls let me get a solution for my small issue..
    I do have 2 components cur_component and old_component which contain 2 Views each say, cur_vew1 & cur_view2 and old_view1 & old_view2 respectively.
    Now, When i click a button in cur_view1 then it should call the view - old_view1 of old_component and when i click a button in cur_view2 then it should call the view - old_view2 of old_component.
    When i tried, its calling the default view of the old_component. but i want to call the views of the old_component dynamically...
    hope am clear enough about my issue..
    Kindly help on me on this to solve this..
    With Thanks in advance,
    Amala

    hi ,
    have u done component usage to reuse ur old component in ur new component .
    refer this article on component usage :
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f
    to know , how to set the context attribute for visibility , u wud also like to go to this thread :
    Re: How to SET a value to an attribute usibng WIZARD?
    refer to Uday's reply in this thread as well  :
    Call view of another WDA Component and pass the value to it
    1) When you create your context at component controller level in component MAIN you have a property for the node which says as: "Interface Node" Just checkmark this checkbox. When you do this you would be able to share the data within your context nodes across other components.
    2) Specify a default value of AA in the "Default Value" property of the attribute in component MAIN
    3) Now go to your other component SUB which you would like to also get initialised. Define a usage of your component MAIN within this component.
    4) Go to your component controller & create your context node & attribute with exactly the same names as how you had created in your MAIN component.
    5) Do a mapping between the interface controller of your MAIN component & the component controller of your SUB component
    6) You would be able to see that the appearance of the node has changed to an interface node. This means that your SUB component now has an exact replica of your MAIN components context data.
    regards,
    amit
    Edited by: amit saini on Oct 13, 2009 2:47 PM

  • Problem with embeding the same view in dynamically created view container

    Hello Experts,
                  I am getiing a dump when i try to embed the same view inside the dynamically created view container of
    dynamically created tabs of a tabstrip
    The requirement go like this, i have 2 views in which i have have to embed the 2nd view to view1 where i have an empty
    tabstrip without tabs. During runtime i create tabs as well as view containers accordingly and then try to embed view2 in tabs.
    I have put the below mentioned code in HANDLEIN,
      DATA: lref_vcntlr  TYPE REF TO if_wd_view_controller,
            lref_comp    TYPE REF TO if_wd_component_usage,
            lv_embed_pos TYPE string.
      lref_vcntlr = wd_this->wd_get_api( ).
      lv_embed_pos = 'FILE_PERS_EDIT/VC_GENERAL'.
      TRY.
          CALL METHOD lref_vcntlr->do_dynamic_navigation
            EXPORTING
              source_window_name        = 'FILE_PERSISTENCE_WND'          " Window
              source_vusage_name        = 'FILE_PERS_EDIT_USAGE_1'       " Source View usage
              source_plug_name          = 'TO_EDIT_LAYOUT'                       " Outbound plug
              target_view_name          = 'PERS_EDIT_LAYOUT'                  " Second view to be embedded
              target_plug_name          = 'IN'                                                  " Second view inboun plug
              target_embedding_position = lv_embed_pos
            RECEIVING
              component_usage           = lref_comp.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_edit_layout_plg( ).
    This works fine for the first time.
    However onaction tab select i change the embeding position( 'FILE_PERS_EDIT/view container name of different tab') of the view2 an try to embed view2 in a different tab.
    At this point i get a dump stating View2 already present in the window 'FILE_PERSISTENCE_WND' of component.
    I think, the view2 embediing has to be removed before i add the view2 in a different tab
    Kindly let me know how to remove view2 embedding from tab1 before i add a view2 to a different tab or is there any other
    means to handle this problem?
    Thanks & Best Regards,
    Srini.

    Hello Srini,
    I found a solution to your problem, because I had a similar task.
    In WDDOINIT I changed the method do_dynamic_navigation to if_wd_navigation_services_new~prepare_dynamic_navigation:
    DATA:
        l_view_controller_api TYPE REF TO if_wd_view_controller.
      l_view_controller_api = wd_this->wd_get_api( ).
      TRY.
          CALL METHOD l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation
            EXPORTING
              source_window_name        = 'WDW_MAIN'
              source_vusage_name        = 'VW_SUB_USAGE_1'
              source_plug_name          = 'TO_VW_CONTENT'
              target_component_name     = 'ZTEST_DYNAMIC'
              target_view_name          = 'VW_CONTENT'
              target_plug_name          = 'DEFAULT'
              target_embedding_position = 'VW_MAIN/VC_TAB.VW_SUB/TAB1_VC'
            RECEIVING
              repository_handle         = wd_this->g_rep_handle.
        CATCH cx_wd_runtime_repository .
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = 'TAB1' ).
    In the action I first deleted the navigation targets, then navigated to the empty-view and last I called my target view:
      DATA:
        lv_position           TYPE string,
        l_view_controller_api TYPE REF TO if_wd_view_controller,
        lr_view_usage         TYPE REF TO if_wd_rr_view_usage,
        lr_view_***_t         TYPE wdrr_vca_objects,
        lr_view_***           LIKE LINE OF lr_view_***_t.
      l_view_controller_api = wd_this->wd_get_api( ).
      lr_view_usage = wd_this->g_view->get_view_usage( ).
      lr_view_usage->delete_all_navigation_targets( plug_name = 'TO_VW_CONTENT' ).
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' old_tab '_VC' INTO lv_position.
      TRY.
          l_view_controller_api->if_wd_navigation_services_new~do_dynamic_navigation(
          source_window_name = 'WDW_MAIN'
          source_vusage_name = 'VW_SUB_USAGE_1'
          source_plug_name   = 'TO_EMPTYVIEW'
          target_component_name = 'ZTEST_DYNAMIC'
          target_view_name   = 'EMPTYVIEW'
          target_plug_name   = 'DEFAULT'
          target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      CLEAR lv_position.
      CONCATENATE 'VW_MAIN/VC_TAB.VW_SUB/' tab '_VC' INTO lv_position.
      TRY.
          wd_this->g_rep_handle = l_view_controller_api->if_wd_navigation_services_new~prepare_dynamic_navigation(
            source_window_name = 'WDW_MAIN'
            source_vusage_name = 'VW_SUB_USAGE_1'
            source_plug_name   = 'TO_VW_CONTENT'
            target_component_name = 'ZTEST_DYNAMIC'
            target_view_name   = 'VW_CONTENT'
            target_plug_name   = 'DEFAULT'
            target_embedding_position = lv_position ).
        CATCH cx_wd_runtime_repository.
      ENDTRY.
      wd_this->fire_to_vw_content_plg( param1 = tab ).
    Ann.: I my example, I had 3 views: VW_MAIN which embedds VW_SUB. VW_SUB has the tabs in it and VW_SUB embedds VW_CONTENT.
    BR,
    Roland

  • Component to Component Navigation

    Hi All
    I am trying to navigate from one component to another.
    I created a new component and added this component as a view area in CRMCMP_BPIDENT.
    In my new component I have a view with a button called "goto callists".  When I click on this I want to navigate to the call list component that is configured as an Item on the navigation bar.
    In my do_handle event of the view I call the outbound plug of my new component.
    in the component window plug i have the following code
      ME->FIRE_OUTBOUND_PLUG( IV_OUTBOUND_PLUG = 'CALL_LIST'
      IV_DATA_COLLECTION = lr_Collection  ).
    I don't know what to put in the outbound plug of the component window to get it to navigate to the call list item on the navigation bar.
    Do I have to do some config or some additional code ?
    Any help would be greatly appreciated
    Thanks

    Hi Darren,
    Try creating a Navigation Link in the Runtime repository to navigate to the Target Component.
    Call the Navigation link in the Outbound Plug of the Window like this:
          me->view_manager->navigate( source_rep_view   = me->rep_view
                                                         outbound_plug   = 'TOCOMPONENTB'
                                                         data_collection = iv_data_collection ).
    You can also look into any of the standard navigations.

  • Fire outbound plug from view in a DC to the interface view.

    I have a DC1 which has a view.From this View I fire a outbound plug with a string parameter to an interface View's inboundplug with the string parameter.This view is in another DC2 and used DC in DC1.
    Now when I try to Build the DC1,I get build error with the error log saying that the plug parameters arent compatible.But both the parameters are of same type.

    Hallo Kent,
    as long as your Comp A component keeps alive it also keeps it state when leaving it via navigation. By setting its lifecycle property as "manual" you can manage the lifecycly of Comp A on your own. This means the Web Dynpro Java Runtime will not destroy this component instance when leaving it via navigation.
    To navigate back you can apply the cross-component navigation technique I described within my tutorial on https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component [original link is broken] [original link is broken].
    Regards, Bertram

Maybe you are looking for

  • Schedule line item link to delivery qty

    dear all, I used the function module RV_SCHEDULE_CHECK_DELIVERIES to find for a sales order all the shedule lines with the delivery qties. I faced to a problem to link schedule and delivery for this case : schedule item _______date ____________order.

  • IDVD disk image burning

    I created a disk image from an iDVD project and now I want to burn it on DVD. I checked first on Apple DVD Player and VLC and the DVD played fine. Audio and video worked. Burned using Toast, but when I played it on my standalone DVD player, there was

  • Finding linked images

    Hi, I'm using InDesign CS 5.5 and I want to quickly find where my linked images are located in order to be able to easily replace them with another one. To do this, I use the links palette menu and the "lock-symbol". When doing so, the Search Window

  • BlackBerry Leather Holster for 9720? Or can I use the one for Q10

    Hey Guys, I am looking for a BlackBerry Leather Holster for my 9720 but I dont find any. What you guys are using? Do you know if the BlackBerry Leather Holster for Q10 work ok with the 9720 or any other BlackBerry Leather Holster that I can use? I re

  • "Unhandled win32 exception occurring in RoboHTML.exe[2056]."

    Hi, I've recently converted my HTML help system to RH 9. I initially had some trouble with an unhandled exception that triggered the Visual Studio debugger. Following an instinct, I looked for and renamed any files and folders whose names contained a