码迷,mamicode.com
首页 > 数据库 > 详细

如何通过阅读代码的方式查出SAP ERP和CRM里物料主数据描述信息的数据库存储表

时间:2020-09-15 20:52:46      阅读:45      评论:0      收藏:0      [点我收藏+]

标签:hose   change   where   zju   文章   however   dev   ESS   nim   

Recently I am working on a project whose prerequisite is that developer must figure out how a field for example Material description in ERP and Product description in CRM is stored.

技术图片

For example, user can maintain description for Material in ERP and Product in CRM:

技术图片
技术图片

And my aim is to find out which two database tables store the content of the description field in ERP and CRM.

How to find the database tables and fields where this description is stored in ERP and CRM separately?

(1) Log on to a CRM system, tcode R3AC1, Position, type “Material”:

技术图片

Click tab “Mapping Modules:”

技术图片

Double click this subroutine:

技术图片

then double click again:

技术图片
技术图片

MARC: Plant Data for Material in ERP

技术图片

MAKT: Material Descriptions table in ERP

技术图片

Double click this subroutine:

技术图片

Clear enough now?

技术图片

Note that com_product is not database table but just a structure. The structure is used as input to call product API to save the change triggered from ERP into CRM database table.

However in this very case, it is fortunate enough since the database table COMM_PRODUCT has exactly the same name of fields:

技术图片

From line 23, keyword “shtext” and “short_text”, we can know the product descrption is modelled as set type in CRM product.

技术图片

Please read set type concept from sap help.
Then find potential database table which stores product text in CRM using “*” in SE16:

技术图片

And this is just what I am looking for:

技术图片
技术图片

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

如何通过阅读代码的方式查出SAP ERP和CRM里物料主数据描述信息的数据库存储表

标签:hose   change   where   zju   文章   however   dev   ESS   nim   

原文地址:https://www.cnblogs.com/sap-jerry/p/13598667.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!