cancel
Showing results for 
Search instead for 
Did you mean: 

S/4Hana OData Service Development for SE11 Table

former_member592282
Participant
0 Kudos

Hello Experts,

I have to develop a custom Fiori Application in S/4Hana, there is only one table & I have to get entries from the same table in SAPUI5 & I have to update the tables from SAPUI5. Since I will have to develop the OData Service for the same, but I am not sure what would be the best approach for this-

1- Should I create CDS View for that table & expose CDS view in OData Service? If yes, can you please highlight step by step procedure for this approach (as I am new to CDS) & I also have to perform CUD operations on the table.

2- Or Should I go with old way of OData Service creation as there is only one table by creation of FM (for all the CUD operations) & then importing in OData Service?

Kindly suggest the best way considering there is only one table & system is S/4Hana 1809.

Thanks

Regards,

Ravi

Accepted Solutions (0)

Answers (2)

Answers (2)

maheshpalavalli
Active Contributor
0 Kudos

Hello Ravi Singh,

As you have 1809, then the best practise as per sap is using the ABAP Programming model for Fiori. As you have a custom table then the approach is very easy. you can even provide draft capabilities. and Very less to none UI5 coding. 🙂 🙂

Check out my blog:

https://blogs.sap.com/2019/01/09/abap-programming-model-for-sap-fiori-draft-based-for-non-guid-keys-...

Best Regards,

Mahesh