cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger event on the basis of fields

BODHISATTWA__20
Participant
0 Kudos

Hello Everybody

We are using and Event based architecture .

Where a Sales order is created it should Trigger an Event in Event Mesh .

But we want to trigger events when Sales Order are to be created by a certain User (CreatedBy field)

How can we achieve this .

Can we use change Pointer , Then we want to do only config , but not write any code (because that wont follow the Clean Core approach)

By any chance can we use the service descriptor given by makoto.sugishita

{

    "options": {
        "management": true,
        "messagingrest": true,
        "messaging": true
    },
    "rules": {
        "topicRules": {
            "publishFilter": [
                "${namespace}/*"
            ],
            "subscribeFilter": [
                "${namespace}/*"
            ]
        },
        "queueRules": {
            "publishFilter": [
                "${namespace}/*"
            ],
            "subscribeFilter": [
                "${namespace}/*"
            ]
        }
    },
    "version": "1.1.0",
    "emname": "EM1",
    "namespace": "SAPJP/EM1/S4HANA"
}

Accepted Solutions (1)

Accepted Solutions (1)

Tobias_Griebe
Advisor
Advisor

Hi bodhisattwa.pal2,

the is one imprtant details missing to fully answer your question: Which S/4 version are you using? Are we talking about S/4 HANA Cloud or S/4 HANA on-prem edition?

In S/4 HANA Cloud there is in the current release no option to customize your events or to take additional conditions into account.

In S/4 HANA on-prem you would have the possibility to achieve this via the SAP NetWeaver Add-on for Event Enablement, but this involves customizing and maybe a small peace of code to do that evaluation you mentioned above.

Maybe the S/4 experts can add more details as this is not a question for Event Mesh, but for the system providing the events.

The service descriptor that you have posted is valid for using Event Mesh with plan "default", but this doesn't have any impact on what events are being sent from the S/4 system.

Best regards,
Tobias

PS: I have seen that you have posted multiple questions in the past weeks, but none of them are marked as answered. Feel free to ask for further details if you question has not been answered, but please also mark them as answered if there are no open points. Thanks!

Answers (0)