zoukankan      html  css  js  c++  java
  • 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-cprog是调用这个FM的Report的程序名。

       另外,SY-REPID你不能改变,SY-CPROG像其他数据结构可以为改变。

    版权声明:本文博主原创文章,博客,未经同意,不得转载。

  • 相关阅读:
    模板方法模式
    策略模式
    享元模式
    组合模式
    桥接模式
    外观模式
    代理模式
    装饰者模式
    适配器模式
    类之间的关联关系和依赖关系
  • 原文地址:https://www.cnblogs.com/lcchuguo/p/4758228.html
Copyright © 2011-2022 走看看