系统内表 SY 表各项的说明

来源:互联网 发布:电脑硬件在淘宝那里买 编辑:程序博客网 时间:2024/06/01 09:56

Name
 类型

Type
 说明

Content
 
sy-abcde
 c(26)
 包含了字母表。可以用来通过指定偏移/长度直接访问独立的字母,而无需考虑代码页。

Contains the alphabet. Can be used to access individual letters directly by specifying the offset/length, regardless of thecode page.
 
sy-batch
 c(1)
 在一个后台运行的ABAP程序中设置为“X”,否则就是初始值。

Set to "X" in an ABAP program that runs in the background, otherwise initial.
 
sy-binpt
 c(1)
 在批处理输入会话中设置为“X”,在ABAP程序中调用usingCALL TRANSACTION USING。否则就是初始值。

Set to "X" during processing ofbatch input sessions, and in ABAP programs called usingCALL TRANSACTION USING. Otherwise initial.
 
sy-calld
 c(1)
 在一个调用序列中的第一个程序里为空字符串,否则为值“X”。在调用usingCALL TRANSACTION,CALL DIALOG或者SUBMIT ... AND RETURN后变为“X”。如果程序以LEAVE TO TRANSACTION或者从一个屏幕事务开始的话,则为空。使用SUBMIT(没有AND RETURN)时设定为调用它的程序的值。

Contains a blank character in the first program in acall sequence, otherwise contains the value "X". Is set to "X" after calls usingCALL TRANSACTION,CALL DIALOG, orSUBMIT ... AND RETURN. Empty if the program was started usingLEAVE TO TRANSACTIONor a transaction from thescreen. A call usingSUBMIT(withoutAND RETURN) assumes the value of the calling program.
 
sy-callr
 c(8)
 当打印清单时,显示打印从何处开始的值,例如NEW-PAGE为程序控制的打印,或者RSDBRUNT为从一个选择屏幕打印。

When printing lists, contains a value that displays where the printing was started, for example,NEW-PAGEfor program-controlled printing, or RSDBRUNT for printing from theselection screen.
 
sy-colno
 i
 在清单缓冲区中创建清单过程中的当前位置。从1开始计算。在非Unicode系统中,这个位置也符合显示清单中的列。在Unicode系统中,由于清单缓冲区中的一个字符可能占多列,这只保证每个输出的最低和最高的输出能力。

Current position during creation of a list in the list buffer. Counting begins at 1. In non-Unicode systems, this position also corresponds to the column in the displayed list. In Unicode systems, this is only guaranteed for the lower and upper output limits applicable to each output, as one character may take up more columns in the list than positions in the list buffer.
 
sy-cpage
 i
 当清单事件被触发时,显示在清单顶端的页码。从1开始。

Page number of the page displayed at the top of the list for which a list event was triggered. Counting begins at 1.
 
sy-cprog
 c(40)
 在外部程序调用中,调用程序的名字,否则就是当前程序的名字。如果一个程序包含多级程序调用,sy-cprog包含框架程序的名字,而不是设置为程序调用序列中的框架程序名字。

Inprocedurescalled externally, the name of the calling program, Otherwise the name of the current program. If a procedure called externally calls another external procedure,sy-cprogcontains the name of theframework program, and is not set to the name of the framework program of the subsequent calling program.
 
sy-cucol
 i
 在屏幕上显示的横向指针的位置。从第2列开始。

Horizontal cursor position in the display on ascreen. Counting begins at column 2.
 
sy-curow
 i
 在屏幕上显示的纵向指针的位置。从第1行开始。

Vertical cursor position on the screen display of a screen. Counting begins at line 1.
 
sy-datar
 c(1)
 在PAI中,如果屏幕上至少有一个输入字段的值被用户或其他数据传输所更改,则为“X”,否则为初始值。

AtPAI, contains "X" if at least one input field of a screen has been changed by a user or by further data transfer, otherwise initial.
 
sy-datlo
 d
 用户的当前日期,例如:19990723,20000422。可以用GET TIME来设置。

Local date of the user, for example 19990723, 20000422. Can be set usingGET TIME.
 
sy-datum
 d
 SAP系统的本地日期。可以用GET TIME来设置。

Local date of the SAP system. Can be set usingGET TIME.
 
sy-dayst
 c(1)
 在夏令时中设置为“X”,否则为初始值。

"X" during summertime, otherwise initial.
 
sy-dbcnt
 i
 SQL语句把sy-dbcnt的内容设置为处理过的表行数。

SQL statements set the content ofsy-dbcntto the number of processed table lines.
 
sy-dbnam
 c(20)
 在执行程序中,表示连接的逻辑数据库。

In executable programs, the linkedlogical database.
 
sy-dbsys
 c(10)
 使用的数据库系统,例如ORACEL, INFORMIX。

Central database system, for example, ORACLE, INFORMIX.
 
sy-dyngr
 c(4)
 当前屏幕的屏幕组。在屏幕画笔中,几个屏幕可以指定给一个公共屏幕组,例如,可以用来一次修改同一个屏幕组中的全部屏幕。

Screen group of the current screen. In theScreen Painter, several screens can be assigned to a common screen group, which can be used, for example, for making modifications to all screens in the group at once.
 
