on 04-08-2010 3:03 PM
Hi experts ,
i need help on how to set views default dynamicaly ,
In my case i have 3 views , but based on the user the default view will change EG : for manager first view is defalt view ,
for employee 2 view should be default .
how to handel views dynamicaly .?
regards
chinnaiya P
Hi Chinnaiya,
You could use the FPM and it's ability to have "variants". Which variant is displayed is controlled by the FPM controller class. So you could put your logic there to decide the variant. You could then configure the variants to use the different screens.
This would have the nice added benefit of having a similar look and feel to all the other new WD ABAP ESS/MSS apps.
Alternatively you could just have your default view having a view container in it - then dynamically swapping the window that should be embedded in it at runtime.
ButI like the FPM solution better!
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
The otherway could be:
If you can differentiate between Employee and Manager based on some parameter, you can play in Inbound plug of your default window.
Based on parameter, you can navigate(Fire out bound plug) to relevant Views..
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
One way could be to create 3 different applications with each application containing different window as default window and then you can give the respective URL's to different roles.
Regards
Manas Dua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.