ABAP System Fields  

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>.

 

System Fields in Alphabetical Order

System Fields in Thematic Order

 

                                                                                                   

System Fields in Alphabetical Order

The following table contains an alphabetical list of the fields in the ABAP Dictionary structure SYST.

The first column indicates how you can use the field in an ABAP program:

The system field is set by the runtime environment. You can use its value in an ABAP program, but you must not change it.

The system field is set by the runtime environment. You can both use and change its value in the ABAP program to affect the runtime behavior of the program.

The system field must be set from the ABAP program. After that, it can be used by the runtime environment and within your program.

The system field is for internal use only, and must not be used in ABAP programs.

The system field is obsolete. No values are assigned to it, and it must not be used in ABAP programs.

"Name" stands for the component name. "Type" and "Length" are the ABAP Dictionary type and length of the field. The "Use" column indicates the contexts in which the system fields can be set, and the "Description" column contains a short description of the field's function.

 

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Name

Type

Length

Use

Description

ABCDE

CHAR

26

Constants

Alphabet (A,B,C,...)

APPLI

RAW

2

Obsolete

BATCH

CHAR

1

Background processing

Is program running in the background?

BATZD

CHAR

1

Obsolete

BATZM

CHAR

1

Obsolete

BATZO

CHAR

1

Obsolete

BATZS

CHAR

1

Obsolete

BATZW

CHAR

1

Obsolete

BINPT

CHAR

1

Batch input

Is program running in the background?

BREP4

CHAR

4

Obsolete

BSPLD

CHAR

1

Obsolete

CALLD

CHAR

1

ABAP program

Call mode of the ABAP program

CALLR

CHAR

8

Printing lists

ID for print dialog function

CCURS

DEC

9

Obsolete

CCURT

DEC

9

Obsolete

CDATE

DATS

8

Obsolete

CFWAE

CUKY

5

Internal

CHWAE

CUKY

5

Internal

COLNO

INT4

10

Creating lists

Current list column

CPAGE

INT4

10

Processing lists

Current page number

CPROG

CHAR

40

ABAP program

Program that called the current external procedure

CTABL

CHAR

4

Obsolete

CTYPE

CHAR

1

Obsolete

CUCOL

INT4

10

Screens

Horizontal cursor position in PAI

CUROW

INT4

10

Screens

Vertical cursor position in PAI

DATAR

CHAR

1

Screens

Displays user input

DATLO

DATS

8

Date and time

User’s local date

DATUM

DATS

8

Date and time

Current application server date

DAYST

CHAR

1

Date and time

Flag for summer (daylight saving) time

DBCNT

INT4

10

Database access

Number of database rows processed

DBNAM

CHAR

20

ABAP program

Logical database linked to the program

DBSYS

CHAR

10

R/3 System

Name of the central database system

DCSYS

CHAR

4

Obsolete

DEBUG

CHAR

1

Internal

DSNAM

CHAR

8

Internal

DYNGR

CHAR

4

ABAP program

Screen group of the current screen

DYNNR

CHAR

4

ABAP program

Number of the current screen

ENTRY

CHAR

72

Internal

FDAYW

INT1

3

Date and time

Day in the factory calendar

FDPOS

INT4

10

Strings

Offset in a string

FFILE

CHAR

8

Internal

FLENG

INT4

10

Internal

FMKEY

CHAR

3

Obsolete

FODEC

INT4

10

Internal

FOLEN

INT4

10

Internal

FTYPE

CHAR

1

Internal

GROUP

CHAR

1

Internal

HOST

CHAR

8

R/3 System

Name of application server

INDEX

INT4

10

Loops

Current loop pass

INPUT

CHAR

1

Internal

LANGU

LANG

1

R/3 System

User’s logon language

LDBPG

CHAR

40

ABAP program

Logical database program

LILLI

INT4

10

Processing lists

List line selected

LINCT

INT4

10

Creating lists

Page length in a list

LINNO

INT4

10

Creating lists

Current line

LINSZ

INT4

10

Creating lists

Line width in a list

LISEL

CHAR

255

Processing lists

Contents of the chosen line

LISTI

INT4

10

Processing lists

Index of the chosen list

LOCDB

CHAR

1

Obsolete

LOCOP

CHAR

1

Obsolete

LOOPC

INT4

10

Screens

Number of lines visible in the table

LPASS

CHAR

4

Internal

LSIND

INT4

10

Processing lists

Index of the detail list

