SY-REPID和SY-CPROG的区别 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可以...
SAP ABAP规划 SY-REPID与SY-CPROG差额 首先。它的两个解释 sy-repid is the name of the current program. “当前程序的程序名 sy-cprog is the name of the calling program.”调用程序的程序名 写个简单的程序,调个FM ,你就知道差别了,当程序进入FM的时候 sy-repid是这个FM所在FunctionPool的名字, sy-...
1. sy-repid 是当前程序名字, sy-cprog 是调用程序的名字 比如一个report程序中被调用Function,sy-repid的这个FM所在FunctionPool的名字(不是function名字),sy-cprog是调用这个FM的Report的程序名。 2. sy-repid 不可以更改,sy-cprog可以人为更改 如下: 以上。
首先,它的两个解释 sy-repid is the name of the current program. “当前程序的程序名 sy-cprog is the name of the calling program. ”调用程序的程序名 写个简单的程序。调个FM ,你就知道差别了,当程序进入FM的时候 sy-repid是这个FM所在FunctionPool的名字, sy-cprog是调用这个FM的Report的程序名。
SY-REPID: 当前程序名 SY-CPROG:调用程序名 示例如下:ZWLDEMO021 执行步骤仍然在程序ZWLDEMO020中时 SY-REPID = ZWLDEMO021 SY-CPROG = ZWLDEMO021 继续执行程序到FUNCTION中,当前程序应该是FUNCTION的主程序SAPSCAL SY-REPID = SAPSCAL SY-CPROG = ZWLDEMO......
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-cpr ...
1.sy-repid 是当前程序名字,sy-cprog 是调用程序的名字 比如说一个report程序中调用了一个function,这个function输出的两个参数是 sy-repid 和 sy-cprog。这时,sy-repid显示就是这个function所在的FunctionPool的名字(并不是function的名字),sy-cprog是report的名字。 2.sy-repid 是不可以修... ...
SY-REPID,这是系统变量。在程序中可以实时记录当前的程序名称。
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可以. zliguangyu 初涉江湖 1 Wenkai ...
1.What is the Difference between sy-repid and sy-cprog? 2.I have used "Reuse_alv_fieldcatalog_merge'.In that program i passed types : begin of ty_ekpo, ebeln type ekpo-ebeln, ebelp type ekpo-ebelp, menge type ekpo-menge, meins type ekpo-meins, netpr type ekpo-netpr, end of ...