SAP Knowledge Base Article - Preview

3142228 - SAPUI5 Illegal sap.ui.model.odata.type.Int16 or Int32 ODATA and ABAP Annotation

Symptom

  • Designing an Odata model with properties using Integer INT fails with the following error:

    ~~~~~Error~~~~~~~~
    FormatException in property
    'value' of Element

    sap.m.Input#usr.<business component>.<project name>::sap.suite.ui.generic.template.ListReport.view.ListReport:Details--listReportFilter-filterItemControl_Basic-...
    ..
    Illegal sap.ui.model.odata.type.Int16

    ..
    ..
    ~~~~~~End error~~~~~
    illegal_int.png

  • The designer even tried modifying the Odata Model XML template to Int32 and it still fails
  • Fail to default integer value via ABAP Annotation limitation


Read more...

Environment

 SAPUI5 1.96 and others

Product

SAPUI5 1.0

Keywords

"Illegal sap.ui.model.odata.type.Int", "annotation Integer","Odata Integer","ODATA V2 Int","ODATA Edm.Int", "/IWBEP/CL_MGW_VOCAN_SIMPLE_VAL->SET_INTEGER", "ODATA SET_INTEGER" , KBA , CA-UI5-CTR , SAP UI5 Controls , CA-UI5-COR , Core and Runtime , OPU-GW-COR , Framework , CA-UI5-ST-LR , Fiori elements v2 List Report , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.