SAP CRM One Order里Complex Set的一个例子:Partner Set

简介:

Quote from Carsten's document:

The logical key of the PARTNER set includes the partner function and the partner itself, i.e., there is no external attribute which allows to differentiate all the records. For this case, we use the term internal key.
However in the system the fields Partner function and partner number are put to CRMT_PARTNER_EXT(Externally Influenced Partner Data), which makes me a little bit confused(囧).

Answer

CRMT_PARTNER_EXT has nothing to do with the distinction into internal and external key. In fact, it took me some time to decide for the words of these attributes. External means: There is some criterion outside the order which structures the records of the complex set. Internal means: You cannot tell from outside how many records of this entity will be present in the order, it can be an arbitrary number.

I am sorry I still have doubt for your clarification. I am sorry for that.

"External means: There is some criterion outside the order which structures the records of the complex set.

Internal means: You cannot tell from outside how many records of this entity will be present in the order, it can be an arbitrary number."

I still use DATES ( Appointment ) for example.
Below is a screenshot for variable lt_app.

DATA: lt_guid TYPE crmt_object_guid_tab,
          lt_app  TYPE crmt_appointment_wrkt.

    APPEND iv_guid TO lt_guid.

    CALL FUNCTION 'CRM_ORDER_READ'
      EXPORTING
        it_header_guid = lt_guid
      IMPORTING
        et_appointment = lt_app.

If I understand you correctly, since APPT_TYPE and DURATION type are external key, so outside the order we can exactly know that it would NEVER happen that there are two entries for an order which have the same APPT_TYPE and DURATION. Do I understand correctly?

Now for Partner,

you mentioned "The logical key of the PARTNER set includes the partner function and the partner itself",

From technical point of view, I don't see any difference compared with Appointment's logical key.

So I get the following assumption:

(1) There is NO technical difference between internal logical key and external logical key. The categorization is made from business point of view.
(2) Could I try to describe how to differentiate these two kinds of logical key below?
Say a component has logical key A and B.
The picture below shows the feature of external key:

The picture below shows the feature of internal key:

本文来自云栖社区合作伙伴“汪子熙”,了解相关信息可以关注微信公众号"汪子熙"。

相关文章
|
11天前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
19 0
|
6月前
查看指定 SAP CRM One Order 的 note 数据
查看指定 SAP CRM One Order 的 note 数据
30 0
PAT (Advanced Level) Practice - 1119 Pre- and Post-order Traversals(30 分)
PAT (Advanced Level) Practice - 1119 Pre- and Post-order Traversals(30 分)
106 0
PAT (Advanced Level) Practice - 1119 Pre- and Post-order Traversals(30 分)
SAP RETAIL 维护Plant Profile 报错 - No customer account group assigned to business partner grouping ZNM2
SAP RETAIL 维护Plant Profile 报错 - No customer account group assigned to business partner grouping ZNM2
SAP RETAIL 维护Plant Profile 报错 - No customer account group assigned to business partner grouping ZNM2
SAP WM Movement Type 里的‘Ref.Stor.Type Search’字段用法初探
SAP WM Movement Type 里的‘Ref.Stor.Type Search’字段用法初探
SAP WM Movement Type 里的‘Ref.Stor.Type Search’字段用法初探
SAP WM LPK1 不能把 cross-material control cycles定义成release order parts
SAP WM LPK1 不能把 cross-material control cycles定义成release order parts
SAP WM LPK1 不能把 cross-material control cycles定义成release order parts
SAP CRM One Order里Complex Set的一个例子:Partner Set
SAP CRM One Order里Complex Set的一个例子:Partner Set
107 0
SAP CRM One Order里Complex Set的一个例子:Partner Set
How to put S4 extension field to CRM WebUI search view in the design time
How to put S4 extension field to CRM WebUI search view in the design time
How to put S4 extension field to CRM WebUI search view in the design time
SAP Structured product - component set
Created by Jerry Wang, last modified on Sep 30, 2016
SAP Structured product - component set
|
开发框架 .NET
SAP Cloud for Customer CLR(Code List Restriction)的一种高级用法
SAP Cloud for Customer CLR(Code List Restriction)的一种高级用法
137 0
SAP Cloud for Customer CLR(Code List Restriction)的一种高级用法