below is the code for authorizations,
the requirement is that ,
the authorization should be yes only
if all the bukrs are authorized for the user,
but now it is giving authorization even if one bukrs is valid.
AUTHORITY-CHECK OBJECT 'M_MATE_BUK'
ID 'ACTVT' DUMMY
ID 'BUKRS' FIELD P_FS.
IF SY-SUBRC = 0.
ZZ_EXIT = 'Y'.