Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
JerryWang
Advisor
Advisor
0 Kudos


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