Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SYST Structure

Former Member
0 Likes
4,540

Hi Friends,

I know that SYST is a Structure in SAP. Can you please tell me to which table it is associated(appended)?

Regards,

Ram

5 REPLIES 5
Read only

suresh_datti
Active Contributor
0 Likes
1,618

It is not a table.. It is a structure whose fields will be populated at runtime..ex

sy-datum -- system date

sy-uzeit - system time

sy-uname - SAP username

etc..

~Suresh

Read only

former_member183804
Active Contributor
0 Likes
1,618

The syst structure is for data exchange of ABAP / Dynpro runtime and does not reflect any db content. BTW for heaven sake do not modify the syst definition, or you will see your R/3 system die under your hands.

Regards,

Klaus

Read only

Former Member
0 Likes
1,618

hi,

ABAP system fields are always available in ABAP programs. The runtime system fills them according to context. They can then be used in programs to query the system status. System fields are variables but you should always treat them as though they were constants, and only read them. If you change their values, important information for the flow of the program may be lost. In exceptional circumstances, system fields may be overwritten in an ABAP program to control the system – for example, SY-LSIND (for navigating to a detail list).

With one exception the names and data types of the system fields are stored in the ABAP Dictionary in the SYST structure and realized as components of the predefined structure SY in ABAP programs.

regards,

keerthi

Read only

Former Member
Read only

Former Member
0 Likes
1,618

Hi,

REPORT ZBCTCB93 NO STANDARD PAGE HEADING. 
DETAIL. 
  WRITE: /5 'Logon name of the user:  ' RIGHT-JUSTIFIED, 40 SY-UNAME.   
WRITE: /5 'Logon client:   ' RIGHT-JUSTIFIED, 40 SY-MANDT.  
WRITE: /5 'Logon language:  ' RIGHT-JUSTIFIED, 40 SY-LANGU.   
WRITE: /5 'Current date:   ' RIGHT-JUSTIFIED, 40 SY-DATUM.   
WRITE: /5 'Current time:  ' RIGHT-JUSTIFIED, 40 SY-UZEIT.   
WRITE: /5 'Current transaction:   ' RIGHT-JUSTIFIED, 40 SY-TCODE.   
WRITE: /5 'Main program:  ' RIGHT-JUSTIFIED, 40 SY-CPROG.  
SKIP.    
WRITE: /5 'SAP System ID:   ' RIGHT-JUSTIFIED, 40 SY-SYSID.   
WRITE: /5 'SAP Release:  ' RIGHT-JUSTIFIED, 40 SY-SAPRL.   
WRITE: /5 'Host:  ' RIGHT-JUSTIFIED, 40 SY-HOST.   
WRITE: /5 'Operating system:  ' RIGHT-JUSTIFIED, 40 SY-OPSYS.   
WRITE: /5 'Database system:   ' RIGHT-JUSTIFIED, 40 SY-DBSYS.   

SKIP TO LINE 20. POSITION 10. 
WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'. 
WRITE: 'New:', SY-COLNO,',',SY-LINNO. 
SKIP. 
SY-ULINE = '------ Underline ------'. 
ULINE (23). 
WRITE: /5 'Vertical bar:', SY-VLINE. 
TOP-OF-PAGE. 
DETAIL. 
WRITE: 2 'Report Title: ', SY-TITLE(20). 
WRITE: 'Page Number: ', SY-PAGNO. 
SKIP. 

Try debugging teh sample code and see.

SYST is a structure.