IPM: Enhance item implementation class
生活随笔
收集整理的這篇文章主要介紹了
IPM: Enhance item implementation class
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
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包含的是一個(gè)initial的structure:
?
?
?
在SPRO里能夠?qū)υ搘rapper邏輯做enhancement:
?
?
?
新建一個(gè)class,繼承自CL_CRM_IPM_ORDER_ITEM_ENTITY:
?
?
?
redefine希望添加enhancement 邏輯的方法,例如在get_property里面寫application log的代碼:
?
?
?
然后在customizing里添加一條新的entry:
?
?
?
runtime時(shí)候,自定義的item implementation class會(huì)被調(diào)用:
?
總結(jié)
以上是生活随笔為你收集整理的IPM: Enhance item implementation class的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: word 二级目录 编号问题
- 下一篇: 首款骁龙8+平板中兴Axon Pad来了