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. Name>Type>Length>Content> sy-appli>x>2In R/2, ID for which SAP applications are installed. No longer filled. sy-batzd>c>1In R/2, ID for daily background scheduling. No longer filled. sy-batzm>c>1In R/2, ID for monthly background scheduling. No longer filled. sy-batzo>c>1In R/2, ID for single background scheduling. No longer filled. sy-batzs>c>1In R/2, ID for immediate background scheduling. No longer filled. sy-batzw>c>1In R/2, ID for weekly background scheduling. No longer filled. sy-brep4>c>4In R/2, ID for immediate spool output for background processing. No longer filled. sy-bspld>c>1In R/2, ID for immediate spool output for background processing. No longer filled. sy-ccurs>p>9In R/2, rate specification / result field from CURRENCY CONVERSION>. No longer filled. sy-ccurt>p>9In R/2, table rate from CURRENCY CONVERSION>. No longer filled. sy-cdate>d>-In R/2, rate date from CURRENCY CONVERSION>. No longer filled. sy-ctabl>c>4In R/2, rate table from CURRENCY CONVERSION>. No longer filled. sy-ctype>c>1In R/2, rate type 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 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-macdb>c>4Previously, name of file for matchcode access. 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>-In R/2, maximum number of pages per list. 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 processed 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>-Previously, ID whether an internal table is stored in the paging area. No longer filled. sy-ttabc>i>-Former index of the last line read from an internal table. No longer filled. sy-ttabi>i>-Former offset of internal tables in the program memory. No longer filled. sy-waers>c>5Former company code currency after posting segment is read. No longer filled. sy-willi>i>-In R/2, number of the selected line of a list in details lists in a GUI window. Use sy-lilli> instead. sy-winco>i>-In R/2, cursor position in details lists in a GUI window. sy-cucol> should be used instead. sy-windi>i>-In R/2, index of the list in details lists in a GUI window. sy-lsind> should be used instead. sy-winro>i>-In R/2, cursor position in details lists in a GUI window. sy-curow> should be used instead. sy-winsl>c>79In R/2, content of the selected line in details lists in a GUI window. sy-lisel> should be used instead. sy-winx1>i>-In R/2, window coordinates in details lists in a GUI window. No longer used. sy-winx2>i>-In R/2, window coordinates in details lists in a GUI window. No longer used. sy-winy1>i>-In R/2, window coordinates in details lists in a GUI window. No longer used. sy-winy2>i>-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. Name>Type>Length>Content> sy-paart>c> 16Formatting> sy-pdest>c> 4Output device> sy-pexpi>n> 1Retention period> sy-plist>c> 12Name of spool request> sy-prabt>c> 12Department name> sy-prbig>c> 1Cover sheet> sy-prcop>n> 3Number of copies> sy-prdsn>c> 6Name of the spool file> sy-primm>c> 1Print now> sy-prnew>c>1New spool request> sy-prrec>c> 12Recipient name> sy-prrel>c> 1Delete now> sy-prtxt>c> 68Description text> sy-rtitl>c> 70Title of the spooler program>