Skip to Content
author's profile photo Former Member
Former Member

Display default view based on the authorization

Hi,

My requirement is only few users will have authorization to WD ABAP application.

If user do not have authorization then only message will be displayed, no view contents will be displayed.

I my application, there are 2 views in a window.

So I am checking the authorization in inbound plug of main window and accordingly message is displayed but

eventhen first view is being displayed.

How to resolve the issue.

Thanks, in advance

Trupti

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2010 at 05:44 AM

    Hi Trupti

    Here are few options for you

    1) Using a dummy view :

    2) To handle without creating a dummy view

    This post is extension of Chris reply

    Thanks and Regards

    Chaitanya.A

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 18, 2010 at 12:20 AM

    Hi,

    the simplest solution would be to have the visibility of the root elements of those views bound to a context element, which you could then set during your authorisation check.

    have auth - set visibility to visible - do not have auth - set visibility to none...

    Alternate solutions - only embed your views into the window once you know whether the user has passed the auth check, embed a different dummy view if they fail. (advantage to this - the various calls to populate the views will not be made if you never present them.)

    Hope that helps,

    Chris

    Add comment
    10|10000 characters needed characters exceeded