cancel
Showing results for 
Search instead for 
Did you mean: 

Which Serverless Runtime

0 Kudos

Hello All

I am trying to write some FaaS which will be triggered on the basis of an Event triggered from SAP S/4 HANA On-Prem.(Business Partner Creation )

When I researched about FaaS there are two tolls :-

Serverless Runtime on CF

Serverless Runtime of Kyma

Which one should we use . I am really confused ??

Accepted Solutions (0)

Answers (1)

Answers (1)

Marco_Dorn
Advisor
Advisor

Hello Bodhisattwa,

Technicall you can use both, the SAP BTP, Serverless Runtimes and the serverless capability in SAP BTP, Kyma runtime to get to the same result. It depends on the use case which one is the better fit.

The event sent to SAP Event Mesh can trigger a webhook inside Kyma runtime. Kyma runtime enables you to realize much more complex scenarios e.g. if you want to invoke other BTP services or 3rd party services. Furthermore, the Kyma runtime scales much higher and you can configure e.g. a number of replicas so that high workloads can be covered. And if you want to wrap the function into a container later on and deploy it, you can stay in the same environment.

But if you need connectivity to your on-premise SAP S/4 HANA system, then this is not yet available for Kyma runtime. It’s only on the roadmap.

If you can foresee rather smaller amounts of invocations of the function, you might rather lean towards the Serverless Runtime. It’s less complex which can be an advantage.

Best regards,
Marco

0 Kudos

Hello marco.dorn

Thanks a lot , for helping me out on this

So my basic requirement is to filter the events in event mesh based on sales order type .

I was planning to call an OData API from Kyma Serverless Runtime to fetch data from S/4 on prem .Check the payload and send an event back to a different event Mesh queue

So as per your comment I cant call an On Prem API from KYMA .

Is my understanding right ?

Marco_Dorn
Advisor
Advisor
0 Kudos

Hello bodhisattwa.pal2,

That should work. In the separate Q&A, I sent the link to this blog which is talking about forwarding event payload to a function. To send events back to SAP Event Mesh, look at this blog. Then you don't need to talk to the On-Premise system.

If you need On-Prem connectivity via SAP Cloud Connector, we have this planned on our roadmap for this quarter - though of course plans can change. Right now, on-prem calls would go via e.g. SAP Cloud Integration.

Best regards,
Marco