Skip to Content
0

sap.m.SelectDialog not getting the data from se24 class

Mar 22, 2017 at 08:54 AM

30

avatar image

var TestEquipment = new sap.m.SelectDialog("TestEquipment",{ rememberSelections: false, multiSelect: false, title: "Test Equipment", visible: true, confirm: function(oEvent) { debugger ;var selectedItem = oEvent.getParameter("selectedItem"); var context = selectedItem.getBindingContext(); var insplot = context.getProperty("PRUEFLOS"); var inspoper = context.getProperty("INSPOPER"); var testEquipment = context.getProperty("TST_EQUP"); // debugger; // // Set New Data modeloPageItem.oData.INSPLOT = insplot; modeloPageItem.oData.INSPOPER = inspoper; modeloPageItem.oData.TST_EQUP = testEquipment; modeloPageItem.refresh(); } }); var modelTestEquipment = new sap.ui.model.json.JSONModel(); TestEquipment.setModel(modelTestEquipment); var ItemTestEquipment = new sap.m.ObjectListItem("ItemTestEquipment",{ iconDensityAware: true, introTextDirection: "Inherit", markLocked: false, numberTextDirection: "Inherit", selected: false, title: "{PRUEFLOS}", titleTextDirection: "Inherit", unread: false, visible: true }); TestEquipment.bindAggregation("items", "/", ItemTestEquipment)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers