Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Authorisation checks

dev_parbutteea
Active Contributor
0 Kudos

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?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello,

Please, read this: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c].

Regards,

2 REPLIES 2

Former Member
0 Kudos

Hello,

Please, read this: [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a92195a9-0b01-0010-909c-f330ea4a585c].

Regards,

Former Member
0 Kudos

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