Skip to Content
avatar image
Former Member

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

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"); } });


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Add comment
    10|10000 characters needed characters exceeded