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

system field

Former Member
0 Likes
1,159

what is the system field?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,128

Hi,

You can all these fields in table 'SYST'. these fields holds the values at runtime and can be accessed anywhere in the program without any delcaratio.

Regards,

Vidya.

7 REPLIES 7
Read only

Former Member
0 Likes
1,128

predefined fields , like sy-datum = system date.

Regards

Peram

Read only

Former Member
0 Likes
1,129

Hi,

You can all these fields in table 'SYST'. these fields holds the values at runtime and can be accessed anywhere in the program without any delcaratio.

Regards,

Vidya.

Read only

Former Member
0 Likes
1,128

Hi

The ABAP system fields are active in all ABAP programs. They are filled by the runtime environment, and you can query their values in a program to find out particular states of the system. Although they are variables, you should not assign your own values to them, since this may overwrite information that is important for the normal running of the program. However, there are some isolated cases in which you may need to overwrite a system variable. For example, by assigning a new value to the field SY-LSIND, you can control navigation within details lists.

The names and data types of the system fields are contained in the ABAP Dictionary structure SYST. To address them in an ABAP program, use the form SY-<fieldname>. Within screen flow logic, you can also use the form SYST-<fieldname>.

for more info

http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm#themen

Regards

Shiva

Read only

Former Member
0 Likes
1,128

hi sandya,

system fields are the system defined fields defined by SAP. you can directly use these fields in your programs. following is the list of system defined fields:

sy-datum - displays current date

sy-uzeit - displays current time

sy-uname - user name

sy-host - host name

sy-pagno - page numbers

sy-tfill - number of data in internal table

sy-subrc - check for return code

and so on...there are many system defined fields....

please reward points in case useful...

regards,

prashant

Read only

Former Member
0 Likes
1,128

Hi Sandya,

System fields are those variables that are filled by the sap system itself during the process flow. these are the common system fields,

sy-lsind -> index of the list created during the current event

sy-listi -> index of the list from which the event was trigerred

sy-lili -> absolute number of the line from which the event is triggered

sy-lisel -> content of the line selected

sy-curow -> position of the line in the window from which the event was triggered.

sy-cucol -> position ofthe column in the window from which the event is triggered.

sy-cpage -> page number of the first displayed page of the list from which the event is triggered.

sy-staro -> number of the first line of the fist page of the list from which the event is triggered.

sy-staco -> number of the first column displayed in the list from which the event is triggered.

sy-ucomm -> funtion code of the event triggered.

sy-pfkey -> status of the list currently being displayed

Regards

Sarath

Reward Points if found helpful

Read only

former_member196299
Active Contributor
0 Likes
1,128

hi Sandya,

System fields are nothing but the system variables which store runtime system related informations like current screen number , program name etc .

You can get the list of list of system fields in table SYST .

Reward if helpful !

Regards,

Ranjita

Read only

Former Member
0 Likes
1,128

HI sandaya

U can know system fields by going to SYST table in SE11

and some times u need to modify the system field, these system fields get the values at runtime,

Thanks & Regards,

jogu_vinesh@yahoo.com