`

SAP 

阅读更多
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.
分享到:
评论

相关推荐

    SAP所有表及关系 SAP所有表及关系

    SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP所有表及关系SAP...

    SAP GUI 770 PATCH 8

    SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI 770 PATCH 8SAP GUI ...

    SAP PO/PI教程 Process Orchestration The Comprehensive Guide

    SAP Process Orchestration The Comprehensive Guide, 2nd Edition SAP流程编制综合指南 1 Introduction to SAP Process Orchestration 1.1 Historical Overview and Evolution 1.1.1 SAP Process Integration ...

    SAP Fiori 和 SAP UI5 开发学习路线图

    Jerry 从 2014 年加入 SAP成都研究院 CRM Fiori 开发团队之后开始接触 SAP UI5,曾经在 SAP 社区和“汪子熙”微信公众号上发表过多篇关于 SAP UI5 工作原理和源码解析的文章。 Jerry 也是从 SAP UI5 菜鸟一路走过来...

    幕墙SAP2000建模案例一

    幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 ...

    sapjco3-windows64-linux64 SAP社区完整版

    自己找了好久的资源,这里提供windows64位和linux64服务器版,sapjco版本为3.0.9,java连接sap系统需要通过sap javaconnect来连接,对于sapjco3.jar系列文件有32位与64位之分。 1)将相对应位数的sapjco3.dll文件拷贝...

    SAP GUI for windows 800/8..00 内含SAP GUI for windows 800 Patch5 补

    SAP GUI for windows 800安装包,内含SAP GUI for windows 800 Patch5 补丁SAP GUI for windows 800安装包,内含SAP GUI for windows 800 Patch5 补丁SAP GUI for windows 800安装包,内含SAP GUI for windows 800 ...

    sapjco3 jar包

    mvn install:install-file -DgroupId=org.hibersap -DartifactId=sapjco3 -Dversion=3.0 -Dpackaging=jar -Dfile=E:/sapjco3/sapjco3-win32/sapjco3.jar 用以替换 org.hibersap 加载项下载的文件 <groupId>org....

    .net调用SAP RFC组件及Demo

    .net调用SAP RFC Demo SAP CONNECTOR FOR MICROSOFT .NET Demo(vs2005 x86) .net调用SAP RFC组件 Compiled with .NET Framework 2.0: sapnco30P_8-20007347.zip:SAP Connector for Microsoft .NET 3.0.8.0 for ...

    sapjco3.dll结合sapjco3.jar包下载

    mvn install:install-file -DgroupId=org.hibersap -DartifactId=sapjco3 -Dversion=3.0 -Dpackaging=jar -Dfile=E:/sapjco3/sapjco3-win32/sapjco3.jar 用以替换 org.hibersap 加载项下载的文件 <groupId>org....

    sapjco3 32位64位.dll+jar

    设置系统环境变量,将sapjco3所在目录加入系统环境变量 例如: 新建环境变量 变量名: JAVA_SAPJCO 变量值: E:\sapjco3\sapjco3-win32 将新建的 JAVA_SAPJCO 环境变量加入 系统环境变量 Path变量集合中. %JAVA_SAPJCO%\...

    SAP RFC 联调测试工具

    “Sap RFC联调测试工具”是用于第三方平台连接SAP RFC进行预先测试,在第三方平台未开发好程序,而进行预先联调测试已经开发好的RFC接口。也可以用来ABAP开发者在开发好RFC并且用SAP的SE37测试无误之后,进行第三方...

    SAP ECC 6.0 虚拟机

    SAP ECC 6.0 虚拟机(win2003 server 英文版)下载。下载文件包括:13个tib文件以及安装说明及相关密码。其中,13个tib可以合成一个SAPECC.tib(约50G)。可以通过TrueImage软件或者VMware-workstation虚拟机软件...

    SAP MM用户操作手册-第三套

    00.文档名称目录.doc 01.采购收货流程.doc 02.采购退货流程.doc 03.主产品收货流程.doc 04. 副产品收货流程.doc 05. 报废废料收货流程.doc 06. 外协供应商发料流程.doc 07. 库存转储流程.doc ...SAP MM3003 SOP.doc

    SAP接口文档 关于SAP的接口介绍

    SAP接口文档SAP接口文档SAP接口文档SAP接口文档SAP接口文档SAP接口文档SAP接口文档

    sapabap开发从入门到精通

    资源名称:sap abap开发从入门到精通 内容简介: 《SAP ABAP开发从入门到精通》以应用实例的形式,讲解了SAPABAP开发的相关知识点,详细介绍了SAPABAP开发者必须掌握的包与变更传输系统(CTS)、数据类型、数据库...

    SAP高级应用开发-电子书+源代码.zip 分卷1 /2

    此资源分为2个压缩卷,此为分卷1,文件名:SAP高级应用开发-电子书+源代码.zip,采用7-zip压缩 SAP高级应用开发:RFC、BAPI、ALE、Workflow、SAP连接器、WebDynpro及BSP 丛书名: 图灵SAP技术丛书 字 数: 579000 ...

    SAP系统业务-查询系统日志信息.docx

    回车 SAP系统业务-查询系统日志信息全文共5页,当前为第1页。 SAP系统业务-查询系统日志信息全文共5页,当前为第1页。 2.ST03N 这是另外一种方法,可以看到更多一些的用户操作信息 双击用户 可以看到事务代码。 ...

    java连接sap接口包sapjco3

    java连接sap系统需要通过sap javaconnect来连接,对于sapjco3.jar系列文件有32位与64位之分。 a)确定本机使用JDK版本,一般均为32位。 b)将相对应位数的sapjco3.dll文件拷贝至system32。 c)将相对应位数sapjco.jar...

    SAP所有表及关系.XLS.zip_SAP_sap后台表

    SAP 数据表清单,包含SAP所有后台数据表

Global site tag (gtag.js) - Google Analytics