Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Former Member replied

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

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question