Application Development and Automation 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: 
Read only

Creating authorisation check for table row level security

Former Member
0 Likes
1,478

Hi All,

I have created a table maintenance program which as the following keys:

Sales Area

Sales Org

Company Code

Now we want to let users maintain data in this table but for some users I want to give access for some sales areas and some sales org and some company codes.

How can I create a authorisation or authority check to let users maintain data only to sales org or sales areas that a user is assigned. Also we want some users to only display the data some to maintain. How can I set this kind of authorisation.

Appreciate your inputs and ideas to implement this.

Thanks

Karen

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
0 Likes
1,017

Hi,

if you can not solve your problem with authorization object suggested by Julian then you can try to use events for additional checks. You can assign ABAP routine to various events in maintenance view (Environment -> Modifications -> Events in Table maintenance generator). There is event 25 - Individual authorization checks. You can use it to do additional authorization checks. For example for your own authorization object.

Martin

4 REPLIES 4
Read only

Former Member
0 Likes
1,017

Have you considered the S_TABU_LIN optional object?

Read only

mvoros
Active Contributor
0 Likes
1,018

Hi,

if you can not solve your problem with authorization object suggested by Julian then you can try to use events for additional checks. You can assign ABAP routine to various events in maintenance view (Environment -> Modifications -> Events in Table maintenance generator). There is event 25 - Individual authorization checks. You can use it to do additional authorization checks. For example for your own authorization object.

Martin

Read only

Former Member
0 Likes
1,017

That is a good point. I was a bit uncertain whether a view had been created, because Karren only said:

> I have created a table maintenance program

Perhaps if Karren would clarify a bit, and confirm that the other post in the WDA forum is not related...?

Cheers,

Julius

Read only

Former Member
0 Likes
1,017

Hi Julius

I have built the WD4A maintenance program on top of the Z Table directly.

Thanks

Karen