Description:

SY-SUBRC:语句执行后的返回值,0表示成功
SY-DATUM:当前服务器日期
SY-UZEIT:当前服务器时间
SY-ULINE:255长度的水平线
SY-VLINE:垂直线
SY-INDEX:循环说执行的次数
SY-TABIX:内表循环的次数
SY-DYNNR:当前Screen号
SY-MANDT:当前登录的Client号
SY-STEPL:返回当前操作的屏幕行号(Table Control)
SY-LOOPC:当前表格控件在屏幕中的总行数(Table Control)
SY-UCOMM:PAI所出发的功能代码
SY-DYNNR:当前屏幕号
SY-MSGID:Message Class
SY-MSGNR:Message Number
SY-MSGTY:Message Type
SY-MSGV1~4:Message Variant
SY-LINCT:REPROT语句中设定的LINE-COUNT
SY-LINSZ:REPROT语句中设定的LINE-SIZE
SY-SROWS:当前窗口的列表行数
SY-SCOLS:当前窗口的列表栏目数
SY-PAGNO:当前页的页码
SY-LINNO:当前选定行的行号
SY-COLNO:当前选定列的列号
SY-LSIND:当前列表索引,第一级列表为1
SY-LILLI:选择某行时光标行位置
SY-CUROW:选择某行时光标列位置
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 the code page.
sy-batch c(1) Set to "X" in an ABAP program that runs in the background, otherwise initial.
sy-binpt c(1) Set to "X" during processing of batch input sessions, and in ABAP programs called using CALL TRANSACTION USING. Otherwise initial.
sy-calld c(1) Contains a blank character in the first program in a call sequence , otherwise contains the value "X". Is set to "X" after calls using CALL TRANSACTION , CALL DIALOG, or SUBMIT ... AND RETURN. Empty if the program was started using LEAVE TO TRANSACTION or a transaction from the screen. A call using SUBMIT (without AND RETURN) assumes the value of the calling program.
sy-callr c(8) When printing lists, contains a value that displays where the printing was started, for example, NEW-PAGE for program-controlled printing, or RSDBRUNT for printing from the selection screen.
sy-colno i 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 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) In procedures called externally, the name of the calling program, Otherwise the name of the current program. If a procedure called externally calls another external procedure, sy-cprog contains the name of the framework program, and is not set to the name of the framework program of the subsequent calling program.
sy-cucol i Horizontal cursor position in the display on a screen. Counting begins at column 2.
sy-curow i Vertical cursor position on the screen display of a screen. Counting begins at line 1.
sy-datar c(1) At PAI, 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 Local date of the user, for example 19990723, 20000422. Can be set using GET TIME.
sy-datum d Local date of the SAP system. Can be set using GET TIME.
sy-dayst c(1) "X" during summertime, otherwise initial.
sy-dbcnt i SQL statements set the content of sy-dbcnt to the number of processed table lines.
sy-dbnam c(20) In executable programs, the linked logical database.
sy-dbsys c(10) Central database system, for example, ORACLE, INFORMIX.
sy-dyngr c(4) Screen group of the current screen. In the Screen 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. During selection screen processing, this is the current selection screen. During list processing, the number of the subscreen container. During processing of a subscreen screen (including in tabstrips), this screen number.
sy-fdayw b Factory calendar weekday, Monday = 1, ..., Friday = 5.
sy-fdpos i Found location in operations with character-type data objects.
sy-host c(8) Name of the application server, for example, KSAP0001, HS01234.
sy-index i Loop index. In DO and WHILE loops, contains the number of the loop passes including the current pass.
sy-langu c(1) Single-character language key, for example, D, E, F, for the current text environment. Set according to the logon language of the user or by using the statement SET LOCALE.
sy-ldbpg c(40) In executable programs, the database program of the linked logical database.
sy-lilli i List line for which a list event was triggered. Counting begins at 1 and includes the page header.
sy-linct i Page length of the current list during list creation. sy-linct is 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 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) 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 a table control.
sy-lsind i List level of the list that is currently being created (basic list: 0, details lists: greater than 0). For every interactive list event, sy-lsind is automatically increased by an increment of 1. sy-lsind can 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) client identifier with 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) 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 a transaction with /o in the input field of the toolbar, this value is increased by 1.
sy-msgid c(20) After the statement MESSAGE, contains the message class.
sy-msgno n(3) After the statement MESSAGE, contains the message number.
sy-msgty c(1) After the statement MESSAGE, contains the message type.
sy-msgv1 ... sy-msgv4 c(50) After the statement MESSAGE, contain the contents of the fields that are used as placeholders in the message.
sy-opsys c(10) Operating system of the application server, for example, SOLARIS, HP-UX.
sy-pagno i Current page in list creation.
sy-pfkey c(20) GUI status of the current screen.
sy-prdsn c(6) When printing lists, contains the name of the spool file.
sy-repid c(40) Name of the current ABAP program. For procedures called externally, name of the framework program of the procedure. sy-repid when transferring actual parameters to an external procedure, before release 6.10, the formal parameter was not set to the name of the caller, but to the name of the procedure instead. As of release 6.10, sy-repid can be transferred to procedures without help fields.
sy-saprl c(4) Release status of the SAP system, for example, 46D, 610.
sy-scols i Number of columns of the current screen.
sy-slset c(14) Variant that was used for filling a selection screen.
sy-spono n(10) When printing lists, contains the name of the spool number.
sy-srows i Number of lines of the current screen.
sy-staco i Number of the first column displayed in the list for which a list event has been triggered. Counting begins at 1.
sy-staro i Number of the list line displayed at the top of the page at the top of the list, for which a list event was triggered. Counting begins at 1 and does not include the page header.
sy-stepl i Index of the current line in a table control. This is set for every loop pass.
sy-subrc i Return value that is set by many ABAP statements. In general, the value 0 means that the statement was executed with no problems. Depending on which statement was used to set sy-subrc, if errors occur, the cause of the error can be derived from the corresponding value.
sy-sysid c(8) Name of the SAP system, for example, S01, K99.
sy-tabix i Table index. Last addressed line of a standard table or sorted table. Is set to 0 if hashed table is accessed.
sy-tcode c(20) Name of the current transaction code.
sy-tfill i In the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, sy-tfill is filled with the number of lines in the internal table that has been addressed.
sy-timlo t Local time of the user, for example 152557. Can be set by GET TIME.
sy-title c(70) Text that appears in the title bar of the screen.
sy-tleng i In the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, sy-tleng is filled with the line size of the internal table that is being addressed.
sy-tvar0 ... sy-tvar9 c(20) These system fields can be assigned values in the program. At the event TOP-OF-PAGE, the content of sy-tvar0 to sy-tvar0 replaces the placeholders in the list and column headers of the text elements of the program.
sy-tzone i Time difference to the UTC reference time in seconds, for example, 3600, 10800.
sy-ucomm c(70) Function code that triggered the event PAI.
sy-uline c(255) Contains a horizontal line of length 255 for displaying in lists.
sy-uname c(12) User's logon name, for example, KELLERH.
sy-uzeit t Local time of the SAP system. Can be set using GET TIME.
sy-vline c(1) Contains a vertical line (|) for displaying in lists.
sy-wtitl c(1) In the statements REPORT, PROGRAM, and FUNCTION-POOL, set to "N" if the addition NO STANDARD PAGE HEADING is used, otherwise initial.
sy-zonlo c(6) Time zone of the user, for example, CET, PST.

