SAP CRM中间件Consolidated数据库的实现原理

Recently I am preparing an internal middleware training session and I need to provide more detail about the Consolidated Database in architecture picture below.
Here below is copied from standard training course: “The Consolidated Database is a logical part of the entire CRM database, which also contains application data.

CRM Middleware server owns the consolidated database where CRM data is stored centrally. The consolidated database comprises the contents of all mobile clients’ local databases.”

A frequently asked question is: Can you give some example of CDB? For example if I would like to look for a CDB for product / material in CRM system, how can I find it without google?

SAP CRM中间件Consolidated数据库的实现原理_第1张图片

Here below is how I teach. Since we don’t have any hint where to start, I suggest to always start from package. As rule of thumb all middleware framework package starts with SM, so package SMO3 is identified.

SAP CRM中间件Consolidated数据库的实现原理_第2张图片

Then tcode SE80, use Repository Information System, specify SMO3 as package and filter by Table description:

SAP CRM中间件Consolidated数据库的实现原理_第3张图片

Here below are just what I am looking for.

SAP CRM中间件Consolidated数据库的实现原理_第4张图片

We can do simple verification. Suppose I have one material in ERP system QI3/502 and after it is downloaded to CRM, a product with id 1367 is generated.

SAP CRM中间件Consolidated数据库的实现原理_第5张图片

Then in CRM, I can find a corresponding entry for this product in CDB table SMOMARA I found in previous step.

SAP CRM中间件Consolidated数据库的实现原理_第6张图片

With the same approach we can also find some CDB table which only stores CRM specific data, for example product hierarchy or category which makes sense only in CRM:

SAP CRM中间件Consolidated数据库的实现原理_第7张图片

Take SMOCATREL for example, it stores the assignment information of product categories of a given product.

SAP CRM中间件Consolidated数据库的实现原理_第8张图片

Just specify the product guid into field SFAMARA and we can get three records in DB, which represent the three assigned product categories for this product:

SAP CRM中间件Consolidated数据库的实现原理_第9张图片

This information exactly matches the fact in transaction code COMMPR01:

SAP CRM中间件Consolidated数据库的实现原理_第10张图片

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

你可能感兴趣的:(Jerry,Wang的原创SAP技术文章,CRM,ABAP)