LSTAT

CHAR

16

Processing lists

ID for list levels

MACDB

CHAR

4

Obsolete

MACOL

INT4

10

Printing lists

Columns from the SET MARGIN statement

MANDT

CLNT

3

R/3 System

Current client

MARKY

CHAR

1

Obsolete

MAROW

INT4

10

Printing lists

Rows from the SET MARGIN statement

MODNO

CHAR

1

R/3 System

Index of the external sessions

MSGID

CHAR

20

Messages

Message class

MSGLI

CHAR

60

Messages

Message line

MSGNO

NUMC

3

Messages

Message number

MSGTY

CHAR

1

Messages

Message type

MSGV1

CHAR

50

Messages

Message variable

MSGV2

CHAR

50

Messages

Message variable

MSGV3

CHAR

50

Messages

Message variable

MSGV4

CHAR

50

Messages

Message variable

NEWPA

CHAR

1

Internal

NRPAG

CHAR

1

Internal

ONCOM

CHAR

1

Internal

OPSYS

CHAR

10

R/3 System

Operating system of application server

PAART

CHAR

16

Printing lists

Print formatting

PAGCT

INT4

10

Obsolete

PAGNO

INT4

10

Creating lists

Current page

PAUTH

NUMC

2

Internal

PDEST

CHAR

4

Printing lists

Output device

PEXPI

NUMC

1

Printing lists

Spool retention period

PFKEY

CHAR

20

Screens

Current GUI status

PLAYO

CHAR

5

Internal

PLAYP

CHAR

1

Internal

PLIST

CHAR

12

Printing lists

Name of spool request

PNWPA

CHAR

1

Internal

PRABT

CHAR

12

Printing lists

Cover sheet: Department

PRBIG

CHAR

1

Printing lists

Selection cover sheet

PRCOP

NUMC

3

Printing lists

Number of copies

PRDSN

CHAR

6

Printing lists

Name of the spool dataset

PREFX

CHAR

3

Obsolete

PRI40

CHAR

1

Internal

PRIMM

CHAR

1

Printing lists

Output immediately

PRINI

NUMC

1

Internal

PRLOG

CHAR

1

Internal

PRNEW

CHAR

1

Printing lists

New spool request

PRREC

CHAR

12

Printing lists

Recipient

PRREL

CHAR

1

Printing lists

Delete after output

PRTXT

CHAR

68

Printing lists

Text for cover sheet

REPI2

CHAR

40

Internal

REPID

CHAR

40

ABAP program

Current main program

RSTRT

CHAR

1

Internal

RTITL

CHAR

70

Printing lists

Program from which you are printing

SAPRL

CHAR

4

R/3 System

R/3 Release in use

SCOLS

INT4

10

Screens

Number of columns

SFNAM

CHAR

30

Obsolete

SFOFF

INT4

10

Internal

SLSET

CHAR

14

Selection screens

Variant name

SPONO

NUMC

10

Printing lists

Spool number

SPONR

NUMC

10

Obsolete

SROWS

INT4

10

Screens

Number of lines

STACO

INT4

10

List processing

First column displayed

STARO

INT4

10

List processing

Topmost line displayed

STEPL

INT4

10

Screens

Index of current table line

SUBCS

CHAR

1

Internal

SUBRC

INT4

10

Return code

Return code following an ABAP statement

SUBTY

RAW

1

Internal

SYSID

CHAR

8

R/3 System

Name of the R/3 System

TABID

CHAR

8

Internal

TABIX

INT4

10

Internal tables

Current line index

TCODE

CHAR

20

ABAP program

Current transaction code

TFDSN

CHAR

8

Obsolete

TFILL

INT4

10

Internal tables

Current number of lines

TIMLO

TIMS

6

Date and time

User’s local time

TITLE

CHAR

70

Screens

Text in the title bar

TLENG

INT4

10

Internal tables

Line size

TLOPC

INT4

10

Internal

TMAXL

INT4

10

Obsolete

TNAME

CHAR

30

Obsolete

TOCCU

INT4

10

Internal tables

Initial memory requirement

TPAGI

INT4

10

Obsolete

TSTIS

INT4

10

Internal

TTABC

INT4

10

Obsolete

TTABI

INT4

10

Obsolete

TVAR0

CHAR

20

Creating lists

Text variable for titles

TVAR1

CHAR

20

Creating lists

Text variable for titles

TVAR2

CHAR

20

Creating lists

Text variable for titles

