How to Create a Northwind Destination in SAP Cloud Platform

If you’re building SAPUI5 or Fiori apps using SAP BAS, you’ll likely need to access OData services like Northwind. But wait β€” the browser’s same-origin policy might block your app. πŸ˜“ Don’t worry! We can fix that by creating a destination in the SAP Cloud Platform. Create a Northwind Destination

Let’s walk through the simple steps to do this. πŸ”§


🌐 What Is Northwind?

Northwind is a demo OData service. It provides sample data like products, orders, customers β€” all you need for testing your apps.

URL: http://services.odata.org


🎯 Why Do We Need a Destination?

Browsers block calls to a different domain for security. This is called the same-origin policy. To work around this, SAP Cloud Platform lets you create a destination β€” like a shortcut β€” that routes your app’s calls through a safe tunnel.


πŸ›  Step-by-Step: Create the Destination

1. Go to SAP Cloud Platform Cockpit

  • Log in to your SAP BTP Cockpit
  • In the left navigation, select Destinations
  • Click New Destination

2. Fill in the Destination Details

FieldValue
Namenorthwind
TypeHTTP
DescriptionNorthwind OData Service
URLhttp://services.odata.org
Proxy TypeInternet
AuthenticationNoAuthentication

3. Add These Additional Properties

Scroll down to Additional Properties and click New Property for each of the following:

PropertyValue
WebIDEEnabledtrue
WebIDESystemNorthwind
WebIDEUsageodata_gen

βœ… You’re All Set!

Once you save the destination, you can access the OData service in your app using:

/destinations/northwind/V2/Northwind.svc/Products

This setup makes sure your app runs smoothly without hitting browser errors. πŸ™Œ


πŸ“Œ Conclusion

Create a Northwind Destination in SAP BTP Cockpit is a best practice for securely accessing external services like Northwind during SAPUI5 or Fiori development. It not only helps bypass browser restrictions but also maintains a clean and modular architecture for backend integration.


You can now easily bind your SAPUI5 controls (like tables or charts) to the Northwind service in your app. Try exploring the data and build something fun!

Happy Coding! πŸš€

Let me know if you want a downloadable PDF version or markdown/HTML export for your blog platform.