cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 datasource and transport

mclb
Explorer

Hi,

I created a SAPUI5 App. During development I had a fix datasource, but now the App needs to be transported into QA-System, there we need to get the data from another SAP-System. After transporting into production, it's another SAP-System as well.

I don't find any information, how to configure the datasource, to access the oData-Service of the correct SAP-System.

Can somebody help me?

Thanks

Marcus

Accepted Solutions (1)

Accepted Solutions (1)

sergei-u-niq
Active Contributor
0 Kudos

The "Trick" is to use the same URL on all systems. you shoudnt need to use a "full" url in the datasoruce of the app, Ideally you use a relative or absolute Path without the host

are you on-premise or on the cloud?

if on the cloud, you should use destinations with the same name, destinations pointing to different systems on different stages, so your path could be something like "destinationName/path/on/destination"

if on premise, the app should be deployed on the "gateway frontend server", where you register all backend services (transaction /iwfnd/maint_services), here you use System Aliases to pount to different systems. So your path in destination config would be sometihng like "/sap/bc/odata/sap/z_your_srv"

Answers (0)