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:

使用Fiori Elements创建的SAP UI5应用,如何支持创建功能

Maintain order description in creation page and click save button:

使用Fiori Elements创建的SAP UI5应用,如何支持创建功能

Order is saved successfully:

使用Fiori Elements创建的SAP UI5应用,如何支持创建功能

And it could be found in search result now.

使用Fiori Elements创建的SAP UI5应用,如何支持创建功能

How to implement

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

使用Fiori Elements创建的SAP UI5应用,如何支持创建功能

要获取更多Jerry的原创文章,请关注公众号"汪子熙":
使用Fiori Elements创建的SAP UI5应用,如何支持创建功能

相关文章:

  • 2021-05-30
  • 2022-12-23
  • 2021-04-21
  • 2021-04-11
猜你喜欢
  • 2021-05-08
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-07-16
  • 2021-07-18
相关资源
相似解决方案