Skip to Content

Authorisation checks

Hello. i have an ALV which contains a list of files.Some files start with the user name(logon name) .Can i create an authority object such that if the user has the rights, he sees all the files.If he does not, he sees only those that start with his username.

Can you also tell me how to create the authority object?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 16, 2008 at 01:14 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 16, 2008 at 01:23 PM

    hi,

    i think you should not go for authority object.

    better you create a master table for users and there authorization..

    and in report at selection screen ,just read the file name .from file name you will understand the username..

    select single * from zusermaster table where user = username which you will get in filename.

    using this statement watevr authorizations you want to maintain for that user you can..

    and accordingly you can give that authorization s and write a code for it.

    if ths is helpfull let me know

    Add a comment
    10|10000 characters needed characters exceeded

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.