Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: How to create authorization group to restrict a specific program

$
0
0

Hi,

 

Use SU21 to create Authorisation object.(ZTEST)

 

Chose the value for Authorisation Field "ACTVT".

 

Save and Activate.

 

Assign that Authorisation object to one of the Authorisations of user in SUIM.

 

Then in you report to check if user has that authorisation check using code

 

 

AUTHORITY-CHECK OBJECT 'ZTEST' for user sy-uname ID 'ACTVT' Field '02'.

 

if sy-subrc = 0

"Then user can execute else not.

Endif.

 

 

Thanks

Deepak


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>