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