on 2024 Feb 23 12:43 PM
Hello Experts,
I want to Consume OData from Backend in a Component-Ui Card.
I tried to read the whole O-Data Service, but I alwasy get the Error 404.
I have attached my manifest.json.
Is someone faceing this issue ?
{
"_version": "1.52.0",
"sap.app": {
"id": "my.component.sample.requestData",
"type": "card",
"i18n": "i18n/i18n.properties",
"title": "Sample of a Component Content",
"subTitle": "Sample of a Component Content",
"applicationVersion": {
"version": "1.0.0"
},
"dataSources": {
"processChainDevDS": {
"uri": "{{destinations.tss057}}/sap/opu/odata/sap/ZSF_SFLIGHT_MD_ODATA_SRV",
"type": "OData",
"settings": {
"odataVersion": "2.0"
}
}
},
"shortTitle": "A short title for this Card",
"info": "Additional information about this Card",
"description": "A long description for this Card",
"tags": {
"keywords": [
"Component",
"Card",
"Sample"
]
}
},
"sap.ui": {
"technology": "UI5",
"icons": {
"icon": "sap-icon://technical-object"
},
"deviceTypes": {
"desktop": true,
"phone": true,
"tablet": true
}
},
"sap.ui5": {
"rootView": {
"viewName": "my.component.sample.requestData.View",
"type": "XML",
"async": true,
"id": "app"
},
"dependencies": {
"minUI5Version": "1.116",
"libs": {
"sap.m": {},
"sap.ui.core": {}
}
},
"contentDensities": {
"compact": true,
"cozy": true
},
"models": {
"products": {
"type": "sap.ui.model.json.JSONModel"
},
"oDataModel": {
"dataSource": "processChainDevDS",
"settings": {
"defaultBindingMode": "TwoWay",
"defaultCountMode": "InlineRepeat",
"useBatch": true
}
}
}
},
"sap.card": {
"type": "Component",
"configuration": {
"destinations": {
"tss057": {
"name": "tss057",
"label": "T57",
"defaultUrl": "/sap/opu/odata/sap/ZSF_SFLIGHT_MD_ODATA_SRV"
}
}
},
"header": {
"title": "Top {parameters>/productsCount/value} Products"
},
"content": {
"minHeight": "10rem"
}
}
}
Thanks in Advance
Thomas
Request clarification before answering.
Kindly let me know the solution, if you have resolved the issue!!
Stuck with the same issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas,
Have you found any solution for this? I'm having the same issue. Tnks
Manuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.