if (window.location.hostname == "localhost") {
serviceurl= "../proxy" + serviceurl;
} else {
}
Hi Yossi,
On local you can use as
var sServiceUrl = "proxy/http/myserver:8010/sap..................................;
on server/launchpad use
var sServiceUrl = "/sap/opu/odata/sap/ZPM_HD_SRV"
Add comment