SAP Knowledge Base Article - Preview

3588799 - Error while accessing system fields "SY-DATUM" or "SY-TCODE" in S/4HANA Cloud Public Edition

Symptom

  • An error is encountered when attempting to use the system field parameters "SY-DATUM" or "SY-TCODE" in the coding BadI implementation (for example) in S/4HANA Cloud Public Edition.
  • The error message states: "Access to the field "SY-TCODE" / "SY-DATUM" is not permitted in the current ABAP language version."


Read more...

Environment

  • SAP S/4HANA Cloud Public Edition
 

Product

SAP S/4HANA Cloud Public Edition all versions

Keywords

S/4HANA Cloud Public Edition, SY-TCODE, BAdI implementation, ABAP language version, error, SY-DATUM, system fields, fields, coding , KBA , FI-SL-VSR-2CL , Validation, Substitution and Rules (Public Cloud) , BC-SRV-APS-EXT-BL , Custom Business Logic , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.