on 04-06-2011 8:08 AM
Hi,
My Requirement: I have to display multiple view in a view container based on condition. For example: Based on Search crieteria, data should be displayed in a ALV Table of View 1. Selected record should be displayed in view 2. Now my problem is i should dislpay view2 in same view container.
Can some one tell me how to embed or display multiple views in a single view container based on condition
Thanks in Advance,
Sankar
hi sankar,
you can have both the layouts in a single view and make the second layout invisible and on satisfying some condition make it visible once you do so i guess you r requirement can be met....
you can make the layout visible/invisible using the visibile property with an attribute of type wdui_visibility ...
set the value true when the condition meets else it wil be false....
hope this will help u
thanks and regards,
sahai.s
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks you friends. Issue solved.
Process:
1. Embedded all the views to the view container and assign plugs.
2. create an attribute with type WDUI_VISIBILITY and set value 01 initial. so that view container initial is invisible and based on condition set value 02. so that view container is visible.
Hope this process may help others who in same need.
Regards
Sankar
Hi,
What you can do is
Embedd all the view to one viewContainer. Fire plugs based on your condition from the Parent view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sankar,
You can not display two views in one view container. What you can do for your requirement, create two view containers and based on your condition, handle there visibility.
Regards
Abhinav
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.