Created by Jerry Wang, last modified on Mar 25, 2014

IPM application里所有的BOL entity上面都封装了一层额外的implementation class, 如下图所示:

 

IPM: Enhance item implementation class

 

 

真正的BOL entity包含在implementation class的WRAPPED_ENTITY attribute里:

 

IPM: Enhance item implementation class

 

 

implementation class本身的wrapper BOL entity的name称之为external name, 和wrapped bol entity不相同。

 

IPM: Enhance item implementation class

 

 

wrapper BOL entity的container proxy包含的是一个initial的structure:

 

IPM: Enhance item implementation class

 

 

在SPRO里能够对该wrapper逻辑做enhancement:

 

IPM: Enhance item implementation class

 

 

新建一个class,继承自CL_CRM_IPM_ORDER_ITEM_ENTITY:

 

IPM: Enhance item implementation class

 

 

redefine希望添加enhancement 逻辑的方法,例如在get_property里面写application log的代码:

 

IPM: Enhance item implementation class

 

 

然后在customizing里添加一条新的entry:

 

IPM: Enhance item implementation class

 

 

runtime时候,自定义的item implementation class会被调用:

 

IPM: Enhance item implementation class

相关文章:

  • 2022-02-16
  • 2021-08-20
  • 2021-10-11
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-16
  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案