‎2008 Mar 27 2:47 PM
hi experts , plz tell me details abt system generated fields, what is dat system generated fields ? and how we can create own fields, in the table maintainence, ?
give some link n pdf info u have also?
‎2008 Mar 27 3:20 PM
Hi,
System generated fields are fields which are filled by the system itself when you are executing the programs.
Suppose if you consider date, the field name is SY-DATUM. the system internally holds the current date in this field .You can use this field at any time in the program.
These fields are maintained in the structure "SYST".
GO TO data dictionary and type 'SYST" in the table.
You can create fields similar to sytem fields.
Eg data type sy-datum.
Please go through the following link.
[http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm]
Reward points if helpful.
Thanks and Regards.
‎2008 Mar 27 3:20 PM
Hi,
System generated fields are fields which are filled by the system itself when you are executing the programs.
Suppose if you consider date, the field name is SY-DATUM. the system internally holds the current date in this field .You can use this field at any time in the program.
These fields are maintained in the structure "SYST".
GO TO data dictionary and type 'SYST" in the table.
You can create fields similar to sytem fields.
Eg data type sy-datum.
Please go through the following link.
[http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm]
Reward points if helpful.
Thanks and Regards.
‎2008 Mar 28 1:04 AM
ABAP system fields exist in all ABAP programs. The runtime system fills them with values, depending on the context of the program, and you can query their values to find out about the state of the system. Although they are variables, you should only read from them. If you change them, you may overwrite information that is important for the next stage of running the program. There are cases in which you can control how the system behaves by overwriting the value of a system field (for example, using SY-LSIND to navigate in detail lists). The names and data types of system fields are stored in the structure SYST in the ABAP Dictionary. E. g. sy-subrc, sy-lsind etc.
here is the link for system fields
link:[http://www.erpgenie.com/abap/systemfields.htm]
link:[http://sap.niraj.tripod.com/id36.html]
reward if helpfull
raam
‎2008 Mar 28 9:17 AM
hi,
All system fields are stored in the structure SYST.
some of the important system fields are:
all these are start with SY- (or) SYST-.
ex: sy-datum,syst-datum.
DATUM System: Date
DBCNT Number of elements in edited dataset with DB operations
DYNGR Screen group of current screen
DYNNR Number of current screen
INDEX Number of loop passes
LANGU SAP logon language key
LINCT Number of list lines
WRITE: / SY-LINCT, 'line and', (3) SY-LINSZ, 'column is a page'.
LINNO Current line for list creation
WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.
LINSZ Line size of list
WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.
LISEL Interact.: Selected line
contents of the selected line
WRITE: / 'SY-LISEL:', SY-LISEL.
PAGNO Runtime: Current page in list
SUBRC Return value after specific ABAP/4 statements
TABIX Runtime: Current line of an internal table
TCODE Session: Current transaction code
TOCCU OCCURS parameter with internal tables
UCOMM Interact.: Command field function entry
ULINE Constant: Underline (----
...)
UNAME Session: SAP user from SAP logon
UZEIT System: Time
VLINE Constant: Vertical bar
thanks,
raji
reward if helpful.
‎2008 Mar 28 9:36 AM
my prb is not system fields , i already know dat , prb is that we have a field that we have to create system generated , i dont know how we can create dat field system generated , so tell me how we can do dat?is there any use of range to make system generated?
‎2008 Mar 28 10:17 AM
hay rahul,
u cannot create system generated fields yaar.
they are only for internal purpose. we can create our own fields in SE11.
System genersted fields are for internal purpose like
SY-DATUM - GIVES THE SYSTEM DATE
SY-UZEIT - GIVES THE SYSTEM TIME
SY-UNAME - GIVES THE USER NAME
reward if helpful
raam