Quantcast
Channel: SCN : Blog List - All Communities
Viewing all articles
Browse latest Browse all 2548

An example of how to find database table and field where Material text and product text is stored in ERP and CRM

$
0
0

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.


clipboard1.png

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

clipboard2.png

clipboard3.png

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":

clipboard4.png

Click tab "Mapping Modules:"

clipboard5.png

Double click this subroutine:

clipboard6.png

then double click again:

clipboard7.png

clipboard8.png

MARC: Plant Data for Material in ERP

clipboard9.png

MAKT: Material Descriptions table in ERP

clipboard10.png

Double click this subroutine:

clipboard11.png

Clear enough now?

clipboard12.png

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:

clipboard13.png

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

clipboard14.png

Please read set type concept from sap help

Then find potential database table which stores product text in CRM using "*" in SE16:

clipboard16.png

And this is just what I am looking for:

clipboard17.png

clipboard18.png


Viewing all articles
Browse latest Browse all 2548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>