TVAR3

CHAR

20

Creating lists

Text variable for titles

TVAR4

CHAR

20

Creating lists

Text variable for titles

TVAR5

CHAR

20

Creating lists

Text variable for titles

TVAR6

CHAR

20

Creating lists

Text variable for titles

TVAR7

CHAR

20

Creating lists

Text variable for titles

TVAR8

CHAR

20

Creating lists

Text variable for titles

TVAR9

CHAR

20

Creating lists

Text variable for titles

TZONE

INT4

10

Date and time

Difference between local time and GMT

UCOMM

CHAR

70

Screens

Function code that triggered PAI

ULINE

CHAR

255

Constants

Horizontal line with length 255

UNAME

CHAR

12

R/3 System

Username of current user

UZEIT

TIMS

6

Date and time

Current application server time

VLINE

CHAR

1

Constants

Vertical line

WAERS

CUKY

5

Obsolete

WILLI

INT4

10

Obsolete

WINCO

INT4

10

Obsolete

WINDI

INT4

10

Obsolete

WINRO

INT4

10

Obsolete

WINSL

CHAR

79

Obsolete

WINX1

INT4

10

Obsolete

WINX2

INT4

10

Obsolete

WINY1

INT4

10

Obsolete

WINY2

INT4

10

Obsolete

WTITL

CHAR

1

Creating lists

Flag for standard page header

XCODE

CHAR

70

Internal

XFORM

CHAR

30

Internal

XPROG

CHAR

40

Internal

ZONLO

CHAR

6

Date and time

User’s time zone

 

                                                                                                   

System Fields in Thematic Order

The system fields are grouped thematically below with notes on their use:

 

System Information

ABAP Programming

Screens

Internal System Fields

Obsolete System Fields

 

                                                                                                   

System Information

Information About the Current R/3 System

SY-DBSYS

Central database system (such as INFORMIX or ORACLE)

SY-HOST

Application server (such as HS0333, PAWDF087 …)

SY-OPSYS

Operating system of the application server (such as HP-UX, SINIX)

SY-SAPRL

R/3 Release in use (such as 30D, 46A, …)

SY-SYSID

R/3 System name (such as B20, I47, ...)

Information About the Current Terminal Session

SY-LANGU

One-character language key with the user’s logon language (such as D, E, F…)

SY-MANDT

Client in which the user is logged on (such as 000, 400…)
When you use Open SQL to access the database, SY-MANDT is used as the first key field in the WHERE clause.

SY-MODNO

Index of the external sessions. The first session has the index zero. The value is increased by one each time you choose System ® Create session or start a transaction by entering /o<tcode>. If you have deleted sessions, the system fills free numbers before increasing the count further. Sessions started using CALL TRANSACTION … STARTING NEW TASK begin again at 0.

SY-UNAME

Username of the current user, such as KELLERH, BC400-01…

Information About Current Date and Time

The following system fields are always set automatically. The GET TIME statement synchronizes the time on the application server with the time on the database server and writes it to the field SY-UZEIT. SY-DATUM and the system fields for the local timezone (SY-TIMLO, SY-DATLO, and SY-ZONLO) are also reset.

SY-DATLO

User’s local date, for example 19981129, 19990628, …

SY-DATUM

Current application server date, for example 19981130, 19990627, …

SY-DAYST

X during summertime, otherwise space.

SY-FDAYW

Factory calendar day of the week: Monday = 1 … Friday = 5.

SY-TIMLO

User’s local time, for example 154353, 225312, …

SY-TZONE

Time difference in seconds between local time and Greenwich Mean Time (UTC), for example, 360, 10800.

SY-UZEIT

Current application server time. for example 164353, 215312, …

SY-ZONLO

User’s time zone, for example, EST, UTC, …

Information About the Current ABAP Program

SY-CALLD

X if the program was started using CALL TRANSACTION, CALL DIALOG, or SUBMIT … [AND RETURN]. Space if the program was started using LEAVE TO TRANSACTION or using a transaction code from a screen. SY-CALLD is always space when a batch input session is being processed.

SY-CPROG

The name of the calling program in an external routine, otherwise the name of the current program.

SY-DBNAM

The name of the logical database linked to an executable program.

SY-DYNGR

Screen group to which the current screen belongs. You can assign several screens to one screen group, for example, to allow you to modify them all identically.

SY-DYNNR

