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

Security in Web Dynpro screens

I have a generic web dynpro screen which allows users to create / edit some records. The users are supposed to create records only for the profit centers that they are authorized to.

1. I have a profit center lookup in the screen that I created that pulls up profit center in pop up screen. How do I filter profit centers only that the user belongs to.

Do i have to manually write code to restrict based on user roles.

2. Also how do I restrict the users from saving the records for the profit centers to which they are not authorized.

FYI -- I used single system user to get and write data to SAP backend system.

I am new and trying to understand security at the screen level...

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 28, 2008 at 10:55 PM

    "1.Do i have to manually write code to restrict based on user roles."

    Yep, that should do the trick.

    "2. Also how do I restrict the users from saving the records for the profit centers to which they are not authorized."

    Try to show them just the records for profit centers they are authorized, if u cant achieve this.... then you can do a validation check on the save button to see if they are authorized or not.

    Regards

    Julio H.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Julio..

      The user should be able to see any profit center but allow to edit only for profit centers they are authorized to. I guess I have to write the the authorization code to check for user roles.

      Thanks

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.