cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Create Data via BOI from Custom SAPUI5 App in S/4HANA Public Cloud?

tadeas-poliak
Newcomer
0 Likes
344

Hello experts,

I’m working on an SAP S/4HANA Public Cloud scenario where I need to create new data (entity instances) from a custom SAPUI5 application.
The app is already deployed as a tile in the Fiori Launchpad and is consuming an OData service that I exposed through ABAP Development Tools (ADT) in Eclipse. This OData service is based on a custom CDS view.

Now, I want to perform create operations — for example, creating a Production Order Confirmation.
I found the following Business Object Interface (BOI) on the SAP API Business Hub:
👉 I_PRODUCTIONORDCONFIRMATIONTP

However, I’m not sure about the best practice for implementing this BOI interface in the Public Cloud environment:

  • Should I create a custom RAP (RESTful ABAP Programming Model) behavior definition that consumes the BOI interface?

  • Or is there another recommended integration pattern for invoking BOIs from a custom application?

  • How can I trigger the BOI create operation from my custom UI5 app (which currently consumes only my custom CDS service)?

I’d appreciate any guidance, examples, or references on how to correctly implement a BOI-based data creation scenario in S/4HANA Public Cloud.

Thank you in advance!
Tadeas

Accepted Solutions (1)

Accepted Solutions (1)

volkerdrees
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Tadeas,
RAP is for sure the best practice for this.

See: https://help.sap.com/docs/abap-cloud/abap-rap/abap-restful-application-programming-model?version=s4h... 

In particular to call the mentioned BO Interface you'd use EML (Entity Manipulation Language, see https://help.sap.com/docs/abap-cloud/abap-rap/entity-manipulation-language-eml?version=s4hana_cloud ).

Best Regards, Volker 

Answers (0)