Skip to Content
avatar image
Former Member

oData Model URL in Quality and Production

Hi,

To get the instance of oData below is the syntax and its working fine. When we move it to Qualty and Production how to change the server name dynamically

var model = new sap.ui.model.odata.ODataModel("URL");

URL = <Server><port><Service>

Since in quality and production Server name is different how do i change it when i move to corresponding system

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 27, 2014 at 06:36 PM

    Hello ui5ui5 ui5,

    Perhaps you could use a service URL which is relative to the server. For example, the End-to-End SAPUI5 Applications Guide uses the URL "/sap/opu/odata/sap/z_epm_products/" (page 36).

    Regards,

    Scott

    Add comment
    10|10000 characters needed characters exceeded