on 07-10-2013 9:23 AM
Hi All,
I have defined a data model for .xsodata service
var oModel = new sap.ui.model.odata.ODataModel("../../../services/order.xsodata/", false); | ||
var val1 = new sap.ui.commons.TextField({value: "{Value}"}); |
1. How to read the model and assign it to val1 - with this oModel.read("/OrderIde('10000000')", .....
The model works fine when it is binding to a table like oTable.bindrows("/OrderIde");
2. I am not sure how to bind to a layout, for table it works fine as we have an option of .bindrows.
Any Alternatives/Suggestions?
In SP6, we can insert the data into the table. I am able to insert the data from POSTMAN following Tutorials shared by Thomas.
If I use the URL then it also successfully retreives the data
Http://...../amohas97/session/services/InsertOrderId.xsodata/InsertOrderIde('1000000001')
Questions is.. how to insert the data? I mean how should be the URL for XSODATA to create a record in the table.
I want to call this in SAP UI5 application so that i can create a record in the table using xsodata.
Message was edited by: Shahid Mohammed Syed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.