Skip to Content
0
Former Member
Apr 06, 2011 at 06:42 AM

AUTHORITY-CHECK always Return sy-subrc 0

319 Views

Hi,

I have created a Authorization Object 'ZAUTH_ATCH' and created Roles also. This role is assigned to only my Userid.

When in Report program I do a check:

AUTHORITY-CHECK OBJECT 'ZAUTH_ATCH'

ID 'USER' FIELD l_syuname .

But the AUTHORITY-CHECK return 0 for all User IDs.

Pls help what could be the Issue.

Thanks

Mohammed