Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
JerryWang
Product and Topic Expert
Product and Topic Expert
0 Kudos
2,395


In previous blogs I have introduced how to use SmartTemplate + CDS view to build service order application with search, display and update function enabled:


In this blog, I will finish the last part: create function.

Implemented feature

Click create button in toolbar:


Maintain order description in creation page and click save button:

Order is saved successfully:

And it could be found in search result now.

How to implement

There is another method, CREATE_ENTITY, of DPC_EXT class of the OData service must be redefined.

For the whole source code of CDS view and related ABAP class, please refer to this github repository: https://github.com/i042416/jerryslide/tree/master/cds/createSource

5 Comments