on 2018 Apr 05 4:05 PM
Request clarification before answering.
Pass the JSON object as a variable to make sure it is in the right format.
var oEntry = {};
oEntry.perno = "123456789";
oEntry.SID = "BHAT";
oEntry.tdate = "Apr 018";
oEntry.vecnumber = "Ino3x";
sap.ui.getCore().getModel().create('/Mileage', oEntry, null,
function (oResponse){
console.log("Create successful");
console.log(oResponse);
},
function (oError) {
console.log("Create failed");
console.log(oError);
}
);
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 7 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.