码迷,mamicode.com
首页 > 其他好文 > 详细

SAP ABAP计划 SY-REPID与SY-CPROG差异

时间:2015-06-18 13:05:14      阅读:95      评论:0      收藏:0      [点我收藏+]

标签:

 首先,它的两个解释   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像其他数据结构可以被改变为。

SAP ABAP计划 SY-REPID与SY-CPROG差异

标签:

原文地址:http://www.cnblogs.com/yxwkf/p/4585465.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!