Listing 3.1  Programm ZPTB00_System_Information zur Abfrage von Systeminformationen 
REPORT zptb00_system_information.

DATA:
* Date & time information variables
  l_timestamp TYPE timestampl,
  l_string(30) TYPE c.

* Refresh all internal date & time fields like 
* sy-uzeit, etc.
GET TIME.

* Get exact time stamp up to nanoseconds and convert 
* to string
GET TIME STAMP FIELD l_timestamp.
WRITE l_timestamp TIME ZONE sy-zonlo TO l_string.

* Write information to screen
WRITE: /, / 'Date & Time Information',
       / 'System Date: ', 30 sy-datum,
       / 'System Time: ', 30 sy-uzeit,
       / 'Exact System Time Stamp:', 30 l_string,
       / 'Daylight Saving Time: ', 30 sy-dayst AS 
          CHECKBOX INPUT OFF,
       / 'Local Date: ', 30 sy-datlo,
       / 'Local Time: ', 30 sy-timlo,
       / 'Local Time Zone: ', 30 sy-zonlo.
WRITE: /, / 'Login Information',
       / 'Logical SAP System: ', 30 sy-sysid,
       / 'Client: ', 30 sy-mandt,
       / 'user_name: ', 30 sy-uname.
WRITE: /, / 'System & Program Information',
       / 'SAP WebAS Name: ', 30 sy-host,
       / 'Database Name: ', 30 sy-dbsys,
       / 'Operating System Name: ', 30 sy-opsys,
       / 'Program Transaction: ', 30 sy-tcode,
       / 'Program Name: ', 30 sy-repid.