Description
Tutorials: https://developers.sap.com/tutorials/s4hc-abap-environment-create-custom-api.html
Hi colleagues,
I went through the tutorial due to a community question.
Following feedback:
- Software component is called ZCUSTOM_DEVELOPMENT and not ZCUSTOM-DEVELOPMENT
Some parts of the tutorial are outdated meanwhile or should be reworked:
-
You are suggesting to create an API service using Web API service binding and then using such service for UI development. This is not recommeded.
-
I would suggest to create two service bindings: Web API for the API service included in the communication scenario. And service binding of typ UI service that will be used for UI development in BAS. In that instance select the service via service catalog so that developer user can be used for UI development.
-
You are creating all ABAP objects like projection view manually. In ADT there is a UI service generator available that can generate all these objects based on a released BO interface like the one for sales order
-
Using the service entity alias SalesOrder was causing issues in my case while using Fiori Elements Preview in ADT, please check.
Regards,
Peter