cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a Custom API in S/4HANA Cloud Public

siva1990
Explorer
0 Kudos
273

Hello Team,

The requirement is to create a single API that handles posting of for eg: sales orders, deliveries, and goods issues from an external system. While there are standard APIs available for each business process, the client prefers a unified API that executes all these processes synchronously and returns a confirmation.

My question is, how can I create such an API in the S/4HANA Cloud Public system? I have come across blogs discussing the conversion of custom business objects into APIs, but I do not want anything to be stored in a business object. Could you please suggest a solution I can follow?

Regards,
Shankar G

View Entire Topic
a_montesdeoca
Product and Topic Expert
Product and Topic Expert

Hi @siva1990,

I would recommend the following blog about developer extensibility: Creating Custom APIs in SAP S/4HANA Cloud, Public Edition

I understand that you require a business object for custom APIs.

Hope this helps.

Arturo Montes de Oca

siva1990
Explorer
0 Kudos

Hello Montes,

Thank you for your response.

However, what I am looking for is something like in SAP S/4HANA On-Premise, where we create an OData service in SEGW with parameters that handle multiple operations in a single POST request.

Is it possible to create a similar OData service in the public cloud? The link you provided explains how to update one business object, but I need to update three different business objects consecutively in a single POST request.

Regards,
Shankar



gregorw
Active Contributor

Hi Shankar,

I think you should check out the documentation Development in the ABAP Environment and the course Building Apps with the ABAP RESTful Application Programming Model.

Best Regards
Gregor