sy-dynnr
 c(4)
 当前的屏幕号。在选择屏幕处理过程中,这指定了当前被选中的屏幕。在列表处理过程中,说明了子屏幕容器的数量。在子屏幕屏幕过程中(包括选项卡),说明了屏幕数量。

Number of the current screen. Duringselection screen processing, this is the current selection screen. During list processing, the number of the subscreen container. During processing of asubscreen screen(including intabstrips), this screen number.
 
sy-fdayw
 b
 工厂日历的周日,Monday为1,…,Friday为5。

Factory calendar weekday, Monday = 1, ..., Friday = 5.
 
sy-fdpos
 i
 在字符类型数据对象操作时查找定位。

Found location in operations with character-type data objects.
 
sy-host
 c(8)
 应用服务器的名字,例如,KSAP0001,HS01234。

Name of theapplication server, for example, KSAP0001, HS01234.
 
sy-index
 i
 循环索引。在DO和WHILE循环中,指包含了本次循环的循环次数。

Loop index. InDOandWHILEloops, contains the number of the loop passes including the current pass.
 
sy-langu
 c(1)
 单字符的语言键,例如,D,E,F,给当前的文本环境使用。通过依照当前用户的登录语言,或使用SET LOCALE语句设定。

Single-character language key, for example, D, E, F, for the currenttext environment. Set according to the logon language of the user or by using the statementSET LOCALE.
 
sy-ldbpg
 c(40)
 在可执行程序中,指定了连接的逻辑数据库的数据库程序。

In executable programs, thedatabase programof the linked logical database.
 
sy-lilli
 i
 当清单事件被触发时的清单行数,从1开始计算并包含页抬头。

List line for which a list event was triggered. Counting begins at 1 and includes thepage header.
 
sy-linct
 i
 在当前清单创建时的页长。sy-linct在一个任意长度的标准清单中的值为0,而在定义了页长的清单中不为0。

Page length of the current list during list creation.sy-linctis 0 for a standard list of any length, and has a value that is not 0 for lists with a defined page length.
 
sy-linno
 i
 当清单建立时的当前清单行。从1开始并包含了页抬头。

Current list line during list creation. Counting begins at 1 and includes the page header.
 
sy-linsz
 i
 当清单建立时,在清单缓冲区中的行长度。

Line width of the current list in the list buffer during list creation.
 
sy-lisel
 c(255)
 当一个清单事件被触发时,光标所在行在清单缓冲区中的行内容。(限制为最前面的255行(疑误,应为字符))。

Content of the list line in the list buffer, on which the cursor was positioned while a list event was triggered (restricted to the first 255 lines).
 
sy-listi
 i
 当清单事件被触发时,清单等级。

List level of the list for which a list event was triggered.
 
sy-loopc
 i
 在一个表控制中当前显示的行号。

Number of lines currently displayed in atable control.
 
sy-lsind
 i
 正在被创建清单的清单级别(基本清单:0,明细清单:大于0)。对每个交互式清单事件,sy-lsind自动以1递增。sy-lsind只能在ABAP程序中在清单列表的导航中更改。

List level of the list that is currently being created (basic list: 0, details lists: greater than 0). For every interactive list event,sy-lsindis automatically increased by an increment of 1.sy-lsindcan only be changed in ABAP programs for navigating between details lists.
 
sy-macol
 i
 当打印清单时,包含了左边距的列数。

When printing lists, contains the number of columns on the left edge.
 
sy-mandt
 c(3)
 当前用户登录的客户端号,例如:401,800。

client identifierwith which the user has logged on, for example, 401, 800.
 
sy-marow
 i
 在打印清单时,包含了顶端空白的行数。

When printing lists, contains the number of lines on the top margin.
 
sy-modno
 c(1)
 外部会话的索引。在第一个会话中设置为0。在使用Create Session函数创建或由在工具栏输入字段中带/o参数的事务调用新事务时,这个值以1递增。

Indexing of external sessions. Contains the value 0 in the first session. In new sessions that are opened using the Create Session function or by calling atransactionwith /o in the input field of the toolbar, this value is increased by 1.
 
sy-msgid
 c(20)
 在MESSAGE语句后,包含了消息类。

After the statementMESSAGE, contains the message class.
 
sy-msgno
 n(3)
 在MESSAGE语句后,包含了消息号。

After the statementMESSAGE, contains the message number.
 
sy-msgty
 c(1)
 在MESSAGE语句后,包含了消息类型。

After the statementMESSAGE, contains the message type.
 
sy-msgv1 ... sy-msgv4
 c(50)
 在MESSAGE语句后,包含了要替换掉消息中参数字段的内容。

After the statementMESSAGE, contain the contents of the fields that are used as placeholders in themessage.
 
sy-opsys
 c(10)
 应用服务器的操作系统,例如,SOLARIS,HP-UX。

Operating system of theapplication server, for example, SOLARIS, HP-UX.
 
sy-pagno
 i
 在清单创建时的当前页。

Current page in list creation.
 
sy-pfkey
 c(20)
 当前屏幕的GUI状态。

GUI status of the currentscreen.
 
sy-prdsn
 c(6)
 打印参数,假脱机数据集的名称


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/moqing/archive/2008/09/30/3001227.aspx

原创粉丝点击