sapdev logo background
sapdev logo sapdev logo
Comments

SAP SYSTEM FIELDS OBSOLETE documentation, setup help and example usage



Return to SAP documentation index


ARTICLE

Obsolete System Fields

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.
Name Type Length Content
sy-appli x 2An R/2 ID indicating which SAP applications are installed. No longer filled.
sy-batzd c 1An R/2 ID used for background jobs scheduled daily. No longer filled.
sy-batzm c 1An R/2 ID used for background jobs scheduled monthly. No longer filled.
sy-batzo c 1An R/2 ID used for background jobs scheduled once only. No longer filled.
sy-batzs c 1An R/2 ID used for background jobs scheduled to run immediately. No longer filled.
sy-batzw c 1An R/2 ID used for background jobs scheduled weekly. No longer filled.
sy-brep4 c 4An R/2 ID used for background spool output. No longer filled.
sy-bspld c 1An R/2 ID used for background spool output. No longer filled.
sy-ccurs p 9An R/2 exchange rate/results field from CURRENCY CONVERSION . No longer filled.
sy-ccurt p 9An R/2 table rate from CURRENCY CONVERSION . No longer filled.
sy-cdate d -An R/2 quotation date from
CURRENCY CONVERSION . No longer filled.
sy-ctabl c 4An R/2 exchange rate table from CURRENCY CONVERSION . No longer filled.
sy-ctype c 1An R/2 exchange rate indicator from
CURRENCY CONVERSION . No longer filled.
sy-dcsys c 4Dialog system of the R/2 system . No longer filled.
sy-fmkey c 3Former function code menu. No longer filled.
sy-locdb c 1Local database (not implemented).
sy-locop c 1Local database operation (not implemented).
sy-lstat c 16Program-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-macdb c 4Former name of the file used to access matchcodes . No longer filled.
sy-marky c 1Current line letter for the obsolete statement MARK from the R/2 system .
sy-msgli c 60Not documented. No longer filled.
sy-pagct i -Maximum number of pages per list in
R/2 . No longer filled.
sy-prefx c 3Prefix for background jobs. No longer filled.
sy-sfnam c 30Not documented.
sy-sponr n 10In R/2 , spool files were edited using the statement TRANSFER , which also set sy-sponr . No longer filled.
sy-tfdsn c 8Former name of the external repository file for extracts. No longer filled.
sy-tmaxl i -Former maximum number of entries in an internal table. No longer filled.
sy-tname c 12Former name of an internal table after a read/write. No longer filled.
sy-toccu i - 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-tpagi i -Former ID indicating whether an internal table is paged out to the paging area. No longer filled.
sy-ttabc i -Former index of the last row read from an internal table. No longer filled.
sy-ttabi i -Former offset of internal tables in the roll area. No longer filled.
sy-waers c 5Former company code currency after posting segment is read. No longer filled.
sy-willi i -I R/2 , number of the selected row of a list in details lists in a window . Use sy-lilli instead.
sy-winco i -In R/2 , cursor position in details lists in a window. Use sy-cucol instead.
sy-windi i -In R/2 , index of the list in details lists in a window. Use sy-lsind instead.
sy-winro i -In R/2 , cursor position in details lists in a window. Use sy-curow instead.
sy-winsl c 79In R/2 , content of the selected row in details lists in a window . Use sy-lisel instead.
sy-winx1 i -In R/2 , window coordinates in details lists in a window. No longer used.
sy-winx2 i -In R/2 , window coordinates in details lists in a window. No longer used.
sy-winy1 i -In R/2 , window coordinates in details lists in a window. No longer used.
sy-winy2 i -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.
Name Type Length Content
sy-paart c 16
Formatting
sy-pdest c 4 Output device
sy-pexpi n 1
Retention period
sy-plist c 12 Name of spool request
sy-prabt c 12
Department name
sy-prbig c 1 Cover sheet
sy-prcop n 3 Number of copies
sy-prdsn c 6 Name of the spool file
sy-primm c 1 Print now
sy-prnew c 1 New spool request
sy-prrec c 12
Recipient name
sy-prrel c 1 Delete now
sy-prtxt c 68
Description text
sy-rtitl c 70 Title of the spooler program
Documentation extract taken from SAP system, � Copyright SAP AG. All rights reserved




SYSTEM_FIELDS_INTERNAL
SYSTEM_FIELD_GLOSRY




comments powered by Disqus