Sales Team Assignment Block

SAP CRM中,Transaction中的”Parties Involved” Assignment Block中的Business Partner会拆分到几个其他AB中去,比方说Sales Team、Competitors等等,但其拆分逻辑并没见文档说明。

在Class: CL_CRM_UIU_BT_PARTNER, Method: GET_FILTER_RANGE_FROM_STR中,Sales Team的定义如下:

[code]
WHEN ‘ST’. " Sales Team
ls_filter_range-sign = ‘I’.
ls_filter_range-option = ‘EQ’.

ls_filter_range-low = gc_partner_pft-responsible.
INSERT ls_filter_range INTO TABLE lt_filter_range.
ls_filter_range-low = gc_partner_pft-employee.
INSERT ls_filter_range INTO TABLE lt_filter_range.
ls_filter_range-low = gc_partner_pft-vendor.
INSERT ls_filter_range INTO TABLE lt_filter_range.
ls_filter_range-low = gc_partner_pft-sales_partner.
INSERT ls_filter_range INTO TABLE lt_filter_range.
ls_filter_range-low = gc_partner_pft-responsible_at_partner.
INSERT ls_filter_range INTO TABLE lt_filter_range.
[/code]

所以,Partner Function Category为:

  • 0008 – RESPONSIBLE
  • 0005 – EMPLOYEE
  • 0012 – VENDOR
  • 0010 – SALES_PARTNER
  • 0032 – RESPONSIBLE_AT_PARTNER

将落到Sales Team AB里(当然还要是Partner Procedure里的条目)。