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

authorization object K_CSKS

dani_mn
Active Contributor
0 Likes
1,766

HI,

I want to restrict the users to their cost centers I have used authorization object K_CSKS.

In the profile i have allowed only AD0001-AD0050 range.

But when i used the code

authority-check object 'K_CSKS'

id 'KOKRS' DUMMY

id 'KOSTL' field 'AD5000'

id 'ACTVT' field '01'.

It always give sy-subrc equal to 0 to all cost centers.

How to restrict users to their given range in their profile.

Thanks

Wasim Ahmed

1 REPLY 1
Read only

Former Member
0 Likes
1,195

Hi

After changing the profile you should do login again.

Max