Number of the current screen. During selection screen processing, SY-DYNNR contains the screen number of the current selection screen. During list processing, it contains the number of the container screen. During subscreen processing, SY-DYNNR contains the number of the subscreen. This also applies to tabstrip controls.

SY-LDBPG

In executable programs, the database program of the associated logical database.

SY-REPID

Name of the current ABAP program. For externally-called procedures, it is the name of the main program of the procedure. If you pass SY-REPID as an actual parameter to an external procedure, the formal parameter does not contain the name of the caller, but that of the main program of the procedure. To avoid this, assign SY-REPID to an auxiliary variable and use that in the call, or use the system field SY-CPROG.

SY-TCODE

The current transaction code.

Background Processing

SY-BATCH

X if the ABAP program is running in the background, otherwise space

Batch Input

SY-BINPT

X while a batch input session is running and when an ABAP program is called using CALL TRANSACTION USING, otherwise space.

 

                                                                                                   

ABAP Programming

Constants

SY-ABCDE

Contains the alphabet. You can use this field with offset to retrieve a letter of the alphabet regardless of codepage.

SY-ULINE

Contains a horizontal line with length 255 that you can use when creating lists.

SY-VLINE

Contains a vertical line (|) that you can use when creating lists.

Loops

SY-INDEX

In a DO or WHILE loop, SY-INDEX contains the number of loop passes including the current pass.

Strings

SY-FDPOS

Location of hit in string operations.

Internal Tables

SY-TABIX

Current line of an internal table. SY-TABIX is set by the statements below, but only for index tables. The field is either not set or is set to 0 for hashed tables.

SY-TFILL

After the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, SY-TFILL contains the number of lines in the relevant internal table.

SY-TLENG

After the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, SY-TLENG contains the length of the lines in the relevant internal table.

SY-TOCCU

After the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, SY-TLENG contains the initial amount of memory allocated to the relevant internal table.

Database Access

SY-DBCNT

SQL statements set SY-DBCNT to the number of table entries processed. In an Open SQL SELECT loop, SY-DBCNT is not set until after the ENDSELECT statement. In Native SQL, SY-DBCNT is not set until after the ENDEXEC statement.

Return Code

SY-SUBRC

Return code, set by the following ABAP statements. As a rule, if SY-SUBRC = 0, the statement was executed successfully.

 

                                                                                                   

Screens

Screens

A group of system fields is set in the PAI event of each screen. With the exception of SY-DATAR, SY-LOOPC, and SY-STEPL, you can also use all of them in interactive list processing

SY-CUCOL

Horizontal cursor position. Counter begins at column 2.

SY-CUROW

Vertical cursor position. Counter begins at line 1.

SY-DATAR

X if at least one input field on the screen was changed by the user or other data transport, otherwise space.

SY-LOOPC

Number of lines currently displayed in a table control.

SY-PFKEY

GUI status of the current screen. This can be set in the PBO event using the SET PF-STATUS statement.

SY-SCOLS

Number of columns on the current screen.

SY-SROWS

Number of rows on the current screen.

SY-STEPL

Index of the current line in a table control. This is set in each loop pass. SY-STEPL does not have a meaningful value outside the loop (for example, during the POV event for a table line).

SY-TITLE

Text that appears in the title bar of the screen. This is the program name for selection screens and lists, and SAP R/3 otherwise. Can be set using the SET TITLEBAR statement.

SY-UCOMM

Function code that triggered the PAI event. There is a unique function code assigned to every function that triggers the PAI event with one exception: ENTER triggers the PAI, and various function codes can be passed to SY-UCOMM:

Selection Screens

SY-SLSET

Variant used to fill the selection screen.

Creating Lists

When you create a list, you can use the following system fields to control navigation. They help you to ensure that output statements do not overwrite existing output, or that data is not written outside the list. The system fields SY-COLNO and SY-LINNO always contain the current output position, and they are reset by each output statement. The other system fields contain other values used for creating lists.

SY-COLNO

Current column during list creation. The counter begins at 1. The field is set by the following output statements:

SY-LINCT

Page length of the list. For a default list of indefinite length, SY-LINCT is 0. If the page length is defined, SY-LINCT has that value.

SY-LINNO

Current line during list creation. The counter begins at 1, and includes the page header. SY-LINNO is set by the following output statements:

SY-LINSZ

Line width in the list. The default value is the default window width. SY-LINSZ = SY-SCOLS, for SY-SCOLS >= 84, and 84 for SY-SCOLS < 84

