如何在sapui5中使用ODataModel + smartform创建项目

时间:2018-02-28 07:41:22

标签: odata sapui5

目前,在我的Fiori应用程序中,我使用ODataModel + SmartForm来显示和更新。此外,需要创建一个新记录,我也想使用ODataModel + SmartForm。但在检查了ODataModel类的API文档之后,我找不到这样做的方法。

OData集合名为ztest_logs,主键为:developer+qa_by+qa_date+qa_time+qa_group

数据结构:

{
    "developer" : "Lunar Lu",
    "functional_domain" : "SD",
    "qa_workload" : "1.00",
    "on_time" : "O",
    "meet_all_functional_requiremen" : "Y",
    "programming_issue" : "N",
    "issue_details" : "DEMO TEST ABACDADG",
    "documentation" : "Y",
    "efficiency" : "M",
    "understanding_of_req" : "C",
    "lack_of_skills" : "PROGRAM LOGIC",
    "qa_by" : "Kelly Zou",
    "response_time" : "I",
    "semantic" : "C",
    "suggestions" : "SEE MORE PROGRAM",
    "performance" : "G",
    "feedback" : "G",
    "qa_date" : "20180202",
    "qa_time" : "134000",
    "qa_group" : "G3",
    "customer" : "DEMO CUSTOMER1",
    "task_no" : "DEMO TEST 1",
    "start_date" : "20180121",
    "requirement_type" : "I"
  }

0 个答案:

没有答案