Symptom
There is a requirement to use the 'AUTHORITY-CHECK' keyword in custom logic apps within S/4HANA Cloud Public Edition.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
It is not possible to use AUTHORITY-CHECK keyword, AUTHORITY-CHECK is not allowed in restricted ABAP.
In the context of Key User Extensibility, only restricted ABAP is allowed.
For more information about the allowed restricted keyword, refer the below help document
Keywords
Authority-Check, Custom Logic, ABAP Keyword, S4_PC, S4_1C , KBA , BC-SRV-APS-EXT-BO , Custom Tables and Nodes , How To
Product
SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions