Skip to Content
0
Former Member
Jul 22, 2010 at 08:17 PM

AUTHORITY-CHECK returns always SY-SUBRC = 0

250 Views

Hello,

I defined the following authorization object: Y_CI_RRCIS; the only authoritation field for this object is ACTVT with the value 03. After adding this to a role and assigning it to me I´d expect that:

AUTHORITY-CHECK OBJECT 'Y_CI_RRCIS'
    ID 'ACTVT' FIELD '03'.

returns SY-SUBRC = 0 and

AUTHORITY-CHECK OBJECT 'Y_CI_RRCIS'
    ID 'ACTVT' FIELD '04'.

returns SY-SUBRC not 0. However, testing with any FIELD value I always get SY-SUBRC = 0 !!!

Isn´t it possible to only define ACTVT for an auth object? Will this always return SY-SUBRC = 0 ???

Thank you for your help.

Stefan

Edited by: Stefan Obermeier on Jul 22, 2010 10:18 PM