在一个调用序列中的第一个程序里为空字符串,否则为值“X”。在调用using CALL TRANSACTION,CALL DIALOG或者SUBMIT ... AND RETURN后变为“X”。如果程序以LEAVE TO TRANSACTION或者从一个屏幕事务开始的话,则为空。使用SUBMIT(没有AND RETURN)时设定为调用它的程序的值。
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.
在清单缓冲区中创建清单过程中的当前位置。从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-cprog包含框架程序的名字,而不是设置为程序调用序列中的框架程序名字。
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.
当前ABAP程序的名字。对外部调用的程序,是指程序的框架程序的名字。在6.10版以前,当sy-repid向一个外部程序传递实际参数时,形式参数没有被设置为调用者的名字,而是程序的名字。在6.10版之后,sy-repid可以被传递给程序而无需参考字段。
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.