Demo Application: Deep Create

DESCRIPTION

This demo application demonstrates how to work with deep created entities, composed via V4 ODataModel#getKeepAliveContext API which are displayed within a list report and an object page that are synchronised via V4 ODataModel#getKeepAliveContext API.

Start Up

  1. Start the DeepCreate application with URL: /test-resources/sap/ui/core/demokit/sample/common/index.html?component=odata.v4.DeepCreate
  2. Note: The list report appears and you see some sales orders.

Scenario: Create sales order, create line items and reset changes

  1. Press the Create button.
  2. Note: The object page with an inital sales order appears.
  3. Press the Create button for the line items several times.
  4. Note: The line items table reflects the deeply created line items.
  5. Note: The title of the line items table reflects the correct count.
  6. Select the check mark of one or more line items.
  7. Press the Delete button.
  8. Note: The checked line items are gone and the title of the line items table reflects the correct count.
  9. Press the Reset Changes button.
  10. Note: The list report is displayed again and the created sales order is gone.

Scenario: Create sales order, create line items and save

  1. Press the Create button.
  2. Note: The object page with an inital sales order appears.
  3. Press the Create button for the line items two times.
  4. Note: The line items table reflects the deeply created line items and the title of the line items table reflects the correct count.
  5. Press the Save button.
  6. Note: The Sales Order ID now is "0500000007", Buyer Name is "SAP", Gross Amount is "6825,84", the Item Position are filled and you got a bonus line item.