Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Using SAP Gateway service in SAP Web project
Please executes the below steps to get the services added −
- Define service in your manifest.json file?
"sap.app": {
[...],
"dataSources": {
"mainService": {
"uri": "Path of your service",
"type": "OData",
"settings": {
"odataVersion": "X.X",
"localUri":
"localService/metadata.xml"
}
}
},
[...]
The model definition should be implemented in your manifest.json file?
"models": {
[...],
"": {
"dataSource": "mainService",
"settings": {
"metadataUrlParams": {
"sap-documentation": "heading"
},
"defaultBindingMode": "TwoWay"
}
}
}, Advertisements
