cancel
Showing results for 
Search instead for 
Did you mean: 

oData Model URL in Quality and Production

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

scott_stefanich
Active Participant
0 Kudos

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

Answers (0)