ABAP SY标签一览 .的更多相关文章

  1. HTML5标签一览

    HTML5标签一览,点击下载 访问密码:1907

  2. 学习HTML5之新特性标签一览(详细)

    HTML5又2008年诞生,HTML5大致可以等同于=html+css3+javascriptapi.... so --->支持css3强大的选择器和动画以及javascript的新的函数 先来 ...

  3. 2018.03.30 abap屏幕标签保存之前执行过的状态

    REPORT ZZJX_TEST09. *&---------------------------------------------------------------------* TAB ...

  4. HTML标签一览

    html标签属性大全 嵌套的html窗口<iframe > <iframe src="https://www.baidu.com"></iframe& ...

  5. thinkphp5内置标签

    thinkphp5内置标签 知道内置标签怎么用,查手册的时候好查 却功能的时候在里面找着来用 内置标签一览 内置标签 变量输出使用普通标签就足够了,但是要完成其他的控制.循环和判断功能,就需要借助模板 ...

  6. bootstrap入门-4.排版及其他固定样式

    本篇包括以下内容:排版.代码.表格.表单. 总结:超无聊,弃更. · 排版样式                                     标题 h1-h6 取消加粗,字体大小也有一定变化 ...

  7. 把功能强大的Spring EL表达式应用在.net平台

    Spring EL 表达式是什么? Spring3中引入了Spring表达式语言—SpringEL,SpEL是一种强大,简洁的装配Bean的方式,他可以通过运行期间执行的表达式将值装配到我们的属性或构 ...

  8. HTML真零基础教程

    这是为完全没有接触过的童鞋写的,属于真正的傻瓜式教程,当然由于本人也不是什么大佬,可能有些知识的理解与自己想的不一样,如果有大佬看到,还请帮我指出.以下主要是HTML5的基础标签的使用. 开发前的准备 ...

  9. 把Autofac玩的和javaSpring一样6

    大家好,今天来介绍我开源的一个autofac.Annotation项目 源码:https://github.com/yuzd/Autofac.Annotation 本项目是autofa的一个扩展组件, ...

