1. sy-repid is the name of the current program. sy-cprog is the name of the calling program. 比如在一个Function里面设置断点,sy-repid的这个FM所在FunctionPool的名字,sy-cprog是调用这个FM的Report的程序名。 2. sy-repid 不可以人为更改,sy-cprog可以...
SY-REPID: 当前程序名 SY-CPROG:调用程序名 示例如下:ZWLDEMO021 执行步骤仍然在程序ZWLDEMO020中时 SY-REPID = ZWLDEMO021 SY-CPROG = ZWLDEMO021 继续执行程序到FUNCTION中,当前程序应该是FUNCTION的主程序SAPSCAL SY-REPID = SAPSCAL SY-CPROG = ZWLDEMO021 其中程序SAPSCAL是function:DATE_GET_WEEK对应的...
SY-REPID: 当前程序名 SY-CPROG:调用程序名 示例如下:ZWLDEMO021 执行步骤仍然在程序ZWLDEMO020中时 SY-REPID = ZWLDEMO021 SY-CPROG = ZWLDEMO021 继续执行程序到FUNCTION中,当前程序应该是FUNCTION的主程序SAPSCAL SY-REPID = SAPSCAL SY-CPROG = ZWLDEMO......
比如在一个Function里面设置断点,sy-repid的这个FM所在FunctionPool的名字,sy-cprog是调用这个FM的Report的程序名。 2. sy-repid 不可以人为更改,sy-cprog可以
技术标签:ABAP SY-REPID SY-CPROG 1.sy-repid 是当前程序名字,sy-cprog 是调用程序的名字 比如说一个report程序中调用了一个function,这个function输出的两个参数是 sy-repid 和 sy-cprog。这时,sy-repid显示就是这个function所在的FunctionPool的名字(并不是function的名字),sy-cprog是report的名字。 2.sy-...
首先。它的两个解释 sy-repid is the name of the current program. “当前程序的程序名 sy-cprog is the name of the calling program. ”调用程序的程序名写个简单的程序,调个F...
SY-REPID和S..1. sy-repid is the name of the current program. sy-cprog is the name of the calling program.
SAP ABAP计划 SY-REPID与SY-CPROG差异,首先,它的两个解释sy-repidisthenameofthecurrentprogram.“当前程序的程序名sy-cprogisthenameofthecallingprogram.”调用程序的程序名写个简单的程序。调个F...
SY-REPID,这是系统变量。在程序中可以实时记录当前的程序名称。
1. sy-repid 是当前程序名字, sy-cprog 是调用程序的名字 比如一个report程序中被调用Function,sy-repid的这个FM所在FunctionPool的名字(不是function名字),sy-cprog是调用这个FM的Repor