Created by Jerry Wang, last modified on Mar 25, 2014
IPM application里所有的BOL entity上面都封装了一层额外的implementation class, 如下图所示:
真正的BOL entity包含在implementation class的WRAPPED_ENTITY attribute里:
implementation class本身的wrapper BOL entity的name称之为external name, 和wrapped bol entity不相同。
wrapper BOL entity的container proxy包含的是一个initial的structure:
在SPRO里能够对该wrapper逻辑做enhancement:
新建一个class,继承自CL_CRM_IPM_ORDER_ITEM_ENTITY:
redefine希望添加enhancement 逻辑的方法,例如在get_property里面写application log的代码:
然后在customizing里添加一条新的entry:
runtime时候,自定义的item implementation class会被调用: