SAP SYSTEM FIELDS - Obsolete

Get Example source ABAP code based on a different SAP table
  


ARTICLE

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-applix2An R/2 ID indicating which SAP applications are installed. No longer filled. sy-batzdc1An R/2 ID used for background jobs scheduled daily. No longer filled. sy-batzmc1An R/2 ID used for background jobs scheduled monthly. No longer filled. sy-batzoc1An R/2 ID used for background jobs scheduled once only. No longer filled. sy-batzsc1An R/2 ID used for background jobs scheduled to run immediately. No longer filled. sy-batzwc1An R/2 ID used for background jobs scheduled weekly. No longer filled. sy-brep4c4An R/2 ID used for background spool output. No longer filled. sy-bspldc1An R/2 ID used for background spool output. No longer filled. sy-ccursp9An R/2 exchange rate/results field from CURRENCY CONVERSION. No longer filled. sy-ccurtp9An R/2 table rate from CURRENCY CONVERSION. No longer filled. sy-cdated-An R/2 quotation date from CURRENCY CONVERSION. No longer filled. sy-ctablc4An R/2 exchange rate table from CURRENCY CONVERSION. No longer filled. sy-ctypec1An R/2 exchange rate indicator 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 provided with values when lists are created by the ABAP program. The value that applies when a list is completed is saved 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 defined and should therefore no longer be used. sy-macdbc4Former name of the file used to access matchcodes. 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-Maximum number of pages per list in R/2. No longer filled. sy-prefxc3Prefix for background jobs. No longer filled. sy-sfnamc30Not documented. sy-sponrn10In R/2, spool files were edited 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-Former ID indicating whether an internal table is paged out to the paging area. No longer filled. sy-ttabci-Former index of the last row read from an internal table. No longer filled. sy-ttabii-Former offset of internal tables in the roll area. No longer filled. sy-waersc5Former company code currency after posting segment is read. No longer filled. sy-willii-I R/2, number of the selected row of a list in details lists in a window . Use sy-lilli instead. sy-wincoi-In R/2, cursor position in details lists in a window. Use sy-cucol instead. sy-windii-In R/2, index of the list in details lists in a window. Use sy-lsind instead. sy-winroi-In R/2, cursor position in details lists in a window. Use sy-curow instead. sy-winslc79In R/2, content of the selected row in details lists in a window . Use sy-lisel instead. sy-winx1i-In R/2, window coordinates in details lists in a window. No longer used. sy-winx2i-In R/2, window coordinates in details lists in a window. No longer used. sy-winy1i-In R/2, window coordinates in details lists in a window. No longer used. sy-winy2i-In R/2, window coordinates in details lists in a window. No longer used.

Spool Parameters
Spool parameters are passed from the runtime environment 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 system fields of the same name. This information is redundant and should not be used. NameTypeLengthContent sy-paartc16 Formatting sy-pdestc4Output device sy-pexpin1 Retention period sy-plistc12Name of spool request sy-prabtc12 Department name sy-prbigc1Cover sheet sy-prcopn3Number of copies sy-prdsnc6Name of the spool file sy-primmc1Print now sy-prnewc1New spool request sy-prrecc12 Recipient name sy-prrelc1Delete now sy-prtxtc68 Description text sy-rtitlc70Title of the spooler program