You can change the line width of the list using the LINE-SIZE addition in the REPORT or NEW-PAGE statement.

SY-PAGNO

Current page during list creation.

SY-TVAR0 ... SY-TVAR9

You can assign values to these variables in your programs. Their contents replace the placeholders in the list and column headers of the program in the TOP-OF-PAGE event.

SY-WTITL

The REPORT, PROGRAM, and FUNCTION-POOL statements set this variable to N if you use the NO STANDARD PAGE HEADING addition. Otherwise, it has the value space. NEW-PAGE does not set SY-WTITL.

List Processing

The following system fields are filled at each interactive list event and at the READ LINE statement:

SY-CPAGE

Page number of the topmost page in the display of the list on which the event was triggered. The counter begins at 1.

SY-LILLI

Line at which the event was triggered. The counter begins at 1 and includes the page header.

SY-LISEL

Contents of the line in which the event was triggered (restricted to the first 255 characters).

SY-LISTI

Index of the list in which the event was triggered.

SY-LSIND

Index of the list currently being created. The basic list has SY-LSIND = 0, detail lists have SY-LSIND > 0. The field is automatically increased by one in each interactive list event. You may change the value of SY-LSIND yourself in the program to enable you to navigate between lists. Changes to SY-LSIND do not take effect until the end of a list event. It is therefore a good idea to place the relevant statement at the end of the corresponding processing block.

SY-LSTAT

Program-controlled name for list levels. You can assign values to SY-LSTAT during list creation. The value of SY-LSTAT when the list is finished is saved with the list. In an interactive list event, SY-LSTAT is set to the value assigned to it during creation of the list in which the event occurred. SY-LSTAT is no longer maintained, and you should not use it in your programs.

SY-STACO

Number of the first displayed column of the list from which the event was triggered. The counter begins at 1.

SY-STARO

Number of the topmost displayed line of the topmost displayed page of the list from which the event was triggered. The counter begins at 1, not including the page header.

Printing Lists

When you print lists, the spool and runtime systems require certain internal information that is set in the following system fields when you start printing.

SY-CALLR

Contains a value indicating where printing was started, for example, NEW-PAGE for program-controlled printing, or RSDBRUNT for printing from a selection screen.

SY-PRDSN

Contains the name of the spool file during printing.

SY-SPONO

Contains the spool number during printing.

SY-MAROW, SY-MACOL

The SET MARGIN statement fills the system fields SY-MAROW and SY-MACOL. These determine the number of lines in the top margin and the number of columns in the left-hand margin respectively.

Print Parameters

The print parameters are passed to the spool system by the runtime environment, using a structure with the ABAP Dictionary type PRI_PARAMS. Before this structure existed, system fields were used instead. When you start printing, some of the fields from PRI_PARAMS are still written into system fields with the same names. However, you should not use these system fields yourself.

Messages

When the MESSAGE statement occurs, the following system fields are set. When the MESSAGE … RAISING statement occurs in a function module or method, these fields are also set in the calling program if it is to handle the exception.

SY-MSGID

SY-MSGID contains the message class

SY-MSGNO

SY-MSGNO contains the message number

SY-MSGTY

SY-MSGTY contains the message type

SY-MSGV1,…,SY-MSGV4

SY-MSGV1 to SY-MSGV4 contain the fields used to replace the placeholders in the message.

Special Actions that Fill Message Fields

 

                                                                                                   

Internal System Fields

Internal system fields are exclusively for internal use in the ABAP runtime environment and the system kernel. They must not be overwritten in any circumstances, and should also not be read in ABAP programs.

SY-CFWAE

Undocumented

SY-CHWAE

Undocumented

SY-DEBUG

Undocumented

SY-DSNAM

File name for spool output

SY-ENTRY

Undocumented

SY-FFILE

Flat file (USING/GENERATING DATASET).

SY-FLENG

Length of a field

SY-FODEC

Number of decimal places in a field

SY-FOLEN

Output length of a field

SY-FTYPE

Data type of a field

SY-GROUP

Bundling

SY-INPUT

Undocumented

SY-LPASS

Undocumented

SY-NEWPA

Undocumented

SY-NRPAG

Undocumented

SY-ONCOM

Undocumented

SY-PAUTH

Undocumented

SY-PLAYO

Undocumented

SY-PLAYP

Undocumented

SY-PNWPA

Undocumented

SY-PRI40

Undocumented

SY-PRINI

Undocumented

SY-PRLOG

