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

Similar Messages

  • 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

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

  • 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

  • Can any body send me the cross component meta data files of any cross compp

    HI,
    I want meta data files of cross component project could u please pass these meta data files as soon as possible.
    Thanks,
    Shabeer Ahmed.

    Hi,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845
    Regards,
    Sundar

  • Webinar: "Cross-file navigation & enhanced interactivity with TimeSavers + Navigation Asst" (March 5

    "Cross-file navigation & enhanced interactivity with FM-to-Acrobat TimeSavers + Navigation Assistant" Webinar (free)
    Thursday, March 5 (10am-11am PST)
    Navigation Assistant (FrameMaker-to-Acrobat TimeSavers add-on) enables you to enhance PDFs and PDF collections in several ways, such as:
    * effective cross-document navigation [ http://www.microtype.com/ImprovePDF27.html ]
    * automatic next/previous topic links [ http://www.microtype.com/ImprovePDF28.html ]
    * popup menus [ http://www.microtype.com/ImprovePDF07.html ]
    This webinar demonstrates how to set up your files to enable these features and more.
    To register to this free one-hour webinar, please write to [email protected]
    Shlomo Perets
    MicroType * http://www.microtype.com
    FrameMaker/Acrobat training & consulting * FM-to-Acrobat TimeSavers/Assistants

  • Cross-component: Call method of using component from within used component?

    Hi,
    I began diving into cross-component programming.
    Meanwhile after having digged into some scenarios some questions came up to my mind that I am not able to answer myself. I would appreciate your help here!
    Say we have to components.  Comp A uses Comp B (hence, B is a component usage in A)
    1) How to make them communicate not on a data level (via context binding) but on a process level, thus...
    a) can I call A's method from within B? How is the approach on a general level? - as B can be used from totally different components (like A, A1, A2 ...)
    b) perhaps the only way to do this is by firing events? If so, how can I react in A when an event in B (marked as interface event) gets fired? As it seems they do not get registered within A directly...
    I guess the question seems to be a bit tricky. Nevertheless, I think there will be plenty of you out there who used to asked them the same questions before and came up with an approach. Would be nice to hear from you.
    Best wishes,
    Marc @sap1

    Hi,
    thanks for your reply!
    Indeed, I think the nature of WDA would be just to somehow map the context from the used component to the other back and forth.
    Nevertheless, what if I would like to invoke a method of the using component from inside the used component.
    One sample for this requirement could be e.g.:
    Component B offers a tree item and a send/verify button.
    Component A uses B and has some restraints regarding what the selection should look like.
    The user taps the button in B (at runtime in the view container of A), the context gets updated in A and B and in Component A the verifyWithOwnConstraints() method gets called (through B).
    Thanks again,
    Marc

  • Unsuccessful Cross Component View Sharing

    Hey Folks,
    I am facing an issue when I am doing cross component sharing of a vew
    Requirement
    I need to embed View 1 of Component A into View 2 of Component B.
    Solution : I have done the following steps:
    In Component A: 
    I have a created a View 1, whose elements are bound to a node. The node has mapping to the node in the Component Controller.
    I have defined an interface method in Component A which populates the Component Controller node which is bound to elements in View 1.
    In Component B:
    I have defined the Component A as a Used Component in Component B and have defined the Component Usage of the Interface Controller of Component A in B.
    I have embedded the View1 of A into the ViewUiContainer Element in the Window corresponding to View2 of B
    I have defined a method in the Component Controller of B, which makes a call to the interface method defined in A
    In the wdinit method of the View2, I have created the component Usage
      l_ref_cmp_usage = wd_this->wd_cpuse_<<>>( ).
      if l_ref_cmp_usage->has_active_component( ) is initial.
        l_ref_cmp_usage->create_component( ).
      endif.
    Issue
    The view is showing up as desired, however no values are being populated
    Analysis
    On debugging, I see that the interface method is being called and the Component Controller node of A is indeed getting populated.
    But then the same is not being reflected in the view.
    Am I missing something here?
    I need not have made the node as an interface node, since the population of the node is being done within Component A itself. Hence the only thing Component B has to do is to call the interface method with the right input parameters. But somehow the node mapping is just not happening
    Any pointers on this would be of immense help.
    Thanks,
    Puja

    Hey Folks,
    Thanks for all the inputs...After a good frustrating debugging and rummaging the code for a whole day, I decided to redo the entire thing. Once I scrapped the original views, components et al and redid it over again, things seem to be working.
    @Naresh : I did try doing what you have suggested and much to my surprise, it worked standalone
    @Pradeep : Yes I am doing a bind_table to the node in question.
    I still have a hunch that there was some kind of a problem with the binding of the ensuing table to the node. But have no clue where exactly that could have been happenign as I double checked the obvious places.
    Thanks for all the inputs.
    Best Regards,
    Puja

  • Organizing cross-component eCATT tests in the Test Catalog

    My question is regarding how to properly structure the test catalog.  I have an eCATT test that uses REF to call three other eCATT tests.  These three tests are simulating a businses process (order to cash) and they are Creating a Sales Order (VA01), Creating a Delivery (VL01N) and Creating the Billing Document (VF01).  Since test catalogs are placed in the application hierarchy I created three separate test catalogs, one for each test.  The catalog with VA01 is in component SD-SLS-SO while the catalog with VL01N is in LE-SHP and VF01 is in SD-BIL.  Now I have the fourth eCATT script -- the chain script that uses REF to call those other three scripts.  Since this script doesn't belong to any one specific module or component I can't create a test catalog for it in the application hierarchy.  I also realized that if I created a test plan from the three test catalogs with VA01, VL01N and VF01 I wouldn't be able to execute them individually because the scripts share Import and Export variables.  What is the Best Practice for creating and storing multi-transactional, cross-component tests that simulate business processes?
    Secondarily, is there a forum dedicated to eCATT, TestWorkbench or SAP automated testing?  If not, which forum would be the best place to post these testing related questions?

    Ben,
    there are effectively two approaches:
    1. Find the "lowest common denominator" - if you have a master script that calls scripts from various sub-components of SD, place the master script in SD (top level)
    2. Try to establish the "lead activity" in your master script - ask yourself the question "How would I describe this test case in one sentence?". Then try to classify the master script according to that.
    Both approaches have advantages and disadvantages.
    There is, of course, a third possibility. If you have real baseline tests that test business processes that run right through everything, you could put the catalog at "SAP" level in the application hierarchy.
    Feel free to keep posting your testing questions here!
    Regards
    Jon.

  • Cross-domain Navigation Error

    Hi folks,
    I was just beginning to test out a site on my domain when I received the following error:
    Cross-domain Navigation Error
    Adobe InContext Editing does not support cross-domain navigation.
    For more details, please visit the Adobe InContext Editing Help and Support page.
    While I could not find any help easily, I thought I would post here with what I have discovered.  I am not entirely sure what "cross-domain navigation" is in the first place, but I had a few hunches.
    Initially, I was using a site set up with templates and library items.  Then, for the purposes of troubleshooting, I deleted all files and placed one HTML file in the folder with nothing but some text in it.  I still received the error message.
    On a whim, I decided to try InContext Editing in Internet Explorer instead of Firefox, and it worked.  I then downloaded and installed the latest version of Firefox (3.5.1), and the error message still appeared.
    Any ideas?
    Thanks in advance!

    Having the same troubles. Worse it goes into an endless loop where you can't get out of the error message cycle.
    http://sonomamountainbusinesscluster.com/

  • What is cross-component

    hi all,
    1.what is cross-component and business process management?
    2.why bpm's

    Hi   srinivas ,
              For all ur question the following liks will give you answer 
    CCBPM Intruduction
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
    BPM
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
    check list for BPM https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193124e
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm - collecting IDocs without BPM
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping - File to Multiple IDocs
    BPM BLOGS
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/40
    For BPMs check these weblogs:
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    /people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    /people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time
    Best Regards .,
    V.Rangarajan

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

  • RE: Component to Component navigation in WD for Java

    hi all,
    Can anybody tell me the advantages of navigation between the different components in the same application.
    what is the use of using many components in WD Java....

    Hi
    Its because of Reusability of the components.For example if i have a seperate component like EmpSearch Component.I can use when ever a employee information is required in any other applications.
    The generic functionality normally we implemented as a seperate components(DCs or a seperate webdynpro comp)
    This can be used any where else.
    Regards
    Kalyan

  • Component Navigation

    Hello,
    I am in Marketing IC agent role and when i confirm the Account and click on the Confirmed Partner list Account number it has to take me to BP overview screen.
    To say technically Now i am in  component ICCMP_BP_CNFIRM and now when clicked on Account number it has to navigate to
    BP_HEAD component.
    Can anyone explain the process in detial.
    Thanks in advance.

    Hi Kranthi,
                       For your requirement you better use the dynamic navigation code. Before that you redefine the get_p method of the account number and define the fp_fieldtype as field_type_event_link and also pass some event handler name for fp_onclick.
    Now create a event handler method with the above name and write the code for navigation here.
    Check the below link you can find the code for dynamic navigation.
    http://scn.sap.com/thread/3217374
    Thanks and regards,
                DP.

Maybe you are looking for