Skip to Content
Product Information
Author's profile photo Jacky Liu

BOM Integration by using business event in S4 HANA CLOUD

In one of projects , there is integration between S4HC and MES . There is also BOM integration scenario . The requirement is if a bom created , changed, deleted in S4HC, The bom should be done the same in MES by integration . In such situation , business event is fit for this .

Step 1 , check business event in api HUB in the following linkage .

https://api.sap.com/package/SAPS4HANACloudBusinessEvents?section=Artifacts

Step 2, check communication scenario for business event and Bill of material

https://api.sap.com/package/SAPS4HANACloud?section=Artifacts

Step 3, Configure communication user, communication system , communication arrangement in S4HA ( I will skip on this, only list the related communication arrangement)

Step 4 , configure subscriber (APP manage your solution , then search 101055 )

Step 5, Activate subscribe

Step 6, Create or change BOM( Done without picture ) .

Step 7, Read business event Q with POSTMAN .

Step 8, Read BOM with BOM Key with postman

The end .

Jacky Liu

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sandeep Kumar
      Sandeep Kumar

      I really like the idea of using Business events here, thanks for sharing.

      Author's profile photo Kamal Jain
      Kamal Jain

      Great sharing Jacky. Its very useful.

      Author's profile photo Priyank Kumar Jain
      Priyank Kumar Jain

      Very useful indeed!

      Author's profile photo Wenlei Peng
      Wenlei Peng

      Hi Jacky ,我在S4HC中并没有找到这个通信场景SAP_COM_0121,是什么原因呢?

      Author's profile photo Jacky Liu
      Jacky Liu
      Blog Post Author

      Hi, WenLei,

      你可以检查一下SCOPE ITEM 1NN 有没有激活 。

      Best Regards!

      Jacky Liu

      Author's profile photo Sai Giridhar Kasturi
      Sai Giridhar Kasturi

      thanks for your contribution

      Author's profile photo Ly-Na Phu
      Ly-Na Phu

      Hi all,

      when we use the rest API to read the event e.g. from the postman or another web client does the event then get deleted from the event queue automatically? If the event remains after we have read it then we would read it again with the next call.

      In this example, we see only one event because only one was changed in this example. But when multiple objects are changed and multiple events are created into the event queue does the API return a list of events? Can somebody provide a postman result of how it looks like when we have many events in the event queue?

      Thanks,
      Ly-Na

      Author's profile photo Jacky Liu
      Jacky Liu
      Blog Post Author

      Ly-Na,

      you can refer to scope item 1NN . Use the second scenario-Event Publishing and Event Consumption Scenarios . The communication scenario is SAP_COM_0092 .  Need to use BTP Event mesh service or Create A app on BTP to consume the events .

      SAP Best Practices Explorer

       

      Best Regards!

       

      Jacky  Liu