Screen navigation between two components

Hi,
I have created 2 web dynpro component 1 and component 2.
Component 1 has 1 view for ex: ABC and Component 2 has 2 views(XYZ1 and XYZ2, XYZ1 being the main view.)
We have a requirement where we need to navigate from Component A iview ABC to component B Iview XYZ2.
But after doing the component usage though I am able to navigate from Component 1 to Component 2 but it opens the main view which is XYZ1.
Is it possible can I directly move to view XYZ2 of component 2 from view ABC of component1.
Regards
Shakti

Shakti Parwanda wrote:
Hi,
>
> I have created 2 web dynpro component 1 and component 2.
> Component 1 has 1 view for ex: ABC and Component 2 has 2 views(XYZ1 and XYZ2, XYZ1 being the main view.)
>
> We have a requirement where we need to navigate from Component A iview ABC to component B Iview XYZ2.
>
> But after doing the component usage though I am able to navigate from Component 1 to Component 2 but it opens the main view which is XYZ1.
>
> Is it possible can I directly move to view XYZ2 of component 2 from view ABC of component1.
>

> Regards
> Shakti
I can think of 2 possible solutions.
1. Create 2 windows in comp-2  - Window1 has XYZ1 as default and window2 has XYZ2 as default.  Navigate to the appropriate interface view according to your requirement.
2. You can introduce a Channel view , in this view you create 2 plugs ( to_view1, view 2), use this view as default view.
    create a plug parameter to identify which view (say iv_view type string ).
    create a event in component controller with parameter iv_view, create a method to fire this event and make it public.
    fire this event by calling this method from window inbound plug.
    You should subscribe this event in channel view by creating event handler method .
    Fire outbound plugs according to the event parameter iv_view.

