SAP SYSTEM FIELDS - Obsolete



Get Example source ABAP code based on a different SAP table
  



Obsolete System Fields
ITOC

Former System Fields
The following system fields are obsolete and should no longer be used. Many originate from the R/2 era. The transition from R/2 to R/3 retained some system fields which are no longer provided with data. NameTypeLengthContent sy-applix2In R/2, ID for which SAP applications are installed. No longer filled. sy-batzdc1In R/2, ID for daily background scheduling. No longer filled. sy-batzmc1In R/2, ID for monthly background scheduling. No longer filled. sy-batzoc1In R/2, ID for single background scheduling. No longer filled. sy-batzsc1In R/2, ID for immediate background scheduling. No longer filled. sy-batzwc1In R/2, ID for weekly background scheduling. No longer filled. sy-brep4c4In R/2, ID for immediate spool output for background processing. No longer filled. sy-bspldc1In R/2, ID for immediate spool output for background processing. No longer filled. sy-ccursp9In R/2, rate specification / result field from CURRENCY CONVERSION. No longer filled. sy-ccurtp9In R/2, table rate from CURRENCY CONVERSION. No longer filled. sy-cdated-In R/2, rate date from CURRENCY CONVERSION. No longer filled. sy-ctablc4In R/2, rate table from CURRENCY CONVERSION. No longer filled. sy-ctypec1In R/2, rate type from CURRENCY CONVERSION. No longer filled. sy-dcsysc4Dialog system of the R/2 system. No longer filled. sy-fmkeyc3Former function code menu. No longer filled. sy-locdbc1Local database, not implemented. sy-locopc1Local database operation, not implemented. sy-lstatc16Program-driven name for list levels. Can be filled with values when lists are created in the ABAP program. The value that applies when a list is completed is stored with the list. After an interactive list event, sy-lstat is set to the value assigned to it when the list where the event occurred was created. sy-lstat is no longer maintained and should therefore no longer be used. sy-macdbc4Previously, name of file for matchcode access. No longer filled. sy-markyc1Current line letter for the obsolete statement MARK from the R/2 system. sy-msglic60Not documented. No longer filled. sy-pagcti-In R/2, maximum number of pages per list. No longer filled. sy-prefxc3Prefix for background jobs. No longer filled. sy-sfnamc30Not documented. sy-sponrn10In R/2, spool files were processed using the statement TRANSFER, which also set sy-sponr. No longer filled. sy-tfdsnc8Former name of the external repository file for extracts. No longer filled. sy-tmaxli-Former maximum number of entries in an internal table. No longer filled. sy-tnamec12Former name of an internal table after a read/write. No longer filled. sy-toccui- In the statements DESCRIBE TABLE , LOOP AT, and READ TABLE, sy-toccu was formerly given the value for the initial main memory requirements of the addressed internal table. No longer filled. sy-tpagii-Previously, ID whether an internal table is stored in the paging area. No longer filled. sy-ttabci-Former index of the last line read from an internal table. No longer filled. sy-ttabii-Former offset of internal tables in the program memory. No longer filled. sy-waersc5Former company code currency after posting segment is read. No longer filled. sy-willii-In R/2, number of the selected line of a list in details lists in a GUI window. Use sy-lilli instead. sy-wincoi-In R/2, cursor position in details lists in a GUI window. sy-cucol should be used instead. sy-windii-In R/2, index of the list in details lists in a GUI window. sy-lsind should be used instead. sy-winroi-In R/2, cursor position in details lists in a GUI window. sy-curow should be used instead. sy-winslc79In R/2, content of the selected line in details lists in a GUI window. sy-lisel should be used instead. sy-winx1i-In R/2, window coordinates in details lists in a GUI window. No longer used. sy-winx2i-In R/2, window coordinates in details lists in a GUI window. No longer used. sy-winy1i-In R/2, window coordinates in details lists in a GUI window. No longer used. sy-winy2i-In R/2, window coordinates in details lists in a GUI window. No longer used.

Spool Parameters
Spool parameters are passed from the runtime framework to the spool system in a structure of type PRI_PARAMS. Before this structure was introduced, system fields were used. When spooling is activated today, a subset of the structure PRI_PARAMS is still written to identically named system fields. This information is redundant and should not be used. NameTypeLengthContent sy-paartc 16Formatting sy-pdestc 4Output device sy-pexpin 1Retention period sy-plistc 12Name of spool request sy-prabtc 12Department name sy-prbigc 1Cover sheet sy-prcopn 3Number of copies sy-prdsnc 6Name of the spool file sy-primmc 1Print now sy-prnewc1New spool request sy-prrecc 12Recipient name sy-prrelc 1Delete now sy-prtxtc 68Description text sy-rtitlc 70Title of the spooler program