随机推荐

  1. 解决npm安装模块时 npm err! registry error parsing json

    最近还真是点背,从yeoman生成一个react项目或是github上克隆一个项目,在npm install的时候, 一直报npm err! registry error parsing json(就 ...

  2. Automotive Security的一些资料和心得(8):Hardware Security Module (HSM)

    1. Introduction - 保护软件的安全性措施,作为值得信赖的安全锚,- 安全地生成,存储和处理安全性关键材料屏蔽任何潜在的恶意软件,?- 通过运用有效的限制硬件篡改攻击的可能性篡改保护措施 ...

  3. 《深入理解javascript原型和闭包系列》 知识点整理

    深入理解javascript原型和闭包系列 对原型和闭包等相关知识的讲解,由浅入深,通俗易懂,每个字都值得细细研究. 一.一切都是对象 1. typeof操作符输出6种类型:string boolea ...

  4. bzoj 2406: 矩阵 上下界网络流判定

    2406: 矩阵 Time Limit: 10 Sec  Memory Limit: 128 MBSubmit: 138  Solved: 46[Submit][Status][Discuss] De ...

  5. ASP.net Application及Session 的start end 方法总结

    经过几天的摸索,试验,今天终于可以将Application及Session对象的Start和End方法做下总结了. Application_start: 第一个访问网站的用户会触发该方法. 通常会在该 ...

  6. IDEA 使用 SVN的一个注意点

    IDEA是调用SVN.EXE来实现相关版本管理功能的,所以必须要安装visualSVN,然后再使用相关功能!

  7. MongoDB实战指南(六):MongoDB复制集之复制集概述

    1. 复制集概述 数据库总是会遇到各种失败的场景,如网络连接断开.断电等,尽管journaling日志功能也提供了数据恢复的功能,但journaling通常是针对单个节点来说的,只能保证单节点数据的一 ...

  8. ANDROID_MARS学习笔记_S01原始版_002_实现计算乘积及menu应用

    一.代码 1.xml(1)activity_main.xml <RelativeLayout xmlns:android="http://schemas.android.com/apk ...

  9. Android USB Host 通信程序

    换到了一家新公司,于是就有了新的项目.这次的项目 要用Android SDK与USB HID设备进行通信.第一次接触Android SDK,以及USB,记录下源程序.开发过程以及一些心得. 首先,要感 ...

  10. php 中奖概率算法

    我们先完成后台PHP的流程,PHP的主要工作是负责配置奖项及对应的中奖概率,当前端页面点击翻动某个方块时会想后台PHP发送ajax请求,那么后台PHP根据配置的概率,通过概率算法给出中奖结果,同时将未 ...