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.

Similar Messages

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

  • 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

  • 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

  • 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

  • Zcomponent to standard component navigation

    Hi All,
    I created Z comp., search req, search result are created.  they are working. in search result one field is activated with get p method of (hyper link).
    after clicking on field it should go to overview page just like other standard applications.
    created outbound plug, event,.
    I added standard comp in my z comp with comp usage.
    but when i m creating navigational link  in the target standard comp's are not showing from f4 help.
    how they will come in the f4 help.  please let me know.
    thanks
    ram

    Hi Ram,
    Add your component usage view(std view) in the Window and Viewset of Z-component, it will definitely come in the navigation link target F4.
    Let me know if that will not work.
    Regards,
    Shobhit

  • Declarativ component Navigation

    Hi all,
    I have small problem with declarative components. I want do make navigation component, how have two buttons (Next, Priv), i want to put icons, text etc on them.
    When i create some page with some data i want to drag and drop that component then bind that component for my iterator. In this case i would have one solution for navigation on n iterators.
    What kind of parametar my declarative component should recive, and how to bind this buttons for recived button, or is this possible?
    Thank u for u time.

    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_40/jdtut_11r2_40.html
    Found it!

  • 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

  • Portal Component Navigation

    Hi all,
    I would like to ask you for help with my problem. I have created simple Portal Application with one Portal Component, created iView from deployed PAR.
    iView works fine, but if I want to send some data through HTML form (from my page to the same), there is problem. I tried to use simple form:
    <FORM method="post" action="">
    <input type="text" name="required_field">
    <input type="submit" name="mysubmit" value="go">
    </FORM>
    Problem is, that when I submitted form, page was refreshed, but result page is blank (no error, only blank).
    I tried another method with using form action like this:
    <FORM method="post" action="ParUserMapping">
    <input type="text" name="required_field">
    <input type="submit" name="mysubmit" value="go">
    </FORM>
    If I use my Portal Application name as link destination it returns to me error:
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    iView not found: ParUserMapping.default.
    Exception id: 05:36_31/08/06_0032_16393450
    See the details for the exception ID in the log file
    My portalapp.xml is:
    <application>
      <application-config>
        <property name="SharingReference" value="com.sap.portal.usermapping, com.sap.portal.runtime.logon"/>
      </application-config>
      <components>
        <component name="MyPortalComponent">
          <component-config>
            <property name="ClassName" value="com.deloitte.MyPortalComponent"/>
            <property name="PrivateSharingReference" value="com.sap.portal.usermapping, com.sapportals.portal.prt.runtime.PortalRuntime"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    I just want to send my value via form to same page, but I don't now, why this not works. Should I set any default point/object for my Portal Application?
    I would appreciate any help.
    Many thanks,
    Pavel

    I solved problem by changing Form action attribute to:
    IPortalComponentURI uri = request.createPortalComponentURI();
    uri.setPortalRequestEvent(request.createRequestEvent("LoadUserMapping"));
    >> uri.toString()

  • Control JSF Component navigation thru Javascript

    <a4j:region>
                                                 <h:inputText id="bc1"                     value="#{addHardware.barCode1}"           valueChangeListener="#{addHardware.processValueChange}"          style="border-right-color: BLUE; border-bottom-color: BLUE; border-top-width: medium; border-top-color: BLUE; border-right-width: medium; border-left-width: medium; border-left-color: BLUE; border-bottom-width: medium">
                                                 <a4j:support event="onfocus"           reRender="form1"/>
                                                 <a4j:support event="onblur"               reRender="bc1, displayMessageLabel, errmsgheader, addnotesbtn, submit"/>
                                                 </h:inputText>
                                                 </a4j:region>
    Question: How can I pass the values to the Javascript function if my backing bean returns two values such as component id (in the above example "bc1") and validational error msg so that I can keep the focus on the same component (thru Javascript) when validational error message exists.
    If my question is not clear,....please let me know ...Thx for your help

    Maybe I just haven't looked far enough but it seems
    that using client-side Javascript is not intended to
    be used/asociated with JSF.I'm not sure how much is mentioned about this in the current draft (if at all), but the intention is that client-side code can be generated (by the component or by a renderer) to perform things like validation of the client when possible (in addition to the server validation, just to speed things up). This is an area that 's even more "work in progress" than other parts.

  • Tree Component Navigation

    I want to navigate through tree node by clicking some near
    previous button
    How to do these please sluggers.

    has anyone able to have a look in the issue.

  • Unable to Edit the View in Custom Component

    Hi Experts,
    Please help me to resolve this issue !
    I am unable to lock the BOL Entity in my custom component using BTAdminH. I have written the below code in the Edit event Handler for Edit Button. The lr_entity->lock( ) condition statement is getting false and it is skipping the "set_view_editable( me )." code statement. Why??
    This is code excerpt that I have taken from edit button of the BP_HEAD/AccountViewSet and altered to my component/View
    DATA: lr_entity     TYPE REF TO cl_crm_bol_entity,
            lr_controller TYPE REF TO cl_ZVKH8_bspwdcomponent_impl.
      TRY.
          lr_controller ?= me->comp_controller.
          lr_entity ?= lr_controller->typed_context->btadminh->collection_wrapper->get_current( ).
    IF lr_entity IS BOUND.
      IF lr_entity->IS_LOCKED EQ abap_false.
        IF le_entity->IS_CHANGEABLE EQ abap_true.
           IF lr_entity->lock( ) EQ abap_true.
            me->view_group_context->set_view_editable( me ).
           ENDIF.
        ENDIF.
      ENDIF.
    ENDIF.
    and when I directly executed the below code in the Edit event Handler for Edit Button I am receiving the dereferencing NULL value exception. Why in my custom component in many places this happening??
      me->view_group_context->set_view_editable( me ).
    Exception Details
    CX_SY_REF_IS_INITIAL - Dereferencing of the NULL reference
    Method: ZL_ZVKH8_DETAILSEF_IMPL=>EH_ONBACK
    Thanks,
    Bujji

    Hi Summit & NishaNC,
    Thanks for your responses !
    As suggested, I have debugged the code for ->lock( ) method and there are exceptions raised from some methods.
    Method GET_LOCK () -> Method GET_ROOT () ->Method GET_PARENT ()
    At GET_ROOT( ) method i have received an exception
    "Root entity BTAdminH could not be determined" and one more "Entity BTAdminH could not be locked"
    Later when I have checked in MODEL Browser, I found that the BOL object "BTAdminH" for my view is an Access object and not the Root Object.
    Hence, I have a question? Does the locking can be done only for ROOT Objects?
    If this is TRUE then I think this is the major problem with my custom component where even the cross component navigation is also not happening and in many places I am receiving "Dereferencing NULL Value" information.
    Also I have gone through some of the Threads and one information that I found from Sumit Mittal
    1. An access object is an independent entity, has primary keys of its own.
    2. A root object is a special access object that is at the top of the hierarchy based on business rules.
    3. A dependent object's primary keys are supplied by access objects and it's lifetime is bound to them. If the parent object is destroyed, the dependent object is also destroyed.
    4. Search objects are query objects useful for querying root objects
    5. Search result objects - Search objects return the results in the form of a result object together with a relation pointing to the root object.
    6. View objects - ?
    7. Dynamic search objects - Used in advanced search, supports ranges and operators
    Could you please specify in which scenarios we have to go for Access Objects and Root Objects
    Thanks,
    Bujji

  • Error: Missing Component

    Hi,
    I'm doing the cross component navigation from the DC A to DC B. I imported DC A into the DC B as "Used WDP Components" and embedded the view of DC A. Build and deployed and everything works fine.
    Then i shut down my PC and launch my NWDS, at WDP Used Component which i inserted DC B, it's now having the <Error: Missing Component>. I'm sure i didnt change anything since then.
    When i try to "Edit Component Usage" and choose the DCA again. An error prompted as below:
    Plgin name: Web Dynpro Project Browser
    Plugin ID: com.sap.ide.webdynpro.projectbrowser
    Class: com.sap.ide.webdynpro.projectbrowser.actions.PBEditComponentUsageAction$1
    method: runInternal
    Message: Exception occured
    Exception: java.lang.NullPointerException: null
    How to solve it? Thanks.
    - julius
    Message was edited by:
            julius

    hi
    Remove the DC A from used DCs build and add again to DC B. If not check out DC A, add the Public part again, check in, activate, resync and then add DC A as used DC to DC B. It must work. Hope it helps.
    regards
    LNV

Maybe you are looking for