Undocumented

SY-REPI2

Undocumented

SY-RSTRT

Undocumented

SY-SFOFF

Undocumented

SY-SUBCS

Call status of an executable program

SY-SUBTY

Call type of an executable program

SY-TABID

Undocumented

SY-TLOPC

Undocumented

SY-TSTIS

Undocumented

SY-XCODE

Extended function code, filled by user actions on a list (like SY-UCOMM). Before the length of SY-UCOMM was extended from 4 to 70 characters, SY-XCODE was used internally to accommodate long entries in the command field. You should always use SY-UCOMM in application programs.

SY-XFORM

SYSTEM-EXIT subroutine.

SY-XPROG

SYSTEM-EXIT program.

 

                                                                                                   

Obsolete System Fields

Some of the system fields in the R/3 System were originally adopted from R/2, but are no longer filled with values. They are obsolete, and must not (indeed cannot) be used.

SY-APPLI

R/2 - ID for the SAP applications installed. Not filled in R/3.

SY-BATZD

R/2 - flag for daily background scheduling. Not filled in R/3.

SY-BATZM

R/2 - flag for monthly background scheduling. Not filled in R/3.

SY-BATZO

R/2 - flag for one-time background scheduling. Not filled in R/3.

SY-BATZS

R/2 - flag for immediate background scheduling. Not filled in R/3.

SY-BATZW

R/2 - flag for weekly background scheduling. Not filled in R/3.

SY-BREP4

R/2 - root name of the report requesting background processing. Not filled in R/3.

SY-BSPLD

R/2 - flag for spool output from background processing. Not filled in R/3.

SY-CCURS

R/2 - exchange rate and result field for CURRENCY CONVERSION. Not filled in R/3.

SY-CCURT

R/2 - table exchange rate for CURRENCY CONVERSION. Not filled in R/3.

SY-CDATE

R/2 - exchange rate date for CURRENCY CONVERSION. Not filled in R/3.

SY-CTABL

R/2 - exchange rate table for CURRENCY CONVERSION. Not filled in R/3.

SY-CTYPE

R/2 - exchange rate type for CURRENCY CONVERSION. Not filled in R/3.

SY-DCSYS

Dialog system of the R/2 System. Not filled in R/3.

SY-FMKEY

Formerly the current function code menu. Not filled in R/3.

SY-LOCDB

Local database. Not implemented.

SY-LOCOP

Local database operation. Not implemented.

SY-MACDB

Formerly the file name for matchcode access. Not filled in R/3.

SY-MARKY

Current line letter for the MARK statement. The MARK statement will not be supported for much longer.

SY-TMAXL

Formerly the maximum number of entries in an internal table. Not filled in R/3.

SY-TFDSN

Formerly the name of an external storage file for extracts. Not filled in R/3.

SY-PAGCT

R/2 - the maximum number of pages per list. Not filled in R/3.

SY-PREFX

ABAP prefix for background jobs. Not filled in R/3.

SY-SFNAM

Undocumented

SY-SPONR

In R/2, you could process spool files with the TRANSFER statement, which also set SY-SPONR. Not filled in R/3.

SY-TNAME

Formerly the name of an internal table following access. Not filled in R/3.

SY-TTABC

Formerly the index of the last line of an internal table to be read. Not filled in R/3.

SY-TTABI

Formerly the offset of internal tables in the roll area. Not filled in R/3.

SY-TPAGI

Formerly flagged whether an internal table had been moved to the paging area. Not filled in R/3.

SY-WAERS

Formerly the company code currency after reading a posting segment. Not filled in R/3.

SY-WILLI

R/2 - the number of the list line selected from a detail list. Use SY-LILLI instead.

SY-WINCO

R/2 - cursor position on a detail list. Use SY-CUCOL instead.

SY-WINDI

R/2 - index of the list for a detail list. Use SY-LSIND instead.

SY-WINRO

R/2 - cursor position for a detail list. Use SY-CUROW instead.

SY-WINSL

R/2 - contents of the selected line for detail list in a window. Use SY-LISEL instead.

SY-WINX1

R/2 - window coordinates for a detail list in a window. No corresponding field in R/3.

SY-WINX2

R/2 - window coordinates for a detail list in a window. No corresponding field in R/3.

SY-WINY1

R/2 - window coordinates for a detail list in a window. No corresponding field in R/3.

SY-WINY2

R/2 - window coordinates for a detail list in a window. No corresponding field in R/3.