- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
ABAP系统字段功能列表.pdf
ABAP 系统字段
ABAP System Fields
本文的英文部分来自 SAP 联机帮助,是 SAP 的官方解释,中文部分是本人的翻译,
可能很不准确,仅供参考。
强晟 2006-12-29
QQ :1011370
MSN :qiangsheng@
系统字段由 ABAP 运行时环境填写,并且可以用来在 ABAP 程序中查询系统状态。除了一个例
外(sy-repid ),系统字段都是变量,但是它们都是只读的。此外,更多程序执行的重要信息通
常都被丢弃。ABAP 程序中的系统字段只在极少需要控制系统行为的时候才能被重写。
System fields are filled by the ABAP runtime environment and can be used in an ABAP
program to query system statuses. With one exception (sy-repid), system fields are
variables, but they should only be accessed on a read-only basis. Otherwise, important
information for further program execution often gets lost. System fields in ABAP programs can
only be overwritten in a few cases to control system behavior.
对于例外的 sy-repid,这个系统字段的数据类型在ABAP 字典的 SYST 结构(6.10 版以后)中
定义,作为 sy 结构(也可以用 SYST 来定位)的组件在 ABAP 程序中有示例。sy 结构在一个
内部会话期间内只存在一次,并且在这个内部会话期间内被所有程序使用。下表列出了在ABAP
程序中可以使用的系统字段。所有 sy 结构的其他组件则或者在 ABAP 运行时环境内部使用或者
已经废弃。
With the exception of sy-repid, the data types of the system fields are defined in the ABAP
Dictionary in the structure SYST (as of release 6.10), and are instantiated in ABAP programs
as components of the predefined structure sy, which can also be addressed using SYST. The
structure sy exists only once in an internal session and is used by all programs of an internal
session at the same time. The following table shows the system fields that can be used in
ABAP programs. All other components of the structure sy are either intended for internal use
by the ABAP runtime environment or are obsolete.
名称 类型 说明
Name Type Content
包含了字母表。可以用来通过指定偏移/长度直接访问独立的字母,
而无需考虑代码页。
sy-abcde c(26) Contains the alphabet. Can be used to access individual
letters directly by specifying the offset/length, regardless
文档评论(0)