on 04-06-2017 10:20 AM
Hi Expert ! I'm new in sapui5 and I want to read GetExpanded EntitySet in sapui5 without implemention of Get EntitySet
oModel1.read("/LinesSet?$expand=ToCells&$filter=IdQuery%20eq%20%27ZSMKPI_QM_TOTAL_USERS%27", {
success: function(oData) {
console.log(" expand");
},
error: function(oError) {
console.log("errooooooor expand");
}
});
Error messager : errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'LINESSET_GET_ENTITYSET' not implemented in data provider class.","propertyref":"","severity":"error"}]}}} -
It do not implemented , I want to skip this method and consume expand method directly
Any Idea Please
solution is in your error message itself, ask gateway developer to implement LINESSET_GET_ENTITYSET in the data provider class, cant skip this i guess.
and trigger read call as below:
oModel1.read("/LinesSet", {
filters: oFilters, // use sap.ui.model.Filter for filters
urlParameters: {
"$expand": "ToCells"
},
success: function(data, response) {
},
error: function(oError) {
}
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Get_EXPANDED_ENTITYSET internally calls to GET_ENTITYSET so not possible without this method implemented.
Where as you can still go to ABAP WORKBENCH and write your own method and comment out everything that is done by platform.(Not recommended).
Thanks,
Den
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.