Similar Messages

  • 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

  • Can Partial Trigger Work between Two Components Which Are in Two Pages?

    Scenario: Some output text components in page one while a SelectOneChoice and a InlineFrame are in page two. At first the resource attribute of inlineFrame was set to point to page one. When changing the value of SelectOneChoice, the values of those output text will be expected to change accordingly. I tried to make SelectOneChoice to be the trigger of those output text components, but found that SelectOneChoice can't be seen when attempt to edit the value of PartialTrigger attribute of those output text components. Then I tried to set the ID of SelectOneChoice as the value of the InlineFrame component, but failed getting the wanted result again.
    Problem: How to get a partial refreshing effect between two components that are in two different pages? Can partial trigger work in this scenario?
    Thanks for your interest!

    Hi,
    Sorry, you can't achieve that the way you're doing it. If you're using 11g, however, you could do that using regions.
    Regards,
    ~ Simon

  • How to use a context between two components at the runtime

    Hi Experts,
    My Web dynpro component is over the Generation limit (size of generated load is > 2 MB) so it always gets Warning when I active it. That why I have separated my application into two components and use the ViewContainerUIElement in order to show views of each other.
    In the application, I use also the TimeTrigger to refresh pages, all views have a TimeTrigger and the DELAY property of TimeTriggers is bounden into the same context attribute. I use a component to set up (change) the value of context attribute that is mapped with the Delay property. I want to change the Delay value on a component and other component will understand the changing.
    My problem is how I can use the same context attribute between components at the runtime?
    Let give me your advice on this.
    Many thanks,
    Ken

    Hi Ken,
    You can use [external context mapping|https://cw.sdn.sap.com/cw/docs/DOC-27901] to share data between two or more components using context.
    Thanks,
    Duy

  • How data transfered between two components in FPM. - SRM Shoppingcart

    Hi Guys,
                   I have requirement for SRM Shoppingcart.. to add new column in /SAPSRM/WDC_UI_SC_DOTC_BD (Item Overview Table)  component and to populate the data from this column into /SAPSRM/WDC_DODC_NA (Item Details Tabs) component Notes and attachment text column. (View - V_DODC_NOTES)
    I dont find any component usage or Link between these components.
    Application - /SAPSRM/WDA_L_FPM_OIF
    Could you please provide the outline of what has to been to transfer data between the two components.
    This is an enhancement to std. SAP shopping cart process. - Is this enhancement possible ?
    Cheers
    Sam
    Edited by: samraj001 on Dec 7, 2010 4:47 AM

    Hi,
    Can you resolvre these problem.. I have the same situation.. If you can resolveit, can you helpme??
    Thanks...!!!  

  • Create blank screen space between two ALV grids

    I want to create some blank screen space between the two ALV grids I have on the screen.  Can someone tell me how to do this?
    Thanks and best regards,
    Sandy

    You don't have link the two containers.
    I guess you have a grid and tree control that you want to display. So, use a different container for each of these controls, so that they appear differently.
    If you don't want space in between them, you can have one container and split that into and display the tree and grid in each of the split portions.
    The advantage with this will be you can resize the tree/grids using the vertical line that separates them.
    Take a look at WE02 transaction to see what I am trying to explain.
    Regards,
    Ravi

  • Commmunication Between two Components

    Hi ,
    I am developing a project of having two components in it.  I want to communicate each component with other one. Both components should be communicating with each other.
    I am able to communicate from Component one to Component two . But !  unable to do the same from Component Two to Component one.  It shows the following error.
    Component ComponentOne: Cycle in component usage definitions: ComponentTwo
    Regards,
    Jyothi.

    Hallo Jyothi,
    Parent2Child-component-communication: apply interface method invocation (parent component with component usage relation to child component invokes interface controller method of child component --> IExternal-API)
    Child2Parent-component-communication: apply interface eventing (child component exposes interface controller event, child component defines NO cyclic component usage dependency to parent component, parent component subscribes own event handler to event of child component's interface controller, child component fires interface controller event at runtime and can also pass object references as event parameters).
    For data transfer across component borders apply interface-context-mapping
    1) exernal context mapping: data context in parent component, child component externally maps its interface context to it.
    2) interface context mapping: data context in child component, parent component maps own context to interface context of used child component.
    Regards, Bertram

  • Stopping Navigation Between two items

    Dear All,
    i have two items in JSF Page and first contains contains validation (with auto submit),
    if i am trying to navigate from first two second with false data , first item will be read , but navigation still going second one, i need to stop this navigation.
    Please Advise

    I believe that in general you should not design web application like that.
    In general you cannot prevent user to navigate away from web pages and components.
    He can allways close explorer or type a diferent url.
    For specific cases though you can do it by java scripts and there is an example at Andrejus blog:
    [http://andrejusb.blogspot.com/2008/04/adf-faces-rich-client-complex.html]
    Yet this would require a lot of effort to do it in all validations.

  • Navigation between  two applications under a single webdynpro project

    Hi All,
    Here i needs to work with a webdynpro project which has two application which needs navigation one view form the first application to one view in the next application. I have already tried with "EXIT URL" concept and its working fine. Is there any alternative way to accomplish that task. I am looking for valuable reply from you.
    Regards
    Ravi

    Hi Ravi..
    Try this link..
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/webdynpro/wd%20java/wd%20tutorials/inter-application-navigation%20in%20web%20dynpro.pdf">Application Navigation</a>
    Urs GS

  • Screen sharing between two computers

    I have a G5 in my studio and a MacBook Pro in my house which are connected by Wi-Fi. Both computers have sharing switched on and I can open folders easily between computers. Now, I can screen share from my G5 to control my laptop screen but when it comes to the other way round, my MacBook requests a name and password to share the G5's screen. I have never really understood that when I'm asked for a user password to access a remote computer, does it mean the computer's password that I am currently on, or the one I am trying to gain access to (which seems the logical choice) so I have tried the following from my laptop:
    The G5's computer name and it's user administrator's password
    My G5's administrator user folder name (which is the same as the MacBook Pro's) and same password,
    The administrator's user MacBook Pro's password with the G5's computer name
    Try either password plus the hard drive name of the G5 (running out of ideas at this point)...
    I know it's not the end of the world, but can anyone suggest a way out of this? All suggestions welcome.
    Michael

    I'm having the same problem screen sharing to a Lion 10.7.3 machine, I get this message.
    However, it works just like it used to when I screen share from a 10.7.3 machine to another Mac running 10.6.8.
    Any thoughts?
    Thanks!

  • Navigation between WebDynpro Components

    Hello,
    maybe this has been asked before, but i do not understand how to get back from component B to component A.
    I have created several components in one application. One component is needed as starting point of my application (lets say component A). From component A i can get via LinkToAction to component B, because i added an interface controller of component B.
    Because of cyclic errors, i can't do this to get back from component B to component A.
    Is there a way to get this done?

    Hi Christian,
    one possible solution for your current scenario is (A = FirstComponent, B = SecondComponent):
    1. The Interface View of A has an Outboundplug ToB and an Inboundplug FromB.
    2. The Interface View of B has an Inboundplug FromA and an Outboundplug ToA.
    3. The plugs ToB->FromA and ToA->FromB are connected by links in the navigation modeler.
    4. The Interface Controllers of A and B subscribe as event listeners to the following events of Component Controllers of A and B.
    5. Component Controller A has an event toNext, Component Controller B toPrev.
    6. Views of A and B use their Component Controllers to fire the corresponding event (Next/Prev). The events are fired in action handlers. It's not nice IMO, that the views use their enclosing components, but there's no other chance.
    7. The Interface Controllers of A and B use the Interface View Controllers to fire the plug(s).
    So,
    the Views use the Component Controllers.
    the Interface Controllers use the Component Controllers.
    the Interface Controllers use the Interface View Controllers,
    but none of these usages is cyclic.
    Hope that helps.
    Regards
    Stefan

  • Navigation between two webdynpro applications

    Hi Colleagues,
    Please let me know some workaround for the below requirement
    here i have two webdynpro application, where i have to call the second application from a button of first application by passing a parameter
    please let me know hoe to proceed here
    i have some information attached below....Is it the right way to do it? or am i missing somethinng here
    String deployableObjectName =  wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
      Map urlParameters = new HashMap();
      try {
          urlParameters.put("A",CVNR);
    WDDeployableObjectPart deployableObjectPart =WDDeployableObject.getDeployableObjectPart(
    "a1s~cc~checkprerequisites","Preq",WDDeployableObjectPartType.APPLICATION);
    String urlToTargetApp =WDURLGenerator.getApplicationURL(deployableObjectPart, urlParameters);
      IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlToTargetApp);
    window.show();
    catch (WDURLException e) {
                wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
                } catch (WDDeploymentException ex) {
                     wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage(), false);
    Thanks & Regards
    Swetha

    Hi Swetha,
    Please try this code in the application which is now launched from the 1st application. You can write this code in the wdDoinit() method OR the firstTime loop of the wdDoModify function:
    String applicationParam = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("A");
    Here "A" is the name of the attribute in which you are setting the parameter value CVNR.
    You will get the URL parameter you have passed to this application from the first application. I hope this solves your problem, if yu have any issues please contact back.
    Thanks and Regards,
    Pravesh

  • Navigating between two topics in TOC

    I use RoboHelp X5. I am creating a WebHelp project.
    There are two topics and both are linked to the TOC. Topic1
    in under book1 and topic2 is under book2.
    There is a hyperlink from topic1 to topic2.
    When I click on the hyperlink to navigate to topic2, book2
    does not open in the TOC. It only opens topic2.
    I want book2 to expand and highlight topic2
    How do I enable this? Please help!

    Welcome to the forum.
    You don't say whether or not you have AutoSyn enabled. That
    is essential for what you want.
    You also don't say which browser you are using. If it is
    Firefox, it is a known problem. See Browsers on my site.
    In Adobe RH7 it is fixed. At least it is on my machine and on
    others that I have had some tests run on. However, there are a
    couple of reports of people still encountering the issue.

  • Navigating between two movie clips

    Within my animation I have two movie clips, one movie clip "clipA" runs to a certain point then a series of buttons appear when you hit the button it loads another movie clip "clipB" into the first movie clip "clipA".
    Whith in the second movie clip "clipB" I would like to be able to, at a certain frame navigate to a different frame within "clipA" is this possible to do with actionscript 2.0

    In clipB's main timeline you can use _parent.gotoAndPlay.... the _parent targets clipA

  • How to insert an item between two components

    Hi,
    I have two links one below the other, say suppose i click the
    first link, i have to display
    a list box right under it and push the second link below this
    newly formed list box.
    Please suggest how to go about it.
    Thanks,
    Lakshminarayan

    Please read thru the concept of states. Essentially, clicking
    on the fist like would switch to a new state that would use
    addChild to add this list box.
    something like: (right from the Flex Builder help)
    <mx:states>
    <mx:State name="Register">
    <mx:AddChild relativeTo="{loginForm}"
    position="lastChild">
    <mx:target>
    <mx:FormItem id="confirm" label="Confirm:">
    <mx:TextInput/>
    </mx:FormItem>
    </mx:target>
    </mx:AddChild>
    <mx:SetProperty target="{loginPanel}" name="title"
    value="Register"/>
    <mx:SetProperty target="{loginButton}" name="label"
    value="Register"/>
    <mx:SetStyle target="{loginButton}"
    name="color" value="blue"/>
    <mx:RemoveChild target="{registerLink}"/>
    <mx:AddChild relativeTo="{spacer1}" position="before">
    <mx:target>
    <mx:LinkButton id="loginLink" label="Return to Login"
    click="currentState=''"/>
    </mx:target>
    </mx:AddChild>
    </mx:State>
    </mx:states>
    ATTA

Maybe you are looking for