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-...
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...
ABAP程序中的系统字段只在极少需要控制系统行为的时候才能被重写。 System fields are filled by the ABAP runtime environment and can be used in an ABAP program to query system statuses. With one exception (sy-repid), system fields are variables, but they should only be accessed on a read-only ...
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-repi...
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 人中龙凤 11 给力 登录...
SAP Managed Tags: ABAP Development ABAP Development Programming Tool View products (1) Hi Experts, 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 ...
SY-REPID: 当前程序名 SY-CPROG:调用程序名 示例如下:ZWLDEMO021 执行步骤仍然在程序ZWLDEMO020中时 SY-REPID = ZWLDEMO021 SY-CPROG = ZWLDEMO021 继续执行程序到FUNCTION中,当前程序应该是FUNCTION的主程序SAPSCAL SY-REPID = SAPSCAL SY-CPROG = ZWLDEMO......
SAP Managed Tags: ABAP Development SY-REPID : It is name of the current program SY-CPROG : Name of the calling program. It would be same as SY-REPID if it is the current program. But for example check the below. REPORT ZREP. start-of-selection. write : / 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. ”调用程序的程序名写个简单的程序。调个F... 数据结构 转载 mb5fe18fed96438 ...
ABAP系统变量SY说明 系统变量保存在structure syst中,SE11显示如下: 各个字段的含义如下: sy-abcde c(26) 包含了字母表。可以用来通过指定偏移/长度直接访问独立的字母,而无需考虑代码页。 Contains the alphabet ... 阅读全文 获取当前登录的sap系统名[OWN_LOGICAL_SYSTEM_GET] ...