Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Authority-check sy-subrc 12 For SAP ALL USER

Hi Frds,

I have created a business area Authorization object . When i am testing in MY ID it's throwing error message to me.

I am SAP ALL USER .    Authority-check  sy-subrc 12 . Pls help me out.

LOOP AT gt_coep INTO gw_coep.

     AUTHORITY-CHECK OBJECT 'ZAREA'

                ID 'ZAREA' FIELD gw_coep-gsber.

     IF sy-subrc NE 0.

       MESSAGE e000(zgsber) WITH gw_coep-gsber.

     ENDIF.

   ENDLOOP.

Tags:
replied

Did you regenerate SAP_ALL after the creation of new authorization object (Txn SU21 -> Ctrl+Shift+F11)?

Thanks,

Juwin

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question