Skip to Content
Author's profile photo Jerry Wang

Enable CRM Service Order application with create functionality

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:

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Lucas Borin
      Lucas Borin

      "Enable CRM Service Order application with edit functionality" results in "

      Not Found - The item does not exist. It may have been deleted."

      Author's profile photo Jerry Wang
      Jerry Wang
      Blog Post Author

      Hi Lucas,

      Thanks a lot for pointing it out. I have fixed the broken link.

      Best regards,


      Author's profile photo Former Member
      Former Member


      Now, I am confused with the logic in create and edit functions. If I used the different cds view files, how can I write the new correct class and functions with abap in odata service?

      Do you have some documents for me to reference?

      Thanks a lot.



      Author's profile photo Michael Appleby
      Michael Appleby

      Hi Grace,

      Unless you are asking for clarification/correction of some part of the Document, please create a new Discussion marked as a Question.  The Comments section of a Blog (or Document) is not the right vehicle for asking questions as the results are not easily searchable.  Once your issue is solved, a Discussion with the solution (and marked with Correct Answer) makes the results visible to others experiencing a similar problem.  If a blog or document is related, put in a link.  Read the Getting Started documents (link at the top right) including the Rules of Engagement. 

      NOTE: Getting the link is easy enough for both the author and Blog.  Simply MouseOver the item, Right Click, and select Copy Shortcut.  Paste it into your Discussion.  You can also click on the url after pasting.  Click on the A to expand the options and select T (on the right) to Auto-Title the url.

      Thanks, Mike (Moderator)

      SAP Technology RIG

      Author's profile photo Former Member
      Former Member

      Thanks For Link Sharing.. (Create a CRM Service Order Fiori application within a couple of minutes,
      Enable CRM Service Order application with edit functionality)

      Multi-channel service to support the integrated delivery of customer service through field representatives, interaction centers, partners, or the Internet.