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.