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...
Python连接SAP NetWeaver RFC(Remote Function Call)主要依赖于SAP提供的NetWeaver RFC SDK,这是一个允许外部系统与SAP系统进行交互的开发工具包。本文将深入探讨如何利用Python通过SAP NetWeaver RFC SDK进行...
在使用SAP系统时,有时会遇到一个常见的问题:当尝试输入中文时,屏幕上显示的不是预期的汉字,而是问号。这个问题可能给用户带来不少困扰,尤其是对于那些需要处理中文数据的企业。本文将深入探讨这个问题的原因,...
SAP屠夫,也被称为SAP Security或SAP Security Guru,是指在SAP系统安全领域具有深厚专业知识和技术能力的专家。他们专注于SAP系统的安全配置、权限管理、审计和风险控制,以确保企业数据的安全性。本文件汇总了SAP...
《SAP PI/SAP PO 详细教程:从基础到实践》 SAP PI(Process Integration)和SAP PO(Process Orchestration)是SAP提供的集成解决方案,用于连接不同的业务系统,实现数据交换和流程自动化。本教程将带你深入了解...
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接口文档:关于SAP的接口介绍 #### 一、引言 SAP系统作为全球领先的业务管理和协同商务解决方案之一,在企业的信息化建设中扮演着重要角色。为了满足不同应用场景的需求,SAP提供了多种接口机制,包括但不...
SAP是一种全球领先的业务软件解决方案,它为企业提供了一个集成的平台来管理财务、人力资源、供应链、生产、销售等各个方面的业务流程。SAP JCo(Java Connector)是SAP提供的一个关键组件,允许Java应用程序与SAP...
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 NetWeaver Connector for .NET (简称SAP NCO或NCo) 是一个由SAP官方提供的类库,用于.NET应用程序与SAP系统之间的通信。这个库支持x64架构,使得64位的应用程序能够高效地与SAP ECC(Enterprise Central ...
在IT行业中,SAP(System Applications and Products)是一款广泛使用的业务流程管理软件,主要用于企业资源规划(ERP)。SAP GUI(Graphical User Interface)是访问SAP系统的主要工具,它为用户提供了与SAP系统...
"SAP安装包 GUI750 FOR 苹果MAC客户端GUI SAP LOGON.rar" 是一个专为苹果Mac用户设计的SAP GUI安装包,允许用户在Mac操作系统上运行SAP的图形用户界面,以便访问和操作SAP系统。 SAP ERP(Enterprise Resource ...
ABAP(Advanced Business Application Programming)是SAP公司推出的一种编程语言,主要用于开发SAP系统中的业务应用程序。SAP系统在全球企业资源规划(ERP)领域有着广泛的应用,而ABAP则是其核心开发语言,使得...
幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 幕墙SAP2000建模案例一 ...
SAP JCo (Java Connector) 是一款用于连接Java应用程序与SAP系统的关键组件,它提供了在Java环境中访问SAP R/3系统或者SAP NetWeaver应用服务器的能力。"sapjco30"指的是SAP JCo的第三版,这个版本对应于JCo 3.0,是...
SAP是一种全球领先的业务软件,用于企业资源规划(ERP)和企业管理。SAP JCo(Java Connector)是SAP提供的一种软件组件,它允许Java应用程序与SAP系统进行交互,实现数据交换和功能调用。在本文中,我们将深入探讨...
在Java开发中,有时我们需要与SAP系统进行交互,实现数据的同步或者调用SAP的业务逻辑。这时,就需要使用到SAP提供的Java连接器,即JCo(Java Connector)。本文将详细介绍如何使用JAVA链接SAP的相关jar包,包括sap...
SAP S/4HANA 升级的 SAP 检查 SAP S/4HANA 升级的 SAP 检查是一个自助服务工具,旨在帮助客户升级到最新的 SAP S/4HANA 版本。该工具可以检查当前系统与目标版本中的应用程序兼容性,提供所需的准备步骤,并帮助...
SAP GUI 800 64位是SAP公司为Windows操作系统提供的一个图形用户界面,用于连接到SAP系统并进行交互操作。这个版本专为64位操作系统设计,能够充分利用64位架构的优势,提供更高效、更稳定、更大内存支持的SAP客户端...
在IT领域,SAP Router和SPAM是两个关键的概念,特别是在SAP系统的管理和维护中。本文将深入探讨这两个工具的功能、配置以及它们在SAP环境中的应用。 首先,让我们了解SAP Router。SAP Router是一种网络协议软件,...