on 11-01-2015 5:51 AM
Dear All,
We have developed a custom Fiori App.
The respective URL that connects to our Developmetn system is like this
http://xx.xx.xx.xx:8000/sap/opu/odata/sap/ZHCM_EMP_MREQ_SRV/requestSet
It is working fine
But, When I transport it to QAS or PRD, I need to change the port from 8000 to 8002 for QAS, 8004 for PRD.
So, I need to change it in dev system and transport it to appropriate server.
How I can achieve this without doing so, what changes i should put in SAPUI5 so that the base url will automatically picks up
Kindly give me a help/direction.
Regards,
Venkat
var url = "/sap/opu/odata/sap/ZHCM_EMP_MREQ_SRV/requestSet"
i think this will be enough if i understand you right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venkat,
url = "sap/opu/odata/sap/ZHCM_EMP_MREQ_SRV/requestSet"
host and port not need to maintain in UI5 application.
Normally UI5 application will be deployed on the same gateway system, where Odata service will be registered using (/iwfnd/maint_service) .
when you run the UI5 application on browser, it automatically call the Odata service hosted on same system.
Thanks,
Lakshman Balanagu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.