Publish-subscriber mode in CRM Middleware

Source: Internet
Author: User
From the transaction code smw01, we can see that a BDOC may be sent to more than one target site. For example, the five sites shown in the transaction code will receive the site, the highlighted smof_erpsite indicates that client 504 of ERP system qi3 receives the BDOC.

So where is the site in the list read from?

Take bdocproduct_mat as an example to maintain the callback function in the smw3fdbdoc View:

The first callback smoh_replication_wrapper_msg is responsible for deciding the sites from which the BDOC needs to be sent from CRM.

This callback is automatically generated:

In my system, a total of six sites need to be received:

In the ABAP code, guid a17123b82c2ddda-8bc8080006277f8d is used to query the table smohsubsit. What does this GUID mean?

The description of the guid object can be found in the smohpubl table: product materials (mesg)

Here we find that it is one of the many objects that we are familiar with subscribing to a site in the transaction code smoeac. For example, the site in qi3/504 registers the release of "product materials (mesg)", which means that once the CRM product is modified, the corresponding BDOC will be sent to qi3/504.


For more original Jerry technical articles, follow the Public Account "Wang zixi" or scan the following QR code:

Publish-subscriber mode in CRM Middleware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.