cancel
Showing results for 
Search instead for 
Did you mean: 

Create custom API for Material Master in S/4HANA On-premise

former_member757351
Discoverer
0 Kudos

Hi All,

Hope you are doing well!

I need to create an OData API for our S4 on-premise system with basic CRUDQ operation and expose it outside.

For doing this, I can take the traditional ECC approach where I create a gateway project and implement the methods. for GET, POST, PUT I'll use some standard BAPI.

Alternatively, I can follow the ABAP programming model for Fiori where I create CDS views on the standard table. Those CDS views will be exposed as OData service and can be used for GET operation. For POST and PUT I'll have to create BOPF and call the BAPIs inside them.

Does anyone have experience of creating custom API in S4? Can you please tell me what will be the better and recommended approach?

Thanks

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

What's the SAP S/4HANA release you are working on?

Why aren't you using the standard API provided by SAP?

View Entire Topic
former_member757351
Discoverer
0 Kudos

nic.teunckens I suggested the product master API to business but seems like it'll not fulfill our need. So we'll go for custom API.

andre.fischer : We'll go for custom API with RAP model, thanks a lot, appreciate it!

former_member721373
Participant
0 Kudos

Hi sarif

I have to create a custom api with RAP for sales order creation and updating custom table. Could you please help me know how you did this? Do we have any documentation or blog for the same?

Thank you!