on 01-03-2012 10:35 AM
Hi Experts,
I have 4 different webdynpro Component. On the button click of first component view, I want second component view should be open in same exiting WINDOW, and same when button click from view of second component, 3rd component view should be open . I want all 4 component should be opened in ONE WINDOW ONLY .
Now I am using URL of component to open next component but this is opening seperate window.
So please guide me how to open different different webdynpro component in ONE WINDOW.
Thanks & Regards,
Abhiiesh.
Hi,
Are the other comp not defined as a usage in the Main component...
But here as per your requirement...you are trying to open one comp from other like nesting....
Main comp->you are calling comp 1 -> from comp1 you are calling comp2...I guess you requriement is like nesting right..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If its possible for your scenario then create all four views in same component and do as per the srinivas has suggested.
Else to add Component B into Component A, you need to have usage of Component B into component A's properties of component controller. For this Component B's component controller method should be ticked with interface flag. And same can be done for 3rd into 2nd and 4th view into 3rd using Inbound and Outbound plugs.
Regards,
Vishvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If its possible for your scenario then create all four views in same component and do as per the srinivas has suggested.
Else to add Component B into Component A, you need to have usage of Component B into component A's properties of component controller. For this Component B's component controller method should be ticked with interface flag. And same can be done for 3rd into 2nd and 4th view into 3rd.
Regards,
Vishvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Why did you create 4 views in 4 different components when you want to use all of them in a single window?
You could have created all 4 views in a single component.
Answer to your query:
Define the usage of components 2, 3 & 4 in component 1
Add the interface views of components 2, 3 & 4 in window of Comp_1
Create inbound and outbound plugs for the interface views and windows of components 2, 3 & 4 . Use these plugs to create navigation links in Window of comp_1.
Use the outbound plugs of windows to navigate btw views(From view call a method in window controller which will fire the outbound plugs).
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Ashwin,
Thanks for your reply.
I want to use already created four component to display in one window.
can u please give some more details about Use the outbound plugs of windows to navigate btw views(From view call a method in window controller which will fire the outbound plugs)
Thanks & Regards,
Abhiiesh.
check this link
http://www.saptechnical.com/Tutorials/WebDynproABAP/views/navigation.htm
Regards
Srinivas
hi Srinivas,
Thanks lot for your reply - navigation between multiple views of one component. But Sir, I am looking to open 4 different existing component in one window.
So please guide me how shall I link 4 different component to open in one window.If possible plz give me step by step procedure.
Thanks & Regards,
Abhiiesh.
If possible, try to create all the views in same component then maintain navigation plugs between views. and fire that plug in corresponding view button.
If its critical to include 4 different views, then create 4 views in ur compoent, in each view insert one view containter element and embed the other component view in view container using component usages. and then remaining procedure same as above.
Regards
Srinivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.