xsodata:converter[index]不是函数

xsodata:converter[index]不是函数,odata,hana,cds,hana-xs,xsodata,Odata,Hana,Cds,Hana Xs,Xsodata,我在HDBCD中有两个实体: context PyramidDB { entity PipelineType { key TypeName : String(200) not null; Displayname : String(200) not null; Description : String(300); }; entity PyramidType { key TypeName

我在HDBCD中有两个实体:

context PyramidDB {
    entity PipelineType {
        key TypeName    : String(200) not null;
            Displayname : String(200) not null;
            Description : String(300);
    };

    entity PyramidType {
        key TypeName    : String(200) not null;
            Displayname : String(200) not null;
            Description : String(500);
            Channel     : Boolean     not null default false;
    };
}
从这两个我将有一个OData服务。 克索达塔:

使用PipelineType没有问题,但在PyramidType中,我得到一个错误:

{
  "error": {
    "code": 500,
    "message": {
      "lang": "en-US",
      "value": "converter[index] is not a function"
    }
  }
}
有人能帮我吗?

SAP支持文档列出了在XSODATA中实现的OData v2功能的限制:

  • 不支持函数导入
  • 不支持布尔类型
  • 不支持GUID类型
  • $filter和$orderby中不支持类型强制转换
  • 不支持$skiptoken
  • 不支持复杂类型
  • 不支持从其他服务导入实体类型
随着HANA 2和OData v4的支持,大多数限制,特别是布尔类型的支持,都被消除了

{
  "error": {
    "code": 500,
    "message": {
      "lang": "en-US",
      "value": "converter[index] is not a function"
    }
  }
}