Created by Jerry Wang, last modified on Jul 16, 2014
当删除一个product下面的所有distribution chain并且成功save之后,在tcode SMQ2里能观察到如下队列:
双击后能发现队列处于running状态:
在Territory management的BAdI里,会填充LT_ORG_TYPES并传入function module COM_PRODUCT_GETDETAIL_INTERNAL:
SAP的Territory management BAdI的标准实现里,并未实现对LT_ORG_TYPES进行sort并且删除duplicate key,
因此会造成subroutine set_req_org_units重复调用
set_all_org_units里会调用settype对应的read function module从DB里取数据。