SAP SYSTEM FIELDS - Guide

Get Example source ABAP code based on a different SAP table
  



System Fields
An ABAP program can request the status of the ABAP runtime environment using the system fields. From a technical viewpoint, these system fields are a set of predefined variables - the components of the predefined sy structure of data type SYST from the ABAP Dictionary - that are always available while the program is running.
The system field sy-repid is an exception. This field indicates the name of the program currently running. In this case, we are dealing with a predefined constant and not a component of the predefined sy structure.
Access
Obsolete and internal system fields
Evaluation
Return value
Use as current parameter
Using system fields on the user interface
Use in operand positions