2024 Sep 06 10:49 AM - edited 2024 Sep 06 11:09 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
71 | |
11 | |
10 | |
10 | |
10 | |
8 | |
7 | |
7 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.