The interface of a form contains the field string SFPSY. This string contains a range of system fields that the system replaces with values when a form is processed. The field content is either taken from the SAP system or is created while the form is being processed. For example, you can use the system field SFPSY-DATE to display today’s date on your form. Migrated forms use the system fields from Smart Forms.
The following general rules apply to system fields:
· You can display the value of any system field in the form.
· You cannot assign a value to a system field.
· In general, you can query system fields (for example, in conditions) for any fields.
System Fields
Field Name |
Meaning |
SFPSY-DATE |
Date and time, current date of the application server |
SFPSY-TIME |
Date and time, current time of the application server |
SFPSY-USERNAME |
Logon name for user in the SAP system |
SFPSY-SUBRC |
If single record nodes are used, contains content of the SY-SUBRC field in the ABAP statement READ TABLE |