Skip to Content
0
Jul 23, 2018 at 02:43 PM

in the WEB IDE have any commands similar to the ecc READ TABLE?

87 Views

in the WEB IDE have any commands similar to the ecc READ TABLE? I need to read the table and see which row is given a value, however for this I am looping.


var selecionados = this.getView().byId("table1").getSelectedItems();

for (var i = 0; i < selecionados.length; i++) {

if (selecionados[i].getBindingContext().getProperty("Remessa")) { sap.m.MessageBox.error("Ordem de venda " + selecionados[i].getBindingContext().getProperty("Vbeln") + " item " + selecionados[i].getBindingContext().getProperty("Posnr") + " ja tem remessa atribuída"); return;

}

}