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 .
Step 2, check communication scenario for business event and Bill of material
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 .
I really like the idea of using Business events here, thanks for sharing.
Great sharing Jacky. Its very useful.
Very useful indeed!
Hi Jacky ,我在S4HC中并没有找到这个通信场景SAP_COM_0121，是什么原因呢？
你可以检查一下SCOPE ITEM 1NN 有没有激活 。
thanks for your contribution
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?
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