on 03-21-2017 7:54 AM
Dear,
I developed a custom fiori application in Eclipse IDE. That is working fine in that but when I deploy that into ABAP server, it was deployed fine.
But when I test the BSP application, the data is not getting fetched for my query.
var serviceUrl = "proxy/sap/opu/odata/sap/XXXXXXXXXXXXX_SRV"
var user = "XXXX";
var password = "XXXXX";
this.oDataModel = new sap.ui.model.odata.ODataModel(serviceUrl, true,user,password);
I passed the URL in the above format.
Is there any issue in passing the URL or what?
Please let me know.
yes, big issue.
in bsp, there is no proxy to do the job for u.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmareddy,
As mentioned by "Jun Wu" you should remove the "proxy" in url if you want to run your application in bsp.
But you need to change the url always if you switch between local and bsp.
So it is better to use a method "getServiceUrl" which will return the url dynamically.
Please check the link for your reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.