var mParameter = {
urlParameters: null,
groupId:"randomgroupid",
success: function(innerdata) {
//This success handler will only be called if batch support is enabled.
//If multiple batch groups are submitted the handlers will be called for every batch group.
},
error: function(oError) {
}
};
var singleentry = {
groupId: "randomgroupid",
urlParameters: null,
success: function(innerdata) {
//The success callback function for each record
},
error: function(oError) {
//The error callback function for each record
};
//data model contains the table data
//Assign unique changeset id to singleentry
for (var i = 0; i < data.BP.length; i++) {
singleentry.properties= data.BP[i];
singleentry.changeSetId="changeset "+i;
this.getOwnerComponent().getModel().createEntry("/Entity", singleentry);
}
this.getOwnerComponent().getModel().submitChanges(mParameter);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
20 | |
14 | |
11 | |
9 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 |