cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamicaly setting view set as default

Former Member
0 Kudos

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

View Entire Topic
ChrisPaine
Active Contributor
0 Kudos

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