Symptom
- There is a requirement to use the 'XXXXXXXX' keyword in custom logic apps within S/4HANA Cloud Public Edition.
- Getting error 'access to the field XXXXXXX is not permitted in the current abap language version' while using keyword.
Environment
SAP S/4HANA Cloud Public Edition
Resolution
It is not possible to use XXXXXXXX keyword, XXXXXXXX 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
Custom Logic, ABAP Keyword, S4_PC, S4_1C,key user extensibility,keyword in custom logic,Not Permitted,Current Abap Language Version , KBA , BC-SRV-APS-EXT-BO , Custom Tables and Nodes , How To
Product
SAP S/4HANA Cloud Public Edition all versions