cancel
Showing results for 
Search instead for 
Did you mean: 

disappear value in detail view

former_member229036
Participant
0 Kudos
774

Hi All,

I am new in SAP UI5 , i have one strange issue with value of oKey1 disappeared.

i can see value in debug mode.

please help me ..

Assertion failed: EntityType for path /ZGETPRDSet?$filter=Zcatid eq '' could not be found!

oTable.bindItems("/ZGETPRDSet?$filter=Zcatid eq '" + oKey1.getValue() + "'", colItems);

this is split .

[master.controller.js]

onSelect: function (oEvent) {

var oContext = oEvent.getParameter("listItem").getBindingContext();

var CatID = oContext.getProperty("CatID"); // i can see value of CatID

var ooModel = new sap.ui.model.odata.ODataModel("http://xxx.xxxx.com:8000/sap/opu/odata/sap/ZGETCATLIST_SRV", false);

sap.ui.getCore().byId("idDList").setModel(ooModel);

sap.ui.getCore().byId("idCatID").setValue(CatID); // i can see value of CatID

[detail.view.js]

var oCatID = new sap.m.Input("idCatID"); //

var oKey1 = sap.ui.getCore().byId("idCatID");

oTable.bindItems("/ZGETPRDSet?$filter=Zcatid eq '" + oKey1.getValue() + "'", colItems);

return new sap.m.Page({ title: "Prd List", showNavButton: true, navButtonPress: function(oEvt){app.back();},

content: [oTable, oCatID ] });

View Entire Topic
agrawalaadhar8
Participant
0 Kudos

It is giving error: Assertion failed: EntityType for path /ZGETPRDSet?$filter=Zcatid eq '' could not be found!

check in backend gateway service (SEGW), if the entity "ZGETPRD" is there and entityset "ZGETPRDSet" is there.

Check these links for table binding: Table demo

Check this for Master Detail routing: Master_Detail Demo

Regards