on 2024 Dec 19 3:29 PM
Hi,
Currently we are confused. I was advised that the events in the accelerator hub can be consumed either via local or remote event consumption.
https://api.sap.com/event/OP_PRODUCTEVENTS/overview
Currently, local event consumption applies to RAP BO events. So I searched for the released RAP BO for products (https://api.sap.com/bointerface/PCE_I_PRODUCTTP_2) and tried to create and implement and event handler class.
First thing that I noticed is that the events being raised are not there in the released RAP BO.
After further checking, I saw that the event is actually defined at the base BO level.
I did some further testing and found out that these events are being from the Manage Product Master fiori app by calling these static methods which in turn raises the RAP BO events.
Now, when I tried to consume these events using the released RAP BO, the system won't allow me because the events are defined at the base BO level. We are using S/4HANA 2023 private cloud edition (FPS00). We are not sure if the same behavior is there in the FPS version.
When I checked the SAP documentation(https://help.sap.com/docs/abap-cloud/abap-rap/business-event-consumption), it says that the event to be consumed needs to be exposed in a C1 released RAP BO interface.
However, the events are not exposed for most of the released RAP BOs interfaces (e.g., Product, Business Partner, Pricing). For these 3 RAP BOs, the events are only exposed in the base RAP BO.
The only way we can consume this is to create the event handler class under a 'Standard ABAP' package so that it will allows us to consume the event from the unreleased base RAP BO. We are trying to achieve clean core and we are limiting any Tier 3 developments. Is there a way to consume these events via Tier 1 approach without resorting to using SAP event mesh? SAP event mesh is usually only recommended if the event producer and consumer is different but in our case, the producer/consumer is the same S4H system.
Note: We are trying to use these events to replace the BTE functionality.
Request clarification before answering.
Hi,
If you require additional standard events delivered by SAP or C1-released, you can raise your request via this campaign in the customer influence portal.
Best regards, Bernd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.