Skip to Content

Add table row client side with combo box and submit changes manually using submit button. Can I do?

Nov 03, 2017 at 09:46 AM


avatar image
Former Member

var oPlmSelect = this.getView().byId("plmSelect");

var oSelectedVal = oPlmSelect.getSelectedItem().getText();

var oTable = this.getTable(); var oModel = this.getView().getModel();

var oEntry = {};

oEntry.Zzplanmarketid = oSelectedVal;

oEntry.ZzstrareaSender = "a";

oEntry.ZzstrareaShipto = "b";

oEntry.ZzecKunnr = "c";

oEntry.ZzecLgnum = "d";

oModel.createEntry('/PMStoreDispatchSet', { properties: oEntry, success: function() {"Create successful"); }, error: function() {"Create failed"); } });


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

1 Answer

Arjun Biswas Nov 04, 2017 at 03:38 AM

Could you please rephrase your question, do you want the submit button for each row or, is it for the whole table itself. Please explain the work flow of your requirement.

10 |10000 characters needed characters left characters exceeded