How does CRM middleware knows which sites are interested with CRM local changes

You could see the following BDOC in CRM which means the BDOC will be sent to multiple external sites besides ERP.

How does CRM middleware knows which sites are interested with CRM local changes

So how does CRM middleware knows which external sites must be sent with BDOC?
Basically speaking it is based on subscribe - publish mechanism.
Take BDOC PRODUCT_MAT for example, in view SMW3FDBDOC you can maintain callback for it:

How does CRM middleware knows which sites are interested with CRM local changes

The first callback, SMOH_REPLICATION_WRAPPER_MSG, is responsible for determine responsible receiving site for this BDOC sent from CRM via middleware:

How does CRM middleware knows which sites are interested with CRM local changes

This function is generated automatically:

How does CRM middleware knows which sites are interested with CRM local changes

From here, it means 6 receiving sites are determined:

How does CRM middleware knows which sites are interested with CRM local changes
How does CRM middleware knows which sites are interested with CRM local changes

So how does this guid A17123B82C2DD5118BC8080006277F8D mean which is used to query on table smohsubsit?
You can find its description in table below: Product Materials(MESG)

How does CRM middleware knows which sites are interested with CRM local changes

The external site subscription could be done in tcode SMOEAC. The setting below means QI3/504 is registered on publication “Product Materials(MESG)” which means when the change in CRM is done, the corresponding BDOC should be sent to QI3/504.

How does CRM middleware knows which sites are interested with CRM local changes

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
How does CRM middleware knows which sites are interested with CRM local changes

How does CRM middleware knows which sites are interested with CRM local changesHow does CRM middleware knows which sites are interested with CRM local changes 汪子熙 博客专家 发布了6415 篇原创文章 · 获赞 622 · 访问量 102万+ 他的留言板 关注
上一篇:Tomcat报错Invalid character found in the request target. The valid characters are defined in RFC 7230


下一篇:git:git pull 失败--Your local changes to the following files would be overwritten by merge